diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-08-13 10:16:18 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-08-13 14:36:46 +1000 |
commit | 8bf93709cbcf9f041cd177e929ff46adce8a6b79 (patch) | |
tree | 6f6e000dbe2dd092d057eb09fe5580e71548e179 /src/evdev.h | |
parent | comment typo fix (diff) | |
download | xf86-input-evdev-8bf93709cbcf9f041cd177e929ff46adce8a6b79.tar.gz xf86-input-evdev-8bf93709cbcf9f041cd177e929ff46adce8a6b79.tar.bz2 xf86-input-evdev-8bf93709cbcf9f041cd177e929ff46adce8a6b79.zip |
Rename parts of the Post API to a Queue API.
Button and key events aren't posted from EvdevPost*Event, they are simply
enqueued onto the evdev-internal event queue until the next EV_SYN arrives.
Rename those interfaces from EvdevPost* to EvdevQueue* and leave only those
that actually post to the server with a matching "*Post*" name.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Oliver McFadden <oliver.mcfadden@nokia.com>
Diffstat (limited to 'src/evdev.h')
-rw-r--r-- | src/evdev.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/evdev.h b/src/evdev.h index 142801c..a4a1064 100644 --- a/src/evdev.h +++ b/src/evdev.h @@ -181,9 +181,9 @@ typedef struct { } 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 EvdevQueueKbdEvent(InputInfoPtr pInfo, struct input_event *ev, int value); +void EvdevQueueButtonEvent(InputInfoPtr pInfo, int button, int value); +void EvdevQueueButtonClicks(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, |