summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Rys <martin@rys.pw>2024-04-25 11:03:52 +0200
committerPeter Hutterer <peter.hutterer@who-t.net>2024-04-28 23:59:14 +0000
commita191a46a786b9de2f5371a4741c1f56da5899fc9 (patch)
tree7d636634d7d0b4912b75cbd3218768184f2be059
parent7c91e3539c0d86a274be2748d79627c9eab321a8 (diff)
Include COMPOSE and KANA keys in tests
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/990>
-rw-r--r--test/test-keyboard.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/test/test-keyboard.c b/test/test-keyboard.c
index 0cb8a80d..257470f9 100644
--- a/test/test-keyboard.c
+++ b/test/test-keyboard.c
@@ -435,14 +435,24 @@ START_TEST(keyboard_leds)
LIBINPUT_LED_CAPS_LOCK);
libinput_device_led_update(device,
LIBINPUT_LED_SCROLL_LOCK);
+ libinput_device_led_update(device,
+ LIBINPUT_LED_COMPOSE);
+ libinput_device_led_update(device,
+ LIBINPUT_LED_KANA);
libinput_device_led_update(device,
- LIBINPUT_LED_NUM_LOCK|
+ LIBINPUT_LED_NUM_LOCK |
LIBINPUT_LED_CAPS_LOCK);
libinput_device_led_update(device,
- LIBINPUT_LED_NUM_LOCK|
+ LIBINPUT_LED_NUM_LOCK |
LIBINPUT_LED_CAPS_LOCK |
LIBINPUT_LED_SCROLL_LOCK);
+ libinput_device_led_update(device,
+ LIBINPUT_LED_NUM_LOCK |
+ LIBINPUT_LED_CAPS_LOCK |
+ LIBINPUT_LED_SCROLL_LOCK |
+ LIBINPUT_LED_COMPOSE |
+ LIBINPUT_LED_KANA);
libinput_device_led_update(device, 0);
libinput_device_led_update(device, -1);
}