tec::KeyboardEvent
#include <events.hpp>
Public Types
Name | |
---|---|
enum | KEY_ACTION { KEY_DOWN, KEY_UP, KEY_REPEAT, KEY_CHAR} |
Public Attributes
Name | |
---|---|
int | key |
int | scancode |
KEY_ACTION | action |
int | mods |
Public Types Documentation
enum KEY_ACTION
Enumerator | Value | Description |
---|---|---|
KEY_DOWN | ||
KEY_UP | ||
KEY_REPEAT | ||
KEY_CHAR |
Public Attributes Documentation
variable key
int key {0};
variable scancode
int scancode {0};
variable action
KEY_ACTION action;
variable mods
int mods {0};
Updated on 2022-07-24 at 19:27:35 +0000