Main index | Section 9 | Options |
#include <backlight_if.h>
#include <sys/sys/backlight.h>
Drivers for backlight system register themselves globally using the backlight_register() function. They must define two methods, BACKLIGHT_GET_STATUS() which is used to query the current brightness level and BACKLIGHT_SET_STATUS() which is used to update it.
BACKLIGHT_GET_STATUS(device_t bus, struct backlight_props *props) | |
Driver fills the current brightless level and the optional supported levels. | |
BACKLIGHT_SET_STATUS(device_t bus, struct backlight_props *props) | |
Driver update the backlight level based on the brightness member of the props struct. | |
/dev/backlight/* | |
BACKLIGHT (9) | October 2, 2020 |
Main index | Section 9 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.