dev_uinput.h

Go to the documentation of this file.
00001 #ifndef _DEV_UINPUT_H
00002 #define _DEV_UINPUT_H
00003 
00009 int dev_uinput_init_kbd  (char* name);
00015 int dev_uinput_init_mouse(char* name);
00016 
00030 int dev_uinput_key(int fd, unsigned short code, int pressed);
00031 
00032 void ptr_abs(int fd, int x, int y);
00033 void button_click(int fd, int down);
00034 void dev_uinput_sync(int fd);
00035 
00036 void dev_uinput_close(int fd);
00037 
00038 #endif