summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-10-09 07:42:10 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-10-09 12:15:43 +0000
commit88b2a45b5fb31598c09a24762cce7457da871996 (patch)
tree950ce289fb00ba674358dda73ceec011f386ccf2 /firmware
parent7a1bf015417250205c342d5d6e9f7cfa73265439 (diff)
downloadrockbox-88b2a45b5fb31598c09a24762cce7457da871996.tar.gz
rockbox-88b2a45b5fb31598c09a24762cce7457da871996.tar.bz2
rockbox-88b2a45b5fb31598c09a24762cce7457da871996.zip
xduoox3ii/x20: Define a sane BUTTON_LEFT/RIGHT alias
Change-Id: If11dfa50aeb8cb8b80de730c494d81a9e87880c4
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/hosted/xduoo/button-target.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/hosted/xduoo/button-target.h b/firmware/target/hosted/xduoo/button-target.h
index ac77a7da7d..d41b33894a 100644
--- a/firmware/target/hosted/xduoo/button-target.h
+++ b/firmware/target/hosted/xduoo/button-target.h
@@ -30,8 +30,8 @@
#define BUTTON_VOL_UP 0x00000040
#define BUTTON_VOL_DOWN 0x00000080
-#define BUTTON_LEFT 0
-#define BUTTON_RIGHT 0
+#define BUTTON_LEFT BUTTON_PREV
+#define BUTTON_RIGHT BUTTON_NEXT
#define BUTTON_MAIN (BUTTON_POWER | BUTTON_HOME | BUTTON_OPTION | BUTTON_PREV | \
BUTTON_NEXT | BUTTON_PLAY | BUTTON_VOL_UP | BUTTON_VOL_DOWN)