diff options
Diffstat (limited to 'src/evdev.h')
-rw-r--r-- | src/evdev.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/evdev.h b/src/evdev.h index 23ee003..142801c 100644 --- a/src/evdev.h +++ b/src/evdev.h @@ -25,6 +25,7 @@ * Kristian Høgsberg (krh@redhat.com) * Adam Jackson (ajax@redhat.com) * Peter Hutterer (peter@cs.unisa.edu.au) + * Oliver McFadden (oliver.mcfadden@nokia.com) */ #ifndef EVDEV_H @@ -179,6 +180,14 @@ typedef struct { EventQueueRec queue[EVDEV_MAXQUEUE]; } EvdevRec, *EvdevPtr; +/* Event posting functions */ +void EvdevPostKbdEvent(InputInfoPtr pInfo, struct input_event *ev, int value); +void EvdevPostButtonEvent(InputInfoPtr pInfo, int button, int value); +void EvdevPostButtonClicks(InputInfoPtr pInfo, int button, int count); +void EvdevPostRelativeMotionEvents(InputInfoPtr pInfo, int *num_v, int *first_v, + int v[MAX_VALUATORS]); +void EvdevPostAbsoluteMotionEvents(InputInfoPtr pInfo, int *num_v, int *first_v, + int v[MAX_VALUATORS]); unsigned int EvdevUtilButtonEventToButtonNumber(EvdevPtr pEvdev, int code); /* Middle Button emulation */ |