Home
last modified time | relevance | path

Searched refs:CASE_RETURN_STRING (Results 1 – 11 of 11) sorted by relevance

/third_party/libinput/src/
Devdev-middle-button.c49 CASE_RETURN_STRING(MIDDLEBUTTON_IDLE); in middlebutton_state_to_str()
50 CASE_RETURN_STRING(MIDDLEBUTTON_LEFT_DOWN); in middlebutton_state_to_str()
51 CASE_RETURN_STRING(MIDDLEBUTTON_RIGHT_DOWN); in middlebutton_state_to_str()
52 CASE_RETURN_STRING(MIDDLEBUTTON_MIDDLE); in middlebutton_state_to_str()
53 CASE_RETURN_STRING(MIDDLEBUTTON_LEFT_UP_PENDING); in middlebutton_state_to_str()
54 CASE_RETURN_STRING(MIDDLEBUTTON_RIGHT_UP_PENDING); in middlebutton_state_to_str()
55 CASE_RETURN_STRING(MIDDLEBUTTON_PASSTHROUGH); in middlebutton_state_to_str()
56 CASE_RETURN_STRING(MIDDLEBUTTON_IGNORE_LR); in middlebutton_state_to_str()
57 CASE_RETURN_STRING(MIDDLEBUTTON_IGNORE_L); in middlebutton_state_to_str()
58 CASE_RETURN_STRING(MIDDLEBUTTON_IGNORE_R); in middlebutton_state_to_str()
[all …]
Devdev-debounce.c77 CASE_RETURN_STRING(DEBOUNCE_STATE_IS_UP); in debounce_state_to_str()
78 CASE_RETURN_STRING(DEBOUNCE_STATE_IS_DOWN); in debounce_state_to_str()
79 CASE_RETURN_STRING(DEBOUNCE_STATE_IS_DOWN_WAITING); in debounce_state_to_str()
80 CASE_RETURN_STRING(DEBOUNCE_STATE_IS_UP_DELAYING); in debounce_state_to_str()
81 CASE_RETURN_STRING(DEBOUNCE_STATE_IS_UP_DELAYING_SPURIOUS); in debounce_state_to_str()
82 CASE_RETURN_STRING(DEBOUNCE_STATE_IS_UP_DETECTING_SPURIOUS); in debounce_state_to_str()
83 CASE_RETURN_STRING(DEBOUNCE_STATE_IS_DOWN_DETECTING_SPURIOUS); in debounce_state_to_str()
84 CASE_RETURN_STRING(DEBOUNCE_STATE_IS_UP_WAITING); in debounce_state_to_str()
85 CASE_RETURN_STRING(DEBOUNCE_STATE_IS_DOWN_DELAYING); in debounce_state_to_str()
86 CASE_RETURN_STRING(DEBOUNCE_STATE_DISABLED); in debounce_state_to_str()
[all …]
Devdev-mt-touchpad-tap.c62 CASE_RETURN_STRING(TAP_STATE_IDLE); in tap_state_to_str()
63 CASE_RETURN_STRING(TAP_STATE_HOLD); in tap_state_to_str()
64 CASE_RETURN_STRING(TAP_STATE_TOUCH); in tap_state_to_str()
65 CASE_RETURN_STRING(TAP_STATE_1FGTAP_TAPPED); in tap_state_to_str()
66 CASE_RETURN_STRING(TAP_STATE_2FGTAP_TAPPED); in tap_state_to_str()
67 CASE_RETURN_STRING(TAP_STATE_3FGTAP_TAPPED); in tap_state_to_str()
68 CASE_RETURN_STRING(TAP_STATE_TOUCH_2); in tap_state_to_str()
69 CASE_RETURN_STRING(TAP_STATE_TOUCH_2_HOLD); in tap_state_to_str()
70 CASE_RETURN_STRING(TAP_STATE_TOUCH_2_RELEASE); in tap_state_to_str()
71 CASE_RETURN_STRING(TAP_STATE_TOUCH_3); in tap_state_to_str()
[all …]
Devdev-mt-touchpad-edge-scroll.c51 CASE_RETURN_STRING(EDGE_SCROLL_TOUCH_STATE_NONE); in edge_state_to_str()
52 CASE_RETURN_STRING(EDGE_SCROLL_TOUCH_STATE_EDGE_NEW); in edge_state_to_str()
53 CASE_RETURN_STRING(EDGE_SCROLL_TOUCH_STATE_EDGE); in edge_state_to_str()
54 CASE_RETURN_STRING(EDGE_SCROLL_TOUCH_STATE_AREA); in edge_state_to_str()
63 CASE_RETURN_STRING(SCROLL_EVENT_TOUCH); in edge_event_to_str()
64 CASE_RETURN_STRING(SCROLL_EVENT_MOTION); in edge_event_to_str()
65 CASE_RETURN_STRING(SCROLL_EVENT_RELEASE); in edge_event_to_str()
66 CASE_RETURN_STRING(SCROLL_EVENT_TIMEOUT); in edge_event_to_str()
67 CASE_RETURN_STRING(SCROLL_EVENT_POSTED); in edge_event_to_str()
Devdev-mt-touchpad-buttons.c50 CASE_RETURN_STRING(BUTTON_STATE_NONE); in button_state_to_str()
51 CASE_RETURN_STRING(BUTTON_STATE_AREA); in button_state_to_str()
52 CASE_RETURN_STRING(BUTTON_STATE_BOTTOM); in button_state_to_str()
53 CASE_RETURN_STRING(BUTTON_STATE_TOP); in button_state_to_str()
54 CASE_RETURN_STRING(BUTTON_STATE_TOP_NEW); in button_state_to_str()
55 CASE_RETURN_STRING(BUTTON_STATE_TOP_TO_IGNORE); in button_state_to_str()
56 CASE_RETURN_STRING(BUTTON_STATE_IGNORE); in button_state_to_str()
65 CASE_RETURN_STRING(BUTTON_EVENT_IN_BOTTOM_R); in button_event_to_str()
66 CASE_RETURN_STRING(BUTTON_EVENT_IN_BOTTOM_M); in button_event_to_str()
67 CASE_RETURN_STRING(BUTTON_EVENT_IN_BOTTOM_L); in button_event_to_str()
[all …]
Devdev-mt-touchpad-thumb.c37 CASE_RETURN_STRING(THUMB_STATE_FINGER); in thumb_state_to_str()
38 CASE_RETURN_STRING(THUMB_STATE_JAILED); in thumb_state_to_str()
39 CASE_RETURN_STRING(THUMB_STATE_PINCH); in thumb_state_to_str()
40 CASE_RETURN_STRING(THUMB_STATE_SUPPRESSED); in thumb_state_to_str()
41 CASE_RETURN_STRING(THUMB_STATE_REVIVED); in thumb_state_to_str()
42 CASE_RETURN_STRING(THUMB_STATE_REVIVED_JAILED); in thumb_state_to_str()
43 CASE_RETURN_STRING(THUMB_STATE_DEAD); in thumb_state_to_str()
Devdev-mt-touchpad-gestures.c64 CASE_RETURN_STRING(GESTURE_STATE_NONE); in gesture_state_to_str()
65 CASE_RETURN_STRING(GESTURE_STATE_UNKNOWN); in gesture_state_to_str()
66 CASE_RETURN_STRING(GESTURE_STATE_HOLD); in gesture_state_to_str()
67 CASE_RETURN_STRING(GESTURE_STATE_HOLD_AND_MOTION); in gesture_state_to_str()
68 CASE_RETURN_STRING(GESTURE_STATE_POINTER_MOTION); in gesture_state_to_str()
69 CASE_RETURN_STRING(GESTURE_STATE_SCROLL); in gesture_state_to_str()
70 CASE_RETURN_STRING(GESTURE_STATE_PINCH); in gesture_state_to_str()
71 CASE_RETURN_STRING(GESTURE_STATE_SWIPE); in gesture_state_to_str()
80 CASE_RETURN_STRING(GESTURE_EVENT_RESET); in gesture_event_to_str()
81 CASE_RETURN_STRING(GESTURE_EVENT_FINGER_DETECTED); in gesture_event_to_str()
[all …]
Devdev-mt-touchpad.h60 CASE_RETURN_STRING(TOUCH_NONE); in touch_state_to_str()
61 CASE_RETURN_STRING(TOUCH_HOVERING); in touch_state_to_str()
62 CASE_RETURN_STRING(TOUCH_BEGIN); in touch_state_to_str()
63 CASE_RETURN_STRING(TOUCH_UPDATE); in touch_state_to_str()
64 CASE_RETURN_STRING(TOUCH_MAYBE_END); in touch_state_to_str()
65 CASE_RETURN_STRING(TOUCH_END); in touch_state_to_str()
Dlibinput.c83 CASE_RETURN_STRING(LIBINPUT_EVENT_DEVICE_ADDED); in event_type_to_str()
84 CASE_RETURN_STRING(LIBINPUT_EVENT_DEVICE_REMOVED); in event_type_to_str()
85 CASE_RETURN_STRING(LIBINPUT_EVENT_KEYBOARD_KEY); in event_type_to_str()
86 CASE_RETURN_STRING(LIBINPUT_EVENT_POINTER_MOTION); in event_type_to_str()
87 CASE_RETURN_STRING(LIBINPUT_EVENT_POINTER_MOTION_ABSOLUTE); in event_type_to_str()
88 CASE_RETURN_STRING(LIBINPUT_EVENT_POINTER_BUTTON); in event_type_to_str()
89 CASE_RETURN_STRING(LIBINPUT_EVENT_POINTER_AXIS); in event_type_to_str()
90 CASE_RETURN_STRING(LIBINPUT_EVENT_POINTER_SCROLL_WHEEL); in event_type_to_str()
91 CASE_RETURN_STRING(LIBINPUT_EVENT_POINTER_SCROLL_FINGER); in event_type_to_str()
92 CASE_RETURN_STRING(LIBINPUT_EVENT_POINTER_SCROLL_CONTINUOUS); in event_type_to_str()
[all …]
Dutil-macros.h59 #define CASE_RETURN_STRING(a) case a: return #a macro
/third_party/libinput/patch/diff_libinput_mmi/libinput/
Dlibinput_0000.diff2380 CASE_RETURN_STRING(TAP_STATE_2FGTAP_DRAGGING_2);
2381 CASE_RETURN_STRING(TAP_STATE_3FGTAP_DRAGGING_2);
2382 CASE_RETURN_STRING(TAP_STATE_DEAD);
2383 + CASE_RETURN_STRING(TAP_STATE_HOLDING);
4075 CASE_RETURN_STRING(LIBINPUT_EVENT_DEVICE_ADDED);
4076 CASE_RETURN_STRING(LIBINPUT_EVENT_DEVICE_REMOVED);
4077 CASE_RETURN_STRING(LIBINPUT_EVENT_KEYBOARD_KEY);
4078 + CASE_RETURN_STRING(LIBINPUT_EVENT_POINTER_TAP);
4079 + CASE_RETURN_STRING(LIBINPUT_EVENT_POINTER_MOTION_TOUCHPAD);
4080 + CASE_RETURN_STRING(LIBINPUT_EVENT_POINTER_BUTTON_TOUCHPAD);
[all …]