diff options
author | Sebastian Leonhardt <sebastian.leonhardt@web.de> | 2018-02-22 23:42:29 +0100 |
---|---|---|
committer | Sebastian Leonhardt <sebastian.leonhardt@web.de> | 2018-04-03 11:34:01 +0200 |
commit | 0486e5b93e422d0bd240439f02a8509a6c5bcbc5 (patch) | |
tree | c0da5e6a86d5f352e89cedaed515c3ce201481b9 /apps/plugins/chessclock.c | |
parent | fb3f7651fd68bf3b8c7e4dbd62dbb2b3505f929a (diff) |
Zen XFi2: Enable Plugins
Keymaps aren't tested, there may be room for improvement.
Change-Id: I6b8fe697899b241ea6e96f4fe446d88671ad7818
Diffstat (limited to 'apps/plugins/chessclock.c')
-rw-r--r-- | apps/plugins/chessclock.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/plugins/chessclock.c b/apps/plugins/chessclock.c index 363eaa1889..7473c47024 100644 --- a/apps/plugins/chessclock.c +++ b/apps/plugins/chessclock.c @@ -398,6 +398,10 @@ #define CHC_SETTINGS_DEC BUTTON_VOL_DOWN #define CHC_SETTINGS_CANCEL BUTTON_RIGHT +#elif CONFIG_KEYPAD == CREATIVE_ZENXFI2_PAD +#define CHC_QUIT BUTTON_POWER +#define CHC_STARTSTOP BUTTON_MENU + #else #error No keymap defined! #endif @@ -406,6 +410,9 @@ #ifndef CHC_SETTINGS_OK #define CHC_SETTINGS_OK BUTTON_CENTER #endif +#ifndef CHC_SETTINGS_CANCEL +#define CHC_SETTINGS_CANCEL BUTTON_TOPLEFT +#endif #ifndef CHC_STARTSTOP #define CHC_STARTSTOP BUTTON_CENTER #endif |