summaryrefslogtreecommitdiff
path: root/gp2x/gp2x.h
diff options
context:
space:
mode:
authornotaz2012-10-05 02:02:26 +0300
committernotaz2012-10-06 19:15:06 +0300
commit108c704a364e89d071c67f929a292f05d019236a (patch)
treeb4e75d773dc6846e65a4e5345818a93e7274cc7b /gp2x/gp2x.h
parent40a392b00d8a4b812a61956509f7379ca1f396bc (diff)
downloadpicogpsp-108c704a364e89d071c67f929a292f05d019236a.tar.gz
picogpsp-108c704a364e89d071c67f929a292f05d019236a.tar.bz2
picogpsp-108c704a364e89d071c67f929a292f05d019236a.zip
initial Caanoo port
plus some random tweaks
Diffstat (limited to 'gp2x/gp2x.h')
-rw-r--r--gp2x/gp2x.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/gp2x/gp2x.h b/gp2x/gp2x.h
index 2e6b8eb..9a72eae 100644
--- a/gp2x/gp2x.h
+++ b/gp2x/gp2x.h
@@ -7,8 +7,8 @@ enum
GP2X_LEFT = 1 << 2,
GP2X_DOWN = 1 << 4,
GP2X_RIGHT = 1 << 6,
- GP2X_START = 1 << 8,
- GP2X_SELECT = 1 << 9,
+ GP2X_START = 1 << 8, // Wiz: Menu, Caanoo: I
+ GP2X_SELECT = 1 << 9, // Caanoo: II
GP2X_L = 1 << 10,
GP2X_R = 1 << 11,
GP2X_A = 1 << 12,
@@ -19,6 +19,11 @@ enum
GP2X_VOL_UP = 1 << 16,
GP2X_VOL_DOWN = 1 << 17,
GP2X_PUSH = 1 << 18,
+#elif defined(POLLUX_BUILD)
+ GP2X_HOME = 1 << 16,
+ GP2X_PUSH = 1 << 17,
+ GP2X_VOL_UP = 1 << 30, // dummy
+ GP2X_VOL_DOWN = 1 << 29,
#else
GP2X_VOL_DOWN = 1 << 22,
GP2X_VOL_UP = 1 << 23,