aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2013-08-28 14:23:49 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2013-08-28 14:37:26 +1000
commit0f16065b00436c5df48af6e1d6a18e2ed27a12fd (patch)
treed73a157837a127336ebad2d035df870af2eea961
parentDon't use mtdev for protocol B devices (diff)
downloadxf86-input-evdev-0f16065b00436c5df48af6e1d6a18e2ed27a12fd.tar.gz
xf86-input-evdev-0f16065b00436c5df48af6e1d6a18e2ed27a12fd.tar.bz2
xf86-input-evdev-0f16065b00436c5df48af6e1d6a18e2ed27a12fd.zip
Remove a comment
This comment is now in the wrong place. It was moved when abs support for wheel emulation was added but is now only confusing. Remove it altogether, the code is quite obvious what it does. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--src/emuWheel.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/emuWheel.c b/src/emuWheel.c
index 81b777f..c0e92b1 100644
--- a/src/emuWheel.c
+++ b/src/emuWheel.c
@@ -115,7 +115,6 @@ EvdevWheelEmuFilterMotion(InputInfoPtr pInfo, struct input_event *pEv)
return TRUE;
}
- /* We don't want to intercept real mouse wheel events */
if(pEv->type == EV_ABS) {
int axis = pEvdev->abs_axis_map[pEv->code];
oldValue = valuator_mask_get(pEvdev->vals, axis);