diff options
author | Ping Cheng <pingc@wacom.com> | 2007-06-14 23:32:48 -0400 |
---|---|---|
committer | Dmitry Torokhov <dtor@insightbb.com> | 2007-07-10 00:35:17 -0400 |
commit | 7ecfbfd3d000a5d6787cf3369228e7f0082b8758 (patch) | |
tree | 8df68e50be4e668657bef51efde4c2ce8d3a3221 /drivers/input/tablet/wacom_sys.c | |
parent | 5f5655023f2814969b744c1e07494666587243aa (diff) |
Input: wacom - add support for the new Bamboo tablets
Signed-off-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/tablet/wacom_sys.c')
-rw-r--r-- | drivers/input/tablet/wacom_sys.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/input/tablet/wacom_sys.c b/drivers/input/tablet/wacom_sys.c index 83bddef66067..064e123c9b76 100644 --- a/drivers/input/tablet/wacom_sys.c +++ b/drivers/input/tablet/wacom_sys.c | |||
@@ -138,6 +138,12 @@ static void wacom_close(struct input_dev *dev) | |||
138 | usb_kill_urb(wacom->irq); | 138 | usb_kill_urb(wacom->irq); |
139 | } | 139 | } |
140 | 140 | ||
141 | void input_dev_mo(struct input_dev *input_dev, struct wacom_wac *wacom_wac) | ||
142 | { | ||
143 | input_dev->keybit[LONG(BTN_LEFT)] |= BIT(BTN_1) | BIT(BTN_5); | ||
144 | input_set_abs_params(input_dev, ABS_WHEEL, 0, 71, 0, 0); | ||
145 | } | ||
146 | |||
141 | void input_dev_g4(struct input_dev *input_dev, struct wacom_wac *wacom_wac) | 147 | void input_dev_g4(struct input_dev *input_dev, struct wacom_wac *wacom_wac) |
142 | { | 148 | { |
143 | input_dev->evbit[0] |= BIT(EV_MSC); | 149 | input_dev->evbit[0] |= BIT(EV_MSC); |