X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fvideo%2Fomapdss%2Fomapsdl.h;h=ab94f3fe1413cd95211b9573fc56c1b865a3a3bc;hb=83b5751b446734b65e83ed4210b3c5cba3435866;hp=4e842bc6f83996b637fde7adec6747f9b663a536;hpb=0aab059fdffebbbf5af73cc7549adaf58470d0ec;p=sdl_omap.git diff --git a/src/video/omapdss/omapsdl.h b/src/video/omapdss/omapsdl.h index 4e842bc..ab94f3f 100644 --- a/src/video/omapdss/omapsdl.h +++ b/src/video/omapdss/omapsdl.h @@ -13,7 +13,8 @@ void omapsdl_input_init(void); void omapsdl_input_bind(const char *kname, const char *sdlname); -int omapsdl_input_get_event(int *is_down, int timeout); +int omapsdl_input_get_events(int timeout, + int (*cb)(void *cb_arg, int sdl_kc, int is_pressed), void *cb_arg); void omapsdl_config(void);