forked from len0rd/rockbox
Reversi: Attempt to account for screen aspect, add preliminary absolute touchscreen support (Menu button and quit button need to be added to display)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22079 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d10f9511cf
commit
ad1660074f
2 changed files with 82 additions and 45 deletions
|
@ -128,7 +128,7 @@
|
|||
#define REVERSI_BUTTON_MENU (BUTTON_SELECT|BUTTON_REPEAT)
|
||||
|
||||
#elif CONFIG_KEYPAD == MROBE500_PAD
|
||||
#define REVERSI_QUIT BUTTON_POWER
|
||||
#define REVERSI_BUTTON_QUIT BUTTON_POWER
|
||||
|
||||
#elif (CONFIG_KEYPAD == MROBE100_PAD)
|
||||
#define REVERSI_BUTTON_QUIT BUTTON_POWER
|
||||
|
@ -149,7 +149,7 @@
|
|||
#define REVERSI_BUTTON_MENU BUTTON_RC_MENU
|
||||
|
||||
#elif CONFIG_KEYPAD == COWOND2_PAD
|
||||
#define REVERSI_QUIT BUTTON_POWER
|
||||
#define REVERSI_BUTTON_QUIT BUTTON_POWER
|
||||
#define REVERSI_BUTTON_MENU BUTTON_MENU
|
||||
|
||||
#elif CONFIG_KEYPAD == IAUDIO67_PAD
|
||||
|
@ -180,7 +180,7 @@
|
|||
#define REVERSI_BUTTON_MENU BUTTON_MENU
|
||||
|
||||
#elif CONFIG_KEYPAD == ONDAVX747_PAD
|
||||
#define REVERSI_QUIT BUTTON_POWER
|
||||
#define REVERSI_BUTTON_QUIT BUTTON_POWER
|
||||
#define REVERSI_BUTTON_MENU BUTTON_MENU
|
||||
|
||||
#else
|
||||
|
@ -188,8 +188,8 @@
|
|||
#endif
|
||||
|
||||
#ifdef HAVE_TOUCHSCREEN
|
||||
#ifndef REVERSI_QUIT
|
||||
#define REVERSI_QUIT BUTTON_TOPLEFT
|
||||
#ifndef REVERSI_BUTTON_QUIT
|
||||
#define REVERSI_BUTTON_QUIT BUTTON_TOPLEFT
|
||||
#endif
|
||||
#ifndef REVERSI_BUTTON_UP
|
||||
#define REVERSI_BUTTON_UP BUTTON_TOPMIDDLE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue