|
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 { | ||
| uint32_t x | ||
| uint32_t y | ||
| ssize_t wheel | ||
| bool buttons [64] | ||
| } absolute | ||
| struct { | ||
| uint8_t scancode | ||
| bool keyUp | ||
| Whether this is a keyUp event or not. More... | ||
| } rawkey | ||
| struct { | ||
| uint8_t scancode | ||
| Machine-specific scancode for the key. More... | ||
| bool keyUp | ||
| Whether this is a keyUp event or not. More... | ||
| } 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 56 of file InputManager.h.
| bool InputManager::InputNotification::buttons[64] |
Definition at line 69 of file InputManager.h.
| uint64_t InputManager::InputNotification::key |
Definition at line 62 of file InputManager.h.
| bool InputManager::InputNotification::keyUp |
Whether this is a keyUp event or not.
Definition at line 84 of file InputManager.h.
Referenced by InputManager::machineKeyUpdate(), and InputManager::rawKeyUpdate().
| void* InputManager::InputNotification::meta |
Definition at line 58 of file InputManager.h.
| ssize_t InputManager::InputNotification::relx |
Definition at line 65 of file InputManager.h.
| ssize_t InputManager::InputNotification::rely |
Definition at line 66 of file InputManager.h.
| ssize_t InputManager::InputNotification::relz |
Definition at line 67 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 81 of file InputManager.h.
Referenced by InputManager::machineKeyUpdate(), and InputManager::rawKeyUpdate().
| CallbackType InputManager::InputNotification::type |
Definition at line 57 of file InputManager.h.
| ssize_t InputManager::InputNotification::wheel |
Definition at line 74 of file InputManager.h.
| uint32_t InputManager::InputNotification::x |
Definition at line 72 of file InputManager.h.
| uint32_t InputManager::InputNotification::y |
Definition at line 73 of file InputManager.h.