MLX42 1.0
MLX42
|
#include <MLX42.h>
Data Fields | |
keys_t | key |
action_t | action |
int32_t | os_key |
modifier_key_t | modifier |
Key function callback data. Data related to the mlx_key_hook function
key | The key that was pressed. |
action | The action that was done with the key. |
os_key | The os_key is unique for every key, and will have a different value/keycode depending on the platform. They may be consistent on different platforms. |
modifier | The modifier key that was pressed, 0 if no key was pressed. |
modifier_key_t mlx_key_data::modifier |