{ KEY_RIGHTBRACE, PBTN_R },
};
-static const struct in_evdev_pdata gp2x_evdev_pdata = {
- .defbinds = in_gp2x_defbinds,
+static const struct in_pdata gp2x_evdev_pdata = {
+ .defbinds = in_evdev_defbinds,
.key_map = key_pbtn_map,
.kmap_size = sizeof(key_pbtn_map) / sizeof(key_pbtn_map[0]),
};
{
}
+void *plat_mem_get_for_drc(size_t size)
+{
+ return NULL;
+}
+
void plat_early_init(void)
{
// just use gettimeofday until plat_init()
g_menuscreen_w = 320;
g_menuscreen_h = 240;
+ g_menuscreen_pp = g_menuscreen_w;
gp2x_memset_all_buffers(0, 0, 320*240*2);
gp2x_make_fb_bufferable(1);