X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Flinux%2Fgp2x.c;h=e1b8c97018e9117023e13e59be9d3309e41b34ab;hb=83ff19ec52ff47992b5d6ceda3900b914eda2123;hp=17b294a978a2df853440f00476e32282e6fb08c7;hpb=c3a8237644a7cef891455d57a12ed2a589c6151e;p=picodrive.git diff --git a/platform/linux/gp2x.c b/platform/linux/gp2x.c index 17b294a..e1b8c97 100644 --- a/platform/linux/gp2x.c +++ b/platform/linux/gp2x.c @@ -196,8 +196,7 @@ static void *xlib_threadf(void *targ) XSetWMName(display, win, &windowName); XSelectInput(display, win, ExposureMask | - KeyPressMask | - ButtonPressMask | + KeyPressMask | KeyReleaseMask | StructureNotifyMask); XMapWindow(display, win); @@ -426,6 +425,7 @@ void *gp2x_video_setpalette = gp2x_video_setpalette_; void *gp2x_video_RGB_setscaling = do_nothing; void *gp2x_video_wait_vsync = do_nothing; void *gp2x_set_cpuclk = do_nothing; +void *gp2x_read_battery = do_nothing; void *set_lcd_custom_rate = do_nothing; void *unset_lcd_custom_rate = do_nothing; void *set_lcd_gamma = do_nothing;