From fbb6a2ff6d751adaaef73a86a98700f91571d0a1 Mon Sep 17 00:00:00 2001 From: Marcin Bukat Date: Fri, 2 Mar 2018 21:53:55 +0100 Subject: Agptek Rocker: Build plugins Patch provided by Aapo Tahkola. Change-Id: I37a42a950d78d6b8aa3927ec7aeb30030f7be7a5 --- apps/plugins/pacbox/pacbox.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'apps/plugins/pacbox/pacbox.h') diff --git a/apps/plugins/pacbox/pacbox.h b/apps/plugins/pacbox/pacbox.h index 9c4c305539..5eb9103d90 100644 --- a/apps/plugins/pacbox/pacbox.h +++ b/apps/plugins/pacbox/pacbox.h @@ -354,6 +354,15 @@ #elif CONFIG_KEYPAD == CREATIVE_ZENXFI2_PAD #define PACMAN_MENU BUTTON_MENU +#elif CONFIG_KEYPAD == AGPTEK_ROCKER_PAD +#define PACMAN_UP BUTTON_UP +#define PACMAN_DOWN BUTTON_DOWN +#define PACMAN_LEFT BUTTON_LEFT +#define PACMAN_RIGHT BUTTON_RIGHT +#define PACMAN_MENU BUTTON_POWER +#define PACMAN_1UP BUTTON_VOLUP +#define PACMAN_COIN BUTTON_VOLDOWN + #else #error Keymap not defined! -- cgit v1.2.3