Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

devinput: Fix regression on Hiby R1

3a4da9381eccf62 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

+3 -2
+3 -2
firmware/target/hosted/button-devinput.c
··· 105 105 TOUCHSCREEN_STATE_DOWN 106 106 } _last_touch_state = TOUCHSCREEN_STATE_UNKNOWN; 107 107 108 - // XXX ... figure out what is standard. 108 + /* Do _NOT_ change this. Unofficial Linux API */ 109 + #define EVENT_VALUE_TOUCHSCREEN_RELEASE -1 110 + /* This is only used as an arbitrary placeholder */ 109 111 #define EVENT_VALUE_TOUCHSCREEN_PRESS 1 110 - #define EVENT_VALUE_TOUCHSCREEN_RELEASE 0 111 112 112 113 static int ts_enabled = 1; 113 114