summaryrefslogtreecommitdiff
path: root/firmware/target/arm/s5l8700/meizu-m3/button-target.h
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-10-08 18:27:03 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-10-08 20:30:08 -0400
commit7a1bf015417250205c342d5d6e9f7cfa73265439 (patch)
tree640d702bb66d190fb60a6e6df6b54d8806ae4835 /firmware/target/arm/s5l8700/meizu-m3/button-target.h
parentdc81f96fd1bf3ddfe4c9e750ff14a0238f85d776 (diff)
downloadrockbox-7a1bf015417250205c342d5d6e9f7cfa73265439.tar.gz
rockbox-7a1bf015417250205c342d5d6e9f7cfa73265439.zip
Undo the hacks that allowed targets without LEFT/RIGHT (UP/DN) to build.
Replaced them with warnings until they are fixed *PROPERLY* Change-Id: I4425200e60f8b5224262a54f105b974cec471d22
Diffstat (limited to 'firmware/target/arm/s5l8700/meizu-m3/button-target.h')
-rw-r--r--firmware/target/arm/s5l8700/meizu-m3/button-target.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/firmware/target/arm/s5l8700/meizu-m3/button-target.h b/firmware/target/arm/s5l8700/meizu-m3/button-target.h
index 93f102c410..c438628cc9 100644
--- a/firmware/target/arm/s5l8700/meizu-m3/button-target.h
+++ b/firmware/target/arm/s5l8700/meizu-m3/button-target.h
@@ -28,10 +28,6 @@
28#define BUTTON_MENU 0x00000002 28#define BUTTON_MENU 0x00000002
29#define BUTTON_PLAY 0x00000004 29#define BUTTON_PLAY 0x00000004
30 30
31/* there are no LEFT/RIGHT buttons, but other parts of the code expect them */
32#define BUTTON_LEFT 0
33#define BUTTON_RIGHT 0
34
35#define BUTTON_MAIN (BUTTON_PREVNEXT|BUTTON_MENU|BUTTON_PLAY) 31#define BUTTON_MAIN (BUTTON_PREVNEXT|BUTTON_MENU|BUTTON_PLAY)
36 32
37#define POWEROFF_BUTTON BUTTON_PLAY 33#define POWEROFF_BUTTON BUTTON_PLAY