diff options
author | Ping Cheng <[email protected]> | 2013-01-04 23:53:52 -0800 |
---|---|---|
committer | Dmitry Torokhov <[email protected]> | 2013-01-06 01:10:55 -0800 |
commit | 8c0e0a4fa88f53d80ae8c410a9e2e364a96941a4 (patch) | |
tree | 3f5c7d3a626d547c32dec66823a05493843da005 /lib/debugobjects.c | |
parent | 0e47e3dccfcfaa262d3162ab353474d91d792000 (diff) |
Input: wacom - prepare for syncing with input-mt changes
Henrik added new MT routines in release 3.7. This patch is to prepare
for the use of new MT routines.
In the newly added wacom_abs_set_axis() function, the first
if-statement assigns ABS_X/Y for number of contacts less or equal
to 2. So, it is single and 2 finger touch devices. Two finger touch
devices are processed here since they will not use the updated
input_mt_init_slots(), which does not offer benefit to those devices.
input_mt_init_slots() will take care of ABS_X/Y assignment when flags
are not zero. All touch devices with more than two contacts will use
input_mt_init_slots() with non-zero flags.
The second if-statement is for all MT devices, which include two
finger touch devices.
Signed-off-by: Ping Cheng <[email protected]>
Reviewed-by: Henrik Rydberg <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions