diff options
author | Tim Sell <Timothy.Sell@unisys.com> | 2015-10-02 13:19:24 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-04 09:53:34 +0100 |
commit | b4f033f2d01b6b7ab9273b8e93256673c235f5c8 (patch) | |
tree | ce4d924fae27fae2e2e6880817f80228481d688e /drivers/staging/unisys | |
parent | bc49496d2924d8fd5974053207d477d1bb6ba6ee (diff) | |
download | lwn-b4f033f2d01b6b7ab9273b8e93256673c235f5c8.tar.gz lwn-b4f033f2d01b6b7ab9273b8e93256673c235f5c8.zip |
staging: unisys: visorinput: remove extraneous mouse logic
Removes a cursor positioning hack that no longer seems to be required.
Signed-off-by: Tim Sell <Timothy.Sell@unisys.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/unisys')
-rw-r--r-- | drivers/staging/unisys/visorinput/visorinput.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/staging/unisys/visorinput/visorinput.c b/drivers/staging/unisys/visorinput/visorinput.c index 103f72b76332..a002e072429b 100644 --- a/drivers/staging/unisys/visorinput/visorinput.c +++ b/drivers/staging/unisys/visorinput/visorinput.c @@ -350,18 +350,6 @@ register_client_mouse(void *devdata /* opaque on purpose */) return NULL; } - /* - * Sending top-left and bottom-right positions is ABSOLUTELY - * REQUIRED if we want X to move the mouse to the exact points - * we tell it. I have NO IDEA why. - */ - input_report_abs(visorinput_dev, ABS_X, 0); - input_report_abs(visorinput_dev, ABS_Y, 0); - input_sync(visorinput_dev); - input_report_abs(visorinput_dev, ABS_X, xres - 1); - input_report_abs(visorinput_dev, ABS_Y, yres - 1); - input_sync(visorinput_dev); - input_set_capability(visorinput_dev, EV_REL, REL_WHEEL); return visorinput_dev; |