summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/config.h1
-rw-r--r--firmware/export/config/application.h7
2 files changed, 6 insertions, 2 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h
index 409c9d9965..83a9ea4feb 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -129,6 +129,7 @@
129#define PBELL_VIBE500_PAD 43 129#define PBELL_VIBE500_PAD 43
130#define MPIO_HD200_PAD 44 130#define MPIO_HD200_PAD 44
131#define ANDROID_PAD 45 131#define ANDROID_PAD 45
132#define SDL_PAD 46
132 133
133/* CONFIG_REMOTE_KEYPAD */ 134/* CONFIG_REMOTE_KEYPAD */
134#define H100_REMOTE 1 135#define H100_REMOTE 1
diff --git a/firmware/export/config/application.h b/firmware/export/config/application.h
index 6a87d5f62a..6219aa6fad 100644
--- a/firmware/export/config/application.h
+++ b/firmware/export/config/application.h
@@ -75,10 +75,13 @@
75/* Define this if you do software codec */ 75/* Define this if you do software codec */
76#define CONFIG_CODEC SWCODEC 76#define CONFIG_CODEC SWCODEC
77 77
78#ifdef ANDROID 78#if (CONFIG_PLATFORM & PLATFORM_ANDROID)
79#define CONFIG_KEYPAD ANDROID_PAD 79#define CONFIG_KEYPAD ANDROID_PAD
80#elif (CONFIG_PLATFORM & PLATFORM_SDL)
81#define HAVE_SCROLLWHEEL
82#define CONFIG_KEYPAD SDL_PAD
80#else 83#else
81#define CONFIG_KEYPAD COWON_D2_PAD 84#error unknown platform
82#endif 85#endif
83 86
84#if (CONFIG_PLATFORM & PLATFORM_SDL) 87#if (CONFIG_PLATFORM & PLATFORM_SDL)