- 27 10月, 2011 1 次提交
-
-
由 Chris Bagwell 提交于
Bit 0x02 always means tip versus eraser. Bit 0x01 is something related to version of stylus and different values are starting to be used. Relaxing proximity check is required to be used with 3rd generation Bamboo Pen and Touch tablets. Signed-off-by: NChris Bagwell <chris@cnpbagwell.com> Acked-by: NPing Cheng <pingc@wacom.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 10 10月, 2011 3 次提交
-
-
由 Chris Bagwell 提交于
Medium size Bamboo P&T driver reused max X/Y form older Bamboo 1 medium size tablets and never updated to real value. Actual active area of tablet is slightly larger in Y direction. Signed-off-by: NChris Bagwell <chris@cnpbagwell.com> Acked-by: NPing Cheng <pingc@wacom.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Chris Bagwell 提交于
Tablet reports a distance of 0 right at highest point possible to be in proximity and distance_max when touching tablet. Inverse the distance since user land has no way of knowing ABS_DISTANCE is not distance from tablet. Signed-off-by: NChris Bagwell <chris@cnpbagwell.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Chris Bagwell 提交于
These were left in during removal of touch pressure reports but not needed now. Signed-off-by: NChris Bagwell <chris@cnpbagwell.com> Reviewed-by: NPing Cheng <pingc@wacom.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 16 8月, 2011 1 次提交
-
-
由 Gerard Braad 提交于
Signed-off-by: NGerard Braad <me@gbraad.nl> Reviewed-by: NChris Bagwell <chris@cnpbagwell.com> Signed-off-by: NPing Cheng <pingc@wacom.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 07 7月, 2011 4 次提交
-
-
由 Ping Cheng 提交于
The old code may call input_sync() without sending any other events. While it will be suppressed by the input core not calling it at all is still cheaper. Signed-off-by: NPing Cheng <pingc@wacom.com> Reviewed-by: NChris Bagwell <chris@cnpbagwell.com> Reviewed-by: NHenrik Rydberg <rydberg@euromail.se> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Ping Cheng 提交于
Bamboo touch sets BTN_BACK, BTN_FORWARD, BTN_LEFT, and BTN_RIGHT as the default button events for tablet buttons. Change Graphire4 and old Bamboo to the same settings. Signed-off-by: NPing Cheng <pingc@wacom.com> Reviewed-by: NChris Bagwell <chris@cnpbagwell.com> Reviewed-by: NHenrik Rydberg <rydberg@euromail.se> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Ping Cheng 提交于
With the removal of BTN_TOOL_FINGER for tablet buttons and expresskeys, serial number is needed to distingush if the events were from a regular tool (stylus, eraser, or mouse) or the attribures (buttons, strips, or wheels) on the tablet since there are overlapped events between the tools and the tablet attributes. Signed-off-by: NPing Cheng <pingc@wacom.com> Reviewed-by: NChris Bagwell <chris@cnpbagwell.com> Reviewed-by: NHenrik Rydberg <rydberg@euromail.se> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Ping Cheng 提交于
BTN_TOOL_FINGER was designed to indicate a single finger touch. Remove the lines that borrowed this type for expresskeys and tablet buttons. Signed-off-by: NPing Cheng <pingc@wacom.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 28 6月, 2011 2 次提交
-
-
由 Ping Cheng 提交于
Tested-by: Alex Tervoort <alex.tervoort@gmail.com> for 6A Signed-off-by: NDavid Foley <favux.is@gmail.com> Signed-off-by: NPing Cheng <pingc@wacom.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Ping Cheng 提交于
D4 has 1024, not 512, pressure levels. Reported-by: NDavid Foley <favux.is@gmail.com> Signed-off-by: NPing Cheng <pingc@wacom.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 22 6月, 2011 2 次提交
-
-
由 Aristeu Rozanski 提交于
The Wacom DTU-2231 tablet has two interfaces on its default configuration and both have HID class, leading to the creation of two input devices instead of one. Only the first one is used, so filter out the second. Signed-off-by: NAristeu Rozanski <aris@redhat.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Ping Cheng 提交于
So don't set ABS_RX/ABS_RY for them. Signed-off-by: NPing Cheng <pingc@wacom.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 01 4月, 2011 1 次提交
-
-
由 Manoj Iyer 提交于
Signed-off-by: NManoj Iyer <manoj.iyer@canonical.com> Acked-by: NPing Cheng <pingc@wacom.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 27 3月, 2011 2 次提交
-
-
由 Ping Cheng 提交于
Touch resolution is reported to the userland by retrieving the value from the HID descriptor. But pen resolution is not since it can not be retrieved. The current Wacom X driver has a resolution table. To centralize the source of these values, the resolution entries are added in the wacom_features struct for x and y coordinates respectively. The values are then reported to the userland. Signed-off-by: NPing Cheng <pingc@wacom.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Ping Cheng 提交于
Signed-off-by: NPing Cheng <pingc@wacom.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 13 3月, 2011 4 次提交
-
-
由 Ping Cheng 提交于
Reviewed-by: NHenrik Rydberg <rydberg@euromail.se> Reviewed-by: NChris Bagwell <chris@cnpbagwell.com> Signed-off-by: NPing Cheng <pingc@wacom.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Ping Cheng 提交于
There are two types of 1FGT devices supported in wacom_wac.c. Changing them to follow the existing touchscreen format, i.e., only report BTN_TOUCH as a valid tool type. Touch data will be ignored if pen is in proximity. This requires a touch up event sent if touch was down when pen comes in. The touch up event should be sent before any pen events are emitted. Otherwise, two pointers would race for the cursor. However, we can not send a touch up inside wacom_tpc_pen since pen and touch are on different logical port. That is why we have to check if touch is up before sending pen events. Reviewed-by: NHenrik Rydberg <rydberg@euromail.se> Reviewed-by: NChris Bagwell <chris@cnpbagwell.com> Signed-off-by: NPing Cheng <pingc@wacom.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Ping Cheng 提交于
So it would be easier for patch reviewers to follow the data path. Reviewed-by: NHenrik Rydberg <rydberg@euromail.se> Reviewed-by: NChris Bagwell <chris@cnpbagwell.com> Signed-off-by: NPing Cheng <pingc@wacom.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Ping Cheng 提交于
2FGT Tablet PC touch events were processed in _TAP_ format. Remove them so we can change to _MT_ format. Signed-off-by: NPing Cheng <pingc@wacom.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 26 1月, 2011 1 次提交
-
-
由 Ping Cheng 提交于
Also remove fake ABS_RX/ABS_RY "axes" that were used to report physical dimensions now that we have better way. Signed-off-by: NPing Cheng <pingc@wacom.com> Reviewed-by: NHenrik Rydberg <rydberg@euromail.se> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 25 1月, 2011 1 次提交
-
-
由 Ping Cheng 提交于
Reported-by: NDavid Foley <favux.is@gmail.com> Signed-off-by: NPing Cheng <pingc@wacom.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 23 12月, 2010 1 次提交
-
-
由 Ajay Ramaswamy 提交于
Signed-off-by: NAjay Ramaswamy <ajay@ramaswamy.net> Reviewed-by: NPing Cheng <pingc@wacom.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 16 12月, 2010 3 次提交
-
-
由 Henrik Rydberg 提交于
The drivers using the type B protocol all report tracking information the same way. The contact id is semantically equivalent to ABS_MT_SLOT, and the handling of ABS_MT_TRACKING_ID only complicates the driver. The situation can be improved upon by providing a common pointer emulation code, thereby removing the need for the tracking id in the driver. This patch moves all tracking event handling over to the input core, simplifying both the existing drivers and the ones currently in preparation. Acked-by: NPing Cheng <pingc@wacom.com> Acked-by: NJiri Kosina <jkosina@suse.cz> Signed-off-by: NHenrik Rydberg <rydberg@euromail.se>
-
由 Henrik Rydberg 提交于
The MT slots devices all follow the same initialization pattern of creating slots and hinting about buffer size. Let drivers call an initialization function instead, and make sure it can be called repeatedly without side effects. Signed-off-by: NHenrik Rydberg <rydberg@euromail.se>
-
由 Henrik Rydberg 提交于
In preparation for common code to handle a larger set of MT slots devices, move the slots handling over to a separate file. Signed-off-by: NHenrik Rydberg <rydberg@euromail.se>
-
- 11 12月, 2010 1 次提交
-
-
由 Kevin Granade 提交于
Add the features struct and device table entry to enable yet another version of Wacom Bamboo Pen (CTL460, Product ID 0xD4). Signed-off-by: NKevin Granade <kevin.granade@gmail.com> Acked-by: NPing Cheng <pingc@wacom.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 08 12月, 2010 1 次提交
-
-
由 David Foley 提交于
Adds new Bamboo Pen & Touch model - Bamboo P & T Special Edition Medium (CTH661/L; Product ID = 0xdb). Tested-by: NTobias Verbeke <tobias.verbeke@gmail.com> Signed-off-by: NDavid Foley <favux.is@gmail.com> Acked-by: NPing Cheng <pingc@wacom.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 01 12月, 2010 1 次提交
-
-
由 David Foley 提交于
Add two new Bamboo Pen & Touch models: Bamboo Comic Medium (CTH661/S1; Product ID = 0xd8) Bamboo P & T Special Edition Small (CTH461/L; Product ID = 0xdA) Tested-by: NIRIE Shinsuke <irieshinsuke@yahoo.co.jp> Tested-by: NAndrea Cadeddu <mrernia@gmail.com> Signed-off-by: NDavid Foley <favux.is@gmail.com> Reviewed-by: NPing Cheng <pingc@wacom.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 25 10月, 2010 1 次提交
-
-
由 Ping Cheng 提交于
Cintiq, being a display tablet, doesn't have mouse and associated BTN_s. Make sure we do not specify them when registering Cintiq's input device so that userland can retrieve the exact tool set the device supports. Signed-off-by: NPing Cheng <pingc@wacom.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 11 10月, 2010 1 次提交
-
-
由 Aristeu Rozanski 提交于
Currently the pressure range in Cintiq 21UX2 is limited to half of the supported. This patch fixes the problem. Signed-off-by: NAristeu Rozanski <aris@redhat.com> Acked-by: NPing Cheng <pingc@wacom.com> CC: stable@kernel.org Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 12 9月, 2010 3 次提交
-
-
由 Chris Bagwell 提交于
Signed-off-by: NChris Bagwell <chris@cnpbagwell.com> Acked-by: NPing Cheng <pingc@wacom.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Chris Bagwell 提交于
This adds support for Pen on Bamboo Pen and Bamboo Pen&Touch devices. Touchpad is handled by previous Bamboo Touch logic. Signed-off-by: NChris Bagwell <chris@cnpbagwell.com> Acked-by: NPing Cheng <pingc@wacom.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Chris Bagwell 提交于
This is in preparation of pen support in same irq handler. Signed-off-by: NChris Bagwell <chris@cnpbagwell.com> Acked-by: NPing Cheng <pingc@wacom.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 06 9月, 2010 4 次提交
-
-
由 Henrik Rydberg 提交于
The Bamboo Touch reports a sub-screen resolution of 480x320. The signal-to-noise ratio is only about 100, so filtering is needed in order to reduce the jitter to a usable level. However, the low resolution leads to round-off errors in the EWMA filter, resulting in extremely jerky pointer motion. This patch explicitly sets a higher resolution for those devices, and tells this to the completion handler via a low-resolution quirk. Signed-off-by: NHenrik Rydberg <rydberg@euromail.se> Acked-by: NPing Cheng <pingc@wacom.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Henrik Rydberg 提交于
Add support for the Bamboo Touch trackpad, and make it work with both the Synaptics X Driver and the Multitouch X Driver. The device uses MT slots internally, so the choice of protocol is a given. Signed-off-by: NHenrik Rydberg <rydberg@euromail.se> Acked-by: NPing Cheng <pingc@wacom.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Henrik Rydberg 提交于
Collect device-specific code into a single function, and use quirks to flag specific behavior instead. Signed-off-by: NHenrik Rydberg <rydberg@euromail.se> Acked-by: NPing Cheng <pingc@wacom.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Henrik Rydberg 提交于
The signal-to-noise ratio varies between devices, but currently all devices are treated the same way. Add fuzz parameters to the feature struct, allowing for tailored treatment of devices. Signed-off-by: NHenrik Rydberg <rydberg@euromail.se> Acked-by: NPing Cheng <pingc@wacom.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 29 8月, 2010 1 次提交
-
-
由 Mike Auty 提交于
This fixes a regression introduced in 3b57ca0f. The data[6] byte contains either 1 or -1 depending on the whether the mouse wheel on older wacom tablets is moved down (1) or up (-1). The patch introduced in the above commit changed the cast from (signed char) to (signed). When cast as a signed integer and negated, the value of -1 (stored in the byte as 0xff) became -255 rather than 1. This patch reverts the cast to a (signed char) and also removes an unnecessary (signed) cast, as all the values operated on are bitmasked. Signed-off-by: NMike Auty <ikelos@gentoo.org> Reviewed-by: NPing Cheng <pingc@wacom.com> Cc; stable@kernel.org Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 03 8月, 2010 1 次提交
-
-
由 Daniel Mack 提交于
Change all call sites in drivers/input to not access the ABS axis information directly anymore. Make them use the access helpers instead. Also use input_set_abs_params() when possible. Did some code refactoring as I was on it. Signed-off-by: NDaniel Mack <daniel@caiaq.de> Cc: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-