A g13 device state structure that does not use any dynamic allocations. More...
#include <state.h>
Public Attributes | |
char | name [101] |
size_t | name_len |
uint32_t | keymap [G13_KEYMAP_SIZE] |
unsigned | r |
unsigned | g |
unsigned | b |
unsigned char | led [4] |
unsigned char | keymap_index |
unsigned char | keymap_switching |
int | error |
A g13 device state structure that does not use any dynamic allocations.
unsigned g13_device_state::b |
Referenced by g13_device_get_state(), and g13_device_set_state().
Referenced by g13_device_get_state().
unsigned g13_device_state::g |
Referenced by g13_device_get_state(), and g13_device_set_state().
uint32_t g13_device_state::keymap[G13_KEYMAP_SIZE] |
Referenced by g13_device_get_state(), and g13_device_set_state().
unsigned char g13_device_state::keymap_index |
Referenced by g13_device_get_state(), and g13_device_set_state().
unsigned char g13_device_state::keymap_switching |
Referenced by g13_device_get_state(), and g13_device_set_state().
unsigned char g13_device_state::led[4] |
Referenced by g13_device_get_state().
char g13_device_state::name[101] |
Referenced by g13_device_get_state(), and g13_device_set_state().
size_t g13_device_state::name_len |
Referenced by g13_device_get_state(), and g13_device_set_state().
unsigned g13_device_state::r |
Referenced by g13_device_get_state(), and g13_device_set_state().