MLX42 1.0
MLX42
Loading...
Searching...
No Matches
mlx_key_data Struct Reference

#include <MLX42.h>

Collaboration diagram for mlx_key_data:
Collaboration graph

Data Fields

keys_t key
 
action_t action
 
int32_t os_key
 
modifier_key_t modifier
 

Detailed Description

Key function callback data. Data related to the mlx_key_hook function

Parameters
keyThe key that was pressed.
actionThe action that was done with the key.
os_keyThe 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.
modifierThe modifier key that was pressed, 0 if no key was pressed.

Definition at line 320 of file MLX42.h.

Field Documentation

◆ action

action_t mlx_key_data::action

Definition at line 323 of file MLX42.h.

◆ key

keys_t mlx_key_data::key

Definition at line 322 of file MLX42.h.

◆ modifier

modifier_key_t mlx_key_data::modifier

Definition at line 325 of file MLX42.h.

◆ os_key

int32_t mlx_key_data::os_key

Definition at line 324 of file MLX42.h.


The documentation for this struct was generated from the following file: