
Functions | |
| int | g13_device_get_backlight_rgb (g13_device *device, unsigned *r, unsigned *g, unsigned *b) |
| Get the current backlight color as an RGB value. | |
| int g13_device_get_backlight_rgb | ( | g13_device * | device, | |
| unsigned * | r, | |||
| unsigned * | g, | |||
| unsigned * | b | |||
| ) |
Get the current backlight color as an RGB value.
errno On success, the three pointers will contain the current RGB backlight color values.
On failure, *r , *g and *b will not be modified.
References g13_device_get_syspath().
Referenced by G13::Device::backlight(), and g13_device_get_state().
1.6.1