Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Xf86 Input Wacom Log


Commit Date  
[bfb56b] by Ping Cheng Ping Cheng

Transform touch events just like all other events

Transform touch coordinates in the same way as other events coming from
the wacom driver otherwise setting for exmaple the Wacom Rotation
property has no effect

Signed-off-by: Sjoerd Simons <sjoerd@greynoise.nl>
Acked-by: Jason Gerecke <killertofu@gmail.com>
Signed-off-by: Ping Cheng <pingc@wacom.com>

2013-06-07 22:34:03 Tree
[f38dd5] by Ping Cheng Ping Cheng

Don't emulate a mouse when multitouch is enabled

Currently when enabling XI 1.2 multitouch events the Wacom driver does a
strange mix of emulating a mouse (when there is only touch) and
switches suddenly switches to be a touchscreen when 2 fingers are down.

Change this to only send touch events when using multitouch mode, such
that the touchscreen works the same as other touchscreens. This enables
applications to properly respond to one finger touches (e.g. panning
in GTK+).

The X server core will still send emulated input events to applications
not supporting multitouch, so there shouldn't be a regression for those
applications.

Signed-off-by: Sjoerd Simons <sjoerd@greynoise.nl>
Acked-by: Jason Gerecke <killertofu@gmail.com>
Signed-off-by: Ping Cheng <pingc@wacom.com>

2013-06-07 01:25:52 Tree
[3578b9] by Ping Cheng Ping Cheng , pushed by Peter Hutterer Peter Hutterer

Add support for Cintiq 22HDT and 13HD, DTK2241 and DTH2242.

Signed-off-by: Ping Cheng <pingc@wacom.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

2013-05-22 23:55:17 Tree
[2dffd2] by Peter Hutterer Peter Hutterer

Don't init abswheel2 valuator (7th val) if we don't have one

InitValuatorAxisStruct() will return if the axisnum > num_axes and not
initialise anything which is why the current code worked without issues.

With a new patch to the server this will now complain with an error message
to the log.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Ping Cheng <pinglinux@gmail.com>

2013-05-09 03:49:10 Tree
[b350a9] by Peter Hutterer Peter Hutterer

Free the device name after reassigning

When hotplugging the first tool (usually the stylus) changes pInfo->name to
the name + tool name. Thus, free the original one.

And strdup the oldname so we can unconditially free it, regardless of
whether we changed the actual device name or not.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Ping Cheng <pinglinux@gmail.com>

2013-05-09 03:49:10 Tree
[06abd7] by Peter Hutterer Peter Hutterer

Free the touch mask on shutdown

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Ping Cheng <pinglinux@gmail.com>

2013-05-09 03:14:45 Tree
[6d26cb] by Peter Hutterer Peter Hutterer

Free input attribute's product

This is copied first by DuplicateInputAttributes, then asprintf makes
another copy.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Ping Cheng <pinglinux@gmail.com>

2013-05-09 01:48:33 Tree
[dff311] by Peter Hutterer Peter Hutterer

Free duplicated option list after conversion to InputOption

The duplicated list is a copy (as the comment in the server says) and thus
must be freed.

==27895== 947 (40 direct, 907 indirect) bytes in 1 blocks are definitely lost in loss record 266 of 311
==27895== at 0x4A06B6F: calloc (vg_replace_malloc.c:593)
==27895== by 0x4E538C: addNewOption2 (Flags.c:203)
==27895== by 0x4E5401: xf86addNewOption (Flags.c:216)
==27895== by 0x4AEB24: xf86AddNewOption (xf86Option.c:347)
==27895== by 0x4AE54B: xf86OptionListDuplicate (xf86Option.c:152)
==27895== by 0xB74D139: wcmOptionDupConvert (wcmValidateDevice.c:382)
==27895== by 0xB74D408: wcmQueueHotplug (wcmValidateDevice.c:515)
==27895== by 0xB74D645: wcmHotplugOthers (wcmValidateDevice.c:568)
==27895== by 0xB742DA2: wcmPreInit (wcmConfig.c:599)
==27895== by 0x4C1ACF: xf86NewInputDevice (xf86Xinput.c:846)
==27895== by 0x4C2014: NewInputDeviceRequest (xf86Xinput.c:989)
==27895== by 0x4DD72C: device_added (udev.c:231)

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Ping Cheng <pinglinux@gmail.com>

2013-05-09 01:45:53 Tree
[bc095d] by Peter Hutterer Peter Hutterer

Plug memory leaks left by xf86SetStrOption

xf86SetStrOption() returns a strdup'd string that needs to be freed after
use.

This requires some const char* → char* changes too, for things that were
never really const char* to begin with anyway.

wcmEventAutoDevProbe() can use xf86CheckStrOption so it too returns a
strup that we can free lateron.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Ping Cheng <pinglinux@gmail.com>

2013-05-09 01:45:34 Tree
[6940e4] by Peter Hutterer Peter Hutterer

Purge TILT_REQUEST_FLAG

Write-only value, obsolete as of xf86-input-wacom-0.10.4-45-gba90433

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Ping Cheng <pinglinux@gmail.com>

2013-05-02 01:20:26 Tree
[132937] by Peter Hutterer Peter Hutterer

man: clarify how to configure keys on higher shift levels in xsetwacom

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Ping Cheng <pinglinux@gmail.com>

2013-05-02 00:30:49 Tree
[d0dbb3] by Peter Hutterer Peter Hutterer

xsetwacom: map a bunch of special symbols

Punctuation marks and others map to XK_* keysyms but only in their named
form, not in their single-character symbol form.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Ping Cheng <pinglinux@gmail.com>

2013-05-01 23:53:04 Tree
[e50725] by Peter Hutterer Peter Hutterer

xsetwacom: if we fail to map a string, try as special key or warn

If a string comes back with a KeySym of 0, try again as a special key. And
if that fails too, print a warning.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Ping Cheng <pinglinux@gmail.com>

2013-05-01 23:53:04 Tree
[915a64] by Peter Hutterer Peter Hutterer

xsetwacom: add special mappings for Home, End, Delete

These three are likely written as home, end, del, so let's try to
understand that.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Ping Cheng <pinglinux@gmail.com>

2013-05-01 23:53:04 Tree
[c1f31c] (xf86-input-wacom-0.21.0) by Jason Gerecke Jason Gerecke

wacom 0.21.0

Signed-off-by: Jason Gerecke <killertofu@gmail.com>

2013-04-29 20:20:58 Tree
[5c6bd8] (xf86-input-wacom-0.20.99.1) by Jason Gerecke Jason Gerecke

wacom 0.20.99.1

Signed-off-by: Jason Gerecke <killertofu@gmail.com>

2013-04-20 01:14:59 Tree
[8d804c] by Jason Gerecke Jason Gerecke

Fix const warnings in wcmSetActionProperty

CC wcmXCommand.lo
../../src/wcmXCommand.c: In function 'wcmSetActionProperty':
../../src/wcmXCommand.c:460:23: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
case BadMatch: msg = "BadMatch"; break;
^
../../src/wcmXCommand.c:461:23: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
case BadValue: msg = "BadValue"; break;
^
../../src/wcmXCommand.c:462:17: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
default: msg = "UNKNOWN"; break;
^
Signed-off-by: Jason Gerecke <killertofu@gmail.com>

2013-04-18 21:52:14 Tree
[135e6f] by Jason Gerecke Jason Gerecke

Remove unused variable

src/wcmUSB.c:451:14: warning: unused variable 'private' [-Wunused-variable]
wcmUSBData* private = common->private;

Signed-off-by: Jason Gerecke <killertofu@gmail.com>

2013-04-18 21:47:17 Tree
[dfe4d2] by Peter Hutterer Peter Hutterer , pushed by Jason Gerecke Jason Gerecke

Correct comment for Sample and Suppress property

The data in the property is actually the other way round. Oops.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

2013-04-10 15:52:45 Tree
[ad952f] by Ping Cheng Ping Cheng , pushed by Jason Gerecke Jason Gerecke

add support for 0x10d

It is a Wacom device found in Fujitsu Lifebook T902.

Signed-off-by: Stephan Frank <sfrank@cs.tu-berlin.de>
Acked-by: Ping Cheng <pingc@wacom.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Jason Gerecke <killertofu@gmail.com>

2013-03-11 18:25:16 Tree
[7a1aad] by Ping Cheng Ping Cheng , pushed by Jason Gerecke Jason Gerecke

Resume button events for pucks

wcmBTNChannel was statically assigned to PAD_CHANNEL by commit 1f9bf45b, which
excluded button events for CURSOR tools. This patch allows usbParseBTNEvent
to process button events for both CURSOR and PAD tools.

wcmBTNChannel is removed from wcmUSBData since we do not need it anymore.

Signed-off-by: Ping Cheng <pingc@wacom.com>
Reviewed-by: Jason Gerecke <killertofu@gmail.com>

2013-03-11 18:24:56 Tree
[c3b4e8] by Jan Alexander Steffens (heftig) Jan Alexander Steffens (heftig) , pushed by Jason Gerecke Jason Gerecke

Make touchscreens (WCM_LCD) direct touch devices

Tested with a tablet pc, allowing finger scrolling in GTK3.

Signed-off-by: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Tested-by: Jason Gerecke <killertofu@gmail.com>

2013-03-06 18:55:21 Tree
[9077b1] by Ping Cheng Ping Cheng , pushed by Jason Gerecke Jason Gerecke

Consolidate calls to wcmEvent into one statement

The extra wcmEvent call was to deal with generic PAD events received
without motion events in the same packet. Those PAD events would be
filtered out by the device type retrieving code later.

Signed-off-by: Ping Cheng <pingc@wacom.com>
Acked-by: Chris Bagwell <chris@cnpbagwell.com>
Reviewed-by: Jason Gerecke <killertofu@gmail.com>

2013-03-06 18:55:14 Tree
[db1746] by Ping Cheng Ping Cheng , pushed by Jason Gerecke Jason Gerecke

Clean up device_type initialization for tool on tablet

usbInitToolType retrieves device type from the kernel when tool
is on the tablet at X server startup. No need to do it again later.

Since kernel does not have a specific device type for PAD, we have
to check the actual events to set its type.

Signed-off-by: Ping Cheng <pingc@wacom.com>
Acked-by: Chris Bagwell <chris@cnpbagwell.com>
Reviewed-by: Jason Gerecke <killertofu@gmail.com>

2013-03-06 18:19:30 Tree
[6f9826] by Ping Cheng Ping Cheng , pushed by Jason Gerecke Jason Gerecke

Update MAX_CHANNELS definition

Make room to report pen and touch events simultaneously

Signed-off-by: Ping Cheng <pingc@wacom.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Jason Gerecke <killertofu@gmail.com>

2013-03-06 18:19:30 Tree
Older >