diff options
author | Ping Cheng <pinglinux@gmail.com> | 2014-11-18 16:28:37 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2014-11-20 11:28:42 -0500 |
commit | 97edcad81324ede21e421b79eaeab26f0b1ad2fc (patch) | |
tree | 6ef5c0d3c99ed39543bf3c6ac9efda266348937e /drivers/hid/wacom_wac.c | |
parent | b3c8e93f99a7f9453be54549ae362b603c42188c (diff) |
HID: wacom - Cleanup input_capabilities for Graphire 4 and Bamboo Fun
Graphire 4 only has two tablet buttons; Bamboo Fun touch ring is only
for PAD.
Signed-off-by: Ping Cheng <pingc@wacom.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/wacom_wac.c')
-rw-r--r-- | drivers/hid/wacom_wac.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/hid/wacom_wac.c b/drivers/hid/wacom_wac.c index 63821c0e8207..51c7353e01a5 100644 --- a/drivers/hid/wacom_wac.c +++ b/drivers/hid/wacom_wac.c | |||
@@ -2050,9 +2050,6 @@ int wacom_setup_input_capabilities(struct input_dev *input_dev, | |||
2050 | 2050 | ||
2051 | switch (features->type) { | 2051 | switch (features->type) { |
2052 | case WACOM_MO: | 2052 | case WACOM_MO: |
2053 | input_set_abs_params(input_dev, ABS_WHEEL, 0, 71, 0, 0); | ||
2054 | /* fall through */ | ||
2055 | |||
2056 | case WACOM_G4: | 2053 | case WACOM_G4: |
2057 | /* fall through */ | 2054 | /* fall through */ |
2058 | 2055 | ||
@@ -2306,9 +2303,7 @@ int wacom_setup_pad_input_capabilities(struct input_dev *input_dev, | |||
2306 | 2303 | ||
2307 | case WACOM_G4: | 2304 | case WACOM_G4: |
2308 | __set_bit(BTN_BACK, input_dev->keybit); | 2305 | __set_bit(BTN_BACK, input_dev->keybit); |
2309 | __set_bit(BTN_LEFT, input_dev->keybit); | ||
2310 | __set_bit(BTN_FORWARD, input_dev->keybit); | 2306 | __set_bit(BTN_FORWARD, input_dev->keybit); |
2311 | __set_bit(BTN_RIGHT, input_dev->keybit); | ||
2312 | input_set_capability(input_dev, EV_REL, REL_WHEEL); | 2307 | input_set_capability(input_dev, EV_REL, REL_WHEEL); |
2313 | break; | 2308 | break; |
2314 | 2309 | ||