|
The Pedigree Project
0.1
|
#include <InputManager.h>
Collaboration diagram for InputManager::InputNotification:Public Attributes | |
| CallbackType | type |
| void * | meta |
| union { | |
| struct { | |
| uint64_t key | |
| } key | |
| struct { | |
| ssize_t relx | |
| ssize_t rely | |
| ssize_t relz | |
| bool buttons [64] | |
| } pointy | |
| struct { | |
| uint8_t scancode | |
| bool keyUp | |
| Whether this is a keyUp event or not. | |
| } rawkey | |
| struct { | |
| uint8_t scancode | |
| Machine-specific scancode for the key. | |
| bool keyUp | |
| Whether this is a keyUp event or not. | |
| } machinekey | |
| } | data |
Structure containing notification to the remote application of input. Used to generalise input handling across the system for all types of devices.
Definition at line 52 of file InputManager.h.
| uint8_t InputManager::InputNotification::scancode |
Machine-specific scancode for the key.
HID scancode for the key (most generic type of scancode, and easy to build translation tables for)
Definition at line 75 of file InputManager.h.
1.8.11