32x: interpreter-wrap drc works (demos only). SVP drc refactoring.
[libpicofe.git] / linux / gp2x.c
index 17b294a..e1b8c97 100644 (file)
@@ -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;