Monado OpenXR Runtime
|
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>
Macros | |
#define | SENSITIVITY 0.1f |
Functions | |
static struct qwerty_system * | find_qwerty_system (struct xrt_device **xdevs, size_t xdev_count) |
static struct qwerty_device * | default_qwerty_device (struct xrt_device **xdevs, size_t xdev_count, struct qwerty_system *qsys) |
static struct qwerty_controller * | default_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... | |
Connection between user-generated SDL events and qwerty devices.