X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fvideo%2Fomapdss%2Fomapsdl.h;h=250099f29950ca7aeb40b8bc2bc9eeac58af6bb0;hb=17e19802bcb08b2a79e39f84e93750f912f56609;hp=4e842bc6f83996b637fde7adec6747f9b663a536;hpb=0aab059fdffebbbf5af73cc7549adaf58470d0ec;p=sdl_omap.git diff --git a/src/video/omapdss/omapsdl.h b/src/video/omapdss/omapsdl.h index 4e842bc..250099f 100644 --- a/src/video/omapdss/omapsdl.h +++ b/src/video/omapdss/omapsdl.h @@ -13,7 +13,11 @@ 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_ms, + int (*key_cb)(void *cb_arg, int sdl_kc, int is_pressed), + int (*ts_cb)(void *cb_arg, int x, int y, unsigned int pressure), + void *cb_arg); +void omapsdl_input_finish(void); void omapsdl_config(void);