Lines Matching refs:state
318 enum libinput_key_state state;
323 state = libinput_event_keyboard_get_key_state(k);
336 state == LIBINPUT_KEY_STATE_PRESSED ? "pressed" : "released");
370 enum libinput_button_state state;
379 state = libinput_event_pointer_get_button_state(p);
383 state == LIBINPUT_BUTTON_STATE_PRESSED ? "pressed" : "released",
459 enum libinput_tablet_tool_tip_state state;
465 state = libinput_event_tablet_tool_get_tip_state(t);
466 printq(" %s\n", state == LIBINPUT_TABLET_TOOL_TIP_DOWN ? "down" : "up");
473 enum libinput_button_state state;
482 state = libinput_event_tablet_tool_get_button_state(p);
486 state == LIBINPUT_BUTTON_STATE_PRESSED ? "pressed" : "released",
554 enum libinput_tablet_tool_proximity_state state;
587 state = libinput_event_tablet_tool_get_proximity_state(t);
591 if (state == LIBINPUT_TABLET_TOOL_PROXIMITY_STATE_IN) {
594 } else if (state == LIBINPUT_TABLET_TOOL_PROXIMITY_STATE_OUT) {
607 if (state == LIBINPUT_TABLET_TOOL_PROXIMITY_STATE_IN) {
725 enum libinput_button_state state;
731 state = libinput_event_tablet_pad_get_button_state(p);
735 state == LIBINPUT_BUTTON_STATE_PRESSED ? "pressed" : "released",
801 enum libinput_key_state state;
815 state = libinput_event_tablet_pad_get_key_state(p);
819 state == LIBINPUT_KEY_STATE_PRESSED ? "pressed" : "released");
826 enum libinput_switch_state state;
842 state = libinput_event_switch_get_switch_state(sw);
844 printq("switch %s state %d\n", which, state);