4c5281c365f8242506fae7ba58b84cf11766ba04
[sdl_omap.git] / src / video / omapdss / linux / xenv.h
1
2 int  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 */
6 int  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
11 void xenv_finish(void);
12