diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-10-08 18:27:03 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-10-08 20:30:08 -0400 |
commit | 7a1bf015417250205c342d5d6e9f7cfa73265439 (patch) | |
tree | 640d702bb66d190fb60a6e6df6b54d8806ae4835 /apps/plugins/rockboy | |
parent | dc81f96fd1bf3ddfe4c9e750ff14a0238f85d776 (diff) | |
download | rockbox-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 'apps/plugins/rockboy')
-rw-r--r-- | apps/plugins/rockboy/rockboy.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/plugins/rockboy/rockboy.c b/apps/plugins/rockboy/rockboy.c index 202cdf6570..29269f18fb 100644 --- a/apps/plugins/rockboy/rockboy.c +++ b/apps/plugins/rockboy/rockboy.c | |||
@@ -85,9 +85,11 @@ static void setoptions (void) | |||
85 | #ifdef HAVE_TOUCHSCREEN | 85 | #ifdef HAVE_TOUCHSCREEN |
86 | options.LEFT = BUTTON_MIDLEFT; | 86 | options.LEFT = BUTTON_MIDLEFT; |
87 | options.RIGHT = BUTTON_MIDRIGHT; | 87 | options.RIGHT = BUTTON_MIDRIGHT; |
88 | #else | 88 | #elif defined(BUTTON_LEFT) && defined(BUTTON_RIGHT) |
89 | options.LEFT = BUTTON_LEFT; | 89 | options.LEFT = BUTTON_LEFT; |
90 | options.RIGHT = BUTTON_RIGHT; | 90 | options.RIGHT = BUTTON_RIGHT; |
91 | #else | ||
92 | #warning "LEFT/RIGHT not defined!" | ||
91 | #endif | 93 | #endif |
92 | 94 | ||
93 | #if CONFIG_KEYPAD == IRIVER_H100_PAD | 95 | #if CONFIG_KEYPAD == IRIVER_H100_PAD |