mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2025-12-20 09:10:04 +01:00
eis: sync event codes with libei
Commitda37da1308"ei: change the API to match the protocol interfaces closer" change the event type numbers for per-capability grouping but the follow-up commite6954b76dfor eis didn't do the same. Right now the event types are out sync. This doesn't technically matter as this is a libeis implementation detail (those types don't exist on the protocol) but it'd still be nice to sync them before we ship 1.0. This is an ABI break but not an API break.
This commit is contained in:
parent
080864d82a
commit
168de89a70
1 changed files with 5 additions and 5 deletions
10
src/libeis.h
10
src/libeis.h
|
|
@ -300,16 +300,16 @@ enum eis_event_type {
|
|||
* An absolute motion event with absolute position within the device's
|
||||
* regions or size, depending on the device type.
|
||||
*/
|
||||
EIS_EVENT_POINTER_MOTION_ABSOLUTE,
|
||||
EIS_EVENT_POINTER_MOTION_ABSOLUTE = 400,
|
||||
/**
|
||||
* A button press or release event
|
||||
*/
|
||||
EIS_EVENT_BUTTON_BUTTON,
|
||||
EIS_EVENT_BUTTON_BUTTON = 500,
|
||||
/**
|
||||
* A vertical and/or horizontal scroll event with logical-pixels
|
||||
* or mm precision, depending on the device type.
|
||||
*/
|
||||
EIS_EVENT_SCROLL_DELTA,
|
||||
EIS_EVENT_SCROLL_DELTA = 600,
|
||||
/**
|
||||
* An ongoing scroll sequence stopped.
|
||||
*/
|
||||
|
|
@ -327,7 +327,7 @@ enum eis_event_type {
|
|||
/**
|
||||
* A key press or release event
|
||||
*/
|
||||
EIS_EVENT_KEYBOARD_KEY = 400,
|
||||
EIS_EVENT_KEYBOARD_KEY = 700,
|
||||
|
||||
/**
|
||||
* Event for a single touch set down on the device's logical surface.
|
||||
|
|
@ -335,7 +335,7 @@ enum eis_event_type {
|
|||
* between. On multitouch capable devices, several touchs eqeuences
|
||||
* may be active at any time.
|
||||
*/
|
||||
EIS_EVENT_TOUCH_DOWN = 500,
|
||||
EIS_EVENT_TOUCH_DOWN = 800,
|
||||
/**
|
||||
* Event for a single touch released from the device's logical
|
||||
* surface.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue