mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-01-22 01:30:35 -05:00
devinput: Fix regression on Hiby R1
3a4da9381e change an underdocumented definition that turns
out to be important, yet not documented in the linux uapi definitions.
Revert that change, and document the magic values so this doesn't happen again.
Change-Id: I0fac4a9d68170920bb5db1018d765e8a2994a95f
This commit is contained in:
parent
b9ce049876
commit
8d15aff38a
1 changed files with 3 additions and 2 deletions
|
|
@ -105,9 +105,10 @@ static enum
|
|||
TOUCHSCREEN_STATE_DOWN
|
||||
} _last_touch_state = TOUCHSCREEN_STATE_UNKNOWN;
|
||||
|
||||
// XXX ... figure out what is standard.
|
||||
/* Do _NOT_ change this. Unofficial Linux API */
|
||||
#define EVENT_VALUE_TOUCHSCREEN_RELEASE -1
|
||||
/* This is only used as an arbitrary placeholder */
|
||||
#define EVENT_VALUE_TOUCHSCREEN_PRESS 1
|
||||
#define EVENT_VALUE_TOUCHSCREEN_RELEASE 0
|
||||
|
||||
static int ts_enabled = 1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue