Lines Matching defs:tablet_mode_switch
1990 if (tp->tablet_mode_switch.tablet_mode_switch)
1992 &tp->tablet_mode_switch.listener);
2515 struct evdev_device *tablet_mode_switch)
2519 if ((tablet_mode_switch->tags & EVDEV_TAG_TABLET_MODE_SWITCH) == 0)
2522 if (tp->tablet_mode_switch.tablet_mode_switch)
2535 tablet_mode_switch->devname);
2537 libinput_device_add_event_listener(&tablet_mode_switch->base,
2538 &tp->tablet_mode_switch.listener,
2540 tp->tablet_mode_switch.tablet_mode_switch = tablet_mode_switch;
2542 if (evdev_device_switch_get_state(tablet_mode_switch,
2659 if (removed_device == tp->tablet_mode_switch.tablet_mode_switch) {
2661 &tp->tablet_mode_switch.listener);
2662 tp->tablet_mode_switch.tablet_mode_switch = NULL;