Home
last modified time | relevance | path

Searched refs:SW_LID (Results 1 – 15 of 15) sorted by relevance

/third_party/libinput/test/
Dlitest-device-lid-switch-surface3.c37 EV_SW, SW_LID,
Dlitest-device-lid-switch.c36 EV_SW, SW_LID,
Dlitest-device-gpio-keys.c36 EV_SW, SW_LID,
Dtest-switch.c69 if (!libevdev_has_event_code(dev->evdev, EV_SW, SW_LID)) in START_TEST()
746 ck_assert_int_eq(libevdev_get_event_value(evdev, EV_SW, SW_LID), 1); in START_TEST()
758 ck_assert_int_eq(event.code, SW_LID); in START_TEST()
795 ck_assert_int_eq(libevdev_get_event_value(evdev, EV_SW, SW_LID), 1); in START_TEST()
825 ck_assert_int_eq(event.code, SW_LID); in START_TEST()
874 ck_assert_int_eq(libevdev_get_event_value(evdev, EV_SW, SW_LID), 1); in START_TEST()
886 ck_assert_int_eq(event.code, SW_LID); in START_TEST()
Dlitest.c2795 code = SW_LID; in litest_switch_action()
/third_party/libinput/doc/user/
Dswitches.rst26 The evdev event code ``EV_SW`` ``SW_LID`` is provided as
/third_party/libevdev/test/
Dtest-event-names.c157 ck_assert_str_eq(libevdev_event_code_get_name(EV_SW, SW_LID), "SW_LID"); in START_TEST()
/third_party/libinput/src/
Devdev-fallback.c767 ev[0] = input_event_init(0, EV_SW, SW_LID, 0); in fallback_lid_keyboard_event()
837 case SW_LID: in fallback_process_switch()
1271 SW_LID); in fallback_interface_sync_initial_state()
Devdev.c2001 if (libevdev_has_event_code(evdev, EV_SW, SW_LID)) { in evdev_configure_device()
2686 code = SW_LID; in evdev_device_has_switch()
/third_party/libinput/include/linux/freebsd/
Dinput-event-codes.h873 #define SW_LID 0x00 /* set = lid shut */ macro
/third_party/libevdev/include/linux/linux/
Dinput-event-codes.h880 #define SW_LID 0x00 /* set = lid shut */ macro
/third_party/libinput/include/linux/linux/
Dinput-event-codes.h873 #define SW_LID 0x00 /* set = lid shut */ macro
/third_party/FreeBSD/sys/dev/evdev/
Dinput-event-codes.h916 #define SW_LID 0x00 /* set = lid shut */ macro
/third_party/libevdev/include/
Devent-names.h717 [SW_LID] = "SW_LID",
1589 { .name = "SW_LID", .value = SW_LID },
/third_party/libevdev/
Dthird_party_libevdev.diff26251 + ck_assert_str_eq(libevdev_event_code_get_name(EV_SW, SW_LID), "SW_LID");