diff options
Diffstat (limited to 'frontend/gp2x/in_gp2x.h')
-rw-r--r-- | frontend/gp2x/in_gp2x.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/frontend/gp2x/in_gp2x.h b/frontend/gp2x/in_gp2x.h index 6428a63..035cded 100644 --- a/frontend/gp2x/in_gp2x.h +++ b/frontend/gp2x/in_gp2x.h @@ -1,8 +1,7 @@ -void in_gp2x_init(void); +struct in_default_bind; -/* to be set somewhere in platform code */ -extern struct in_default_bind in_gp2x_defbinds[]; +void in_gp2x_init(const struct in_default_bind *defbinds); enum { GP2X_BTN_UP = 0, GP2X_BTN_LEFT = 2, GP2X_BTN_DOWN = 4, GP2X_BTN_RIGHT = 6, GP2X_BTN_START = 8, GP2X_BTN_SELECT = 9, GP2X_BTN_L = 10, GP2X_BTN_R = 11, |