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/emuWheel.c | |
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/emuWheel.c')
-rw-r--r-- | src/emuWheel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emuWheel.c b/src/emuWheel.c index b9337de..421477e 100644 --- a/src/emuWheel.c +++ b/src/emuWheel.c @@ -82,7 +82,7 @@ EvdevWheelEmuFilterButton(InputInfoPtr pInfo, unsigned int button, int value) * If the button is released early enough emit the button * press/release events */ - EvdevPostButtonClicks(pInfo, button, 1); + EvdevQueueButtonClicks(pInfo, button, 1); } } @@ -163,7 +163,7 @@ EvdevWheelEmuInertia(InputInfoPtr pInfo, WheelAxisPtr axis, int value) /* Produce button press events for wheel motion */ while(abs(axis->traveled_distance) > pEvdev->emulateWheel.inertia) { axis->traveled_distance -= inertia; - EvdevPostButtonClicks(pInfo, button, 1); + EvdevQueueButtonClicks(pInfo, button, 1); } } |