Files
gpu-screen-recorder-ui/tools/gsr-global-hotkeys/leds.h
2025-11-08 13:24:40 +01:00

18 lines
357 B
C

#ifndef LEDS_H
#define LEDS_H
/* C stdlib */
#include <stdbool.h>
typedef struct {
/* These are set to -1 if not supported */
int scroll_lock_brightness;
int num_lock_brightness;
int caps_lock_brightness;
} ggh_leds;
bool set_leds(const char *led_name, bool enabled);
bool get_leds(int event_number, ggh_leds *leds);
#endif /* LEDS_H */