diff options
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/config.h | 1 | ||||
-rw-r--r-- | firmware/export/config/application.h | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h index 3b59004549..409c9d9965 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h @@ -128,6 +128,7 @@ #define PHILIPS_HDD6330_PAD 42 #define PBELL_VIBE500_PAD 43 #define MPIO_HD200_PAD 44 +#define ANDROID_PAD 45 /* CONFIG_REMOTE_KEYPAD */ #define H100_REMOTE 1 diff --git a/firmware/export/config/application.h b/firmware/export/config/application.h index 71ee62356b..6a87d5f62a 100644 --- a/firmware/export/config/application.h +++ b/firmware/export/config/application.h @@ -75,7 +75,11 @@ /* Define this if you do software codec */ #define CONFIG_CODEC SWCODEC +#ifdef ANDROID +#define CONFIG_KEYPAD ANDROID_PAD +#else #define CONFIG_KEYPAD COWON_D2_PAD +#endif #if (CONFIG_PLATFORM & PLATFORM_SDL) /* Use SDL audio/pcm in a SDL app build */ |