summaryrefslogtreecommitdiff
path: root/apps/plugins/goban
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/goban')
-rw-r--r--apps/plugins/goban/goban.h21
-rw-r--r--apps/plugins/goban/goban.make9
2 files changed, 1 insertions, 29 deletions
diff --git a/apps/plugins/goban/goban.h b/apps/plugins/goban/goban.h
index e04b4c2447..8406b540b7 100644
--- a/apps/plugins/goban/goban.h
+++ b/apps/plugins/goban/goban.h
@@ -297,27 +297,6 @@
297#define GBN_BUTTON_CONTEXT BUTTON_PLAY | BUTTON_REPEAT 297#define GBN_BUTTON_CONTEXT BUTTON_PLAY | BUTTON_REPEAT
298/* no next var */ 298/* no next var */
299 299
300#elif (CONFIG_KEYPAD == RECORDER_PAD)
301#define GBN_BUTTON_UP BUTTON_UP
302#define GBN_BUTTON_DOWN BUTTON_DOWN
303#define GBN_BUTTON_LEFT BUTTON_LEFT
304#define GBN_BUTTON_RIGHT BUTTON_RIGHT
305#define GBN_BUTTON_RETREAT BUTTON_F1
306#define GBN_BUTTON_ADVANCE BUTTON_F3
307#define GBN_BUTTON_MENU BUTTON_F2
308#define GBN_BUTTON_PLAY BUTTON_PLAY | BUTTON_REL
309#define GBN_BUTTON_CONTEXT BUTTON_PLAY | BUTTON_REPEAT
310#define GBN_BUTTON_NEXT_VAR BUTTON_ON
311
312#elif (CONFIG_KEYPAD == ONDIO_PAD)
313#define GBN_BUTTON_UP BUTTON_UP
314#define GBN_BUTTON_DOWN BUTTON_DOWN
315#define GBN_BUTTON_LEFT BUTTON_LEFT
316#define GBN_BUTTON_RIGHT BUTTON_RIGHT
317#define GBN_BUTTON_MENU BUTTON_MENU | BUTTON_REPEAT
318#define GBN_BUTTON_PLAY BUTTON_MENU | BUTTON_REL
319#define GBN_BUTTON_NAV_MODE BUTTON_OFF
320
321#elif (CONFIG_KEYPAD == SAMSUNG_YH92X_PAD) 300#elif (CONFIG_KEYPAD == SAMSUNG_YH92X_PAD)
322#define GBN_BUTTON_UP BUTTON_UP 301#define GBN_BUTTON_UP BUTTON_UP
323#define GBN_BUTTON_DOWN BUTTON_DOWN 302#define GBN_BUTTON_DOWN BUTTON_DOWN
diff --git a/apps/plugins/goban/goban.make b/apps/plugins/goban/goban.make
index a8b41285f0..2201dc60f4 100644
--- a/apps/plugins/goban/goban.make
+++ b/apps/plugins/goban/goban.make
@@ -16,15 +16,8 @@ GOBAN_OBJ := $(call c2obj, $(GOBAN_SRC))
16OTHER_SRC += $(GOBAN_SRC) 16OTHER_SRC += $(GOBAN_SRC)
17 17
18ifndef APP_TYPE 18ifndef APP_TYPE
19ifneq (,$(strip $(foreach tgt,RECORDER ONDIO,$(findstring $(tgt),$(TARGET))))) 19 ### all targets
20 ### lowmem targets
21 ROCKS += $(GOBAN_BUILDDIR)/goban.ovl
22 GOBAN_OUTLDS = $(GOBAN_BUILDDIR)/goban.link
23 GOBAN_OVLFLAGS = -T$(GOBAN_OUTLDS) -Wl,--gc-sections -Wl,-Map,$(basename $@).map
24else
25 ### all other targets
26 ROCKS += $(GOBAN_BUILDDIR)/goban.rock 20 ROCKS += $(GOBAN_BUILDDIR)/goban.rock
27endif
28else 21else
29 ### simulator 22 ### simulator
30 ROCKS += $(GOBAN_BUILDDIR)/goban.rock 23 ROCKS += $(GOBAN_BUILDDIR)/goban.rock