Home
last modified time | relevance | path

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

/third_party/libinput/src/
Devdev-fallback.c1434 struct libinput_event_switch *swev; in fallback_tablet_mode_switch_event() local
1439 swev = libinput_event_get_switch_event(event); in fallback_tablet_mode_switch_event()
1440 if (libinput_event_switch_get_switch(swev) != in fallback_tablet_mode_switch_event()
1444 switch (libinput_event_switch_get_switch_state(swev)) { in fallback_tablet_mode_switch_event()
Devdev-mt-touchpad.c2434 struct libinput_event_switch *swev; in tp_lid_switch_event() local
2439 swev = libinput_event_get_switch_event(event); in tp_lid_switch_event()
2440 if (libinput_event_switch_get_switch(swev) != LIBINPUT_SWITCH_LID) in tp_lid_switch_event()
2443 switch (libinput_event_switch_get_switch_state(swev)) { in tp_lid_switch_event()
2461 struct libinput_event_switch *swev; in tp_tablet_mode_switch_event() local
2466 swev = libinput_event_get_switch_event(event); in tp_tablet_mode_switch_event()
2467 if (libinput_event_switch_get_switch(swev) != in tp_tablet_mode_switch_event()
2471 switch (libinput_event_switch_get_switch_state(swev)) { in tp_tablet_mode_switch_event()
/third_party/libinput/test/
Dlitest.c3946 struct libinput_event_switch *swev; in litest_is_switch_event() local
3951 swev = libinput_event_get_switch_event(event); in litest_is_switch_event()
3953 litest_assert_int_eq(libinput_event_switch_get_switch(swev), sw); in litest_is_switch_event()
3954 litest_assert_int_eq(libinput_event_switch_get_switch_state(swev), in litest_is_switch_event()
3957 return swev; in litest_is_switch_event()