Loading [MathJax]/extensions/tex2jax.js
Monado OpenXR Runtime
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
qwerty_sdl.c File Reference

Connection between user-generated SDL events and qwerty devices. More...

#include "qwerty_device.h"
#include "util/u_device.h"
#include "xrt/xrt_device.h"
#include <SDL2/SDL.h>
#include <assert.h>
Include dependency graph for qwerty_sdl.c:

Macros

#define SENSITIVITY   0.1f
 

Functions

static struct qwerty_systemfind_qwerty_system (struct xrt_device **xdevs, size_t xdev_count)
 
static struct qwerty_devicedefault_qwerty_device (struct xrt_device **xdevs, size_t xdev_count, struct qwerty_system *qsys)
 
static struct qwerty_controllerdefault_qwerty_controller (struct xrt_device **xdevs, size_t xdev_count, struct qwerty_system *qsys)
 
void qwerty_process_event (struct xrt_device **xdevs, size_t xdev_count, SDL_Event event)
 Process an SDL_Event (like a key press) and dispatches a suitable action to the appropriate qwerty_device. More...
 

Detailed Description

Connection between user-generated SDL events and qwerty devices.

Author
Mateo de Mayo mateo.nosp@m.dema.nosp@m.yo@gm.nosp@m.ail..nosp@m.com