From 8bf93709cbcf9f041cd177e929ff46adce8a6b79 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 13 Aug 2009 10:16:18 +1000 Subject: 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 Acked-by: Oliver McFadden --- src/emuWheel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/emuWheel.c') 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); } } -- cgit v1.2.3