Skip to content
Create a gist now

Instantly share code, notes, and snippets.

IRIVER_H10_5GB and IRIVER_H10 mapping on pacman
#elif CONFIG_KEYPAD == IRIVER_H10_PAD
#if defined(IRIVER_H10_5GB)
#define PACMAN_UP BUTTON_SCROLL_UP
#define PACMAN_DOWN BUTTON_SCROLL_DOWN
#define PACMAN_LEFT BUTTON_LEFT
#define PACMAN_RIGHT BUTTON_RIGHT
#else
#define PACMAN_UP BUTTON_RIGHT
#define PACMAN_DOWN BUTTON_LEFT
#define PACMAN_LEFT BUTTON_SCROLL_UP
#define PACMAN_RIGHT BUTTON_SCROLL_DOWN
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.