Changeset View
Changeset View
Standalone View
Standalone View
autotests/libinput/mock_libinput.h
Show First 20 Lines • Show All 99 Lines • ▼ Show 20 Line(s) | 31 | struct libinput_device { | |||
---|---|---|---|---|---|
100 | bool defaultCalibrationMatrixIsIdentity = true; | 100 | bool defaultCalibrationMatrixIsIdentity = true; | ||
101 | 101 | | |||
102 | bool lidSwitch = false; | 102 | bool lidSwitch = false; | ||
103 | bool tabletModeSwitch = false; | 103 | bool tabletModeSwitch = false; | ||
104 | quint32 supportedClickMethods = 0; | 104 | quint32 supportedClickMethods = 0; | ||
105 | enum libinput_config_click_method defaultClickMethod = LIBINPUT_CONFIG_CLICK_METHOD_NONE; | 105 | enum libinput_config_click_method defaultClickMethod = LIBINPUT_CONFIG_CLICK_METHOD_NONE; | ||
106 | enum libinput_config_click_method clickMethod = LIBINPUT_CONFIG_CLICK_METHOD_NONE; | 106 | enum libinput_config_click_method clickMethod = LIBINPUT_CONFIG_CLICK_METHOD_NONE; | ||
107 | bool setClickMethodReturnValue = 0; | 107 | bool setClickMethodReturnValue = 0; | ||
108 | uint32_t buttonCount = 0; | ||||
zzag: I know that you want to match `libinput_device_tablet_pad_get_{value}`, but please follow… | |||||
109 | uint32_t stripCount = 0; | ||||
110 | uint32_t ringCount = 0; | ||||
108 | }; | 111 | }; | ||
109 | 112 | | |||
110 | struct libinput_event { | 113 | struct libinput_event { | ||
111 | libinput_device *device = nullptr; | 114 | libinput_device *device = nullptr; | ||
112 | libinput_event_type type = LIBINPUT_EVENT_NONE; | 115 | libinput_event_type type = LIBINPUT_EVENT_NONE; | ||
113 | quint32 time = 0; | 116 | quint32 time = 0; | ||
114 | }; | 117 | }; | ||
115 | 118 | | |||
▲ Show 20 Lines • Show All 51 Lines • Show Last 20 Lines |
I know that you want to match libinput_device_tablet_pad_get_{value}, but please follow coding style.