add scancode support
[sdl_omap.git] / src / video / omapdss / linux / xenv.h
CommitLineData
f9b3f440 1
e1837b2c 2int xenv_init(int *have_mouse_events);
3
4/* read events from X, calling key_cb for key, mouseb_cb for mouse button
5 * and mousem_cb for mouse motion events */
6int xenv_update(int (*key_cb)(void *cb_arg, int kc, int is_pressed),
7 int (*mouseb_cb)(void *cb_arg, int x, int y, int button, int is_pressed),
8 int (*mousem_cb)(void *cb_arg, int x, int y),
9 void *cb_arg);
10
f9b3f440 11void xenv_finish(void);
12