X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Fgp2x%2Fin_gp2x.h;h=035cdedc4581616bb01432e6bb771d9cff02f511;hp=6428a63ad2e6b27c5d60bf1b6ae56541b3dda670;hb=b07c18e8645a17be916266820ae564e0d320cc1a;hpb=7badc9353b9570fd1c67827cfb477cef07974ddb diff --git a/frontend/gp2x/in_gp2x.h b/frontend/gp2x/in_gp2x.h index 6428a63a..035cdedc 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,