+void (*gp2x_video_flip)(void);
+void (*gp2x_video_flip2)(void);
+void (*gp2x_video_changemode_ll)(int bpp, int is_pal);
+void (*gp2x_video_setpalette)(int *pal, int len);
+void (*gp2x_video_RGB_setscaling)(int ln_offs, int W, int H);
+void (*gp2x_video_wait_vsync)(void);
+
+static struct in_default_bind in_evdev_defbinds[] =
+{
+ /* MXYZ SACB RLDU */
+ { KEY_UP, IN_BINDTYPE_PLAYER12, GBTN_UP },
+ { KEY_DOWN, IN_BINDTYPE_PLAYER12, GBTN_DOWN },
+ { KEY_LEFT, IN_BINDTYPE_PLAYER12, GBTN_LEFT },
+ { KEY_RIGHT, IN_BINDTYPE_PLAYER12, GBTN_RIGHT },
+ { KEY_A, IN_BINDTYPE_PLAYER12, GBTN_A },
+ { KEY_S, IN_BINDTYPE_PLAYER12, GBTN_B },
+ { KEY_D, IN_BINDTYPE_PLAYER12, GBTN_C },
+ { KEY_ENTER, IN_BINDTYPE_PLAYER12, GBTN_START },
+ { KEY_BACKSLASH, IN_BINDTYPE_EMU, PEVB_MENU },
+ /* Caanoo */
+ { BTN_TRIGGER, IN_BINDTYPE_PLAYER12, GBTN_A },
+ { BTN_THUMB, IN_BINDTYPE_PLAYER12, GBTN_B },
+ { BTN_THUMB2, IN_BINDTYPE_PLAYER12, GBTN_C },
+ { BTN_BASE3, IN_BINDTYPE_PLAYER12, GBTN_START },
+ { BTN_TOP2, IN_BINDTYPE_EMU, PEVB_STATE_SAVE },
+ { BTN_PINKIE, IN_BINDTYPE_EMU, PEVB_STATE_LOAD },
+ { BTN_BASE, IN_BINDTYPE_EMU, PEVB_MENU },
+ { 0, 0, 0 }
+};