mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-04 09:20:29 +01:00
Add definitions for LIBINPUT_LED_COMPOSE and LIBINPUT_LED_KANA
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/990>
This commit is contained in:
parent
ed9570df60
commit
7c91e3539c
2 changed files with 5 additions and 1 deletions
|
|
@ -338,6 +338,8 @@ evdev_device_led_update(struct evdev_device *device, enum libinput_led leds)
|
|||
{ LIBINPUT_LED_NUM_LOCK, LED_NUML },
|
||||
{ LIBINPUT_LED_CAPS_LOCK, LED_CAPSL },
|
||||
{ LIBINPUT_LED_SCROLL_LOCK, LED_SCROLLL },
|
||||
{ LIBINPUT_LED_COMPOSE, LED_COMPOSE },
|
||||
{ LIBINPUT_LED_KANA, LED_KANA },
|
||||
};
|
||||
struct input_event ev[ARRAY_LENGTH(map) + 1];
|
||||
unsigned int i;
|
||||
|
|
|
|||
|
|
@ -218,7 +218,9 @@ enum libinput_key_state {
|
|||
enum libinput_led {
|
||||
LIBINPUT_LED_NUM_LOCK = (1 << 0),
|
||||
LIBINPUT_LED_CAPS_LOCK = (1 << 1),
|
||||
LIBINPUT_LED_SCROLL_LOCK = (1 << 2)
|
||||
LIBINPUT_LED_SCROLL_LOCK = (1 << 2),
|
||||
LIBINPUT_LED_COMPOSE = (1 << 3),
|
||||
LIBINPUT_LED_KANA = (1 << 4)
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue