Home
last modified time | relevance | path

Searched refs:swev (Results 1 – 3 of 3) sorted by relevance

/third_party/libinput/src/
Devdev-mt-touchpad.c2417 struct libinput_event_switch *swev; in tp_lid_switch_event() local
2422 swev = libinput_event_get_switch_event(event); in tp_lid_switch_event()
2423 if (libinput_event_switch_get_switch(swev) != LIBINPUT_SWITCH_LID) in tp_lid_switch_event()
2426 switch (libinput_event_switch_get_switch_state(swev)) { in tp_lid_switch_event()
2444 struct libinput_event_switch *swev; in tp_tablet_mode_switch_event() local
2449 swev = libinput_event_get_switch_event(event); in tp_tablet_mode_switch_event()
2450 if (libinput_event_switch_get_switch(swev) != in tp_tablet_mode_switch_event()
2454 switch (libinput_event_switch_get_switch_state(swev)) { in tp_tablet_mode_switch_event()
Devdev-fallback.c1352 struct libinput_event_switch *swev; in fallback_tablet_mode_switch_event() local
1357 swev = libinput_event_get_switch_event(event); in fallback_tablet_mode_switch_event()
1358 if (libinput_event_switch_get_switch(swev) != in fallback_tablet_mode_switch_event()
1362 switch (libinput_event_switch_get_switch_state(swev)) { in fallback_tablet_mode_switch_event()
/third_party/libinput/test/
Dlitest.c3763 struct libinput_event_switch *swev; in litest_is_switch_event() local
3768 swev = libinput_event_get_switch_event(event); in litest_is_switch_event()
3770 litest_assert_int_eq(libinput_event_switch_get_switch(swev), sw); in litest_is_switch_event()
3771 litest_assert_int_eq(libinput_event_switch_get_switch_state(swev), in litest_is_switch_event()
3774 return swev; in litest_is_switch_event()