Data Structures
Here are the data structures with brief descriptions:
Cratbag | A handle for accessing ratbag contexts |
Cratbag_button | Represents a button on the device |
Cratbag_color | Represents LED color in RGB format |
Cratbag_device | A ratbag context represents one single device |
Cratbag_interface | Libratbag does not open file descriptors to devices directly, instead open_restricted() and close_restricted() are called for each path that must be opened |
Cratbag_led | Represents a led on the device |
Cratbag_macro | Represents a macro that can be assigned to a button |
Cratbag_profile | A handle to a profile context on devices with the RATBAG_DEVICE_CAP_SWITCHABLE_PROFILE capability |
Cratbag_resolution | Represents a resolution setting on the device |