Home
last modified time | relevance | path

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

/third_party/libinput/src/
Devdev-mt-touchpad.c1979 if (tp->lid_switch.lid_switch) in tp_remove_sendevents()
1981 &tp->lid_switch.listener); in tp_remove_sendevents()
2468 struct evdev_device *lid_switch) in tp_pair_lid_switch() argument
2472 if ((lid_switch->tags & EVDEV_TAG_LID_SWITCH) == 0) in tp_pair_lid_switch()
2478 if (tp->lid_switch.lid_switch == NULL) { in tp_pair_lid_switch()
2482 lid_switch->devname); in tp_pair_lid_switch()
2484 libinput_device_add_event_listener(&lid_switch->base, in tp_pair_lid_switch()
2485 &tp->lid_switch.listener, in tp_pair_lid_switch()
2487 tp->lid_switch.lid_switch = lid_switch; in tp_pair_lid_switch()
2630 if (removed_device == tp->lid_switch.lid_switch) { in tp_interface_device_removed()
[all …]
Devdev-fallback.c1286 fallback_lid_pair_keyboard(struct evdev_device *lid_switch, in fallback_lid_pair_keyboard() argument
1290 fallback_dispatch(lid_switch->dispatch); in fallback_lid_pair_keyboard()
1295 (lid_switch->tags & EVDEV_TAG_LID_SWITCH) == 0) in fallback_lid_pair_keyboard()
1304 evdev_log_info(lid_switch, in fallback_lid_pair_keyboard()
1314 evdev_log_debug(lid_switch, in fallback_lid_pair_keyboard()
1316 lid_switch->devname, in fallback_lid_pair_keyboard()
Devdev-mt-touchpad.h500 struct evdev_device *lid_switch; member
501 } lid_switch; member