commit ccea1e7be7daa42464d1aa140fde068ce797a8b0 Author: Peter Hutterer Date: Mon Jul 26 14:39:29 2010 +1000 wacom 0.10.8 Signed-off-by: Peter Hutterer commit d45d6dbaefe03b466a9a631f400d8e252efbb754 Merge: bcc477d 03a1f3c Author: Peter Hutterer Date: Mon Jul 26 14:33:09 2010 +1000 Merge branch '19200-issues' commit 03a1f3ccce1abe592665b5dab52a7a6193c035b7 Author: Jan Steffens Date: Sat Jul 24 03:06:01 2010 +0200 Create a new function wcmFree to free wacom data Fix a segfault in wcmPreInit introduced by the previous commit. Signed-off-by: Jan Steffens Tested-by: Ping Cheng Signed-off-by: Peter Hutterer commit 2a1b00d8f73c496ee724bc8509047082e055988f Author: Jan Steffens Date: Sat Jul 24 02:26:24 2010 +0200 Do duplicate device detection before wcmOpen Opening the device using xf86OpenSerial would reset the baudrate, so don't do it if we're going to reject the device anyway. Signed-off-by: Jan Steffens Tested-by: Ping Cheng Signed-off-by: Peter Hutterer commit 87f93ada66dcd4e0930927afb50b010436c9c560 Author: Jan Steffens Date: Mon Jul 26 02:53:52 2010 +0200 Disallow sending more than one QUERY to the device This was broken by c771159. Restore the old behavior by introducing a second variable. This unbreaks multiple devices in a non-hotplugging config. Signed-off-by: Jan Steffens Tested-by: Ping Cheng Signed-off-by: Peter Hutterer commit 0419aee87127fe7269f5d23af482e99a83c8a50f Author: Jan Steffens Date: Wed Jul 21 20:47:44 2010 +0200 Create a single exit path in isdv4GetRanges Signed-off-by: Jan Steffens Tested-by: Ping Cheng Signed-off-by: Peter Hutterer commit bcc477d08b93b59e93c32940a721ecedfad4cfb6 Author: Peter Hutterer Date: Thu Jul 22 14:49:00 2010 +1000 Gesture: send ctrl + scroll wheel events instead of +/-. The number of apps supporting scroll wheel zoom events is higher than the ones supporting ctrl +/-. And the ctrl key can be assumed on the same key for most keyboards, leaving us with a more stable zoom gesture than the previous approach of hardcoding the position of +/-. Suggested-by: Ping Cheng Signed-off-by: Peter Hutterer Acked-by: Ping Cheng commit 8b2d4ea4718f4cd8750e44cbd4258e936daaeab0 Author: Jan Steffens Date: Mon Jul 19 06:07:49 2010 +0200 Swap stylus buttons 2 and 3 for Tablet PCs There are only a few TPC pens with 2 buttons, and arguably right-click is more useful than middle-click. Signed-off-by: Jan Steffens Signed-off-by: Peter Hutterer commit ef4d20f98e53d181dcdec4cab34dbf391e919586 Author: Peter Hutterer Date: Thu Jul 15 11:04:53 2010 +1000 Don't load keysyms into the driver, use keycodes instead. This addresses a hang in the driver when buttons are configured to send keystrokes. The current code calls XkbGetCoreMap() which allocates during the signal handler, causing server hangs. This patch changes the driver to use keycodes instead of keysyms. There are a number of reasons for this: - XkbCoreMap() only hands us a core keymap, not the XKB one that everyone uses these days. There are some differences between the core and the XKB map (mainly the use of modifiers), hence we should be focusing on the XKB map anyway. - Parsing the XKB map manually in the driver is complicated and not something we want to do, especially when trying to maintain ABI compat with multiple X server versions. On the other hand, the client-side API for XKB is frozen like all of Xlib. - The driver is not notified of XKB layout changes, thus a cached map would potentially be out of date. Moving keysym to keycode conversion to the client avoids this. - The server does not communicate through keysyms to any client, keycodes are the only information. It is up to the client to pick the keysym (and glyph) based on the keycode. Note that this changes the property API. Clients that would write straight to a button mapping property will need to change. AFAICT, only xsetwacom does this at this point and xsetwacom is updated with this patch. Note that the current xsetwacom implementation will only focus on level 0 keys. It will not automatically fill in the modifier states. Thus, to get e.g. a string of "aBc", the following configuration is required: xsetwacom set "device" "Button1" "key a +shift B -shift c" xsetwacom releases modifiers at the end of the configuration, thus to get a single uppercase letter (or multiple letters), the following is enough: xsetwacom set "device" "Button1" "key shift A" Note: this breaks Ctrl+/- zoom support for keyboard layouts that have +/- on a different key than the 'us' keyboard layout. Did I mention that hacking up gestures in the driver is a bad idea? Signed-off-by: Peter Hutterer Acked-by: Ping Cheng commit 0b6096ec3b536bba240539c1a6b3f4cd11ba459c Author: Peter Hutterer Date: Mon Jul 19 10:04:25 2010 +1000 xsetwacom: implement "--list mod" to list specialkeys and modifiers. Not exactly the same output as the old xsetwacom but it's close enough. Signed-off-by: Peter Hutterer Reviewed-by: Ping Cheng commit fa5669719e0fc2a7754015f42a23237dd611d4a9 Author: Jan Steffens Date: Tue Jul 20 01:23:35 2010 +0200 Make 19200 the default baud rate for 0x90 TPCs This implements using 19200 as a default baudrate for some tablets instead of always using 38400. The baudrate switching logic in isdv4GetRanges is extended to be able to switch to 38400 as well. It also now outputs a warning. My WACf004 needs a baudrate of 19200, and is included in the 0x90 tablet_id. This seemed like the easiest way, but I'm unsure whether all 0x90 tablets use 19200. Signed-off-by: Jan Steffens Signed-off-by: Peter Hutterer commit 864ca6138b46e0db8798cf9f562cfe31db6a6d7d Author: Jan Steffens Date: Wed Jul 21 03:28:19 2010 +0200 Make sure the baudrate is properly set If the BaudRate option isn't set, X will use the default, which issues2 9600. Make sure we properly set this option. Also make sure the it is set properly before we try to query the tablet. Signed-off-by: Jan Steffens Signed-off-by: Peter Hutterer commit 8c13a91089b35f3ec7d36ce5f6bef0928ff2e8be Author: Ping Cheng Date: Sat Jul 17 21:31:06 2010 -0700 Normalize Airbrush absolute wheel to ArtPen rotation So they can share the sixth valuator. Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit 6c5a0d71e23c925b2cc0af75e08c8049f6ea7c3f Author: Peter Hutterer Date: Mon Jul 19 10:11:38 2010 +1000 debugger: don't send trace messages to stderr. Send them to stdout instead, they're already prefixed with ... for grepping anyway. Signed-off-by: Peter Hutterer commit 20daf76d154cc8fb9e095c97824a747e9cb80324 Author: Peter Hutterer Date: Tue Jul 20 10:11:26 2010 +1000 ISDV4: use case range statements instead of nested ifs. Just to make it a bit easier to read on a glance. Signed-off-by: Peter Hutterer commit eb8d83f63f255f27c7116ac3d57e986501bd482d Author: Peter Hutterer Date: Mon Jul 19 15:50:02 2010 +1000 ISDV4: if the BaudRate was autodetected to 19200, replace it in the options. xf86OpenSerial() uses the BaudRate option to set the serial port. If the baud rate was autodetected to 19200, replace this so that the next DEVICE_ON call will use the right one. Signed-off-by: Peter Hutterer commit de7c2ee2d5411c7394a38d13dea274e6b04e51a0 Author: Peter Hutterer Date: Mon Jul 19 15:44:45 2010 +1000 ISDV4: don't overwrite the baud setting for 19200 tablets. This patch changes isdv4Query to just execute the query passed in and do some additional sanity checking. If it fails, return the failure to the caller isdv4GetRanges(). isdv4GetRanges() can then change the baud rate and re-query if required. If the query at 19200 succeeds, skip the touch query. All touch devices have 38400. Signed-off-by: Peter Hutterer commit 764ea40f32827f27112ffa44ca42ab592398faae Author: Peter Hutterer Date: Mon Jul 19 15:44:06 2010 +1000 ISDV4: document the init process. List which order the functions are called in to avoid having to re-read the code every single time I look at this... Signed-off-by: Peter Hutterer commit 49fc694e0d2db4d5ef8d26def9d07c497e1bfb9c Author: Ping Cheng Date: Sat Jul 17 21:31:06 2010 -0700 Normalize Airbrush absolute wheel to ArtPen rotation So they can share the sixth valuator. Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit 0c4e029a99292c93db984dd07e604af7b26c881f Author: Peter Hutterer Date: Mon Jul 19 10:11:38 2010 +1000 debugger: don't send trace messages to stderr. Send them to stdout instead, they're already prefixed with ... for grepping anyway. Signed-off-by: Peter Hutterer commit 999da490cb43f0606a9142f6c97916c8ec088db3 Author: Peter Hutterer Date: Mon Jul 19 10:00:02 2010 +1000 xsetwacom: implement "--list mod" to list specialkeys and modifiers. Not exactly the same output as the old xsetwacom but it's close enough. Signed-off-by: Peter Hutterer commit 6d0b11e16c32c0b7704dbf673d6566b4522be58a Author: Rumen Zarev Date: Sat Jul 3 19:35:56 2010 -0400 Fix pressure curve size in "xf86WacomDefs.h". Since the possible levels are 0 to MAX, need to allocate MAX+1 entries. Otherwise, when the pressure is at maximum, it reads as some random value (one of the control points in this case). Signed-off-by: Rumen Zarev Signed-off-by: Peter Hutterer commit 8f1dd625e00c182ec1b6a92b277214d1b8f88986 Author: Peter Hutterer Date: Fri Jul 16 14:27:20 2010 +1000 configure: use XORG_DRIVER_CHECK_EXT after xorg-server has been found. Reported by Pablo Castellano, patch modified for current tree. From the tracker: "It was crashing like this if xserver-xorg-dev wasn't found: ./configure: line 11635: syntax error near unexpected token `XINPUT,' ./configure: line 11635: `XORG_DRIVER_CHECK_EXT(XINPUT, inputproto)' Now it's shown a message saying that the dependency is not found, which is more intuitive." https://sourceforge.net/tracker/?func=detail&aid=2960774&group_id=69596&atid=525126 Reported-by: Pablo Castellano Signed-off-by: Peter Hutterer commit fc649a2f7c5ee774974481d9c4ea46460f7a402f Merge: 00f56ed ef45111 Author: Peter Hutterer Date: Wed Jul 14 13:01:10 2010 +1000 Merge branch 'serial-debugger' commit ef45111bb2e2cdcfce63172b66fdc20962cfde84 Author: Peter Hutterer Date: Tue Jul 13 10:21:38 2010 +1000 ISDV4: don't set the tablet_id in isdv4InitISDV4. Since the new init process, the tablet ID is set during isdv4ProbeKeys(). Hardcoding a tablet_id of 0x90 here overwrites the previously set value. Since the tablet_id is used for determining if a device has two-finger touch and other features, this loses the ability to perform gestures. Signed-off-by: Peter Hutterer Tested-by: Ping Cheng commit 00f56eda2c1eca5cfd9aafd5e0483c19c58d8d42 Author: Peter Hutterer Date: Mon Jul 12 15:03:12 2010 +1000 xsetwacom: allow for numeric Rotation value. Allow for values 0, 1, 2, 3 as rotation setting in addition to NONE, CW, CCW and HALF. Signed-off-by: Peter Hutterer Acked-by: Ping Cheng commit 7131fed2580843ea423f406a62282de25e0e2571 Author: Peter Hutterer Date: Mon Jul 12 18:41:19 2010 +1000 Open the device as serial device in PreInit. A simple open(2) call works fine for USB devices but for serial devices the right port parameters need to be set. By luck, sometimes these may be correct and the device works, other times it won't, leading to unpredictable serial tablet behaviour. wcmOpen() already does this for us correctly with xf86OpenSerial(). Re-use it to get the right port parameters. xf86OpenSerial() ignores serial parameters for non-serial devices, thus it is safe to use on USB devices as well. Signed-off-by: Peter Hutterer Tested-by: Ping Cheng commit 364d37fd6ed22bd76af8714bcd034ef6a1e08594 Author: Peter Hutterer Date: Fri Jul 9 23:01:06 2010 +1000 ISDV4: after stopping the tablet, discard any data still on the line. Signed-off-by: Peter Hutterer Tested-by: Ping Cheng commit 3546d8ab1bf8e2a22e285c377df9a363a79b78b0 Author: Peter Hutterer Date: Tue Jul 6 22:52:11 2010 +1000 tools: add isdv4-serial-debugger test program. Simple program to debug the serial output and analyse the behaviour a client needs to have to get data off a serial device. Run with $> isdv4-serial-debugger /dev/ttyS0 Signed-off-by: Peter Hutterer Tested-by: Ping Cheng commit a09bee1d307bf1f91fb637dbd4ee68d801f1cda7 Author: Peter Hutterer Date: Mon Jul 12 17:26:14 2010 +1000 ISDV4: move isdv4 parsing header to the include/ folder. Signed-off-by: Peter Hutterer Tested-by: Ping Cheng commit 6babd5be57adf4f03d870d5bac96ea4397848274 Author: Peter Hutterer Date: Fri Jul 9 19:28:28 2010 +1000 ISDV4: make all parser functions take an unsigned char*. This currently requires casts in the callers but they can be fixed up eventually. Signed-off-by: Peter Hutterer Tested-by: Ping Cheng commit d2d02d60cb605004e14f53b35864e5d9833b3f29 Author: Peter Hutterer Date: Fri Jul 9 19:13:23 2010 +1000 ISDV4: memdump the data array in case of an error. Aids debugging. The DBG macro isn't suited for this kind of printing, so we need to do it manually. Signed-off-by: Peter Hutterer Tested-by: Ping Cheng commit 75a08052db2afa16550b9c8e65f70d1385f6ebdc Author: Peter Hutterer Date: Fri Jul 9 18:51:45 2010 +1000 ISDV4: print debug messages for query parsing errors. Signed-off-by: Peter Hutterer Tested-by: Ping Cheng commit 3587a8bac50aaf2c317288be5704cccc53916aad Author: Peter Hutterer Date: Wed Jul 7 23:12:18 2010 +1000 ISDV4: externalise ID to packet length mapping. For touch devices, the serial ID corresponds to a packet length. Add that to a lookup table (and since the ID's are sequential, just use an array). Signed-off-by: Peter Hutterer Tested-by: Ping Cheng commit 5d1a904ca41a69df60c6ea9b47c72e406787cb6c Author: Peter Hutterer Date: Tue Jul 6 22:55:38 2010 +1000 ISDV4: move ISDV4 parse functions into a separate file. Make them available for other in-tree tools to. Signed-off-by: Peter Hutterer Tested-by: Ping Cheng commit e2fcc4440f3d3f5636b33dd005ccaf9358eaa4f2 Author: Peter Hutterer Date: Mon Jul 12 17:15:18 2010 +1000 ISDV4: add RESET command. We don't use it in the driver, but it's there nonetheless. Signed-off-by: Peter Hutterer Tested-by: Ping Cheng commit ae95888fa9220e0c88e6089065259ea9b783c914 Author: Peter Hutterer Date: Tue Jul 6 22:03:20 2010 +1000 ISDV4: move ISDV4 control commands to header file. They can be used by the soon-to-come auxiliary program. Signed-off-by: Peter Hutterer Tested-by: Ping Cheng commit c771159c0bb7c478434745a414ff8cc7c34bcc47 Author: Peter Hutterer Date: Fri Jul 2 17:00:20 2010 +1000 ISDV4: don't start the tablet until the last device is enabled. Only send one SAMPLING command to the tablet for the last device. If sampling is started before the last device was enabled, that device may not work. This is a quickfix, there is bound to be a better way to solve this but meanwhile we might as well try to make the tablet work again. Signed-off-by: Peter Hutterer Tested-by: Ping Cheng commit da95e23c1b0fc548992d49f3da410718ecd0900f Author: Peter Hutterer Date: Fri Jul 2 16:44:46 2010 +1000 ISDV4: Calloc, not malloc the private data. This could explain inconsistent behaviour, intialized was accessed uninitialized (oh, the irony!). For good effort, calloc _and_ initialize "initialized". Two zeros are more than one, after all. Signed-off-by: Peter Hutterer Tested-by: Ping Cheng commit 09f37e253b889ad4a2f0adb690f6323c8a5db24d Author: Peter Hutterer Date: Mon Jul 12 11:02:25 2010 +1000 Squash compiler warning "unused variable priv". priv is only used if DEBUG is enabled. Signed-off-by: Peter Hutterer commit 6d5a4bea3319901ab872550ddfd703d601b873e9 Author: Peter Hutterer Date: Mon Jul 5 14:27:36 2010 +1000 xsetwacom: fix button mapping for button clicks. Misplaced scanf caused button mappings to always be 0 if no + or - was specified or the button number was < 10. Signed-off-by: Peter Hutterer Acked-by: Ping Cheng commit 8d10fa406c5c98e3c34f29a2043cfc3de7b0aa42 Author: Gaetan Nadon Date: Sun Jul 4 09:46:51 2010 -0400 config: check for an xserver >= 1.7.0 The support statement is for server versions 1.7 and above. Builders save time when a problem is detected early. Signed-off-by: Gaetan Nadon Acked-by: Ping Cheng Signed-off-by: Peter Hutterer commit 2acb91f0292ac07cf1c89d7264a1f02b618a4b70 Author: Gaetan Nadon Date: Thu Jul 1 20:54:23 2010 -0400 config: add comment regarding MAN_SUBSTS variable usage Signed-off-by: Gaetan Nadon Signed-off-by: Peter Hutterer commit e7bbe77a021a379756957fdb8d722092826e365e Merge: b97a670 ef82a62 Author: Peter Hutterer Date: Thu Jun 24 15:21:43 2010 +1000 Merge branch 'serial-rework' of git://people.freedesktop.org/~whot/xf86-input-wacom Signed-off-by: Peter Hutterer Tested-by: Ping Cheng commit b97a670276ac4d2675af1c5b90abcd8809b1817a Author: Peter Hutterer Date: Tue Jun 22 12:54:46 2010 +1000 Debug message format - remove line break. Signed-off-by: Peter Hutterer commit 23698917748419185217cf891b6aef03dedab093 Author: Peter Hutterer Date: Thu Jun 24 13:55:20 2010 +1000 Fix build error against current master - ScreenRec has changed. dixScreenOrigins was removed in xserver commit commit a83cff9f4d622b069c96a68b4e87a669bf1f6446 Author: Jamey Sharp AuthorDate: Sun May 23 10:11:47 2010 -0700 Move each screen's x/y origin into ScreenRec. the x/y fields were moved into the ScreenRec. The ABI wasn't bumped (thanks guys, ...) , so we have to resort to this ifdef check. This leaves us with unbisectable state between a83cff9f and 1.8.99.901 (83 commits) where the patch has to be manually applied. Sorry. Signed-off-by: Peter Hutterer Acked-by: Ping Cheng commit ef82a62b771a0465afcec65cba156b38cc3539bc Author: Peter Hutterer Date: Tue Jun 22 12:06:15 2010 +1000 Move ProbeKeys() into the respective backends. Signed-off-by: Peter Hutterer commit 5664bc804f65fb06afcc26da8887211e136ec81a Author: Peter Hutterer Date: Tue Jun 22 12:03:24 2010 +1000 Move device class detection up. This is one of the first things we need to know about our device. Signed-off-by: Peter Hutterer commit fa4462582418582fcfaae758db723b98a4965fc0 Author: Peter Hutterer Date: Tue Jun 22 11:54:24 2010 +1000 Return the shared common struct from wcmMatchDevice. This reduces the need for variable juggling in the caller and the caller knowing about what happens in wcmMatchDevice(). Signed-off-by: Peter Hutterer commit 34a0af1f085a99300a944716eb17552bccf9095a Author: Peter Hutterer Date: Tue Jun 22 11:48:16 2010 +1000 Avoid "common" juggling to prevent future errors. Signed-off-by: Peter Hutterer commit d8154ed5711d8df109abbc2c281cf81d1b032fda Author: Peter Hutterer Date: Tue Jun 22 11:45:01 2010 +1000 Remove superflouous linebreak in DBG message. Signed-off-by: Peter Hutterer commit 95c5777f87db35ad0191af9139e3a1daca7eb0d3 Author: Peter Hutterer Date: Tue Jun 22 11:40:34 2010 +1000 Remove wcmAutoProbeDevice - it's not doing anything anyway. Call wcmEventAutoDevProbe() directly. The latter returns the path to the device file and we can use that At the time wcmAutoProbeDevice is called, the common pointer is the generic one allocated during wcmAllocate. Hence, there's no way it can compare itself with any of the other devices anyway. Signed-off-by: Peter Hutterer commit 4131383c9ca618c3a25592dea6bff97de43f11df Author: Peter Hutterer Date: Tue Jun 22 11:36:48 2010 +1000 Remove AUTODEV_FLAG - was only set, not read. Signed-off-by: Peter Hutterer commit 19e0951239f9a24c60469bf1bf7f872358bd4e78 Author: Peter Hutterer Date: Mon Jun 21 16:19:02 2010 +1000 Only execute GetRanges() once for ISDV4 devices. ISDV4 tablets don't seem to like multiple query commands in a row, the reply for those are garbage. Hence, put a barrier in to prevent this. Since the isdv4data is shared between all devices off the same port, this simply skips the work of the isdv4GetRanges() and returns early with success. Signed-off-by: Peter Hutterer commit cc4aa77eddbbe02ab7c9263dfd75ecf45f89fb96 Author: Peter Hutterer Date: Thu Jun 17 16:06:47 2010 +1000 Move baud rate into ISDV4-specific backend. Signed-off-by: Peter Hutterer commit 69d53ac51115af9f34a48451e13b717e48c06079 Author: Peter Hutterer Date: Thu Jun 17 15:40:20 2010 +1000 Move class-specific option parsing into the device classes. This is only the BaudRate for ISDV4 devices but nonetheless, it's nicer abstracted this way. Signed-off-by: Peter Hutterer commit 3ecabe9bd95b666fdd2a913ef1623751263e221d Author: Peter Hutterer Date: Thu Jun 17 15:32:37 2010 +1000 Purge ForceDevice option - unneeded. We're smart enough to detect if the device is running off a serial port or off a USB port. The only thing we did with the ForceDevice option was to set it once (based on a serial ioctl) and then check for it later during the BaudRate xorg.conf option parsing. Get rid of the field, parse the BaudRate for all devices even though we don't actually care about it in the USB code. So setting an invalid baud rate for a USB device will fail the device init but then again - don't do that. Signed-off-by: Peter Hutterer commit aa382e6c8818e97538b2dad5d9b121a9cb533ed7 Author: Peter Hutterer Date: Thu Jun 17 15:22:50 2010 +1000 Factor out device class detection. Signed-off-by: Peter Hutterer commit 4e363076599b038ad032805f2a3023dd9f46826b Author: Peter Hutterer Date: Thu Jun 17 15:16:28 2010 +1000 Remove serial class detection into the serial code. Both ISDV4 and USB have their model class with a Detect() function. Use it, instead of having parts of the serial code in wcmConfig.c. Signed-off-by: Peter Hutterer commit b5c27a694278641a0507e8d8cf883f02bdf69a49 Author: Peter Hutterer Date: Wed Jun 16 17:00:42 2010 +1000 Split model probing, DEVICE_INIT and DEVICE_OPEN into separate functions. Probe for the model during PreInit and get the important bits off the device here. During DEVICE_INIT, just register the X server bits required for the device to be a device. DEVICE_OPEN actually opens the device, but by then we already know everything about it anyway. A large hunk of this patch is just whitespace change due to a indentation level change in wcmRegisterX11Devices. This also removes the need for wcmDevOpenCount and wcmInitKeyClassCount. Signed-off-by: Peter Hutterer commit d3e71615529aaa843b8005ab3b04fdf425a26f64 Author: Peter Hutterer Date: Wed Jun 16 16:47:02 2010 +1000 Move the EVIOCGRAB to the model-specific Start(). Don't grab until the device is being enabled. This is a preparation work for the DEVICE_INIT, DEVICE_ON split. Signed-off-by: Peter Hutterer commit abd3dc68c8d4008b80eb1f71aa9af8275c17a3d9 Author: Peter Hutterer Date: Mon Jun 21 14:57:12 2010 +1000 Implement basic refcounting for the common struct. Introduce three new functions to create a new common struct and add/remove references to it. This fixes the occasional ABORT caused by double-freeing the common struct. A better approach for this may be talloc(3), but for now this will do. Signed-off-by: Peter Hutterer commit 15abfc592377ad444edfae6f4ddd90f0fa7ecafc Author: Peter Hutterer Date: Wed Jun 16 16:16:29 2010 +1000 Remove superfluous fd check. wcmOpen() has no path where it can return Success and the fd is -1. Signed-off-by: Peter Hutterer commit b49bd935c0be4cb0e4b5976093eabf6c5b77bdef Author: Peter Hutterer Date: Wed Jun 16 16:15:06 2010 +1000 Don't auto-probe the device on DEVICE_OPEN. Autoprobing happens during PreInit already, probing again during DEVICE_OPEN (when the device is enabled) is superfluous. If you need this for hotplugging, use hotplugging instead. Signed-off-by: Peter Hutterer commit ee7b2142d83d02b0c3d99748957e9be3bf44f409 Author: Peter Hutterer Date: Thu Jun 17 16:00:17 2010 +1000 usb: plug memory leak - backend storage only needs allocation once. usbWcmInit is called for each tool, only allocate the event data store once. Signed-off-by: Peter Hutterer commit fc9b60c6926f887a5b341927e70502addabcb126 Author: Peter Hutterer Date: Thu Jun 17 16:36:13 2010 +1000 Remove stray misplaced comment. Looks a bit lost there, let's send it home to papa. Signed-off-by: Peter Hutterer commit 14c4f5044e0e49bbce39796e255045c35ac816a0 Author: Peter Hutterer Date: Tue Jun 22 08:14:34 2010 +1000 Rename common->wcmDevice to common->device_path. common->wcmDevice stores the device path. common->wcmDevices stores the WacomDevicePtrs. This is slightly confusing in the code, rename wcmDevice to point "device_path" instead. That's slightly less ambiguous. Signed-off-by: Peter Hutterer commit d284a2a884ff44ab49819215d0b163ed09481667 Author: Peter Hutterer Date: Tue Jun 22 08:04:53 2010 +1000 Reassign common after wcmMatchDevice(). wcmMatchDevice() may modify "common" if it finds another tablet hanging off the same port. If that's the case, "common" is freed and points to an invalid area. Move this assignment down to after wcmMatchDevice(). Signed-off-by: Peter Hutterer commit e11332120daa1e04be5b5321cbdf4bac7fbdde1c Author: Peter Hutterer Date: Tue Jun 22 10:02:16 2010 +1000 Add some vim tags to the header file. Signed-off-by: Peter Hutterer commit 3770aaf4a4b91454e9c6894e240583dace2afbbc Author: David Foley Date: Mon Jun 21 11:07:11 2010 -0500 xsetwacom.c: Add BackSpace key to special keys Signed-off-by: David Foley Signed-off-by: Peter Hutterer commit 92c8ce2c9baf0a138ca563acc068d6e07a44878f Author: Peter Hutterer Date: Mon Jun 21 16:49:17 2010 +1000 Add missing linebreak in error message. Signed-off-by: Peter Hutterer commit 75868adf0e83318a13ff2924c338c02bfe6730a0 Author: Peter Hutterer Date: Mon Jun 21 14:40:08 2010 +1000 Use Xprintf instead of malloc + strcpy. Xprintf() is the X server's version of asprintf(3) - the latter isn't available on all platforms. We could in theory use asprintf but given that there are patches for solaris floating around we might as well not prevent those. Signed-off-by: Peter Hutterer Reviewed-by: Ping Cheng commit 9e15b6273b1d836bacf136d0335cda3c9c5f84b1 Author: Peter Hutterer Date: Fri Jun 18 16:18:48 2010 +1000 wacom 0.10.7 Signed-off-by: Peter Hutterer commit ef091d0d88df268e387f0bf59590d7c8fc8cc875 Author: Peter Hutterer Date: Fri Jun 18 10:04:54 2010 +1000 Always initialize pressure curve. Since we always allocate the pressure curve now, make sure it's filled with reasonable values if the config doesn't specify otherwise. The default is the linear pressure curve. Signed-off-by: Peter Hutterer Reviewed-by: Ping Cheng commit 94843eb2db5a066f27923ebfeb21646310cf3beb Author: Peter Hutterer Date: Fri Jun 18 07:59:11 2010 +1000 Revert "Silence compiler warning if DEBUG is off." priv is used again without DEBUG since 55ef4e1ad841dda08161009. "Revert "Don't pass the axes around to sendCommon() and friends." This fixes the following build error with --disable-debug: wcmCommon.c: In function ‘sendWheelStripEvents’: wcmCommon.c:671: error: ‘priv’ undeclared (first use in this function) wcmCommon.c:671: error: (Each undeclared identifier is reported only once wcmCommon.c:671: error: for each function it appears in.) This reverts commit 8f69888a353e75a41abc90e85fba61805b9b97bd. Conflicts: src/wcmCommon.c Signed-off-by: Peter Hutterer commit 119fda6af71707495a79d566bce78851ec16a95d Author: Peter Hutterer Date: Wed Jun 16 15:30:48 2010 +1000 Always test if pad proximity events needs to be sent. Both USB and ISDV4 backends fill in ds->proximity. Hence, if it's set and we don't have a previous proximity event, send ProximityIn. Likewise, send ProximityOut on the opposite case. Signed-off-by: Peter Hutterer Reviewed-by: Ping Cheng commit 485b5b6904ca55ab059edd94054b4737bdbbda6e Author: Peter Hutterer Date: Wed Jun 16 15:04:21 2010 +1000 Don't check for dev->proximity, it's always set. Judging by wcmRegisterX11Devices, we always register a proximity class and fail if that fails. Signed-off-by: Peter Hutterer Reviewed-by: Ping Cheng commit d446c321e11e5c8984fa94719201aab5f10577e1 Author: Peter Hutterer Date: Wed Jun 16 14:51:37 2010 +1000 Don't mangle proximity state for the pad. When the pad is relative (i.e. always, since we force it to), the first value from the abswheel is stored in priv->oldWheel and then subtracted from the current state - leading to a v5 of 0. That again leads to a dead wheel, since we never get any values but 0 from the wheel. The pad provides proximity values anyway, so don't hack around it - accept what the hardware says. Signed-off-by: Peter Hutterer Reviewed-by: Ping Cheng commit 55ef4e1ad841dda08161009c7466afbfd2cd6cf6 Author: Peter Hutterer Date: Thu Jun 10 16:27:47 2010 +1000 Revert "Don't pass the axes around to sendCommon() and friends." This patch (the one reverted hereby) had an interesting side-effect. Since the valuators were passed down to the button event, they were included in the XI events. Thus any client listening to button events would also obtain the current coordinates with that event. Once the valuators weren't passed down anymore, there was no way for clients to get the current state of the valuators with the event itself, they'd have to listen to motion events and interpolate from that the positions during the button event. Patch reverted, so that button events include the coordinates again. This reverts commit 579f31c628f0b0036f3c238cc7f32ccfc32adab1. Conflicts: src/wcmCommon.c Signed-off-by: Peter Hutterer Reviewed-by: Ping Cheng commit f0191b406b879a403dfdb831be2a119128a4b580 Author: Peter Hutterer Date: Wed Jun 16 14:47:07 2010 +1000 commonDispatchDevice: return early if no device was found. This patch has no functional changes, it simply reduces by one indentation level. Instead of if (pDev) { } return; It now does: if (!pDev) return; Signed-off-by: Peter Hutterer Reviewed-by: Ping Cheng commit f00df659cec57309acc5e6eeafcde2cc09a00f56 Author: Peter Hutterer Date: Tue Jun 8 15:50:19 2010 +1000 Move numScreen initialization into option parsing. Let's not hide it somewhere else, parse and set all options and defaults in one place. Signed-off-by: Peter Hutterer Reviewed-by: Ping Cheng commit f1d3c1b1486c99ef64d0a34f354d7f89c3d181c8 Author: Peter Hutterer Date: Tue Jun 8 14:57:48 2010 +1000 xsetwacom: support "displaytoggle" as special button event. Signed-off-by: Peter Hutterer Reviewed-by: Ping Cheng commit c07573ae8e975185ae8e904402baeda3b9a2926a Author: Peter Hutterer Date: Fri Jun 4 13:25:54 2010 +1000 Don't reconfigure the axes when switching mode. Run-time axis configuration is not really allowed. The XI2 protocol permits it but it's forbidden for XI1 clients since they have no notification mechanisms. And we don't have any server APIs for the XI2 stuff yet. If a client issues ListInputDevices and the driver reconfigures _after_ that, the client assumes wrong coordinate ranges, causing possible scaling issues. The right way to handle axis reconfiguration is to scale _inside_ the driver only. Signed-off-by: Peter Hutterer Reviewed-by: Ping Cheng commit eb07751c929ea458c9512683b8aa890a4c0e4dff Author: Peter Hutterer Date: Fri Jun 11 09:18:59 2010 +1000 xsetwacom: change storage for getopt_long return value to int. char is unsigned by default on PPC, so getopt_long's return value of -1 for "end of options" isn't interpreted properly and xsetwacom always displays the usage() output. man page for getopt_long says it returns an int anyway, so let's conform to the man page. Signed-off-by: Peter Hutterer commit 8f69888a353e75a41abc90e85fba61805b9b97bd Author: Peter Hutterer Date: Fri Jun 11 12:37:18 2010 +1000 Silence compiler warning if DEBUG is off. Signed-off-by: Peter Hutterer commit ec6866c717c5824c7a6be2da2af59305089b9413 Author: Peter Hutterer Date: Tue Jun 8 16:14:56 2010 +1000 Reshuffle error handling in wcmDevProc. Signed-off-by: Peter Hutterer Acked-by: Ping Cheng commit 1f973e3a630165a76b17463a6925c61aaddd5d7b Author: Peter Hutterer Date: Tue Jun 8 16:11:57 2010 +1000 Update an error message, if the DeviceProc mode is wrong it's not our fault. Signed-off-by: Peter Hutterer Acked-by: Ping Cheng commit a9e91d5d3e8dad176938449c66351ef141157dd6 Author: Peter Hutterer Date: Tue Jun 8 16:00:23 2010 +1000 Update comment describing wcmDevProc. Signed-off-by: Peter Hutterer Acked-by: Ping Cheng commit ca901f3b3b566c601b07bf7659d708ef02d428c7 Author: Peter Hutterer Date: Tue Jun 8 15:51:34 2010 +1000 Reshuffle and group some code to make it easier to understand at a glance. Signed-off-by: Peter Hutterer Acked-by: Ping Cheng commit f934866ab79570602fae3ebf953b81e3ac15ba86 Author: Peter Hutterer Date: Thu Jun 3 16:01:24 2010 +1000 Remove wcmScaling - it is unused and always 0. Has been hardcoded to 0 since the fork at least. Signed-off-by: Peter Hutterer Acked-by: Ping Cheng commit 9ae676e4646dc5ec0f3c411c3fe54f9803a28a9a Author: Peter Hutterer Date: Thu Jun 3 14:39:30 2010 +1000 Remove superfluous option setting. Setting this option after the driver has been initialized has no effect. Signed-off-by: Peter Hutterer Acked-by: Ping Cheng commit c5a2829459df2d95a60527f1e5af279150a28fd9 Author: Peter Hutterer Date: Thu Jun 10 09:56:31 2010 +1000 xsetwacom: support up/down/left/right as special keys. Signed-off-by: Peter Hutterer Reviewed-by: Ping Cheng commit 522c2ae930ccb046a78cc0c64f73474f283714b4 Author: Peter Hutterer Date: Tue Jun 8 16:12:35 2010 +1000 Remove superfluous break. Signed-off-by: Peter Hutterer Reviewed-by: Ping Cheng commit f05af0e5a5b8489233df1d43b1485fd8ca484fb3 Author: Peter Hutterer Date: Tue Jun 8 16:08:08 2010 +1000 Purge support for X server 1.5 and earlier. Driver still supports 1.6, 1.7, 1.8 and the upcoming 1.9. That should be enough. Signed-off-by: Peter Hutterer Reviewed-by: Ping Cheng commit cceb65940448c0c7c780e2314a369261cd767adb Author: Peter Hutterer Date: Wed Jun 9 16:04:56 2010 +1000 Revert "Don't add the OutOfProximity flag to the axis mode." This reverts commit 060ad78cf464508f1d123c00b7340838a27f19e3. Error on my side, this mistake was caused by a bug in the X server code when listing XI2 devices. According to the XI1 protocol spec, the device mode for a ListInputDevices request may only be Relative or Absolute, the mode obtained from a QueryDeviceState request may be binary OR'd with OutOfProximity. The server uses the same field (dev->valuator->mode) to store this information but returns only the LSB from ListInputDevices. The XI2 code missed this part, returning the mode field as a whole, thus sometimes causing clients to misinterpret the mode field. Conflicts: src/xf86Wacom.c Signed-off-by: Peter Hutterer Reviewed-by: Ping Cheng commit 8df8899a6b11aa5e85c949a9cb8bb94f8388a8f0 Author: Peter Hutterer Date: Wed Jun 9 11:44:21 2010 +1000 Move wheel button initialization into wcmParseOptions. This isn't strictly correct since it's not an option, but the IsPad() during wcmAllocate() doesn't do anything - we only have the required bits set later during wcmSetType(). Result was that the pad never had the wheel buttons initialized, leading to a broken wheel on Intuos4 series tablets. Signed-off-by: Peter Hutterer Reviewed-by: Ping Cheng commit 35c5e283d606febfbbfe2270b034e8f5e0827162 Author: Peter Hutterer Date: Wed Jun 9 11:05:18 2010 +1000 Remove two empty lines with whitespaces. No changes, just a sed -e "s/^ *$//". If you're using vim, set c_space_errors=1 in your vimrc to help spot these errors. Signed-off-by: Peter Hutterer Reviewed-by: Ping Cheng commit 83714d87560e70c3fbf3aeb19bf28aae10da79c0 Author: Peter Hutterer Date: Wed Jun 9 10:47:46 2010 +1000 Add is_absolute() and set_absolute() utility functions. And get rid of manual priv->flags handling. Only exception is in the inital per-type assignment of the absolute flag, the flag setting is left there so the code is more obvious. Signed-off-by: Peter Hutterer Reviewed-by: Ping Cheng commit 0c2d24d47218368f769355fc49042cbebd40fc57 Author: Peter Hutterer Date: Wed Jun 9 10:33:55 2010 +1000 Remove some superfluous variables. These ones were always set to whatever the device state (ds) contained. Unlike the others (x, y, tx, ty, etc.) they didn't need adjustment on a per-type basis. Drop them to make the code a bit more obvious to read. Signed-off-by: Peter Hutterer Reviewed-by: Ping Cheng commit 52d95845b0912cc4d72c6abcb99fc4bed82e489e Merge: fb46bef b42bdad Author: Peter Hutterer Date: Thu Jun 10 15:09:02 2010 +1000 Merge branch 'pingc' commit b42bdad2a799f573447ea953b3fa416f979cbe57 Author: Ping Cheng Date: Tue Jun 8 17:50:59 2010 -0700 Default touch tools to Absolute mode Touch tools for all LCD devices, not just Tablet PCs, should be in Absolute mode by default Signed-off-by: Ping Cheng commit 96929dbf32d573234d50bfec8c581db8e22e9c88 Author: Ping Cheng Date: Tue Jun 8 17:46:17 2010 -0700 Retrieve device type from the kernel If a tool is on an USB tablet before the driver is loaded, the driver loses the initial state of the tool since kernel input device driver filters repeated events. To initialize the tool with the proper device type, we call EVIOCGKEY to retrieve it from the kernel. Signed-off-by: Ping Cheng commit 6fc592969a14fa6fe442567dce8b4676f3a1564d Author: Ping Cheng Date: Tue Jun 8 16:57:45 2010 -0700 Add PAD_DEVICE_ID to the device_id switch in commonDispatchDevice Signed-off-by: Ping Cheng commit d71e81a63bdecd352065654ce885dce777b75619 Author: Ping Cheng Date: Tue Jun 8 16:51:17 2010 -0700 TabletHasFeature is associated with tablet_type not tablet_id Signed-off-by: Ping Cheng commit 6f92c53fab330bd1491dba8d8724cff0ee988508 Author: Ping Cheng Date: Tue Jun 8 16:32:45 2010 -0700 Free toolarea and common->private Changed the freeing order to free inner items first; Free toolarea that is associated with the priv instead of the whole arealist that are of the same type; Free private of common before we free common. Signed-off-by: Ping Cheng commit fb46bef0b54211be0a0a58a58dc484c33fe815e2 Author: Peter Hutterer Date: Mon Jun 7 15:05:17 2010 +1000 Append first type name to device. Dependent devices get their type append already ("eraser", "cursor", etc.) but the first device is unmodified. For consistency and to allow easier match rules, append the type to the first device as well. Signed-off-by: Peter Hutterer Reviewed-by: Ping Cheng commit 86a1ff5ede952228d23502cbee1053956ea88d17 Author: Peter Hutterer Date: Tue Jun 8 16:55:16 2010 +1000 Revert "Append first type name to device." Sorry, merged the wrong patch. This one leads to segfaults or simple hangs when a device is removed or on server shutdown. Only the parent device may free it's name, the rest must leave them as-is. This reverts commit d360214713b54faeba954f1d21d51c3747b466f9. Reported-by: Ping Cheng Signed-off-by: Peter Hutterer commit d360214713b54faeba954f1d21d51c3747b466f9 Author: Peter Hutterer Date: Mon Jun 7 15:05:17 2010 +1000 Append first type name to device. Dependent devices get their type append already ("eraser", "cursor", etc.) but the first device is unmodified. For consistency and to allow easier match rules, append the type to the first device as well. Signed-off-by: Peter Hutterer Reviewed-by: Ping Cheng commit 034eec8cd606cd38b8774a8f792f8fbebcaa6eff Author: Przemo Firszt Date: Sun Jun 6 09:49:12 2010 +0100 Plug memory leak - some structures were never freed. "Common" struct is allocated in wcmAllocate, but it was never freed. The same comment applies to priv->tool->arealist and priv->tool. Signed-off-by: Przemo Firszt commit 282f7a33cd5f36753cbbcb3772fae04b049234a5 Author: Przemo Firszt Date: Wed May 19 20:10:11 2010 +0100 Add backend-specific data allocation The data allocation takes place in usbWcmInit (for usb devices). Release of the data is part of wcmUninit (for all devices). Structure wcmUSBData is not used yet, but it's required to allocate memory. Signed-off-by: Przemo Firszt Signed-off-by: Peter Hutterer commit c1567fc48cec0251b61942532c689737c21f5961 Author: Przemo Firszt Date: Tue May 18 20:35:53 2010 +0100 Introduce pointer to backend specific information This pointer will handle backend specific data that shouldn't be part of WacomCommonRec structure (like usb event queue). Pointer will be initialised in usbWcmInit/isdv4Init and relased in wcmUninit. Signed-off-by: Przemo Firszt Signed-off-by: Peter Hutterer commit 0862aa3d74378abbf9f23289ab864a4d07305d0d Merge: 370cd8b 7581a5f Author: Peter Hutterer Date: Thu Jun 3 14:02:37 2010 +1000 Merge branch 'master' of git://people.freedesktop.org/~gnadon/xf86-input-wacom Conflicts: configure.ac man/Makefile.am commit 370cd8bcce46a091da2479fdb8171b1b58a8616c Author: Peter Hutterer Date: Wed Jun 2 13:45:42 2010 +1000 Drop pressure back into the state after processing. In the cleanup in 659daa11dc558a45bfad1b9548f1757fab226ad7 "Normalize pressure sensitivity", the line to drop the calculated value back into the state got lost. Signed-off-by: Peter Hutterer Reviewed-by: Ping Cheng commit 28149d660f0b4b7f30da9c2fdfe44442bbb075c0 Author: Peter Hutterer Date: Wed Jun 2 13:19:47 2010 +1000 Always allocate pressure curve. There was only one malloc for it and that was hardcoded. Just add it to the struct as-is. Signed-off-by: Peter Hutterer Reviewed-by: Ping Cheng commit f4e060d450bddb93a9d0f8c3c00c7309db80c880 Author: Peter Hutterer Date: Wed Jun 2 12:05:57 2010 +1000 man: add myself to Authors. I think I've done enough work on the driver now to justify this ;) Signed-off-by: Peter Hutterer Acked-by: Ping Cheng commit 312e8565b1d9dff4455a5c92aee8a1242c7b0959 Author: Peter Hutterer Date: Wed Jun 2 11:48:46 2010 +1000 man: explain how the pressure curve works. Including some mini-formatting to get rid of some excessive space. Signed-off-by: Peter Hutterer Reviewed-by: Ping Cheng commit 48bbc89e7cc4e263a04287fff68ac109a8727910 Author: Peter Hutterer Date: Tue Jun 1 16:13:06 2010 +1000 xsetwacom: support "modetoggle" keyword. Signed-off-by: Peter Hutterer commit 20715a4a066435b1d785a5b5df50b96c7bc5dcb5 Author: Peter Hutterer Date: Tue Jun 1 15:40:45 2010 +1000 xsetwacom: "core" as keyword is not supported, tell users so. The driver has no say whether a key is to be sent as core event or not, the attachment of the device will decide this (since X server 1.7). To let users know that their old configurations may not do the same thing, print a notice. Signed-off-by: Peter Hutterer Acked-by: Ping Cheng commit de4a3690c25b822d0bdc54602befa9a09c2af54b Author: Peter Hutterer Date: Tue Jun 1 15:31:07 2010 +1000 xsetwacom: add Escape key to special characters. Signed-off-by: Peter Hutterer Reviewed-by: Ping Cheng commit 7aea4b8a96b7562cba828b703d70c288eac29938 Author: Peter Hutterer Date: Tue Jun 1 15:27:07 2010 +1000 xsetwacom: remove "not implemented" labels. We've implemented/kicked out all parameters that weren't implemented. Signed-off-by: Peter Hutterer Reviewed-by: Ping Cheng commit 7581a5f62697b8a49cff1d534bc2713f33612e7c Author: Gaetan Nadon Date: Tue Jun 1 10:21:45 2010 -0400 config: comment and layout adjustments Fix warning for AC_HELP_STRING Signed-off-by: Gaetan Nadon commit 158edda13853dbd977acce55b173756e12ef4377 Author: Gaetan Nadon Date: Tue Jun 1 17:47:20 2010 -0400 config: use automake "dir" pattern for simplification configdir is where the config file is installed dist_config_DATA lists the filename Signed-off-by: Gaetan Nadon commit c82218973ab7ab47e11d9ae76a9d5e2a246bf420 Author: Gaetan Nadon Date: Tue Jun 1 17:40:05 2010 -0400 config: close a loophole where user input means x server has a feature If a user provides a path in --with-xorg-conf-dir, the configuartion assumes the server does have a config path which may not be the case. Signed-off-by: Gaetan Nadon commit a8d9fb1c59ef2e7ce4bbaaab30b43ca3d00e93de Author: Gaetan Nadon Date: Tue Jun 1 09:09:02 2010 -0400 config: remove check for compiler characteristics Further analysis shows that these checks suggested by Autotools are not relevant to the platforms supported by xorg. Signed-off-by: Gaetan Nadon commit 28a45cd759051ad13bfa5e8c9c13e729472f3e20 Author: Gaetan Nadon Date: Mon May 31 16:28:05 2010 -0400 config: wacom driver requires xextproto and kbdproto These protocols are required to compile the driver. Signed-off-by: Gaetan Nadon commit 0464db90a874af87d299bb2f0a5b17f337913a34 Author: Gaetan Nadon Date: Mon May 31 16:22:30 2010 -0400 config: wacom depends on RANDR through xf86.h The xf86.h file contains external declarations specific to RANDR If this extension is defined (installed) wacom will not compile if randrproto is not installed under the same prefix. Because this is an optional extension, XORG_DRIVER_CHECK_EXT must be used. move inputproto check to PKG_CHECK_MODULES: The XORG_DRIVER_CHECK_EXT macro conditionally adds inputproto to PKG_CHECK_MODULES if this extension is defined in xorg-server.h. It allows a module to use ifdef XINPUT if the extension is available. In the case of inputproto, it is part of server and always defined. In this module, the extension is required and not optional. Signed-off-by: Gaetan Nadon commit 0a4c5228ccb65b672ea96d06d6508da66db902f7 Author: Gaetan Nadon Date: Sat May 29 10:24:41 2010 -0400 config: xsetwacom: specifying -lm is redundant. It is added in LIBS by AC_CHECK_LIB No need for per target LDFLAGS Signed-off-by: Gaetan Nadon commit 0d000207e80832a66bc5c30089dfec730adb66d6 Author: Gaetan Nadon Date: Fri May 28 10:15:50 2010 -0400 config: remove AC_PROG_CC as it overrides AC_PROG_C_C99 XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls AC_PROG_C_C99. This sets gcc with -std=gnu99. If AC_PROG_CC macro is called afterwards, it resets CC to gcc. Signed-off-by: Gaetan Nadon commit f93ad73accf06799ab027d82655677391725dc65 Author: Gaetan Nadon Date: Fri May 28 10:10:30 2010 -0400 config: use AC_PROG_INSTALL now supplied by XORG_DEFAULT_OPTIONS It depends on util-macros 1.8 The existing statement can now be removed from the configuration file. Signed-off-by: Gaetan Nadon commit 9e24d7c75e4ae0adc5360e75e431faefdeb29f7d Author: Gaetan Nadon Date: Fri May 28 10:09:17 2010 -0400 config: upgrade to util-macros 1.8 for additional man page support Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS The value of MAN_SUBST is the same for all X.Org packages. Use AC_PROG_SED now supplied by XORG_DEFAULT_OPTIONS Signed-off-by: Gaetan Nadon commit 17016ade9269cdfdd85bd1c4f1b76ca211fd63d3 Author: Peter Hutterer Date: Tue Jun 1 15:03:58 2010 +1000 Add a man page for xsetwacom. Signed-off-by: Peter Hutterer commit 88e9fe19e307b18cac176e7e8815dd5640e9aa8b Author: Ping Cheng Date: Tue May 25 20:08:00 2010 -0700 Add two finger gestures for Bamboo with touch Both src and tools/include are updated. This "feature" will be removed when gesture is supported in X server or in desktop environment. Peter Hutterer's comment: "just for the record: I am deeply opposed to implementing gestures in the driver. This way every driver needs to cook their own soup, there is hardly any possibility to let clients configure the gestures, clients won't know when a gesture has been applied or when a gesture should be skipped instead, there is virtually no chance of standardization of gestures as all drivers will end up using slighlty different parameters, etc. the list is rather long. that's also why I kinda pretend that the code doesn't exist and do cursory checks only (I can't test it anyway). having said that, I realise that the lack of gesture support in the server is currently blocking any other attempts. So I'll reluctantly keep saying yes to this gesture approach, but expect it to be temporary only." Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit 0aef8254c96a8f299411fd7fc115b8ad694c600e Author: Peter Hutterer Date: Mon May 24 12:34:41 2010 +1000 Duplicate the InputAttributes for dependent devices. This allows for the configuration of dependent devices by creating the appropriate match rules. Note that for the input attributes - just as for the device name the type is simply appended to the end of the product name. Signed-off-by: Peter Hutterer Acked-by: Ping Cheng commit 63be00c8a4faadd2251b5f695e6b049d70943ae3 Author: Peter Hutterer Date: Tue Jun 1 13:55:17 2010 +1000 xsetwacom: remove XSCALING parameter. XSCALING was compile-time defined as either 1 or 0 and a workaround for a bug in the X server release 1.4.0 (not 1.4.1) that required special scaling handling. It's not needed for xf86-input-wacom. Signed-off-by: Peter Hutterer Acked-by: Ping Cheng commit 49d7635e1905fd33a59581232418a6c7d5edc77f Author: Peter Hutterer Date: Mon May 31 13:21:44 2010 +1000 In relative mode, subtract the old pressure value from the new one. Otherwise the pressure builds up to the maximum and stays there, even when the pen is lifted off the tablet. Same goes for tilt, wheel and rotation/throttle https://sourceforge.net/tracker/?func=detail&atid=525124&aid=2996451&group_id=69596 Signed-off-by: Peter Hutterer commit 579f31c628f0b0036f3c238cc7f32ccfc32adab1 Author: Peter Hutterer Date: Mon May 31 14:41:53 2010 +1000 Don't pass the axes around to sendCommon() and friends. The only events generated here are button events, there's no need to send the axis values around. This also fixes a bug where axis values are sent twice to the X server: The following call order is possible in wcmSendEvents xf86PostMotionEvent(..., axisvalues[]) -> sendCommonEvents() xf86PostButtonEvent(..., axisvalues[]) This is fine for absolute mode but in relative mode this would result in the axis values applied twice. By not passing the values down, this bug is avoided. Signed-off-by: Peter Hutterer Reviewed-by: Ping Cheng commit a36262f30418c5b57d9dd21aafe0b95d81bbf7d7 Merge: 6569c05 8916bf8 Author: Peter Hutterer Date: Mon May 31 10:54:56 2010 +1000 Merge branch 'waltop' commit 6569c0577b04c3c8b7ddc737cbc030893fe0fe0e Author: Ping Cheng Date: Tue May 25 20:07:59 2010 -0700 Add a new define (WAC_LCD) for tablet_id WCM_LCD is added to distingush the tablets that are used as LCD digitizers, such as Tablet PC and Cintiq/PL series. They have common features that regular tablets may not have. Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit b19576fc4fa7939bf0774aa8f49a90ebbfe1a6e8 Author: Peter Hutterer Date: Thu May 27 14:13:26 2010 +1000 xsetwacom: remove unimplemented NumScreens setting. AFAICT, NumScreens in linuxwacom returns screenInfo.numScreens - the same value as reported by ScreenCount(3). If this is 1 and TwinView is enabled, this value is hardcoded to 2. This logic can be replicated in the client, there's no need to export this from xsetwacom. The driver does not export this anymore anyway - was unimplemented since the fork. Note: the driver does not export this setting as input driver do not hook into the RandR notification mechanisms. The input driver thus would not be notified when a new screen is plugged in, resulting in stale values being stored in the driver. Note: this logic is incorrect if RandR 1.2 drives multiple screens. Although there are two physical screens, there is only one protocol screen. Signed-off-by: Peter Hutterer Reviewed-by: Chris Bagwell Acked-by: Ping Cheng commit 8916bf839dff04d1db551ee962ee68608fc42885 Author: Peter Hutterer Date: Thu Apr 8 16:10:58 2010 +1000 Add a whole bunch of Waltop device IDs as "supported". These are taken from Waltop's driver download page, a bit more info might be nice. Signed-off-by: Peter Hutterer commit 2ce763b3299c78f6824ff7ff7c3fc8a26106c597 Author: Peter Hutterer Date: Thu Apr 8 15:56:23 2010 +1000 Add Waltop as recognized vendor ID for autoprobe. Signed-off-by: Peter Hutterer commit a8e535d4bcb56e20b172c2cb7559b72557f9c88e Author: Peter Hutterer Date: Thu Apr 8 15:57:55 2010 +1000 Incorporate the vendor ID into the model descriptions. This opens up the way for more vendor IDs to be matched with the right options. Signed-off-by: Peter Hutterer commit 14f64d9837160cd4b0c0d63ed2e05e7babfc2db8 Author: Peter Hutterer Date: Thu May 20 14:54:54 2010 +1000 xsetwacom: print an error if the property does not exist on the device. Custom get_funcs that do not have a property name skip this part and go straight to the get_func, all others get the property tested. Signed-off-by: Peter Hutterer Reviewed-by: Ping Cheng commit 3c7af6a1aaab296620b442d93375f02f050e65d9 Author: Peter Hutterer Date: Mon May 24 08:05:37 2010 +1000 xsetwacom: add a descriptive comment on how xsetwacom works these days. Signed-off-by: Peter Hutterer Signed-off-by: Ping Cheng commit 9ab46c7113ecda88bcf40b936b147dbfcd87d996 Author: Peter Hutterer Date: Mon May 24 08:06:39 2010 +1000 Fix typo in usage output. } should be ] Signed-off-by: Peter Hutterer commit 44f4b81300b63fb01857197a96993bd85cc873ea Author: Peter Hutterer Date: Fri May 21 22:10:26 2010 +1000 Remove libc wrappers. The X server is just deprecating them from the headers and the wrapping never had the desired effect anyway (which was to have alternative allocation implementations). This patch brought to you by sed. Signed-off-by: Peter Hutterer Acked-by: Ping Cheng commit b3143b525d3e91e616b8b5329966b559f1c24a86 Author: Ping Cheng Date: Wed May 19 22:42:14 2010 -0700 Centralize TPCButton/Touch/Gesture initialization Moved TPCButton initialization from other routines to wcmParseOptions of wcmValidateDevice.c. For hotplugged tablets, TPCButton will be initialized once since wcmParseOptions will only be called once. For tools defined through xorg.conf, we only allow stylus to define this option. Moved wcmTouch inside ISBITSET BTN_TOOL_DOUBLETAP check since only the devices that support touch would have this option. Same rule applies to wcmGesture. For hotplugged tablets, these two options will be initialized once since wcmParseOptions will only be called once. For tools defined through xorg.conf, only touch can change these options. If a tool other than touch tries to set those common touch options, a warning will be reported and the option will be ignored. Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit fcd8a63993c0fb81b5c9f6246ebd40105c245cee Author: Peter Hutterer Date: Fri May 21 22:07:30 2010 +1000 Revert "Remove now-unused variable oldButton." I applied Ping's patches out-of-order, this variable is needed for the next patch. This reverts commit dc81246c2ff6d38a09ee438e6c490df5c9b50c1f. Signed-off-by: Peter Hutterer commit 060ad78cf464508f1d123c00b7340838a27f19e3 Author: Peter Hutterer Date: Thu May 20 16:41:02 2010 +1000 Don't add the OutOfProximity flag to the axis mode. The server and many clients tends to check for Absolute and/or Relative, but don't use Absolute as a flag. The XI protocol spec only allows for 0 or 1 (Relative or Absolute), not for an extra flag. As a result, a device set up with (Absolute|OutOfProximity) will be interpreted as Absolute by some clients and relative by others. Signed-off-by: Peter Hutterer Reviewed-by: Ping Cheng commit dc81246c2ff6d38a09ee438e6c490df5c9b50c1f Author: Peter Hutterer Date: Thu May 20 14:36:39 2010 +1000 Remove now-unused variable oldButton. Obsolete with 62ae0d30494577b2a9de2d440b0f728e85b13e2a. Signed-off-by: Peter Hutterer commit 62ae0d30494577b2a9de2d440b0f728e85b13e2a Author: Ping Cheng Date: Tue May 18 17:44:05 2010 +1000 Purge unnecessary option check xf86SetIntOption will get and set the button value as needed. No need to call xf86SetStrOption first. Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit 80cca0796f727a68e7695d5e82c57167471533a0 Author: Rafi Rubin Date: Fri May 14 10:07:36 2010 +1000 conf: force second button on N-Trigs to be right click. N-Trigs styli only have two buttons, having a middle click is less useful than having a right click. [split out into a separate commit by Peter] Signed-off-by: Rafi Rubin Signed-off-by: Peter Hutterer commit aa95e1364cf2fcaba6514f6b10c9f8ee30855c7f Author: Ping Cheng Date: Mon May 10 21:18:50 2010 -0700 xf86-input-wacom: Button 4 and 5 events are only for touch ring Only absolute wheels on the pad (normally touch rings) can send button events. Absolute wheels that are defined for the stylus, such as airbrush wheel or ArtPen rotation should only report raw data. It would be up to the client/application to translate those raw data in a way they like. Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit ea2769f8efbffffb13d2971a7f829a5590daee6d Author: Peter Hutterer Date: Tue May 11 08:24:14 2010 +1000 Revert "Always init wheel buttons to 4/5." This commit leads to weird button events on tools like the Art Pen. http://sourceforge.net/mailarchive/forum.php?thread_name=AANLkTil9O7b5Q7k03-zBWS_mSEJ79dDuh0ZqsBhuOI2v%40mail.gmail.com&forum_name=linuxwacom-discuss This reverts commit 0fbd3e34d792cb17163c1974d7e8ce93c24242a0. Signed-off-by: Peter Hutterer commit 24caba4577364a6b7fad2eb1a39964598c9e5e01 Author: Przemo Firszt Date: Wed May 5 19:34:48 2010 +0100 Remove redundand MAX_USB_EVENTS definition from xf86Wacom.h There is no need to define MAX_USB_EVENTS in xf86Wacom.h as that definition is not used anywhere in the code. Signed-off-by: Przemo Firszt Signed-off-by: Peter Hutterer commit 83db7fb4a71c6460ac2aaee3476fb49c36f9cbb6 Author: Rafi Rubin Date: Tue May 4 12:00:36 2010 +1000 Adjust N-Trig pattern. The old pattern is the default name set by hid and along with some other changes I added descriptive names for the event devices. For people using the older versions of the kernel driver, they are probably better off just using the wacom driver to support both pen and touch. For the current versions of the driver, there isn't much of an advantage to continue using wacom for touch, and some distinct advantages to moving to evdev (particularly as MT support matures). The wacom driver is still better for the pen. Signed-off-by: Rafi Rubin Signed-off-by: Peter Hutterer commit 5178eec046e160218df088363394b4b117976725 Author: Peter Hutterer Date: Thu Apr 29 14:40:27 2010 +1000 wcmUSB: add some parentheses where parentheses are due. No functional change, just improving readability. Let's not have constructs like for (....) if (....) { } If a block is multi-line, always surround it with parentheses. Signed-off-by: Peter Hutterer Acked-by: Ping Cheng commit 1d0f629f8f95621f107ff3031b805613447ed275 Author: Ping Cheng Date: Sat Apr 24 21:59:54 2010 -0700 Replace Bamboo touch tablet_id check with tablet_type Signed-off-by: Ping Cheng Reviewed-by: Chris Bagwell Signed-off-by: Peter Hutterer commit cda653b2690f5ed99ca48fcaf33c24539b5529e3 Author: Ping Cheng Date: Sat Apr 24 21:33:59 2010 -0700 Change WacomModel->name check to WacomModel->tablet_type tablet_type will be used to decide tablet common options. Signed-off-by: Ping Cheng Reviewed-by: Chris Bagwell Signed-off-by: Peter Hutterer commit df7f16509194b7c778f2b823fd480043a2dbce86 Author: Ping Cheng Date: Sat Apr 24 21:26:02 2010 -0700 Add tablet_type to WacomModel tablet_type is introduced to distingush the specific features that a group of tablets supported. It will be used to replace the wcmModel->name check. Signed-off-by: Ping Cheng Reviewed-by: Chris Bagwell Signed-off-by: Peter Hutterer commit de3953f34c5da03baee443186c64f852ea675fef Author: Peter Hutterer Date: Fri Mar 26 14:34:49 2010 +1000 Facture out state resetting from the device state. Signed-off-by: Peter Hutterer Reviewed-by: Ping Cheng commit cde6ce3ab13d158b2f7b4d725ae84d36cfc33f02 Author: Peter Hutterer Date: Fri Mar 26 11:58:01 2010 +1000 Fix minor style issue. No changes, just whitespace fixes to make the else block look more like an else block and less like the start of an unrelated one. Signed-off-by: Peter Hutterer Reviewed-by: Ping Cheng commit 120ca4e2846c2fcc12f6f67105da5c17886b73f0 Author: Peter Hutterer Date: Fri Mar 26 11:55:50 2010 +1000 Use 'buttons' instead of hardcoded 0. No functional change, it just makes the code more obvious. Signed-off-by: Peter Hutterer Reviewed-by: Ping Cheng commit ec90c6d93561f1acbf574b45b75312b1079f2815 Author: Peter Hutterer Date: Tue Apr 27 13:51:17 2010 +1000 conf: add WACf, FUJ02e5 and FUJ02e7 to serial identifers. Signed-off-by: Peter Hutterer Reviewed-by: Ping Cheng commit c5543682306775f1ba42e44cd8b3db4eb460f20d Author: Peter Hutterer Date: Thu Apr 22 13:20:54 2010 +1000 wacom 0.10.6 Signed-off-by: Peter Hutterer commit 68f30e01567278cb474b9d54bb14ec74766584ab Author: Peter Hutterer Date: Thu Apr 22 14:26:33 2010 +1000 Fix some indentation in xf86WacomDefs.h. Every time I look at it this confuses me... Signed-off-by: Peter Hutterer Acked-by: Ping Cheng commit ca4f2a860c16f1181cb9e82ad27a5f890f165d4d Author: Peter Hutterer Date: Thu Apr 22 13:46:14 2010 +1000 conf: move 20-wacom.conf to 50-wacom.conf. alnum sorting with a 2-digit prefix gives us 100 different possibilities for distro/driver provided configuration files. Let's move the config towards the middle to allow for convenient pre- and post-placement of other configurations. Signed-off-by: Peter Hutterer commit b5084f000d05d5f14d3ba272b6b7ac145002b771 Author: Ron Lee Date: Sat Apr 17 18:25:47 2010 +0930 Install 20-wacom.conf to the sysconfigdir variable exported by the server Don't install the .fdi if we're using the xorg.conf dir. Based on a patch from Julien Cristau , based on a patch by Peter Hutterer for xf86-input-synaptics. Signed-off-by: Ron Lee Signed-off-by: Peter Hutterer commit 9be9ab331210aed2a3045f60d3d8a0d13d9ea0ef Author: Gaetan Nadon Date: Thu Apr 15 17:58:07 2010 -0400 config: fix checking for extensions section A hidden dependency on statement order was discovered. The REQUIRE_MODULES variable was removed but needed. Comments added to clarify the situation. Signed-off-by: Gaetan Nadon Signed-off-by: Peter Hutterer commit 659daa11dc558a45bfad1b9548f1757fab226ad7 Author: Ping Cheng Date: Wed Apr 14 21:38:28 2010 -0700 Normalize pressure sensitivity Instead of reporting the raw pressure, the normalized pressure from 0 to FILTER_PRESSURE_RES (which is 2048) is reported. This is mainly to deal with the case where heavily used stylus may have a "pre-loaded" initial pressure. This patch checks the in-prox pressure and subtract it from the raw pressure to prevent a potential left-click before the pen touches the tablet. Left click threshold and pressure curve are updated accordingly. Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit c853f3230a28c75c06bde20606b37ce28afc356b Author: Ron Date: Fri Apr 16 02:01:03 2010 +0930 Don't match WALTOP in the wacom.conf just yet On the advice of Timo about how ready it is right now. Signed-off-by: Ron Lee commit d65004559e21150fdc12bf58d03d3ddfe861efd6 Author: Ron Date: Thu Apr 15 16:09:21 2010 +0930 Use 20-wacom.conf instead of 10- This leaves a bit more space for people to override things if needed. Signed-off-by: Ron Lee commit 32ebba3eeb537dc70e1dfa45496bc65e66aeb9a2 Author: Ron Date: Thu Apr 15 16:06:44 2010 +0930 Rename the fdi subdir to conf Signed-off-by: Ron Lee commit ff59bc20e8ed549ca7ef17801851777907af79b1 Author: Ron Date: Wed Apr 14 22:19:17 2010 +0930 Add an initial xorg.conf.d snippet for xserver 1.8 Drop this in the fdi subdir for now, just to keep all the config together. That dir can be renamed later, as the .fdi will eventually go away anyhow. Signed-off-by: Ron Lee Acked-by: Ping Cheng commit 7813328083de1d6f6d9bd028ff4c18f222e81ff3 Author: Gaetan Nadon Date: Mon Apr 12 13:05:49 2010 -0400 config: comment usage of PKG_CHECK_MODULES There are two separate targets for which config should not be mixed. Follow-up from review. Signed-off-by: Gaetan Nadon Signed-off-by: Peter Hutterer commit c36de6947dfb23946926d041aa08d482ffd96a0f Author: Gaetan Nadon Date: Mon Apr 12 13:05:48 2010 -0400 config: disable inadvertently re-enabled static library creation AC_DISABLE_STATIC must be places before AC_PROG_LIBTOOL, requirement which is not documented in libtool. This will prevent the creation of src/.libs/wacom_drv.a Signed-off-by: Gaetan Nadon Signed-off-by: Peter Hutterer commit 2795fc26832ee31546216f07ff5f3616cb2dea95 Author: Peter Hutterer Date: Thu Apr 8 16:29:17 2010 +1000 Use SETBIT and CLEARBIT macros to set the tool types. Macros like this are in common use in the kernel, X server, etc. and are slightly more readable than the |= and &= ~ expressions. Signed-off-by: Peter Hutterer Acked-by: Ping Cheng commit 42e8b791249b3d5c40d1117696deec8966c2e7e1 Author: Pengcheng Chen - Sun Microsystems - Beijing China Date: Fri Apr 9 09:00:05 2010 +1000 Remove duplicated definition: ARRAY_SIZE Signed-off-by: Pengcheng Chen - Sun Microsystems - Beijing China Signed-off-by: Peter Hutterer commit 5087865cbea0ff16e3edbcc532ed9776434b9e0f Author: Ping Cheng Date: Mon Mar 29 10:44:47 2010 -0700 All user defined types are valid Since there are types that we can not decide during device initialization stage, we allow all types defined in xorg.conf pass wcmIsAValidType check. Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit d83ad3afe27feb1d055cfeeef448d5045089c6f0 Author: Ping Cheng Date: Mon Mar 29 10:00:05 2010 -0700 TPCButton is on by default for ISDV4 devices The recent updates for ISDV4.c missed this bit. Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit 037eafa0240b342fd6ab35bd88edab6d2b66c30a Author: Peter Hutterer Date: Thu Mar 25 14:46:25 2010 +1000 xsetwacom: handle special button mappings. As with keystrokes, this handles usecases like "button +5 4 -5" for a button 5 down, button 4 click, button 5 up. Signed-off-by: Peter Hutterer Acked-by: Ping Cheng commit 76544c491821aa5208371324872e7759d7f087b8 Author: Peter Hutterer Date: Thu Mar 25 14:30:33 2010 +1000 xsetwacom: refacture button mapping code. This loses the ability do do "xsetwacom --set Button1 button 5" to make Button1 do what button 5 does. Really, just run the command twice... Signed-off-by: Peter Hutterer Acked-by: Ping Cheng commit 47d00b15a2a1afbff08d2899d2c071fbeff61b33 Author: Peter Hutterer Date: Thu Mar 25 13:57:00 2010 +1000 xsetwacom: rearrange keyword matching for future multi-keyword assignment. In the future, xsetwacom should support a --set Button1 "key a b c button 1 key a" mapping. This is the first step towards it. Signed-off-by: Peter Hutterer Acked-by: Ping Cheng commit 967f90c75a7ad17c8e26bb89f5b348c43bbd146e Author: Peter Hutterer Date: Fri Mar 26 11:18:59 2010 +1000 xsetwacom: fix strjoinsplit. silly. Signed-off-by: Peter Hutterer Acked-by: Ping Cheng commit 8a911e348fb17ad40cc0130d4ad4d862d0dd096d Author: Peter Hutterer Date: Fri Mar 26 11:21:24 2010 +1000 xsetwacom: trace the special button key mapping if running verbose. Output is something like: ... Key map 97 ('a') [press,release] Signed-off-by: Peter Hutterer Acked-by: Ping Cheng commit eabc771985c88fcf99dbc12d84705cf2faace3da Author: Peter Hutterer Date: Fri Mar 26 11:07:25 2010 +1000 xsetwacom: fix offset for special key mappings. offset was always 0 + nitems which wasn't a problem as long as we don't support multiple keywords ("key a button 1 key b"). If multiple keywords are supported, the offset needs to move to the current, otherwise we overwrite. Signed-off-by: Peter Hutterer Acked-by: Ping Cheng commit 2bc39947855842a04f1e40d8004fe094f44f62ee Author: Peter Hutterer Date: Thu Mar 25 15:07:00 2010 +1000 Split button action property handling into two static functions. No code changes, just making the SetProperty handler less of a beast. Signed-off-by: Peter Hutterer Acked-by: Ping Cheng commit 132504227b487a7fdfa6e4e6964f5d7058c0e794 Author: Peter Hutterer Date: Thu Mar 25 09:59:56 2010 +1000 Factor out retrieving the wheel button. No functional changes, just making code hopefully more readable. Signed-off-by: Peter Hutterer Acked-by: Ping Cheng commit 476b5da0ae5a8fa7c72dc5086f46a28184a0f79f Author: Peter Hutterer Date: Wed Mar 24 16:52:08 2010 +1000 Remove unused wheel key assignment. keyP isn't actually used anywhere. Signed-off-by: Peter Hutterer Acked-by: Ping Cheng commit 5f4bc4d43bce84dd84192d3cc9fb7a9ad5b1031d Author: Peter Hutterer Date: Fri Mar 26 10:52:45 2010 +1000 Don't allow the pad to be switched to absolute mode. See 2038ad187823b "Always put the pad in relative mode" for a more detailed explanation. Reported-by: Ping Cheng Signed-off-by: Peter Hutterer commit 30c8356cb98536e539bbc81e72e3dd7e1e9e255d Author: Peter Hutterer Date: Thu Mar 25 11:22:06 2010 +1000 Fix build error with --enable-debug. Introduced with 09e01eda07de "Call wcmRotateCoordinates only when we get real motion events". wcmCommon.c: In function ‘wcmSoftOutEvent’: wcmCommon.c:1646: error: invalid use of void expression This patch also changes the message to the usual DBG format (the DBG macro will fill in the device name and the function name automatically). Signed-off-by: Peter Hutterer Acked-by: Ping Cheng commit 2038ad187823b770fcb3b5e77dacf4bad27617e6 Author: Peter Hutterer Date: Thu Mar 25 10:49:02 2010 +1000 Always put the pad in relative mode. Fixes Intuos3 scrolling issues. The pad cannot be in absolute mode as it sends the axis values to the server. Since the pad never gets x/y coordinates from the tablet the server will fill in the defaults (0/0) for it - even if first_valuator is always > 1. This results in the pointer being reset to the screen origin each time the pad's scroll strip is used. Signed-off-by: Peter Hutterer Acked-by: Ping Cheng commit 09e01eda07decdbd2350fa46aea8c705bbdd968b Author: Ping Cheng Date: Wed Mar 24 15:14:01 2010 -0700 Call wcmRotateCoordinates only when we get real motion events Out-prox events don't send reliable motion events. So, don't rotate those coordinates. Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit 898caa97dec7af1cae3bf05ae6eb598732aa1141 Author: Ping Cheng Date: Tue Mar 23 22:13:37 2010 -0700 Add wcmSoftOutEvent and wcmGetPhyDeviceID wcmSoftOutEvent is used to send an out-prox event for the current invalid tool before switching to a new tool. This routine will be used by new gesture code. wcmGetPhyDeviceID is called by wcmSoftOutEvent and wcmSetType. Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit 40f344803460f7f1e5e07a67d4e10e7c6d2fcdc8 Author: Ping Cheng Date: Tue Mar 23 17:43:53 2010 -0700 Move BTN_TOOL_TRIPLETAP to the header file Move BTN_TOOL_TRIPLETAP definition from wcmUSB.c to xf86WacomDefs.h since it is also used by wcmValidateDevice.c and wcmISDV4.c Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit 0bdabe85a09b4c522b4237a0ee95326cbcb23740 Author: Gaetan Nadon Date: Tue Mar 23 15:36:24 2010 -0400 config: layout and comments change. No functional changes. Signed-off-by: Gaetan Nadon commit 43ee2f9907a82018eff3a7103eed22e0fc01a444 Author: Gaetan Nadon Date: Tue Mar 23 15:32:38 2010 -0400 config: separate sdkdir assignement from distcheck workaround sdkdir in needed for other purposes. Signed-off-by: Gaetan Nadon commit 0eb3ddb627487bb37be354c2dd943d03525f395e Author: Gaetan Nadon Date: Tue Mar 23 14:57:59 2010 -0400 config: bump Autoconf version to 2.60 This version matches the content of the configuration as it was before this patch series. Signed-off-by: Gaetan Nadon commit 82cb6c9cd5d8e3fb1a9e63aa101699a3d8c97731 Author: Gaetan Nadon Date: Tue Mar 23 14:55:45 2010 -0400 config: AC_OUPUT with parameters is obsolete Use AC_CONFIG_FILES Signed-off-by: Gaetan Nadon commit bf45c3c546bbd672a8b604ed6924b4c862888419 Author: Gaetan Nadon Date: Mon Mar 22 19:16:57 2010 -0400 man: use $(SED) for better portability $(AM_V_GEN) is for Automake 1.11 silent rule. Signed-off-by: Gaetan Nadon commit 8f28c5640b8e33719b52ae7ae9b6843104cc2032 Author: Gaetan Nadon Date: Tue Mar 23 14:52:47 2010 -0400 config: add portability macros As suggested by autoscan for this module. These will provide default values if none defined on the system. Signed-off-by: Gaetan Nadon commit d184685aca7fe27a7c5c9403c5a993d761bece35 Author: Gaetan Nadon Date: Tue Mar 23 14:51:27 2010 -0400 config: add libm.a library check used by xsetwacom As suggested by Autoconf. Checked with SunCC compiler docs. Signed-off-by: Gaetan Nadon commit 1d6d34e905d297f6dbf91f6703f874f16262c233 Author: Gaetan Nadon Date: Tue Mar 23 14:45:02 2010 -0400 config: remove unrequired defines for ISO C90 header files. Autoconf: This macro is obsolescent, as current systems have conforming header files. Signed-off-by: Gaetan Nadon commit ca2502dc24801d58bb7c9a285a668631df596211 Author: Gaetan Nadon Date: Tue Mar 23 14:40:49 2010 -0400 config: remove unrequired auxiliary config dir By default, autotools scripts are generated in source dir Signed-off-by: Gaetan Nadon commit a2b8b5207909a23550461467ba82f7e68f44b70d Author: Gaetan Nadon Date: Tue Mar 23 14:38:13 2010 -0400 config: move foreign option to AM_INIT_AUTOMAKE Signed-off-by: Gaetan Nadon commit ba708b40fb607ea6defdd55aef29b0837a076fed Author: Gaetan Nadon Date: Sat Mar 20 14:40:07 2010 -0400 config: obsolete AC_HELP_STRING is replaced with AS_HELP_STRING Fix autoconf warning. Signed-off-by: Gaetan Nadon commit e84d1f61dce03b04a90b3430c3fa1f571f37e0dd Author: Gaetan Nadon Date: Tue Mar 23 14:35:35 2010 -0400 config: AC_FATAL is obsolete, use m4 ac_fatal Update util-macros level to 1.4 due to INSTALL file. Signed-off-by: Gaetan Nadon commit e67658fa5685527d3ec2d0d1863380e37903fe19 Author: Gaetan Nadon Date: Tue Mar 23 14:33:25 2010 -0400 config: obsolete AM_CONFIG_HEADER replaced with AC_CONFIG_HEADERS Fix autoconf warning Signed-off-by: Gaetan Nadon commit 1b7dd740d42aaa6559439b26f5ffd6adc94cbb32 Author: Gaetan Nadon Date: Tue Mar 23 14:30:41 2010 -0400 make: rename INCLUDES to AM_CPPFLAGS Fix autoconf warning, INCLUDES is deprecated. Signed-off-by: Gaetan Nadon commit 47082e462e35a25b1e6413e0347d5fca252f3250 Author: Gaetan Nadon Date: Mon Mar 22 18:59:07 2010 -0400 make: remove unrequired EXTRA_DIST for headers The automake primary HEADERS distribute headers by default. Signed-off-by: Gaetan Nadon commit e8b6829c273f44bd871944d1bd5fdaf187c7d4f7 Author: Gaetan Nadon Date: Mon Mar 22 18:45:48 2010 -0400 make: remove unrequired EXTRA_DIST for wacom.fdi The dist_fdi_DATA statement takes care of distribution. Signed-off-by: Gaetan Nadon commit f32cd91496a8d7aa3dfee00eb694195a60ae936e Author: Gaetan Nadon Date: Tue Mar 23 14:22:38 2010 -0400 config: remove unused AH_TOP #include xorg-server.h It has been included in xf86Wacom.h for over a year. Signed-off-by: Gaetan Nadon commit 8ed7d6955d934d9c0e9b5ee20aa5c61bbbd41f34 Author: Gaetan Nadon Date: Tue Mar 23 14:21:20 2010 -0400 remove unused DEBUG Automake conditional This is not related to AC_DEFINE DEBUG used in C source code. Signed-off-by: Gaetan Nadon commit 70de32b0454a03eff4881653c5254b4bcddd1336 Author: Gaetan Nadon Date: Sat Mar 20 14:46:28 2010 -0400 config: remove unused $REQUIRED_MODULES variable Signed-off-by: Gaetan Nadon commit e19d72ac82efc83b47b7772aa07c56a683b95ecb Author: Peter Hutterer Date: Mon Mar 22 14:17:19 2010 +1000 man: remove linuxwacom reference, replace with current version instead. Signed-off-by: Peter Hutterer Acked-by: Ping Cheng commit 51bd71db2d6f508489d792ddb16d1bcbe21b41f3 Author: Peter Hutterer Date: Mon Mar 22 11:56:53 2010 +1000 ISDV4: unify warning/error messages in the : format Signed-off-by: Peter Hutterer Acked-by: Ping Cheng commit 11a9a43f6fb5f01c5b7d3d0df24be4631625decf Author: Peter Hutterer Date: Mon Mar 22 11:42:44 2010 +1000 ISDV4: replace loop with memset. If the comment is correct, then it would be a bug in libc. Which would need to be investigated but for now I'm giving it the benefit of the doubt and claim that memset works equally well. Signed-off-by: Peter Hutterer commit 62197a303a36a8dbeda69c8867617ce3bfb6380d Author: Peter Hutterer Date: Fri Mar 19 14:59:51 2010 +1000 wacom 0.10.5 Signed-off-by: Peter Hutterer commit e4069c2a7b3b74eebe3d8a30e3121f52730320c8 Author: Chris Bagwell Date: Thu Mar 18 20:57:54 2010 -0500 Do not send button presses for touchpads. Now that we support touchpads (Bamboo P&T), the old logic for button presses on touchscreens needs to consider this. I chose looking at tablet_id instead of ABSOLUTE/RELATIVE setting because we would have to do a for() loop to find correct private structure for touch device. Eventually, we will merge over touchscreen gesture support from linuxwacom which will centralize all gesture logic in either wcmCommon.c or wcmTouchFilter.c. Signed-off-by: Chris Bagwell Signed-off-by: Peter Hutterer commit 3055024b89c5b274a6c7d2cf128ec390fe0ffad3 Merge: fb458ca 70e490a Author: Peter Hutterer Date: Fri Mar 19 11:36:28 2010 +1000 Merge branch 'isdv4-cleanup-stage2' For the patch series merged: Acked-by: Ping Cheng Tested-by: Timo Aaltonen Signed-off-by: Peter Hutterer commit fb458cabf07932f7862edbb769f9865ea32e9694 Author: Ping Cheng Date: Thu Mar 18 14:18:32 2010 -0700 Change Copyright Change "Wacom Technology" to "Wacom" to cover all regions Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit 246244fc724b4457e0602a494dfe72bfb9fc254e Author: Ping Cheng Date: Thu Mar 18 14:13:19 2010 -0700 use wcmKeys to check tool type Since wcmKeys can be accessed from usbWcmGetRanges, we retrieve the supported tool types instead of product ID for touch devices that also report pad data. This change makes the code generic to all touch devices that report pad data. Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit 87f2ff0397223c557650ccb1e0aac4bb497a7a93 Author: Ping Cheng Date: Thu Mar 18 14:10:46 2010 -0700 Make keys into wcmKeys Tool type and other device/tool specific characters can be retrieved through the supported events, defined in keys, from the kernel. Make this variable an attribute of common so we only need to retrieve it once in wcmPreInit. Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit 7a078d10266155f87b32b05803d90c62d65fee73 Author: Peter Hutterer Date: Fri Mar 19 08:29:55 2010 +1000 ISDV4: add missing linebreak after wcmWriteWait error message. Signed-off-by: Peter Hutterer commit bd1c20ca8f8187b30d70b3310b5b086f6fc124ed Author: Peter Hutterer Date: Thu Mar 18 17:09:05 2010 +1000 Pressure threshold must be smaller than maxZ, not 21. 21 is a copy-paste error from the ClickForce setting. The default for the pressure threshold is maxZ * 3/50 (245 on my tablet), 21 thus isn't quite sufficient. Signed-off-by: Peter Hutterer Reviewed-by: Ping Cheng commit 61392ced1f604d81a6e7d27036784eb19b595313 Author: Peter Hutterer Date: Thu Mar 18 10:08:20 2010 +1000 Fix build error with --enable-debug on. To reduce the number of ifdefs, a slight reshuffling of the code. Reported-by: Przemo Firszt Signed-off-by: Peter Hutterer commit 70e490a5e7a16639f4a2c2f98d0b203bc6ddec16 Author: Peter Hutterer Date: Thu Mar 18 14:49:20 2010 +1000 ISDV4: print tablet ID after assigning it. Bug triaging is easier if the log file contains the tablet ID assigned by the driver. Signed-off-by: Peter Hutterer commit bda0e2263faabac5e13ae9dee968bd67555d8809 Author: Peter Hutterer Date: Wed Mar 17 23:26:42 2010 -0400 ISDV4: Parse touch and coordinate data packets. Signed-off-by: Peter Hutterer commit c6efe6b87d72448dd7b18bb6f056a064b587bc23 Author: Peter Hutterer Date: Wed Mar 17 22:46:42 2010 -0400 ISDV4: Move some ISDV-specific defines into the new header. Signed-off-by: Peter Hutterer commit 8a497d0c808ab749189501f0f360a1bf56d45770 Author: Peter Hutterer Date: Thu Mar 4 10:39:57 2010 +1000 ISDV4: move parsing code for query and touch query into separate functions. Instead of having the protocol parsing code directly in the matching functions, move it to a separate function and return a struct with the interesting data already set. This eases code readability and improves debugging between protocol parsing errors and general driver bugs. Signed-off-by: Peter Hutterer commit 72231173a14c69c30918f57f0b3be66a9bdd20de Author: Peter Hutterer Date: Tue Mar 16 14:16:09 2010 +1000 xsetwacom: fix wrong option parsing for --display. Reported-by: Andrew Lofthouse Signed-off-by: Peter Hutterer commit 6f98912927116fcf0067e30f010778b0e838f268 Merge: 4c2d47d d8d70c1 Author: Peter Hutterer Date: Tue Mar 16 16:03:32 2010 +1000 Merge branch 'isdv4-cleanup-stage1' For the branch merged in: Reviewed-by: Chris Bagwell Tested-by: Thomas Jaeger Signed-off-by: Peter Hutterer commit 4c2d47db27f90907301a67c096096a80383e69d7 Author: Ping Cheng Date: Mon Mar 15 21:14:41 2010 -0700 nbbuttons should be <= WCM_MAX_BUTTONS The workaround that supports at least 7 buttons could cause nbbuttons larger than WCM_MAX_BUTTONS, the maximum number of buttons that is supported by the driver. This patch keeps nbbuttons in its range. This patch also fixes a driver crash issue on ISDV4 with touch systems that may be caused by nbbuttons being larger than WCM_MAX_BUTTONS. The "may be" is backed up by the following testing result: 1. linuxwacom-0.8.5-11 has the same block of code. However, running linuxwacom-0.8.5-11 on the same ISDV4 system (Xorg 1.6.0) without this patch doesn't have the issue. 2. Running xf86-input-wacom without this patch on a pen only ISDV4 system doesn't have the issue either (Thomas Jaeger reported the same positive testing result too). So, there must be some other issues behind the crash that we don't understand yet. Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit d8d70c12395f856cffaeee2dfe02a03a028d2f18 Author: Peter Hutterer Date: Fri Mar 5 16:10:47 2010 +1000 ISDV4: move wcmWriteWait and wcmWaitForTablet errors into those functions. Instead of cluttering up the rest of the code, just complain where it happens. This needs a slight change to the two function signatures so we can print the device name too. Signed-off-by: Peter Hutterer commit 120e7514aef71aa6f2c32d0143f8466479ce02e7 Author: Peter Hutterer Date: Fri Mar 5 16:10:47 2010 +1000 ISDV4: move stopping the device out to isdv4StopTablet() Signed-off-by: Peter Hutterer commit 6d7395dceb215a8b14ebdb1b2903115e4e8a48bd Author: Peter Hutterer Date: Fri Mar 5 16:05:03 2010 +1000 ISDV4: use wcmWriteWait for the start/stop commands. If we already have a wrapper function, we might as well use it. Signed-off-by: Peter Hutterer commit b9317f264230c7aaad909cc83bf6f8d512df22c3 Author: Peter Hutterer Date: Fri Mar 5 11:59:04 2010 +1000 ISDV4: Rename the ISDV4-specific defines ISDV4_foo Signed-off-by: Peter Hutterer commit baafd08d3cfbb9dfee2b84cb74ca480d4e5606c7 Author: Peter Hutterer Date: Wed Mar 10 11:07:18 2010 +1000 ISDV4: use wcmSkipInvalidateBytes from wcmSerialValidate. Untangle the double if inside the loop to perform the same functionality: first check the header byte and if it has the magic bit set. If not, skip along to the next byte that does. Then, check that the remaining bytes don't have the magic bit set. If not, skip up to the first byte that does have the header bit set. This patch also changes the function signature so we can print the name of the device where it happens. Signed-off-by: Peter Hutterer commit 523af161bef98745e0d18814c09f0a22e8f2d453 Author: Peter Hutterer Date: Wed Mar 10 10:46:53 2010 +1000 ISDV4: skip bytes until the next HEADER_BIT if necessary. This is similar to what wcmSerialValidate() does but only does the skipping of an already started invalid packet. At this point we don't have the packet length defined yet so this is just an early exit path. Signed-off-by: Peter Hutterer commit b945afc82e83aab24d9d3d3320717e58c23b5c8f Author: Peter Hutterer Date: Tue Mar 9 15:13:56 2010 +1000 Fix invalid buffer handling in isdv4Parse(). Check the first byte of each packet for the bits that define the packet length, not just the first byte in the buffer. Signed-off-by: Peter Hutterer commit 62e14f05308fb0585fed771cc96280aef717bd91 Author: Peter Hutterer Date: Thu Mar 4 14:26:31 2010 +1000 Remove ISDV4-specific code from wcmReadPacket(). The packet length only matters on ISDV4, the code should be in the matching part of the source. Signed-off-by: Peter Hutterer Reviewed-by: Chris Bagwell commit 60dd6923f6b2df0d3c995c592b2c672960123fcb Author: Peter Hutterer Date: Thu Mar 4 14:15:51 2010 +1000 Pass the length of the buffer into the parsing code. Just handing down a data pointer is risky, since we can't do any model-specific checking for buffer length in the actual model-specific code. So instead, for any buffer size, call the parser. The parser then can return 0 if the length of the buffer isn't sufficient. Signed-off-by: Peter Hutterer Reviewed-by: Chris Bagwell commit f979ad42ef7c571d71f2e4dc9fb69042b276e59a Author: Peter Hutterer Date: Thu Mar 4 16:16:26 2010 +1000 Remove a bunch of now unused defines. Signed-off-by: Peter Hutterer Reviewed-by: Chris Bagwell commit 6703e6c60728cc080f6b194bcaa8f03795afab6a Author: Peter Hutterer Date: Thu Mar 4 14:07:35 2010 +1000 Purge Read() abstraction from the device models. We only support ISDV4 and usb tablets and both use the same read method. Signed-off-by: Peter Hutterer Reviewed-by: Chris Bagwell commit 91d806950738b4cd376066f09836c8fe951249cf Author: Peter Hutterer Date: Thu Mar 4 13:59:54 2010 +1000 Fix a superfluous linebreak. Signed-off-by: Peter Hutterer Reviewed-by: Chris Bagwell commit 546a2ee94aee8278dad5c1cdc9babe82caac94ff Author: Gaetan Nadon Date: Sat Mar 6 20:58:46 2010 -0500 wcmISDV4.c: error on AMD64: conflicting types for int64_t The header should come after xf86Wacom.h as it did when it was in wmValidateDevice.c Problem was introduced by commit 3d5f67417a0939d30a19e581a4f76091cfad4a5d Signed-off-by: Gaetan Nadon Signed-off-by: Peter Hutterer commit bdf6e5239ca4c7e8ab2a9b7c921176473d1e80c2 Author: Chris Bagwell Date: Thu Mar 4 19:41:57 2010 -0600 Fix usbGetRanges() for any load order of touch/pad For Bamboo P&T devices, both a touch and pad type are shared for single input device and can be called in any order based on xorg.conf. And normal HAL order is to invoke usbGetRanges() from pad first. This meant all logic related to IsTouch() was not correctly running. Updated to treat pad type as touch in special case of Bamboo P&T. This is applies to devices that have both BTN_TOOL_FINGER and BTN_TOOL_DOUBLETAP which currently is limitted to Bamboo touch devices. Signed-off-by: Chris Bagwell Reviewed-by: Peter Hutterer Reviewed-by: Ping Cheng Signed-off-by: Peter Hutterer commit 83f932844c8f21e6e4d461a1b754256844dd58d7 Author: Peter Hutterer Date: Mon Mar 1 22:08:48 2010 +1000 Fix pressure curve application check. 4865c30bf0a22ce4083161b1dd953508189b2091 unified the check for when to init the pressure curve. Unfortunately, it didn't actually do so, introducing a wrong if condition. Reported-by: Bryan Hundven Signed-off-by: Peter Hutterer commit d863ffd142919b24bd15fcdde31a9ee19cee39bc Author: Peter Hutterer Date: Mon Mar 1 13:45:56 2010 +1000 static-ify usbWcmInit. Signed-off-by: Peter Hutterer commit 836d30f6eee0e82b7ef874de0deb491ec0b17645 Merge: 701521e c145742 Author: Peter Hutterer Date: Mon Mar 1 09:58:09 2010 +1000 Merge branch 'init-process-revamp' For the patch series merged in: Tested-by: Chris Bagwell Acked-by: Ping Cheng Signed-off-by: Peter Hutterer commit c1457421d417f496949362f7fd858bae0f0a3bed Author: Peter Hutterer Date: Thu Feb 25 15:51:56 2010 +1000 man: update pressure curve documentation. Setting is only applicable for stylus and eraser. Reported-by: Chris Bagwell Signed-off-by: Peter Hutterer commit 4865c30bf0a22ce4083161b1dd953508189b2091 Author: Peter Hutterer Date: Thu Feb 25 15:48:36 2010 +1000 Unify the check for application of pressurecurve. The property code and wcmParseOptions should use the same condition for readability. Outcome is the same - the pressure curve is applied only to stylus and eraser. Reported-by: Chris Bagwell Signed-off-by: Peter Hutterer commit 37fa3c2e29a0ca6eadd0e7f054a17bd9c194ad0a Author: Peter Hutterer Date: Thu Feb 25 15:46:19 2010 +1000 Move the check for pressure curve value sanity into its own function. Instead of duplicating the check, move into a single function to avoid the usual bugs of one occurance getting updated but the others don't, etc. Reported-by: Chris Bagwell Signed-off-by: Peter Hutterer commit fb4f167c80290dd7be5c0a47f1e649115b157681 Author: Peter Hutterer Date: Thu Feb 25 14:14:46 2010 +1000 Clear up some ambiguity in the comments for wcmIsDuplicate. Signed-off-by: Peter Hutterer commit 35b3129889b7b51aae8d0b8dba130dad2a9b6a54 Author: Peter Hutterer Date: Thu Feb 25 14:07:41 2010 +1000 Refacture wcmMatchDevice to iterate over the devices. No functional change, it just removes complexity from wcmPreInit into wcmMatchDevice to make the former easier to read. Signed-off-by: Peter Hutterer commit 196cd5033311e9b3d30d121ed1e45046a1a99725 Author: Peter Hutterer Date: Thu Feb 25 14:00:16 2010 +1000 Purge wcmEraserID - unused. This field was only ever set, but never read from anywhere. It seems to have been removed with commit 088dab520184: Support dual Cintiq with TwinView setup Signed-off-by: Peter Hutterer commit cd9793f484c1f70b630a5cad3556c4966f1984ed Author: Peter Hutterer Date: Thu Feb 25 13:51:24 2010 +1000 Revamp device PreInit process. The new init process: - allocate the generic struct used by all device types. - if no device is given, auto-probe for one (find a wacom device in /dev/input/event? - open the device file - probe the device The allocation process is different now, the common settings are allocated for all devices, type-specific settings are set once some information about this device is available. The auto-dev probe is now invoked for each device that does not have the device option set. For this to work, we need the common->wcmDevice to be initialized to NULL. An option "Device" "auto-dev" is _not_ supported, it would be interpreted as file path and fail. Something for the future maybe. Probing could still be improved by getting more information from the device now instead of during open. Something else for the future. Signed-off-by: Peter Hutterer commit 0fbd3e34d792cb17163c1974d7e8ce93c24242a0 Author: Peter Hutterer Date: Thu Feb 25 13:24:10 2010 +1000 Always init wheel buttons to 4/5. Regardless of the type, we can init the wheel buttons since other device types don't generate them anyway. Signed-off-by: Peter Hutterer commit 43ce982801d6d3d84b98a8f5550df900c621b3b5 Author: Peter Hutterer Date: Thu Feb 25 09:32:17 2010 +1000 Init the pressurecurve property with the values from the device. Don't hardcode the defaults into the property code, use the stuff from priv->nPressCtrl (the actual device's values) instead. Reported-by: Chris Bagwell Signed-off-by: Peter Hutterer commit fa2981ff91fe044b780225edcbe29bb63b66a52c Author: Peter Hutterer Date: Wed Feb 24 16:52:09 2010 +1000 Open the fd only once during PreInit. Instead of having every function open and close the fd, just open it once towards the start of PreInit and then close it at the end again. Anything it between can just re-use it. This reshuffles some of the code in PreInit that was supposedly working when "auto-dev" was set. It wasn't, so this just emphasises the brokenness. Signed-off-by: Peter Hutterer commit 3d5f67417a0939d30a19e581a4f76091cfad4a5d Author: Peter Hutterer Date: Wed Feb 24 16:38:24 2010 +1000 Split wcmDeviceTypeKeys into usb and isdv4 version. The rest of the driver tries to split USB and ISDV4 interface and specifics into the matching source files, let's do the same with the probing. Signed-off-by: Peter Hutterer commit 211792fede6c5422f7cd767a2356b26dd89ba990 Author: Peter Hutterer Date: Wed Feb 24 16:23:30 2010 +1000 Rename wcmInit to wcmPreInit. The hook the server calls is named PreInit, so use the same name to avoid potential confusion with what this call actually does. Since we have misc. wcmInitializeFoobar as well, wcmPreInit somewhat expresses the intent a bit better. Signed-off-by: Peter Hutterer commit cb3e41b9c7709d1943d1bfebc463fe274eeb1a45 Author: Peter Hutterer Date: Wed Feb 24 16:16:29 2010 +1000 Untangle triple-nested ternery condition. Signed-off-by: Peter Hutterer commit 701521e9ce99dc7d0d276291539e2ee2abf8111c Author: Chris Bagwell Date: Tue Feb 23 20:55:38 2010 -0600 Remove user setting of MaxX/MaxY/MaxZ in xorg.conf. Any values specified by user in xorg.conf for MaxX/Y/Z and the MaxTouch* versions were always being overwritten during call to device->GetRanges(). This is a cleanup to remove this broken feature since users really should not need to touch this. Removing is much easier then getting user override values to work correctly for values that are set so late. This broken interface was not document to user in wacom man pages and users are more interested in BottomX/Y and pressure curves then the hopefully rare case of trying to debug new hardware. Signed-off-by: Chris Bagwell Reviewed-by: Peter Hutterer Reviewed-by: Ping Cheng Signed-off-by: Peter Hutterer commit c5425f05394082798207ae53fe0c4e034e59fffc Author: Peter Hutterer Date: Wed Feb 24 13:56:33 2010 +1000 man: remove reference to "USB" option. We don't parse this option anymore, it's implied unless ISDV4 is given. Signed-off-by: Peter Hutterer commit e07c501eb27357e70af85a930556948d5f1d3ac2 Author: Peter Hutterer Date: Wed Feb 24 13:53:21 2010 +1000 Update comment - wacom tool type property is read-only. Signed-off-by: Peter Hutterer commit ee4bb8e381bd52ef2cbaa04b57a07d6adfe5a0fa Author: Peter Hutterer Date: Wed Feb 24 11:21:14 2010 +1000 Only init pressure curve property for stylus and eraser. The mouse doesn't really have a pressure curve. And the pad doesn't either, so no need for this property. Signed-off-by: Peter Hutterer commit ab5672640586ee8b8e92e61b7b0b369768970f92 Author: Peter Hutterer Date: Tue Feb 23 21:24:04 2010 +1000 Only init strip and wheel buttons for the pad. AFAICT, there's no pens with scroll strips out there. Signed-off-by: Peter Hutterer commit 87c1d287b96bf335e16a96ecaf8a91ca085bf738 Author: Peter Hutterer Date: Tue Feb 23 18:01:21 2010 +1000 Only allow absolute mode for pads. The driver doesn't really know anymore whether a device is a core device or not since it may change at any time after an XIChangeHierarchy() call. Even then, a device is never a core device anyway - the master device it is attached to is. This code can't be triggered in server 1.7 or higher anyway, just purge it and return an error when trying to set the pad to relative mode. Signed-off-by: Peter Hutterer commit a3d4c8c5d0fa9eb30f201bd3e85584eb91ff9d98 Author: Peter Hutterer Date: Tue Feb 23 18:03:04 2010 +1000 Return XI_BadMode instead of BadMatch. BadMatch may "occur if an XSetDeviceMode request is made specifying a device that has no valuators and reports no axes of motion." XSetDeviceMode(3) This isn't the case for us, it's an invalid mode that has been selected here. Return XI_BadMode instead, the server will return this as BadMode as of: commit 02d1116e7eb84068fa32477f1640d29b0a81b638 Refs: xorg-server-1.7.99.901-12-g02d1116 Author: Peter Hutterer AuthorDate: Mon Jan 11 16:35:36 2010 +1000 Xi: assume BadMode for non-BadMatch errors returned from SetDeviceMode. Signed-off-by: Peter Hutterer commit 5a5370eda068e0d5271a61cee29e6c9658e242df Author: Peter Hutterer Date: Tue Feb 23 17:50:15 2010 +1000 Remove option replacement on SwitchMode call. I don't quite know why this is there but it strikes me as really really weird and the commit message for this code gives no indication on why it's necessary. Signed-off-by: Peter Hutterer commit 57fdd26c39eefa1c55437e5e1a8d02c51f74d104 Author: Peter Hutterer Date: Tue Feb 23 17:36:35 2010 +1000 Purge conversion proc and reverse conversion proc. The field is still there (for ABI reasons) but the server hasn't called either of these two since about 1.4 or so. Signed-off-by: Peter Hutterer commit 4a6760f71ca1dd5cd9ab0961c7b3519573dd5de1 Author: Peter Hutterer Date: Tue Feb 23 15:54:00 2010 +1000 Fix labelling in wcmInitialCoordinates. The axis lable describes the physical axis, not how the axis is currently used. Hence, the labelling for x/y on a wacom device is always for an absolute axis, even if the usage mode is relative. Signed-off-by: Peter Hutterer commit d8be906ae0509d8e2af30bcfd8398e656374d022 Author: Peter Hutterer Date: Tue Feb 23 15:51:09 2010 +1000 Rearrange wcmInitialCoordinates. Instead of a giant if/else block with essentially the same code, just work on both x/y and then just trigger for the right axis. This call isn't that expensive and readability trumps here. commit 521da1f0aa93dc239012149deef235d65b440bcd Author: Peter Hutterer Date: Tue Feb 23 15:42:54 2010 +1000 Be more explicit about axis check in wcmInitialCoordinates. Don't treat axis as a boolean variable, treat it as a number of 0 or 1 and error out if it is neither. Also - typo fix, "axes" is plural. Signed-off-by: Peter Hutterer commit ba90433d47d42f85cd135242bca9d580d270fd2c Author: Peter Hutterer Date: Tue Feb 23 14:27:38 2010 +1000 Purge unused fields from WacomModel struct. The following fields are not actually supported by any model we currently support, so the hooks are unused: Reset, EnableTilt, EnableSuppress, SetLinkSpeed since the WacomModel isn't exported ABI, we can just add it again if we ever need it in the future. Signed-off-by: Peter Hutterer commit 6cb822b7f7814059dc1302791721d021d843e4c9 Author: Peter Hutterer Date: Tue Feb 23 14:24:00 2010 +1000 Remove obsolete comment. wcmWait is not an XFrer86 V4 function. Signed-off-by: Peter Hutterer commit 68111d0bfa5813aae34d49dc894f5abb21fa0dce Author: Peter Hutterer Date: Tue Feb 23 11:16:51 2010 +1000 man: update man page for ButtonM option. Notes the usage of the driver-internal button mapping in more detail and updates the new default accommodating scroll wheels. Signed-off-by: Peter Hutterer commit 5780e59c43634a1458bb727fd90b63af228edfff Author: Peter Hutterer Date: Fri Feb 19 13:27:32 2010 +1000 Take scroll buttons into accounts when allocating buttons. X expects buttons 4-7 to be the scrolling directions, hence if our device has more than 3 buttons, we need to add 4 to the actual number of buttons reported. If the device has 3 buttons only, use 7 anyway so we can scroll. This affects the internal default button map as well, physical buttons need to be offset by 4 after the first three. Signed-off-by: Peter Hutterer Acked-by: Ping Cheng commit 9f9333c9a14c691cd4d9db483df63c69183c577d Author: Chris Bagwell Date: Tue Feb 23 20:55:39 2010 -0600 remove unused wcmUserResolv* variables. Cleanup. Variables not referenced by any real code. Signed-off-by: Chris Bagwell Signed-off-by: Peter Hutterer commit 00d77e5a913f619a206930009161f0a2da846d92 Author: Peter Hutterer Date: Mon Feb 22 15:52:53 2010 +1000 Remove keysym.h include - already included by Xwacom.h Signed-off-by: Peter Hutterer Acked-by: Ping Cheng commit 0f3e76dc2c62c3befd8f49a0e7498fa9bb183f60 Author: Peter Hutterer Date: Mon Feb 22 15:52:25 2010 +1000 Remove unnecessary fcntl.h include. Signed-off-by: Peter Hutterer Acked-by: Ping Cheng commit 102d57d618195cedb9cf90157e05eb282987345f Author: Peter Hutterer Date: Mon Feb 22 15:50:57 2010 +1000 Move exevents.h include to the files that need it. Signed-off-by: Peter Hutterer Acked-by: Ping Cheng commit 10e98ff6f6841a35ab5a89d2bb3202320e0cb32d Author: Peter Hutterer Date: Mon Feb 22 15:48:35 2010 +1000 Remove misc.h include - not needed. Signed-off-by: Peter Hutterer Acked-by: Ping Cheng commit c5c82b0fb4fdfccdc4a5e57684b9a359c9a488b1 Author: Peter Hutterer Date: Mon Feb 22 15:46:35 2010 +1000 Remove xisb.h include, use unistd.h instead. What we really need is usleep() and close(), both in unistd.h. Signed-off-by: Peter Hutterer Acked-by: Ping Cheng commit 49a633ea2913cf3df4c76a75760dc49224dc7818 Author: Peter Hutterer Date: Mon Feb 22 15:45:33 2010 +1000 Move xf86_OSproc include to the files that need it. Signed-off-by: Peter Hutterer Acked-by: Ping Cheng commit 8464a563ff9733d4c9f157c110328e2022ae4027 Author: Peter Hutterer Date: Mon Feb 22 15:42:56 2010 +1000 Move linux/input includes to wcmUSB.c Signed-off-by: Peter Hutterer Acked-by: Ping Cheng commit 0bb106dd19d3efea6a2bca21569f943a60ba2599 Author: Peter Hutterer Date: Mon Feb 22 15:34:50 2010 +1000 Move RESET_RELATIVE into ISDV4 code. This macro isn't needed anywhere else. Signed-off-by: Peter Hutterer Acked-by: Ping Cheng commit 705b881397589ceae57027e1b0840d25ed44cbac Author: Peter Hutterer Date: Mon Feb 22 15:29:12 2010 +1000 Remove QNX support defines. I doubt anyone has tested this driver on QNX for a while. Support for QNX was removed from the server in July 2008. (X server commit 0ff5bc404842f7264a8e77f9e2a0bd8d0b051356) Signed-off-by: Peter Hutterer Acked-by: Ping Cheng commit f1fb5c2037508fde409fd6f00bfaa62c4eb7cf69 Author: Peter Hutterer Date: Mon Feb 22 15:27:45 2010 +1000 Include config.h from wcmTouchFilter. Not including config.h may lead to quite interesting effects, often on 64 bit boxes. Signed-off-by: Peter Hutterer Acked-by: Ping Cheng commit d1fdc839fd1a0bbbb70c2063c2bd36f78c5bcf88 Author: Peter Hutterer Date: Mon Feb 22 15:25:35 2010 +1000 Declare functions once, then include the header files. Instead of declaring functions in the C file and externing them from wherever they are used, just declare them once in the header file. Signed-off-by: Peter Hutterer Acked-by: Ping Cheng commit e6d2b3c8a7c09c4258e5d25f11bcca1c8c4d5501 Author: Peter Hutterer Date: Mon Feb 22 15:12:40 2010 +1000 Remove unneeded function declaration. Signed-off-by: Peter Hutterer Acked-by: Ping Cheng commit 0815cc870bc242756b6b9743d975f3c5dcb9d7e4 Author: Ping Cheng Date: Thu Feb 18 10:54:28 2010 +1000 Fix copy/paste error in license header referring to LGP instead of GPL. xf86-input-wacom (and linuxwacom) is licensed under the GPL, not the LGPL as the first paragraph of the license blurb states: * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. The reference to LGPL to see the details of the license was the result of a copy/paste error and has spread through all source files thanks to more copy/paste. Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit cd2ed486b739c1b240a85394e819a93e55cd119c Author: Peter Hutterer Date: Wed Feb 17 16:36:26 2010 +1000 Remove unnecessary static declaration. This function is defined just three lines down, we don't need a declaration for it. Signed-off-by: Peter Hutterer Reviewed-by: Ping Cheng commit 58c9e59b03c7e439b81bb5c05841bbb02883404f Author: Chris Bagwell Date: Sun Feb 14 15:14:46 2010 -0600 centralize setting default values to single place Setting relative mode default for bamboo was delayed only because common->tablet_id wasn't avaliable early enough. Now that its value is around, move setting default values to single location. Signed-off-by: Chris Bagwell Signed-off-by: Peter Hutterer commit 2805bae9797104b641db32740b5ba41d4642d5c6 Author: Chris Bagwell Date: Sun Feb 14 13:43:43 2010 -0600 Find tablet_id earlier in init sequence. common->tablet_id is used in wcmInit() to decide things like defaulting to relative mode for bamboo P&T's but it is not set until after return from first call to wcmInit(). Now query and store the tablet_id at same time that we are discovering its other features. Signed-off-by: Chris Bagwell Reviewed-by: Ping Cheng Signed-off-by: Peter Hutterer commit 052efcae93994eb17bbe7532c3bbbfb3443b37ab Author: Przemo Firszt Date: Sat Feb 13 13:15:09 2010 +0000 Fix typo ; -> , in xsetwacom.c The typo is in xsetwacom: .prop_offset = 10; should be .prop_offset = 10, Signed-off-by: Przemo Firszt Signed-off-by: Peter Hutterer commit 12ad08b854b631556171e7a9c1028aa51082f038 Author: Przemo Firszt Date: Wed Feb 10 22:31:14 2010 +0000 Add missing .prop_offset = 10 to SBottomX2 property Another one attached -- Przemo From 058aa88f7b320d743f3642b8f543be6736d33192 Mon Sep 17 00:00:00 2001 From: Przemo Firszt Date: Wed, 10 Feb 2010 22:19:41 +0000 Subject: [PATCH 3/3] Add missing .prop_flag to SBottomY2 Signed-off-by: Przemo Firszt Signed-off-by: Peter Hutterer commit a6620e2c8b04482e52d5674623deac2c00c2e4e2 Author: Przemo Firszt Date: Wed Feb 10 22:08:58 2010 +0000 Add missing .prop_offset = 10 to SBottomX2 property Signed-off-by: Przemo Firszt Signed-off-by: Peter Hutterer commit a7b543f4fa2c09df52db5c0819ef7684eee9e442 Author: Gaetan Nadon Date: Mon Feb 8 20:42:23 2010 -0500 config: move compiler flags to src/Makefile.am The -fno-strict-aliasing option was added in CWARNFLAG some times ago. Aside from the issue that it isn't a warning flag, being in this macro had the side-effect of affected all modules when just a few needed it. The plan is to transfer this option back to the module that are actually using CWARNFLAG. Each module can then decide if they really want it or not. This patch is just prep work. The net change will be that strict aliasing optimization will be performed (by default in -O2) and -Wstrict-aliaing=2" will be added to flag suspicious code. This has not been submitted for review yet. Signed-off-by: Gaetan Nadon Signed-off-by: Peter Hutterer commit 2ceff910bfe6d7a8a92ff3d7373e5ff4d0a19105 Author: Peter Hutterer Date: Sat Jan 23 20:32:04 2010 +1300 man: remove leftover CVS tag. Signed-off-by: Peter Hutterer Reviewed-by: Ping Cheng commit e90cb9a4ebaf68d4b417b71feee0a26d17d12349 Author: Peter Hutterer Date: Mon Feb 8 11:35:36 2010 +1000 xsetwacom: shut up compiler warning. d cannot be used uninitialized given the code flow, but gcc doesn't know that. Signed-off-by: Peter Hutterer Reviewed-by: Ping Cheng commit cbc8e88b1440af3f9206797a199374a8c6f991d9 Author: Peter Hutterer Date: Fri Feb 5 15:58:59 2010 +1000 Remove a few excessive braces. Signed-off-by: Peter Hutterer Reviewed-by: Ping Cheng commit 065ba1d4d90e4cbeb38a8475a75217c2081ad0b1 Author: Peter Hutterer Date: Fri Feb 5 15:52:59 2010 +1000 Remove a bunch of unused defines. Looks like they became obsolete with b3cba4e3543a98103282ba8fa55bf38012d23d9f. Signed-off-by: Peter Hutterer Reviewed-by: Ping Cheng commit cf182bb4c65c0a43dad15bcff48c0c17fb652506 Author: Peter Hutterer Date: Fri Feb 5 15:22:11 2010 +1000 wcmDeviceTypeKeys: use sscanf instead of manual conversion. Signed-off-by: Peter Hutterer Reviewed-by: Ping Cheng commit 939bb7e9dad031926252e9da6f329f62b2366bcd Author: Peter Hutterer Date: Fri Feb 5 15:12:57 2010 +1000 wcmDeviceTypeKeys: Move some serial-only stuff into the serial condition. Neither the strstr nor the memset is needed for USB devices. Signed-off-by: Peter Hutterer Reviewed-by: Ping Cheng commit 59e9e97e6e21fbb01856e89b5a2dfe7ede0a7823 Author: Peter Hutterer Date: Fri Feb 5 15:09:12 2010 +1000 Add explanatory comment about what wcmDeviceTypeKeys actually does. Signed-off-by: Peter Hutterer Reviewed-by: Ping Cheng commit 3402bd24b91f651215cc60f255cd9678f24a64fe Author: Peter Hutterer Date: Fri Feb 5 15:07:08 2010 +1000 Un-nest ID check. This doesn't have a functional change, but it makes the code a tad easier to read. Signed-off-by: Peter Hutterer Reviewed-by: Ping Cheng commit a8d82d4a94b06b715f55d686d567cc6d34f87968 Author: Peter Hutterer Date: Fri Feb 5 15:04:24 2010 +1000 Remove erroneous comment. This part doesn't test if the tool is available, it simply copies the bits from the kernel. Testing is done later, somewhere else. Signed-off-by: Peter Hutterer Reviewed-by: Ping Cheng commit c90350d148d3c2feec2bceedb83c61a81608a4fc Author: Chris Bagwell Date: Sun Feb 7 20:49:55 2010 -0600 Fix zoom gesture crash. Make emitKeysym public. emitKeysym is used by multiple files so can't be static. Made public and renamed to wcmEmitKeysym to better prevent symbol name conflicts. This also fixes a crash with zoom gestures. Signed-off-by: Chris Bagwell Signed-off-by: Peter Hutterer commit 9a25bb87e7e7dc9ddf80b842b856c9bab6641460 Author: Denis Auroux Date: Thu Feb 4 10:27:46 2010 +1000 xsetwacom: stop processing options after the last option was encountered. Adding a "+" at the beginning of the getopt_long parameter string so that it won't try to look for options after non-options (in particular, a negative number in a set command is no longer considered to be an invalid command-line option). Signed-off-by: Denis Auroux Signed-off-by: Peter Hutterer commit f18af429dd7eddbb5df64a337d138ad9596c87c7 Author: Przemysław Firszt Date: Tue Feb 2 19:46:29 2010 +0000 Rename xf86Wcm{Read,Write} to xf86{Read,Write}Serial The xf86Wcm{Read,Write} macros no longer exist, so the modified comments are more precise with xf86{Read,Write}Serial Signed-off-by: Przemo Firszt Reviewed-by: Ping Cheng Signed-off-by: Peter Hutterer commit 77e3aba3ed9bf2ed09f25f277a2647887c9f23fe Author: Przemo Firszt Date: Sun Jan 24 16:53:58 2010 +0000 Rename xf86Wcm* to wcm* - part 3 xf86WcmInitialToolSize -> wcmInitialToolSize xf86WcmSetPadCoreMode -> wcmSetPadCoreMode xf86WcmDevSwitchModeCall -> wcmDevSwitchModeCall xf86WcmChangeScreen -> wcmChangeScreen xf86WcmInitialCoordinates -> wcmInitialCoordinates xf86WcmVirtualTabletSize -> wcmVirtualTabletSize xf86WcmSendButtons -> wcmSendButtons xf86WcmVirtualTabletPadding -> wcmVirtualTabletPadding xf86WcmFingerTapToClick -> wcmFingerTapToClick xf86WcmSetScreen -> wcmSetScreen xf86WcmAllocate -> wcmAllocate xf86WcmInitialTVScreens -> wcmInitialTVScreens xf86WcmSendEvents -> wcmSendEvents xf86WcmDevConvert -> wcmDevConvert xf86WcmDevReverseConvert -> wcmDevReverseConvert xf86WcmDevProc -> wcmDevProc xf86WcmDevControlProc -> wcmDevControlProc xf86WcmDevChangeControl -> wcmDevChangeControl xf86WcmDevOpen -> wcmDevOpen xf86WcmInitTablet -> wcmInitTablet xf86WcmDevSwitchMode -> wcmDevSwitchMode xf86WcmSetProperty -> wcmSetProperty xf86WcmReady -> wcmReady xf86WcmDevReadInput -> wcmDevReadInput xf86WcmDevClose -> wcmDevClose xf86WcmOpen -> wcmOpen xf86WcmInitArea -> wcmInitArea xf86WcmRegisterX11Devices -> wcmRegisterX11Devices xf86WcmKbdCtrlCallback -> wcmKbdCtrlCallback xf86WcmBellCallback -> wcmBellCallback xf86WcmKbdLedCallback -> wcmKbdLedCallback xf86WcmCheckSource -> wcmCheckSource xf86WcmFingerZoom -> wcmFingerZoom xf86WcmFingerScroll -> wcmFingerScroll xf86WcmSwitchLeftClick -> wcmSwitchLeftClick xf86WcmSendVerticalScrollEvent -> wcmSendVerticalScrollEvent xf86WcmSendHorizontalScrollEvent -> wcmSendHorizontalScrollEvent xf86WcmUninit -> wcmUninit xf86WcmInit -> wcmInit xf86WcmMatchDevice -> wcmMatchDevice xf86WcmVersionRec -> wcmVersionRec xf86WcmPlug -> wcmPlug xf86Wcmplug -> wcmUnplug Signed-off-by: Przemo Firszt Reviewed-by: Ping Cheng Signed-off-by: Peter Hutterer commit 1a5dd3a205c4a3a1d5f14305f5d3e98b1573017d Author: Przemysław Firszt Date: Fri Jan 29 20:13:03 2010 +0000 Fix typo in comment: xf86WcmReadSerial is xf86ReadSerial From 482e08fd52c95a0b1197a004086907a9e6ed3230 Mon Sep 17 00:00:00 2001 From: Przemo Firszt Date: Fri, 29 Jan 2010 18:42:19 +0000 Subject: [PATCH 1/2] Fix typo in comment: xf86WcmReadSerial is xf86ReadSerial Signed-off-by: Przemo Firszt Signed-off-by: Peter Hutterer commit e756c8e0e013340e91589a5576ec83f847e5a689 Author: Gaetan Nadon Date: Mon Jan 25 15:38:02 2010 -0500 config: add make target to provide the INSTALL file. The file is globally provided by the util-macros module through the XORG_INSTALL macro in XORG_DEFAULT_OPTIONS. Signed-off-by: Gaetan Nadon Signed-off-by: Peter Hutterer commit d1aaa376207b5aef6a058c5f3a4cae7121f918a0 Author: Przemo Firszt Date: Sun Jan 17 11:54:40 2010 +0000 Move wcmTilt2Rotation function to wcmFilter.c wcmTilt2Rotation function is now in wcmFilter.c, so wcmTilt2Rotation.c has been removed. Signed-off-by: Przemo Firszt Tested-by: Ping Cheng Signed-off-by: Peter Hutterer commit 69aa4e1139cc81436ea7658b8e9d97f5c6860607 Author: Ping Cheng Date: Sat Jan 16 10:12:12 2010 +0000 Being part of the tilt2Rotation team For the fun of coding and hopefully, as a by-product, improving the precision Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit e4aed3e13f00d7e6fc2d2d1379a92187203413a2 Author: Przemo Firszt Date: Sat Jan 16 10:01:01 2010 +0000 Remove hardcoded rotation tables from wcmTilt2Rotation.c Rotation tables are replaced with atan2 function. It gives the same functionality as rotation tables. Signed-off-by: Przemo Firszt Tested-by: Ping Cheng Signed-off-by: Peter Hutterer commit c8176267aec7dbc6cd248f9bd2a9c36df88c84cd Author: Gaetan Nadon Date: Sun Jan 17 09:20:16 2010 -0500 .gitignore: use common defaults with custom section # 24239 Using common defaults will reduce errors and maintenance. Only the very small or inexistent custom section need periodic maintenance when the structure of the component changes. Do not edit defaults. Signed-off-by: Gaetan Nadon Signed-off-by: Peter Hutterer commit ad4f40386739ac87adefce5493554df6a8a118e2 Author: Chris Bagwell Date: Thu Jan 14 13:32:52 2010 -0600 Default touch Mode to Relative for Bamboo P&T Touch screens and Touch Pads are sharing same type. Make their Mode defaults match normal operating behavior which means change Bamboo P&T default to relative. Simplify error case and rely of default values from initialization phase. Signed-off-by: Chris Bagwell Tested-by: Ping Cheng Signed-off-by: Peter Hutterer commit d6a194c80623c5306d60ee3f234863b3b4bacc6d Author: Peter Hutterer Date: Fri Jan 15 15:42:49 2010 +1000 wacom 0.10.4 Signed-off-by: Peter Hutterer commit edf28df08b557ea6b7edb6c721670745c9e59cb6 Author: Peter Hutterer Date: Thu Dec 24 21:18:10 2009 +1000 Protect against input ABI 9 and the input attributes. XINPUT_ABI 9 introduced InputAttributes to NIDR. Attributes are assigned by the config backend (or the configuration). Hence, by the time they hit the driver they've been converted into options already. From the driver's POV, duplicating the options is enough, especially since the driver cannot know which attributes apply to the device anyway. Signed-off-by: Peter Hutterer commit 01ff37c1a0a1bf74c8efb0ad2ee7b1c1792f98df Author: Przemo Firszt Date: Sat Jan 9 17:18:01 2010 +0000 Add Meta keys to xsetwacom Signed-off-by: Przemo Firszt Signed-off-by: Peter Hutterer commit 216c61a249c73aa44d98d837f1b5ae94a5a51559 Author: Ron Lee Date: Sat Jan 9 22:38:58 2010 +1030 Install the fdi as DATA not a SCRIPT This is xml it isn't executable. Signed-off-by: Ron Lee Signed-off-by: Peter Hutterer commit d4d6dd1aca5c2b79cfb68211491c01442f7597d2 Author: Peter Hutterer Date: Wed Jan 6 13:14:23 2010 +1000 xsetwacom: the capacity property is 32 bit. Reported-by: Chris Bagwell Signed-off-by: Peter Hutterer commit edf71d2a664f6ed2a3ecccf77760c31410017444 Author: Przemo Firszt Date: Mon Jan 4 23:13:06 2010 +0000 Remove duplicate comment in xf86WacomDefs.h Signed-off-by: Przemo Firszt Signed-off-by: Peter Hutterer commit 118027d6704ad8b3162ed06fc02d1dbdcc877485 Author: Przemo Firszt Date: Mon Jan 4 18:48:54 2010 +0000 Fix wacom.fdi location in Makefime.am Signed-off-by: Przemo Firszt Signed-off-by: Peter Hutterer commit e9ab3c9c35d0991fb7c7624cccd76baae4e02bcf Author: Ping Date: Wed Dec 30 21:12:47 2009 -0800 Restore valid small data packets Protocl 4 devices may send small, such as 2 or less, valid events in one data packet Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit 1583ee5a9fd9486d540ecf639dda53d5e2e7502e Author: Peter Hutterer Date: Tue Dec 29 21:01:43 2009 +1000 Update README to reflect current state a bit better. This driver is an X11 driver only, and the configure options are explained by configure --help. Let's not mirror this in the README, it may diverge otherwise. Add a very simple explanation on how to set up the driver fro hotplugging with HAL, xorg.conf configuration is better explained in the man page. Signed-off-by: Peter Hutterer commit 27addb06d4ebf6f8988a14174b2823c1a4ab1504 Author: Przemysław Firszt Date: Wed Dec 23 15:20:57 2009 +0000 Rename xf86Wcm* to wcm* - part 2 Rename xf86WcmTilt2R to wcmTilt2R Rename xf86WcmMappingFactor to wcmMappingFactor Change xf86WcmWrite to wcmWriteWait in comment Rename xf86WcmInitialScreens to wcmInitialScreens Rename xf86WcmDesktopSize to wcmDesktopSize Reneme xf86WcmIsWacomDevice to wcmIsWacomDevice Rename xf86WcmRotateTablet to wcmRotateTablet Rename xf86WcmSuppress to wcmCheckSuppress It's wcmCheckSuppress instead of wcmSuppress to avoid collision with variable with the same name used in xf86WacomDefs.h Rename some Wcm* to wcm* to keep function names consistent Signed-off-by: Przemo Firszt Signed-off-by: Peter Hutterer commit 2a388e56688300c437926eff2915b10e6e6a06d9 Author: Peter Hutterer Date: Sun Dec 27 08:27:31 2009 +1000 xsetwacom: get "all" is a read-only parameter. Signed-off-by: Peter Hutterer commit 7972d9a18fba31d3f7da71aab8f10c10b84c3dd4 Author: Peter Hutterer Date: Sun Dec 27 08:23:49 2009 +1000 xsetwacom: special output for write-only options. So far we only have xyDefault as write-only option but having some more user-friendly output is helpful. Signed-off-by: Peter Hutterer commit 25abbc8e8268466bd720378e7c1e2156206d66e5 Author: Peter Hutterer Date: Thu Dec 24 21:20:48 2009 +1000 xsetwacom: Print error message when attempting to change read-only options. Signed-off-by: Peter Hutterer commit 62900e48b54855daec8a74f6b28591411c2f76fa Author: Peter Hutterer Date: Thu Dec 24 21:07:58 2009 +1000 Re-indent property code to what's used in the rest of the driver. All files use 8-char tab indentation, not 4 spaces. Re-indent to be conform with the rest of the code. Signed-off-by: Peter Hutterer commit 988bc36f58da94eb67f83e33b9b1f2499acaba36 Author: Peter Hutterer Date: Thu Dec 24 08:55:16 2009 +1000 wacom 0.10.3 Signed-off-by: Peter Hutterer commit 0ac1c3810824b43fb8439d72d116e379e01e5030 Author: Ping Cheng Date: Tue Dec 22 18:06:34 2009 -0800 Fix a tablet rotation bug. Caused by the misuse of maximum X and Y. Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit 82408de786df12efa1f5f0ec9d0f5754f9c61bf7 Author: Ping Cheng Date: Tue Dec 22 17:59:41 2009 -0800 Validate the active tablet area before initializing the area Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit 72c69cfc60d6b762415828930a63e485aa00185f Author: Ping Cheng Date: Tue Dec 22 17:48:09 2009 -0800 Add local maxX, maxY, resolX, and resolY Instead of switching maximum and resolution back and forth between touch and penabled devices globally, we define them into WacomDevice. The values are initialized in xf86WcmInitialToolSize once and used through out the life of the device. Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit fe2d108ac2e2bbddc1a8dba96550e737a15aee9e Author: Ping Cheng Date: Tue Dec 22 17:12:05 2009 -0800 Add routine wcmRotateCoordinates Both wcmCommon.c and wcmTouchFilter.c need to rotate x and y before sending X input events. wcmRotateCoordinates is added to wcmCommon.c so it can serve both cases. Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit aa5c91c68ce9e3c758b584359f9c18f6ce88250e Author: Ping Cheng Date: Tue Dec 22 18:14:58 2009 -0800 xsetwacom: update usage help for Rotate option Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit 398689d3a26bd5aa4ea715e9690a233b7a02fd70 Author: Peter Hutterer Date: Wed Dec 23 13:29:28 2009 +1000 xsetwacom: make parameters case-insensitive. This replicates the behaviour of the old xsetwacom, making xsetwacom ... TopX the same as xsetwacom ... topx. Reported-by: Ping Cheng Signed-off-by: Peter Hutterer commit c68fed3f13ca1335af548b88da72c27362d10ebd Author: Peter Hutterer Date: Wed Dec 23 11:25:20 2009 +1000 Add "Wacom Debug Levels" property. This property is only present if compiled with --enable-debug and allows for run-time modification of the debug levels. Values supported are 0 to 10, with 10 being the most verbose. xsetwacom --set "device name" DebugLevel 10 xsetwacom --set "device name" CommonDBG 10 Since this is a driver-internal property clients are discouraged from using this property for any purpose. It may disappear or change without warning in future releases of the driver. Signed-off-by: Peter Hutterer commit 2e03f1cde879fb9d16d21d79f4c71fcab703a578 Author: Peter Hutterer Date: Wed Dec 23 11:07:52 2009 +1000 Remove now superfluous name prints. The DBG macro prints the device name/device file automatically. Signed-off-by: Peter Hutterer commit 2429513915ee11e42e44068c1f8f66ff179cd534 Author: Peter Hutterer Date: Wed Dec 23 10:38:11 2009 +1000 Auto-prepend device name/file to debug messages. Add a new "name" field to the WacomDeviceRec. This field is at the same offset as the wcmDevice Field of the WacomCommonRec, hence the access to either is the same if casted. Then use this field to auto-prepend either the device name or the device file wherever a DBG macro is used. The output for DBG on priv is now (II) Wacom Intuos4 6x9 (xf86WcmMappingFactor): X factor = 0.0258, Y factor = 0.0309 and for DBG on common (II) /dev/input/event13 (wcmReadPacket): buffer has 112 bytes Signed-off-by: Peter Hutterer commit bdc40d1a769229082cf91f8fd344f230996a6440 Author: Peter Hutterer Date: Wed Dec 23 10:25:05 2009 +1000 common and priv both have debugLevel, just pass them in as-is. Signed-off-by: Peter Hutterer commit ea0591783f7c32dc9c650bc1b1f12a7c62379991 Author: Peter Hutterer Date: Wed Dec 23 10:03:16 2009 +1000 Merge the function name into the DBG macro. Each time DBG is called, prefix with __func__ regardless of the actual message. An empty DBG string thus prints "function name:". Signed-off-by: Peter Hutterer commit 0501b9977050dbec74c72dbd8c78f2b72df43ab9 Author: Peter Hutterer Date: Wed Dec 23 09:43:12 2009 +1000 Merge the xf86Msg into the DBG macro. All DBG macros call this function, there's no need to have it inside the macro, we might as well leverage __VA_ARGS__. Signed-off-by: Peter Hutterer commit 2fa1308110639d89c63a197efb53bd3b3791a51f Author: Przemo Firszt Date: Tue Dec 22 19:49:54 2009 +0000 Rename xf86Wcm* to wcm* Rename xf86WcmFilterCoord to WcmFilterCoord Rename xf86WcmSetPressureCurve to wcmSetPressureCurve Rename xf86WcmFilterIntuos to wcmFilterIntuos Rename xf86WcmSerialValidate to wcmSerialValidate Rename xf86WcmWaitForTablet to wcmWaitForTablet Rename xf86WcmWriteWait to wcmWriteWait Rename xf86WcmWait to wcmWait Rename xf86WcmReadPacket to wcmReadPacket Rename xf86WcmEvent* to wcmEvent* Signed-off-by: Przemo Firszt Signed-off-by: Peter Hutterer commit a2f89b40e54e2abc854af42453160488ff22499f Author: Ping Cheng Date: Mon Dec 21 16:52:28 2009 -0800 Remove area overlap check for area property Temporarily change the area to the new coordinates, do the range overlap check and then change it back to the original. This is needed since otherwise the area overlap check always fails (since the new area will be mostly identical to the current one). New behaviour: all four coordinates set to -1 reset the area to the defaults. Signed-off-by: Ping Cheng commit 781bb48a2ccfb2f6c12f53bc93f5a123af65bc26 Author: Ping Cheng Date: Mon Dec 21 13:32:54 2009 -0800 Send horizontal scroll gesture with button 6 and 7 events On older X servers, button 6 and 7 don't do anything special; on X server 1.7 and later, they are being translated into left and right scroll events. This patch changes left/right arrow to button 6/7 for horizontal scroll events. Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit e243805faabc14826bcea227c6ed2d0a13a3467a Author: Peter Hutterer Date: Tue Dec 15 07:34:10 2009 +1000 Use xf86Msg instead of ErrorF for debug messages. ErrorF is supposed to be used in the server, drivers are better off calling xf86Msg since this uses the appropriate prefixes. Signed-off-by: Peter Hutterer commit c04fb18412be3908678cf3fc68a899272e6835bb Author: Peter Hutterer Date: Mon Dec 21 16:49:35 2009 +1000 Fix touch property out-of-bounds memory access. 4fd2af39a5432eaad03af6a48cd16988a165fbbb split out the touch setting from a combined property into its own separate one. The index didn't get updated though, which means wcmTouch was assigned random garbage. Signed-off-by: Peter Hutterer Tested-by: Ping Cheng commit a6ac60245f3c121979c18e70b40045aa751d6c54 Author: Peter Hutterer Date: Thu Dec 17 11:44:38 2009 +1000 xsetwacom: add support for "xsetwacom --get all" Signed-off-by: Peter Hutterer commit c6c8f23a17390d7f11d92e7cbbe70ca1a57b62e2 Author: Peter Hutterer Date: Thu Dec 17 11:43:00 2009 +1000 xsetwacom: split get() into get() and get_param(). This makes get_param() the same signature as the other, specific, get() functions and get() a simple wrapper around it. Signed-off-by: Peter Hutterer commit 0937d89a8d364b1150d68097527f2e92ba2639c6 Author: Peter Hutterer Date: Thu Dec 17 10:24:00 2009 +1000 xsetwacom: init nwords to 0 before adding to it in strjoinsplit. nwords is a return value and needs to be initialized before adding to it. Reported-by: Przemysław Firszt Signed-off-by: Peter Hutterer commit b7e90296453b536b00a2857d978fd53a72d77c0b Author: Przemo Firszt Date: Thu Dec 17 20:24:38 2009 +0000 Remove redundant xf86WcmMappingFactor calls No need to call xf86WcmMappingFactor before xf86WcmInitialCoordinates because xf86WcmInitialCoordinates calls it anyway. Signed-off-by: Przemo Firszt Signed-off-by: Peter Hutterer commit 463c5d1effa3505d54a5a520d143919ad1befc69 Author: Ping Cheng Date: Tue Dec 15 21:05:38 2009 -0800 Support 2FGT gesture There are 3 gesture features: second finger tap to right click (GESTURE_TAP_MODE) vertical/horizontal scroll (GESTURE_SCROLL_MODE) and zoom in/out (GESTURE_ZOOM_MODE) Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit dea6383b30e1695acc6183aa098a4e056640596c Author: Peter Hutterer Date: Thu Dec 17 11:50:34 2009 +1000 xsetwacom: don't line-break after 32 bit values and Absolute/Relative. Signed-off-by: Peter Hutterer commit a11cbb104b7a511d0f1292d169a9738ae4f91476 Author: Peter Hutterer Date: Tue Dec 15 13:48:44 2009 +1000 xsetwacom: don't release modifiers unless explicitly stated modifiers are interpreted as "+keysym" only if the + or - are missing. This allows for configurations like "key shift" to work properly. Signed-off-by: Peter Hutterer commit dbec45bbd0d594a1f4229f6ad7e7a71890331305 Author: Peter Hutterer Date: Tue Dec 15 13:33:51 2009 +1000 xsetwacom: fix handling of unknown modifiers. Previous conditions were broken, key F1 wouldn't parse (key f1 would though) and providing a real modifier (Shift_L) would break too. Function keys (lowercased) are now handle like modifier keys, if a modifier couldn't be mapped check with XStringToKeysy if it's valid. Signed-off-by: Peter Hutterer commit b9d5e7319f83ee608a216a17e9a59621bedb7e58 Author: Peter Hutterer Date: Tue Dec 15 12:29:17 2009 +1000 Release keys still down when a button is released. xsetwacom --set "Button1" "key +shift" keeps the shift key down until the button is released, allowing it to work like a real modifier. Signed-off-by: Peter Hutterer commit b009e88c4ca2a72d286d15b44426150e792acd5d Author: Peter Hutterer Date: Tue Dec 15 12:11:12 2009 +1000 Fix up btnaction property setting. Buggy behaviour meant that unsetting a property got never removed from the property handlers. Since we only support one action per button anyway, simply overwriting the current one is enough. The static array isn't enough either, it's shared within the driver, hence updating the property on one device will update it on the other. Move it into the priv struct. Signed-off-by: Peter Hutterer commit 1721220517c2e5d4833ea1bb116b10c1e4e2fa62 Author: Ping Cheng Date: Mon Dec 14 20:51:13 2009 -0800 Set Touch and Gesture options during the configuration We moved the touch and gesture option check from usbWcmInit to wcmValidateDevice.c since usbWcmInit gets called every time the device is opened, which is unnecessary for option check in most cases. The Tablet PC Button option should also be dealt in the same way. But it requires extra defines to make it clean, which will affect more files in the driver. We'll do it in a separate patch later. Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit 7c3c5c02cc80596f89a56b19eae40a28627162bb Author: Ping Cheng Date: Wed Dec 16 09:38:40 2009 +1000 Enable Serial ISDV4 2FGT tool type in wcmDeviceTypeKeys Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit c1c5e4c91b2474fc3bce7029181af61e369bd7d3 Author: Ping Cheng Date: Mon Dec 14 21:29:53 2009 -0800 Report time stamp for 2FGT gesture 2FGT gesture needs to know the time that an event was received to decide what gesture mode users may want. Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit 44ee577ee561c4c27cf05c9c32e57b947972c982 Author: Peter Hutterer Date: Tue Dec 15 11:56:29 2009 +1000 xsetwacom: button numbers are one-indexed, store button action accordingly. Signed-off-by: Peter Hutterer commit 5e94aa26a263de8184695fb66a7e95e89a6df0bf Author: Peter Hutterer Date: Mon Dec 14 16:42:27 2009 +1000 Fix typo: xf86WcmVirtualTabletSize → xf86WcmVirtualTabletSize Signed-off-by: Peter Hutterer Reviewed-by: Ping Cheng commit 7958f096a82d7c8c5f27b9a37ae1e9036343d5e5 Author: Peter Hutterer Date: Mon Dec 14 16:50:55 2009 +1000 Remove stray semicolon after if condition No wonder changing the TopY didn't work... Signed-off-by: Peter Hutterer commit 05c37b09260ee0388cb4de2e0a5825df8e96b2aa Author: Peter Hutterer Date: Mon Dec 14 16:14:56 2009 +1000 xsetwacom: don't crash on xsetwacom get without a param. Signed-off-by: Peter Hutterer commit 70a1a852f62d9439cbd3ca09ca500cc95716d88a Merge: bffe7c2 3977da2 Author: Peter Hutterer Date: Mon Dec 14 09:01:42 2009 +1000 Merge branch 'xsetwacom' Conflicts: src/wcmXCommand.c commit bffe7c23591c0d1ae70e73a27fab669d4a190ade Author: Przemo Firszt Date: Sun Dec 13 17:28:59 2009 +0000 Quiet gcc warning about not used xf86WcmKbdLedCallback function xf86WcmKbdLedCallback is used only for ABI < 5, so there is no need to define it for newer ABI. Signed-off-by: Przemo Firszt Signed-off-by: Peter Hutterer commit 3977da27de9240041a64b7c8a1c731d2102b0104 Author: Peter Hutterer Date: Fri Dec 11 11:54:16 2009 +1000 xsetwacom: handle "on"/"off" for boolean properties. Reported-by: CJ van den Berg Tested-by: CJ van den Berg Signed-off-by: Peter Hutterer commit a8a0a65457d2f7516c5781bddba23acfdd263889 Author: Ping Cheng Date: Fri Dec 11 14:21:47 2009 -0800 Update TPCButton check Also updated some TPCButton related comments Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit 3c5ce9f7052c1a51208458c588c82bff56ca9ff2 Author: Przemo Firszt Date: Wed Dec 9 20:17:17 2009 +0000 Rename xf86Wcm* generic area check functions to Wcm* (xf86)WcmPointInArea, (xf86)WcmAreasOverlap & (xf86)WcmAreaListOverlaps are not part of X interface, so xf86 prefix is not needed. Signed-off-by: Przemo Firszt Signed-off-by: Peter Hutterer commit 34042b54581ad02b64452c4a898f2307718ae511 Author: Przemo Firszt Date: Wed Dec 9 19:56:47 2009 +0000 Move xf86WcmPointInArea, xf86WcmAreasOverlap & xf86WcmAreaListOverlap Those 3 functions shouldn't be in wcmConfig.c as they have nothing to do with configuring the device. wcmCommon.c is much better place for generic functions. Signed-off-by: Przemo Firszt Signed-off-by: Peter Hutterer commit 29aea09089a670141744843ea904afd500acc6c5 Author: Ping Cheng Date: Thu Dec 10 20:37:24 2009 -0800 2FGT data parsing was misplaced Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit 5040b6d74c10376edd755bbf58e97d4b45df9eb9 Author: Peter Hutterer Date: Fri Dec 11 13:25:39 2009 +1000 Silence valgrind warning about unitialized bytes. valgrind doesn't understand the ioctl so it believes that the matching bitfields are unitialized. Simply init to 0 to reduce the noise. Signed-off-by: Peter Hutterer commit 5838c6a32dfdac7badd91e6ab3d20cef8dc2cb37 Author: Ping Cheng Date: Thu Dec 10 20:11:04 2009 -0800 Gesture for 2FGT devices Add Gesture option and defines for two finger touch devices Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit e99834b9229734823fbe3fbc3618769224db6f37 Author: Ping Cheng Date: Thu Dec 10 19:44:03 2009 -0800 retrieve usb device and tool type from the kernel Touch device can be decided by checking if BTN_TOOL_DOUBLETAP is defined in the kernel or not TPCButton is on for all penabled TabletPCs Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit a1c22a8457ad1902f313969e1f7822af61591c8f Author: Ping Cheng Date: Thu Dec 10 19:25:34 2009 -0800 Move Touch and TPCButton options check Touch and TPCButton options are global. They should be checked for all USB devices. Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit ca130158eb75947abe1d33378af9603850e975d5 Author: Peter Hutterer Date: Thu Dec 10 11:44:16 2009 +1000 Don't set calloc'd fields to zero. xf86WcmAllocate uses calloc for internally used fields. There's no need to reset all defaults to zero, we can assume they are. Removing those that are initialized to zero reduces the noise, anything listed in xf86WcmAllocate has a default that's not zero and is easy to grep for. Signed-off-by: Peter Hutterer commit f78f78897b8ae211b8dc8d1e9919b665c7f357ba Author: Peter Hutterer Date: Thu Dec 10 15:55:53 2009 +1000 xsetwacom: handle string commands for TwinView setting Signed-off-by: Peter Hutterer commit b4fe899d1f23bf1c7caa44554b46ae64fbcf5be3 Author: Peter Hutterer Date: Thu Dec 10 15:22:43 2009 +1000 xsetwacom: Be more flexible for multi-value properties. xsetwacom set PressCurve 1 2 3 4 is the same as xsetwacom set PressCurve "1 2 3 4" Signed-off-by: Peter Hutterer commit 5f442c7fd5b6f490d2ec9d4dc4efef5bc3319b00 Author: Peter Hutterer Date: Thu Dec 10 13:58:07 2009 +1000 xsetwacom: enable -x and -s get flags xsetwacom -x get "device name" "option name" returns the matching line for the xorg.conf xsetwacom -s get "device name" "option name" returns the matching line for xsetwacom Signed-off-by: Peter Hutterer commit f4fbe2ebbb48391c3449fad756300c4f34e432ee Author: Peter Hutterer Date: Wed Dec 9 16:47:09 2009 +1000 xsetwacom: implement xyDefault - reset to driver-internal defaults. Signed-off-by: Peter Hutterer commit 73c09e8b574752239a6f6fb46da24f08e58347f4 Author: Peter Hutterer Date: Wed Dec 9 16:41:37 2009 +1000 xsetwacom: plug minor memory leak in set() The data returned by the first xGetDeviceProperty was never freed. Signed-off-by: Peter Hutterer commit 6f515f56a456ff01b7df17874c1c55994518bcc0 Author: Peter Hutterer Date: Wed Dec 9 16:15:02 2009 +1000 xsetwacom: support GNU-style for --list, --get, etc. The old interface without "--" is still supported, hence xsetwacom --list is the same command as xsetwacom list Signed-off-by: Peter Hutterer commit 39ed1971e19825cf164098c5896aba813fc99a1d Author: Peter Hutterer Date: Tue Dec 8 17:05:25 2009 +1000 xsetwacom: implement verbosity. Signed-off-by: Peter Hutterer commit d5db667f469b7fe960039e6a486ff49fbced4158 Author: Peter Hutterer Date: Mon Dec 7 17:20:36 2009 +1000 xsetwacom: switch to use of named initializers. This slightly improves the mess that is the parameters list. Signed-off-by: Peter Hutterer commit 4b0b1c10ca53ce0b2206888fd14f93e65178b823 Author: Peter Hutterer Date: Mon Dec 7 16:10:51 2009 +1000 xsetwacom: implement get_mode. Signed-off-by: Peter Hutterer commit d8e5b1f2f9aa6290de03bc9abbc593b58ba5d647 Author: Peter Hutterer Date: Mon Dec 7 15:21:06 2009 +1000 xsetwacom: support get/set rotate. Signed-off-by: Peter Hutterer commit bcccd6657acc5fbd13c81461fe664bfeba693e77 Author: Peter Hutterer Date: Mon Dec 7 15:08:44 2009 +1000 xsetwacom: error out if a property offset doesn't exist. Signed-off-by: Peter Hutterer commit 05200225c3f07e4745c933792a48683180bc02e6 Author: Peter Hutterer Date: Mon Dec 7 15:06:25 2009 +1000 xsetwacom: a few parameters aren't implemented for get either. Signed-off-by: Peter Hutterer commit 6f85ae4365528d6ff7bd1bea27f68edaa40f1b5c Author: Peter Hutterer Date: Mon Dec 7 15:05:20 2009 +1000 xsetwacom: don't try to get/set nonexistant buttons. Signed-off-by: Peter Hutterer commit dc990a09b03de914da94cb2423323b000a426217 Author: Peter Hutterer Date: Mon Dec 7 14:59:38 2009 +1000 xsetwacom: abstract extracting the button number. Signed-off-by: Peter Hutterer commit 4d2c3d19dce4822022fe84d699ce7b87d2da3f67 Author: Peter Hutterer Date: Mon Dec 7 14:57:13 2009 +1000 xsetwacom: implement "get Button1" for simple mappings. Signed-off-by: Peter Hutterer commit 80afd187ee59c7adc04cf304dc428c1390d44f91 Author: Peter Hutterer Date: Mon Dec 7 14:52:53 2009 +1000 xsetwacom: Add special hook for 'get PressCurve' PressCurve returns 4 integers, needs a special hook. Signed-off-by: Peter Hutterer commit 119da3793d77815f7d6419a7ea5d79fdbd95d9f1 Author: Peter Hutterer Date: Mon Dec 7 14:41:23 2009 +1000 xsetwacom: split func into set_func and get_func. Signed-off-by: Peter Hutterer commit 0f722b17964e095cabcc8e6986034ab553093a32 Author: Peter Hutterer Date: Fri Dec 4 16:20:24 2009 +1000 xsetwacom: add "-" and "+" notation and modifier parsing to key sending. Keys prefixed with + are down only. Keys prefixed with - are up only. Keys without a prefix are down + up. e.g. xsetwacom set "device" Button1 "key +ctrl c -ctrl" Is equivalent to lctrl down, type c, lctrl up. Signed-off-by: Peter Hutterer commit 63f4df5334c5daaa0c732b3336b58da23254a816 Author: Peter Hutterer Date: Fri Dec 4 12:31:41 2009 +1000 xsetwacom: keystroke button mapping support. Adds ability to map keys to button events in the form of xsetwacom set "device" Button1 "a b c d" Signed-off-by: Peter Hutterer commit 8b188a4b1016d61b7db00bc3a040436c4cbabf4b Author: Peter Hutterer Date: Fri Dec 4 11:04:35 2009 +1000 xsetwacom: Remove getdefault option, not implemented anyway. Signed-off-by: Peter Hutterer commit d65ba449ccb2372022dc2d5df8dfa7180c011d06 Author: Peter Hutterer Date: Fri Dec 4 10:45:32 2009 +1000 xsetwacom: remove CoreEvent option - not a driver choice. In server 1.7 and higher, whether core events are sent by a device depends on their attachment, not on a driver setting. Signed-off-by: Peter Hutterer commit bafa7b22388c812dfffac3a64233912a55708317 Author: Peter Hutterer Date: Fri Dec 4 10:42:37 2009 +1000 xsetwacom: implement 'xsetwacom get' for basic properties. Signed-off-by: Peter Hutterer commit 5ac72a6e4499e3f85b1b9268a674454b4040cf4f Author: Peter Hutterer Date: Fri Dec 4 10:16:35 2009 +1000 xsetwacom: remove SpeedLevel and Accel options. Unimplemented, and they're not handled through the server's accel methods, not in the driver. That's not to say that xsetwacom can't provide an interface to the accel methods, but this isn't it it. Signed-off-by: Peter Hutterer commit 49957a6f2c2b61fd07aa46be53cab4dfa356e8f8 Author: Peter Hutterer Date: Wed Nov 11 14:10:04 2009 +1000 xsetwacom: announce not-implemented options and parameters as such. Signed-off-by: Peter Hutterer commit a0c314880f03e2d6fb2c37f1eda047f11de0f179 Author: Peter Hutterer Date: Wed Nov 11 13:28:52 2009 +1000 xsetwacom: fill in property for TPCButton, RawFilter, ClickForce. Signed-off-by: Peter Hutterer commit 1ae52b2bfeaa8534e36212b75c5731f7832a3e22 Author: Peter Hutterer Date: Wed Nov 11 13:26:05 2009 +1000 xsetwacom: implement rel/abs mode setting. Signed-off-by: Peter Hutterer commit d0acbf567104542ee41694fca33ee6bd3c22fd5b Author: Peter Hutterer Date: Wed Nov 11 13:10:36 2009 +1000 xsetwacom: allow for multi-value properties (PressCurve) Signed-off-by: Peter Hutterer commit 235ac5ebca6d0b15909c765df9a69751e9fda380 Author: Peter Hutterer Date: Wed Nov 11 11:27:25 2009 +1000 xsetwacom: Support xsetwacom set Button1 for buttons and references. Supported functions: xsetwacom set Button1 4 xsetwacom set Button1 "button 5" Signed-off-by: Peter Hutterer commit 08613765c18bc1dc8c14a7e3fed3e95e7f879973 Author: Peter Hutterer Date: Fri Nov 6 16:38:42 2009 +1000 xsetwacom: Add property hooks for xsetwacom set/get support. This uses a similar principle as synclient, the option table contains the offsets into the matching properties, these are automatically changed. One exception - some options xsetwacom provides don't map into a concreate property, for these special functions are required (e.g. all the ButtonX options). Signed-off-by: Peter Hutterer commit 1efdc8606b59c90167967b074230c9e2a76c9edf Author: Peter Hutterer Date: Wed Nov 11 10:43:56 2009 +1000 xsetwacom: Add find_device() helper function. Does pretty much the same as the one from xinput. Signed-off-by: Peter Hutterer commit b456d47fef3b56a2b62f026e6abd04f91c1b7b40 Author: Peter Hutterer Date: Fri Nov 6 13:35:46 2009 +1000 xsetwacom: Implement xsetwacom list. Signed-off-by: Peter Hutterer commit 087655d80d8dfb48ea395b6ae41e85a580f3851a Author: Peter Hutterer Date: Fri Nov 6 11:43:46 2009 +1000 Add tools/xsetwacom, currently a stub. config.h includes xorg-server.h and it's 64 bit magic. xsetwacom can't use this magic, it needs to use the 64-bit interfaces provided by Xlib and thus the matching sizes for all structs. Instead of including xorg-server.h in all driver source files, conditionally include it depending on whether WACOM_TOOLS is defined or not. Signed-off-by: Peter Hutterer commit e1cbd668de52ff3f35c8cc1ca362adc019935288 Author: Peter Hutterer Date: Tue Dec 8 15:51:08 2009 +1000 Support future udev backend. udev support isn't actually in the server yet but it will announce itself as server/udev in the source. If so, hook onto it in the same manner as onto HAL. This allows for easier testing with a udev-enabled development server (which is already in Debian). Signed-off-by: Peter Hutterer commit bad2015301a83c0c50d18c177d57b1105a173673 Author: Enrico Ros Date: Thu Dec 10 02:30:46 2009 +0100 Add USB devices 0xD0, 0xD1, 0xD2, 0xD3, 0xD4, mapped to the Bamboo tablet. Maybe it will be better to map them to the Bamboo Fun functions, even if the commercial name is different. Model checking needs to be cleaned here. Applied most of the wcmUSB.c.patch -r34 as found on UbuntuForums. Signed-off-by: Enrico Ros commit 21526f944f5f7731ce6a661796571c0dfbe802e7 Author: Enrico Ros Date: Thu Dec 10 02:27:51 2009 +0100 Don't crash if model-specific functions are not defined. If the kernel supports a newer device, not handled by this driver, avoid crashing the X server. Signed-off-by: Enrico Ros commit 3149204e553de56f2d9b47990878ff17a3e0f8a4 Author: Ping Cheng Date: Sun Dec 6 15:41:16 2009 -0800 Add new USB devices Updated comments where appropriate for the new devices Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit e965ac7d3d5be6721063f0a4ca28cfd53afac28a Author: Ping Cheng Date: Wed Dec 2 15:51:21 2009 -0800 Remove unused comments Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit d4c3aef2226f39e346fc9b7c22e54a4e97889458 Author: Ping Cheng Date: Wed Dec 2 14:55:45 2009 -0800 Spin-off usbChooseChannel from usbParseEvent Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit e9984c74f00afb7f80cb925d3282fb8151854161 Author: Ping Cheng Date: Wed Dec 2 13:23:30 2009 -0800 Move xf86WcmReady from wcmCompat.c to xf86Wacom.c xf86WcmReady is only needed by xf86Wacom.c. We move this routine from wcmCompat.c to xf86Wacom.c so we can discard the unnecessary wcmCompat.c. Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit f7aaaf8d06902ec32e64b252e28792b6d9bc0c89 Author: Ping Cheng Date: Wed Dec 2 13:13:18 2009 -0800 Move xf86WcmWait from wcmCompat.c to wcmISDV4.c With the removal of regular serial device support, ISDv4 is the only file that needs xf86WcmWait call. The wcmCompat.c file is going to discarded in the next patch. Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit 35322750898d1ba3c0b74f197b6d60a39b7ad781 Author: Peter Hutterer Date: Wed Dec 2 13:58:11 2009 +1000 AC_TYPE of 0 is a valid type for wheel events. 3cfc3f5df754c6266127e3addbd6ee84c8f471d9 introduced button actions. Wheel events by default are simply assigned to a button. In the old code, AC_BUTTON was 0, now AC_BUTTON is a specific event mask. Hence we need to cater for both AC_BUTTON set or unset - they just happen to produce the same result. This is a quickfix, the wheel event processing seems it could use some cleanup. Signed-off-by: Peter Hutterer commit c87e328b047e66969eef1c47f3ac9a6d3b76be3d Author: Peter Hutterer Date: Tue Dec 1 13:29:25 2009 +1000 wacom 0.10.2 Signed-off-by: Peter Hutterer commit 3cfc3f5df754c6266127e3addbd6ee84c8f471d9 Author: Peter Hutterer Date: Wed Nov 25 17:02:34 2009 +1000 Provide "Wacom Button Actions" property and associated button actions. This patch adds a new property that's a list of property references on the same device. The property contains WCM_MAXBUTTONS atoms, each of which provides a zero-terminated sequence of actions to be performed when that button is pressed (but not when released). Possible actions are a combination of AC_* flags and - if appropriate - a value. For example, assume a property with the following values is set for "Wcm Button Actions"[1]: AC_KEY | AC_KEYBTNPRESS | XK_A AC_KEY | XK_A AC_KEY | AC_KEYBTNPRESS | XK_b AC_KEY | XK_c AC_KEY | AC_KEYBTNPRESS | XK_c AC_KEY | XK_c AC_KEY | AC_KEYBTNPRESS | XK_Control_L AC_KEY | AC_KEYBTNPRESS | XK_c AC_KEY | XK_c AC_KEY | XK_Control_L AC_BUTTON | AC_KEYBTNPRESS | 1 AC_BUTTON | 1 AC_BUTTON | AC_KEYBTNPRESS | 1 AC_BUTTON | 1 If button 2 is pressed on this device, the device sends key events equivalend to typing "Abc", Control+C and finally executes a double-click on button 1. If a button has no action set, the default button event for this button is sent. Signed-off-by: Peter Hutterer commit 365338032da115e45d6d0d076323f59bc17291b2 Author: Tomas Carnecky Date: Tue Dec 1 01:13:25 2009 +0100 Fix a crash that would happen when a sysfs device doesn't exist Signed-off-by: Tomas Carnecky Signed-off-by: Peter Hutterer commit 59754d40db384f0d8cd8880fb07a56f43666a1b4 Author: Ping Cheng Date: Sat Nov 28 12:19:58 2009 -0800 Clean up wcmPktLength code for ISDV4 devices. Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit ee65ca1271a59c5704a4c5a83c9b51ca09c5c3dc Author: Ping Cheng Date: Sat Nov 28 12:00:28 2009 -0800 Move xf86WcmOpen from wcmCommon.c to xf86Wacom.c, where it is supposed to be. Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit 94dcb512294a8f229d40a16a5f84c5d61d84ceef Author: Ping Cheng Date: Mon Nov 30 14:05:53 2009 +1000 Move wcmDevCls check to xf86WcmOpen, where it belongs. Get rid of the confusing "usbDetect: can not ioctl version" message for ISDV4 devices. Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit a3b37e27514c3fb26fd000035eb4a63272f31123 Author: Ping Cheng Date: Mon Nov 30 13:52:20 2009 +1000 Let default catch all hotplugged serial ISDV4 devices Signed-off-by: Peter Hutterer commit 693913e55b3244c7728737e55069c3ffc5c6c16f Author: Ping Cheng Date: Fri Nov 27 20:08:52 2009 -0800 Remove ForceDevice option - now unused. Since we only support ISDV4 serial devices with this driver, there is no need to check the "ForceDevice" option any more, which was used to distinguish ISDV4 from regular serial devices. We check if the device is a serial device or not by accessing its file descriptor directly. Device Class is assigned to USB by default. Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit 0c9419360da976c6580af4615b244bc112d748cd Author: Ping Cheng Date: Fri Nov 27 19:49:17 2009 -0800 Support serial hotplugging. USB devices use the KEY_* bits to determine the capabilities. Serial devices fake up those bits depending on the ID announced. Then pass those bits between wcmConfig.c and wcmValidateDevice.c Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit 54387e477904cadf3a0ebfc37567f808d4b94cce Author: Ping Cheng Date: Fri Nov 27 14:25:36 2009 -0800 Only check device type for xorg.conf devices, not HAL devices. HAL devices are hotplugged internally and the type is assigned based on the device's capabilities. xorg.conf devices are user-specified and need to be checked for validity. Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit f2e437e693f1ee482d112e69efdb0a383912c682 Author: Thomas Jaeger Date: Fri Nov 20 22:37:31 2009 -0500 Don't crash if wcmIsAValidType returns False for all types Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit cd0ce8d3fb27e4e6abbec22c02613c89195e9aa0 Author: Thomas Jaeger Date: Thu Nov 26 01:25:21 2009 -0500 Support sending keys on xserver-1.6 Signed-off-by: Peter Hutterer commit 1965720a3050b3d331da580f869d0c3eeed869d0 Author: Ping Cheng Date: Thu Nov 26 14:43:02 2009 +1000 Add two-finger touch support and unify touch support for the new protocol. Signed-off-by: Peter Hutterer commit 8a9fe4a8e22bd20541a0887e74bfe054bf8fca82 Author: Ping Cheng Date: Thu Nov 26 14:32:58 2009 +1000 Add defines for various ISDV packet lengths. Some of these defines aren't yet in use, they will be once new protocol support is added (see future patch titled "Add two-finger touch support and unify touch support for the new protocol.") Signed-off-by: Peter Hutterer commit 680958e276be6a5dbf659135d3e19bc4c0f68f33 Author: Peter Hutterer Date: Tue Nov 24 14:27:43 2009 +1000 Convert a failed ioctl error into a warning only. With hot-plugged devices, we don't know for sure if the device is an USB or serial, so we default it to USB. If the device happens to be a serial device, the ioctl fails with EIO and we try to add it as serial device. Hence a warning, not an error. Signed-off-by: Peter Hutterer commit a6f0df89db2ef1f66cd42d57b19f902edbf23dc7 Author: Ping Cheng Date: Mon Nov 23 12:05:19 2009 +1000 Remove uniq field - not required. We don't allow multiple devices from the same port, and wcmCommon already tracks the parent/dependent devices for us. The uniq field is superfluous. Signed-off-by: Peter Hutterer commit a20fbdd32d14da17933d7bf69fa8542f51febfda Author: Peter Hutterer Date: Thu Nov 19 16:25:48 2009 +1000 Move the ARRAY_SIZE macro into a header file, it's useful elsewhere. Signed-off-by: Peter Hutterer commit a653c3419f7c5854d6fabaf9c4a70ee4308e99dd Author: Peter Hutterer Date: Tue Nov 17 14:58:17 2009 +1000 Init the key class struct for the device (and send keys) on ABI 7. Force a hardcoded keymap to semi-protect against local keymap changes (i.e. other layouts). This doesn't protect against run-time changes of course, so it's arguably pointless if we expect the session to set the RMLVO. This patch restores key sending for the tablets as working before the switch to input ABI 7 removed that bit. Signed-off-by: Peter Hutterer commit 65b6913046c07f38e348d9944a1915785cbbbb48 Author: Peter Hutterer Date: Wed Nov 25 16:15:43 2009 +1000 Remove XWACOM_PARAM_* definitions - unused now. They are required for the old configuration interface through DeviceCtrls. With the switch to properties, these defines are now unused. Signed-off-by: Peter Hutterer commit 4aa6670cbe4403a39c26ba1ac518af9edbc6abb7 Author: Przemo Firszt Date: Tue Nov 24 20:57:31 2009 +0000 Fix comment - xf86WcmInitalprivSize is actually xf86WcmInitialToolSize Signed-off-by: Peter Hutterer commit afa06f3e7186aff4d0f104492a02c44f6132eaf8 Author: Przemo Firszt Date: Tue Nov 24 20:50:39 2009 +0000 Remove duplicate comment for xf86WcmRegisterX11Devices. This function still exists, a duplicate comment got accidentally added in 425351f22821ade814f7f6412d18c1eb25904661. Signed-off-by: Peter Hutterer commit 9c6d34592f75602cfcfa6f61c631aa60d2ee5284 Author: Peter Hutterer Date: Tue Nov 24 15:59:01 2009 +1000 Reset local->private before calling xf86DeleteInput. If local->private is not NULL, then the server will attempt to free it. A rather bad idea if it's already been freed by the driver. Signed-off-by: Peter Hutterer commit 5efc1770a0039994d6ff111d2050bf0c1324b3b3 Author: Ping Cheng Date: Mon Nov 23 12:07:03 2009 +1000 Convert some serial error messages into warnings. Signed-off-by: Peter Hutterer commit eda948d9931aba1396419ec799a1654d20cd7898 Author: Ping Cheng Date: Mon Nov 23 11:16:46 2009 +1000 janitor: Remove commented out include directive. Signed-off-by: Peter Hutterer commit 8d9b358c2454cacbeabb00133af0ebe7bc9fa13f Author: Ping Cheng Date: Mon Nov 23 11:13:18 2009 +1000 janitor: Fix indentation of a debug message. Signed-off-by: Peter Hutterer commit 5c39a35811eaa5232888aa55baf0a598933be610 Author: Ping Cheng Date: Mon Nov 23 10:59:00 2009 +1000 Only support baud rates 19200 and 38400 for ISDV4 devices. 9600 is gone forever. Signed-off-by: Peter Hutterer commit fefa70d932909f2bb7939e05275e30ac7ddba17f Author: Ping Cheng Date: Mon Nov 23 10:57:04 2009 +1000 If the ioctl failed, return FALSE for xf86IsWacomDevice. Signed-off-by: Peter Hutterer commit 9e59900e6fbdc2899524ce258e694f25795d8539 Author: Ping Cheng Date: Mon Nov 23 10:55:52 2009 +1000 janitor: Leave loop early if we found a pos. result. Signed-off-by: Peter Hutterer commit ec2db399def8336275ec12089a86599194667573 Author: Ping Cheng Date: Mon Nov 23 10:54:25 2009 +1000 fdi: compress all WACf0* devices into one. HAL's contains_outof does substring matching, WACf0 should be enough. Signed-off-by: Peter Hutterer commit 68b5cd37f2269a398d95866a4d714c66a57c6b36 Author: Peter Hutterer Date: Mon Nov 23 08:33:32 2009 +1000 fdi: compress the wacom tablet into the first condition. Signed-off-by: Peter Hutterer commit 9e714baf9b84f39eb95c51dda7885cff0afe2704 Author: Peter Hutterer Date: Fri Nov 20 12:19:55 2009 +1000 wacom 0.10.1 Signed-off-by: Peter Hutterer commit 413d600b2fe7f19149ab4c008fa47f697de4895b Author: Peter Hutterer Date: Fri Nov 20 09:34:10 2009 +1000 Fix comment in configure. We need macros 1.3 for the XORG_DEFAULT_OPTIONS Signed-off-by: Peter Hutterer commit 11a79f35ef6d38860044caa36e9fee5de919d78c Author: Przemo Firszt Date: Fri Nov 13 17:53:04 2009 +0000 Remove duplicate of #include "xf86Wacom.h" and #include "wcmFilter.h" [squashed-in: removal of one more wcmFilter.h include directive] Signed-off-by: Peter Hutterer commit 6b51249ad0dd39aa0c6b8ce87273ad2b3fd0cea8 Author: Peter Hutterer Date: Wed Nov 18 14:22:52 2009 +1000 Purge driver-specific speed/accel. The server provides quite complex accel methods since 1.6, let's just use them instead of the accel provided in the driver (which happens to be a bit crude). Signed-off-by: Peter Hutterer Acked-by: Ping Cheng commit ee4b4d3884f93a64941c313eff515f95757c4b96 Author: Peter Hutterer Date: Wed Nov 18 16:05:06 2009 +1000 Remove defines from the ghost of christmas past. Signed-off-by: Peter Hutterer commit 522f578563bbff95a9597c1dcaad61d67ed0cd74 Author: Peter Hutterer Date: Wed Nov 18 16:03:09 2009 +1000 Remove REVISION HISTORY comments. That's what we have git log for. Signed-off-by: Peter Hutterer commit 2082ebcb1afe4a46ecc4ce3d34c5f4479ad1bcef Author: Peter Hutterer Date: Wed Nov 18 14:21:02 2009 +1000 Fix long-standing typos in applying speed factors. Signed-off-by: Peter Hutterer Signed-off-by: Ping Cheng commit 7d51bf5a32d60b9a022daad5fd1d7868ac9aaee1 Author: Peter Hutterer Date: Wed Nov 18 11:07:55 2009 +1000 Add GPL document to dist tarball. Signed-off-by: Peter Hutterer commit b50d86ab73c59b34514165985784d07366aa0261 Author: Peter Hutterer Date: Wed Nov 18 11:06:26 2009 +1000 Remove spurious executable bits from source files. Signed-off-by: Peter Hutterer commit d7dcb7d873c59d3603007565d073b70f04ecea53 Author: Peter Hutterer Date: Wed Nov 11 14:31:57 2009 +1000 Remove some if 0'd code. If a chunk of code has been "not quite ready for prime-time" for over 6 years, it probably won't be anytime soon. Signed-off-by: Peter Hutterer commit a34e42d7e640d2c3fa695a6eac905c0891375bc7 Author: Peter Hutterer Date: Thu Nov 12 16:26:13 2009 +1000 If a device is specified, don't check for a wacom vendor id. Testing for the vendor ID is useful when using auto-dev probe (though it might return false negatives). If a user was capable enough to specify a device option, assume they know what they're doing and just try to init the device. This ensures that the wacom driver works against serial devices that don't return a vendor ID. And it ensures that the driver can be used with other tablets by different vendors but a similar behaviour. Reported-by: Thomas Jaeger Signed-off-by: Peter Hutterer commit 44d8d03e7ffac87a845fc53a28b935afc2247894 Author: Ping Cheng Date: Fri Nov 13 12:54:07 2009 -0800 Remove a duplicated #ifdef in wcmValidateDevice.c Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit 584131b9f6b86a0365663f4ae377cfb155bb5bb7 Author: Ping Cheng Date: Thu Nov 12 20:37:28 2009 -0800 This patch allows multiple tools of the same type to be defined for one device. It is a feature required to define multiple areas for the same physical tool or to distinguish the same type of tools with different serial numbers (for V5 devices). Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit 183baf7a43c1d204401fd21eab7e6ae0b9078b6b Author: Peter Hutterer Date: Fri Nov 13 08:35:02 2009 +1000 Fix an error message to list the device name. (and add the vim tags to the new wcmValidateDevice) Signed-off-by: Peter Hutterer commit a493c5946174f018b6b8fdc312bd7eebc71944f2 Author: Ping Cheng Date: Wed Nov 11 21:10:55 2009 -0800 retrieve all tool types from the kernel Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit 1dce369ffa34e07a88a87b681d904f0ebd8331f1 Author: Ping Cheng Date: Tue Nov 10 21:46:08 2009 -0800 Spin-off validatation from configuration. This patch also retrieves touch type from the kernel. Other types (stylus/eraser/cursor/pad) can use the same mechanism to retrieve type from kernel. Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit 96d28dbbe2bf90092c20a52aabdac728a8708e7b Author: Ping Cheng Date: Tue Nov 10 20:06:25 2009 -0800 report device id for protocol 5 devices Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit e3ed0639d3028ce0171b793a6227b4da40e8b2db Author: Ping Cheng Date: Tue Nov 10 20:01:25 2009 -0800 process second finger touch data Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit 6bb186cb486310b3df687b549af13cde25684120 Author: Ping Cheng Date: Tue Nov 10 19:54:41 2009 -0800 share device size and resolution between penabled and touch of the same product ID Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit 72647504a8f8468ed9b0bdd5743fa543043ff546 Author: Peter Hutterer Date: Fri Nov 6 15:47:37 2009 +1000 Add wacom-properties header file. commit c8bfc5fc86b4cda953d63e31260ce84a0aed5b59 Author: Peter Hutterer Date: Tue Nov 10 17:07:05 2009 +1000 Add 0xFF product as catchall for unknown devices. If a device is not in the table of known product IDs, just try to init all 5 possible devices; Signed-off-by: Peter Hutterer commit 3684235b35897d41f3604c9677a4de2ae81f9be5 Author: Peter Hutterer Date: Tue Nov 10 16:51:57 2009 +1000 Don't fail just because it's not a wacom tablet. Wacom is right now the best driver for touchscreens. Don't require the wacom vendor ID, we just don't get to get all the cool autosetup stuff. Signed-off-by: Peter Hutterer commit 58aadf9bcab9414d25d49061144bcfdffb8f1a0f Author: Thomas Jaeger Date: Sun Nov 8 12:49:02 2009 -0500 Fix TPCButton option Signed-off-by: Peter Hutterer commit ad84294c55803fbb7c4074e88d257e0a7701f9d1 Author: Peter Hutterer Date: Fri Nov 6 13:55:45 2009 +1000 Export tool type as Wacom Tool Type property. Signed-off-by: Peter Hutterer commit 520f07032ac2f744c3e6d920f12df43671694ddb Author: Peter Hutterer Date: Fri Nov 6 11:11:10 2009 +1000 Remove "grabbed event device" log message. The default behaviour is to grab the device, we only need to know about it when it fails. Signed-off-by: Peter Hutterer commit 60983f1ee56670096122bea376a0756a522ad1b6 Author: Peter Hutterer Date: Fri Nov 6 10:55:13 2009 +1000 Move auto-dev probing checks into small static function Signed-off-by: Peter Hutterer commit 98bc71ad5083e97fa9da47519b25f2e35c5c8b18 Author: Peter Hutterer Date: Fri Nov 6 10:51:01 2009 +1000 Move the uniq assignment into wcmNeedAutoHotplug. commit 88251543dd94cf237072322421255b156ed797dd Author: Peter Hutterer Date: Fri Nov 6 10:35:47 2009 +1000 Remove a needless call to xf86CheckStrOption Signed-off-by: Peter Hutterer commit 2313e4ade726d81e5abd13fb868fbb4679140700 Author: Peter Hutterer Date: Fri Nov 6 10:23:33 2009 +1000 Remove log spamming debug message. The log already tells us when a module is unloaded. Signed-off-by: Peter Hutterer commit a54fbd37fad90f06e31493a71c2c32d9b38f7f37 Author: Peter Hutterer Date: Fri Nov 6 10:20:54 2009 +1000 Rip most option parsing out of xf86WcmInit. xf86WcmInit is quite complicated already with hotplugging, etc. Rip the endless lines of option parsing out into a separate static function to help keeping an overview of xf86WcmInit. Signed-off-by: Peter Hutterer commit caeae6bf04cfc5dc8fef614143f7846819a69423 Author: Peter Hutterer Date: Fri Nov 6 10:08:29 2009 +1000 Remove some more useless defines. Signed-off-by: Peter Hutterer commit ffc1137a79d77d5a5557bac138c7804e0a1409d1 Author: Peter Hutterer Date: Fri Nov 6 10:00:29 2009 +1000 Remove Xfree86 4 serial wrapper defines Signed-off-by: Peter Hutterer commit 5d89d256862e5cba64c1349899003021c2f359d0 Author: Peter Hutterer Date: Fri Nov 6 09:53:09 2009 +1000 BaudRate only needs checking for ISDV4 devices. Remove BaudRate from default_options, supply as default to xf86SetIntOption instead - has the same effect. Signed-off-by: Peter Hutterer commit d90519b2f95c5da17659a1efbd41f1a0039435bc Author: Peter Hutterer Date: Fri Nov 6 09:49:56 2009 +1000 vim tags for the coding style. Wacom uses a different style than evdev, synaptics and the server and I'm sick of having to manually change it each time I open a file. Signed-off-by: Peter Hutterer commit ae6fa7e8da68e2e487da5ad84f9d924204a5e1d4 Author: Peter Hutterer Date: Fri Nov 6 09:49:23 2009 +1000 Don't accept invalid Rotate and ForceDevice options. Signed-off-by: Peter Hutterer commit 613d455c118b92ba784aff007df57bd6bac92196 Author: Peter Hutterer Date: Fri Nov 6 09:14:29 2009 +1000 Remove unecessary debug statements. Any option that is set by the user will show up in the log if xf86SetFooOption is used. All other options are built-in defaults. Signed-off-by: Peter Hutterer commit be806b5487db9c592366237a55651e53fe7d7c50 Author: Peter Hutterer Date: Thu Nov 5 14:53:03 2009 +1000 Support auto-hotplugging in the driver. If a device is added without the "Type" option set (a previously invalid configuration), it is assumed to be hotplugged. Check the list of known products for the supported tool types and init a new device for each tool type. All devices added as a group have a 'uniq' identifier (current timestamp). If the parent device is being removed, check for still-existing devices with the same uniq and remove those too. The server closes devices in-order, since the dependent devices are added before the parent, this is a noop during CloseDownDevices. The .fdi file doesn't to merge the type now. Signed-off-by: Peter Hutterer commit e8e0011c31de0415aeff993c17424c9fd720d33f Author: Peter Hutterer Date: Thu Nov 5 16:54:09 2009 +1000 On unplug, remove the device from the commonWcmDevices list. Signed-off-by: Peter Hutterer commit dac8e0a108df0fb045dfda517f814fd37d5aa09e Author: Peter Hutterer Date: Thu Nov 5 15:47:45 2009 +1000 Abstract product lookup into a static function. Signed-off-by: Peter Hutterer commit fd9230a2efcfd356690847ae543f336b6ab4c6d3 Author: Peter Hutterer Date: Thu Nov 5 14:59:03 2009 +1000 Break out of the loop once we found a valid type. Signed-off-by: Peter Hutterer commit c13d97b0de5acfcddcb378d117c8d7652e45d4e5 Author: Peter Hutterer Date: Thu Nov 5 11:52:57 2009 +1000 Pass type into wcmIsAValidType. Spares the need to check the options twice for the type set. Signed-off-by: Peter Hutterer commit d0c6c701a06bc6a43b37b84130603f6f553009fa Author: Peter Hutterer Date: Thu Nov 5 15:45:55 2009 +1000 Use ARRAY_SIZE macro instead of manual sizeof(). Signed-off-by: Peter Hutterer commit 78499b39f6270f6e9e04d750575695e07224d32e Author: Peter Hutterer Date: Thu Nov 5 11:09:59 2009 +1000 Remove needless NULL checks before xfree. xfree handles NULL pointers fine. Signed-off-by: Peter Hutterer commit 73e8d0640af9ec8fe587454c316e0426e418dc89 Author: Peter Hutterer Date: Thu Nov 5 10:33:56 2009 +1000 Don't overwrite the name with the XI type. Since the local device is now the actual device, not the fake local, we don't need to set the name here. Also, the name is the identifier, I don't know if it ever actually was used for the XI defined names (wich are the type_name instead). This has the potential to break clients that were looking for the "Wacom erasor" type name instead of the XI defined types ("ERASOR"). If so, a simple change fixes this. Signed-off-by: Peter Hutterer commit eda93933e1d0e2cc6a51968c02bfebc542fc88c3 Author: Peter Hutterer Date: Wed Nov 4 17:02:23 2009 +1000 Remove fakeLocal init device. Instead of allocating a fake device at the top of init and then using this to check a few options, just allocate the device itself. If it fails, remove the device again. Signed-off-by: Peter Hutterer commit 91ec102688fd5b041436224975c620dc25d9e5c9 Author: Peter Hutterer Date: Thu Nov 5 10:18:55 2009 +1000 Fix a comment Signed-off-by: Peter Hutterer commit c5d5b1e16272f5e330801241448c5e02ad01a89e Author: Peter Hutterer Date: Wed Nov 4 16:44:33 2009 +1000 Move allocation of type out of xf86WcmInit No semantic change, just trying to reduce the xf86WcmInit a bit. Signed-off-by: Peter Hutterer commit 23bbbfe09f502fdfa89a64d7e2cfca9299948731 Author: Peter Hutterer Date: Tue Nov 3 16:23:45 2009 +1000 Unify log messages to a common format. : blah blah with local->name used consistently as device name where applicable. Signed-off-by: Peter Hutterer commit e4502dd8774ba43beeacbaa87499b1b08a244800 Author: Peter Hutterer Date: Tue Nov 3 16:18:21 2009 +1000 Localize lookup for other devices of the same device. Signed-off-by: Peter Hutterer commit c5c8acd9d012c151a7d4919f5d1a941807c4c2cb Author: Peter Hutterer Date: Tue Nov 3 16:03:53 2009 +1000 Streamline xf86WcmAllocate a bit Signed-off-by: Peter Hutterer commit 506d8357f769a6fbc125899c433c7ea8cc92729f Author: Peter Hutterer Date: Tue Nov 3 15:58:16 2009 +1000 Don't cast xalloc returns. Not needed, we have void pointers these days. Signed-off-by: Peter Hutterer commit 53de2f1a6d8fb6050d8ac2e238fd9fb07c754923 Author: Peter Hutterer Date: Tue Nov 3 15:38:49 2009 +1000 Abstract the vendor ID into a #define Signed-off-by: Peter Hutterer commit 7587c95411cd41f3c63f8ed87f3832b79ba490e1 Author: Ping Cheng Date: Sun Oct 25 21:03:59 2009 -0700 Validate tool type before adding it Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit ccbef11c5cb1e4426543a7d121de842c50d29fa1 Author: Peter Hutterer Date: Tue Nov 3 15:20:13 2009 +1000 Silence compiler warnings if DEBUG is off. Signed-off-by: Peter Hutterer commit d2c46348880b62a47fcad777cb7251866aa0900f Author: Peter Hutterer Date: Tue Nov 3 16:47:22 2009 +1000 Use the SYSCALL macro for opening the fd Signed-off-by: Peter Hutterer commit af163fe3106c834418e772eb94a10a5d250950cf Author: Ping Cheng Date: Sun Oct 25 20:54:09 2009 -0700 Avoid adding duplicated devices/tools from hotplugging Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit 12cf6e8a97e6c1e02a77590b96da56ccc9f1d33b Author: Peter Hutterer Date: Tue Nov 3 14:41:43 2009 +1000 wacom 0.10 Signed-off-by: Peter Hutterer commit 7fe803bef235516ac6778234768c5d3077a539a6 Author: Peter Hutterer Date: Wed Oct 28 15:47:18 2009 +1000 Add --enable-debug to configure Signed-off-by: Peter Hutterer commit c79c899c9609faf3a0ab4828745114a8667432ef Author: Peter Hutterer Date: Fri Oct 30 16:07:33 2009 +1000 Fix three typos in debug statements. Signed-off-by: Peter Hutterer commit 41dc915563a453e2e35aef34dad8e8164d9e6699 Author: Peter Hutterer Date: Fri Oct 30 16:06:30 2009 +1000 Remove remainder of old XWACOM_PARAM code This code has been replaced by the properties. Signed-off-by: Peter Hutterer commit 08a1149461794a4a35d93dc3093012ffe529cd8c Author: Ping Cheng Date: Thu Oct 29 22:28:16 2009 -0700 Touch doesn't have pressure and distance Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit 76bbaf6bb473e7194a5b096a078df76e52e4e587 Author: Peter Hutterer Date: Wed Oct 28 15:51:06 2009 +1000 Include config.h everywhere Signed-off-by: Peter Hutterer commit 61706e52b757582beebdc95fb9af35dfeec86f4d Author: Peter Hutterer Date: Fri Oct 30 15:52:35 2009 +1000 Use xf86Msg instead of ErrorF ErrorF() is the one used by the DIX, xf86Msg is the driver API. Signed-off-by: Peter Hutterer commit 15ddfbac957d6e60b4a7c7cbd57495bfaf9d3bfa Author: Peter Hutterer Date: Wed Oct 28 14:28:40 2009 +1000 Remove identification string, use the package version instead. The default output for the driver loading is: (II) Module wacom: vendor="X.Org Foundation" compiled for 1.6.99.901, module version = 0.9.1 Module class: X.Org XInput Driver ABI class: X.Org XInput driver, version 7.0 where the module version is now filled in by the package version set in configure. An extra identification string is superfluous. Signed-off-by: Peter Hutterer commit 428fc3e3ceb7adab7da5f6ecff90849ef174013e Author: Peter Hutterer Date: Wed Oct 28 13:41:48 2009 +1000 Remove unused extern declaration Signed-off-by: Peter Hutterer commit 676b80bfe02a6447fe289d46c64ab4037b9c761b Author: Peter Hutterer Date: Fri Oct 30 11:07:44 2009 +1000 Add the sample fdi file. Distributions most likely want to fine-tune this fdi file and apply their custom configurations. For those building from source without the distro package installed, a sample FDI file helps to get the driver going. Taken from Fedora, but with the hal callouts removed. We're trying to fix this in another, more flexible and less HAL-dependent manner. Signed-off-by: Peter Hutterer commit ae66fc0e2ec0afd4f8e376ba5c15dd3e93bfeb30 Author: Peter Hutterer Date: Wed Oct 28 15:33:43 2009 +1000 wcmUsb: use struct input_absinfo instead of an integer array. kernel 2.6.31 introduced a resolution field in the absinfo struct, thus the nValues[5] array wasn't large enough. This again leads to a memory overrun and random crashes on init. Instead of increasing nValues, replace it with input_absinfo which is the correct struct to pass in anyway. Do the same for the sID array (of type struct input_id). Signed-off-by: Peter Hutterer commit a51f9e1872c1d564d11775dd3ad814aa38145ad2 Author: Ping Cheng Date: Tue Oct 20 11:43:42 2009 -0700 Add touch support to USB TabletPC's with touch feature Prepare for Two Finger Touch (2FG) support Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit e39c346c84812df1eef1b3aa932718dea1dddf3a Author: Ping Cheng Date: Tue Oct 20 11:15:31 2009 -0700 Clean up kernel 2.4 support debug logs and comments. Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit 0b6891c4ed46882da46f6ee85eab9cf6f4a70942 Author: Ping Cheng Date: Sun Oct 18 16:06:33 2009 -0700 Add backup (*~) and patch (*.patch) files to .gitignore Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit 10e0036f5b398b08ddddcea1ace534e1188e1abe Merge: afdf556 3718c60 Author: Peter Hutterer Date: Wed Oct 14 10:51:29 2009 +1000 Merge branch 'property-rework' commit afdf5565895a4c340681e9dc48b63a390f8eba9d Author: Ping Cheng Date: Mon Oct 12 14:45:32 2009 -0700 Fix a problem introduced by "Remove kernel 2.4 support" patch Brought the serial number if-clause back since the Intuos CintiqV5 series need serial numbers to distinguish tools and to keep 2 channels of records. Also added an else-statement to catch and discard the unexpected serial number equal zero case. Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit 872b6a3f191a65a929d18f3ff9348ab27da67a76 Author: Ping Cheng Date: Mon Oct 12 14:41:38 2009 -0700 Update Authors for xf86-input-wacom Signed-off-by: Ping Cheng Signed-off-by: Peter Hutterer commit 3718c605520fd1d992e0fdedbdc1136581b808e5 Author: Ping Cheng Date: Tue Oct 13 09:07:00 2009 +1000 Clean up more properties. Signed-off-by: Peter Hutterer commit 4fd2af39a5432eaad03af6a48cd16988a165fbbb Author: Thomas Jaeger Date: Mon Oct 5 12:32:37 2009 -0400 wcmTouch and wcmTPCButton should be distinct properties Expose wcmTouch as "Wacom Enable Touch" and !wcmTPCButton as "Wacom Hover Click". Signed-off-by: Peter Hutterer commit 14ded312e419ebd35ead237c25c6fbdd8ddb0639 Author: Ping Cheng Date: Thu Oct 8 14:41:42 2009 +1000 Whitespace fixes, shift back by 4 Signed-off-by: Peter Hutterer commit c630873429e7dac0eafd3b966a0a515f861b7bb9 Author: Ping Cheng Date: Thu Oct 8 14:24:55 2009 +1000 Add m4 to gitignore Signed-off-by: Peter Hutterer commit ebc81447dd251b401455768fe3d3a274ec9d58c0 Author: Peter Hutterer Date: Mon Sep 28 16:42:12 2009 +1000 Reduce the number of available properties and standardize the naming. Instead of a property per xsetwacom option, compress them into groups like "Wacom Area" (instead of TOPX, TOPY, BOTTOMX, BOTTOMY). Since this isn't handled quite as simply as looping over the params, there's a fair bit of moving code in this patch. TODO: some properties need the transition. Signed-off-by: Peter Hutterer commit 72329bc103009bb84d574f57c3fac897f3c7fa77 Author: Peter Hutterer Date: Tue Sep 29 16:56:20 2009 +1000 Remove XYDefault property - this can be implemented in policy. This option is from xsetwacom to reset the area to the defaults. For properties, we don't need an extra one, we can implement it as a policy if invalid ranges are given for the area. Signed-off-by: Peter Hutterer commit edbc0bfa2d434af21966716d07d1a65454313cf6 Author: Peter Hutterer Date: Mon Sep 28 16:35:11 2009 +1000 Remove NUMSCREEN property Querying the number of screens is not the driver's job. Signed-off-by: Peter Hutterer commit 4d84bf25a660c58795bbf4e4df86d855932c6405 Author: Peter Hutterer Date: Mon Sep 28 16:32:31 2009 +1000 Remove STopN and SBottomN properties. According to http://linuxwacom.sourceforge.net/index.php/howto/all, these are parameters for xsetwacom to query the screen dimension. Not a property. Signed-off-by: Peter Hutterer commit e40198019a3ffad1f0d77c3eb2fcae49343ea870 Author: Peter Hutterer Date: Mon Sep 28 16:21:16 2009 +1000 Remove property for speed level and accel settings. We have sophisticated cursor accel in the server now, it is better to wean users off driver-specific accel methods and start using the server ones. Signed-off-by: Peter Hutterer commit 2a46c4719042257356c0aaa9e43c9d4e45126b33 Author: Peter Hutterer Date: Mon Sep 28 15:34:17 2009 +1000 Remove debuglevel properties. Something like this should be a generic property for all drivers. Let's not set a precedence by having a wacom-specific one. Signed-off-by: Peter Hutterer commit dbca87114b4699c2db9046fb54d4af492004b6d4 Author: Peter Hutterer Date: Mon Sep 28 15:33:15 2009 +1000 Remove Mode property, this is still controlled through DeviceCtrls. A property like that should be in the DIX anyway, it applies to all devices. Signed-off-by: Peter Hutterer commit 72815e638efe8176a2fd26b8af17f5a432b29b47 Author: Peter Hutterer Date: Fri Sep 25 16:30:38 2009 +1000 Remove coreevents property - not the driver to decide Signed-off-by: Peter Hutterer commit f834202e64015a355ca85e87b409c38fdb24a4d4 Author: Peter Hutterer Date: Fri Sep 25 16:28:35 2009 +1000 Don't expose button mapping as multiple properties. Run-time button mapping should be handled in the server, not in the driver. Signed-off-by: Peter Hutterer commit e0238a007d26ddc13ee9c3006d9be35ed336ab9b Author: Peter Hutterer Date: Mon Sep 28 15:41:56 2009 +1000 man: comma-separate authors. Signed-off-by: Peter Hutterer commit 3c7961d18f44fc290b57f68c1c9be6168cb11ece Author: Peter Hutterer Date: Mon Sep 28 15:35:22 2009 +1000 man: fix two typos. Signed-off-by: Peter Hutterer commit 61307141ea2796a99ebc59072e50f8c71943b145 Author: Peter Hutterer Date: Fri Sep 25 15:55:06 2009 +1000 Bump to 0.9.1 Signed-off-by: Peter Hutterer commit 83780b99919d5180deeac6e210a59acd7be30268 Author: Peter Hutterer Date: Fri Sep 25 16:03:48 2009 +1000 Use xorg-macros 1.3 for XORG_DEFAULT_OPTIONS Signed-off-by: Peter Hutterer commit bc76d8fd9361637113865d94fb97596414206b7b Author: Peter Hutterer Date: Fri Sep 25 16:01:20 2009 +1000 Remove the Changelog file, it's autogenerated Signed-off-by: Peter Hutterer commit b8a15ce6fa7157a6c1d565184c0e65ef91b3733e Author: Peter Hutterer Date: Wed Sep 23 16:23:42 2009 +1000 Don't load the kernel module from within the driver In the default configuration, we expect HAL to notice the kernel device, tell X about it, then X loads the driver which then tells the kernel to load the driver for the device that HAL will notice. Wait. what? Signed-off-by: Peter Hutterer commit c182aa1e14096ae3543f4095792bef00404ae7f5 Author: Peter Hutterer Date: Wed Sep 23 16:21:21 2009 +1000 Remove kernel 2.4 support We only support X server >= 1.6, let's assume the userbase running 1.6 on kernel 2.4 is negligibly small. Signed-off-by: Peter Hutterer commit 852c8db7d68ba43dd69e665563038d18ac7b0b48 Author: Peter Hutterer Date: Wed Sep 23 15:56:08 2009 +1000 Don't call DEVICE_OFF from Uninit. Once UnInit is called, the server has already called DEVICE_OFF for us. Signed-off-by: Peter Hutterer commit b7cd27c45a56462e4aa87abe194ff370a47a0b6e Author: Peter Hutterer Date: Wed Sep 23 15:55:00 2009 +1000 Remove erroneous comment about server >= 1.6 crashes. The server only crashes here if local->private is freed but not re-set to NULL. Signed-off-by: Peter Hutterer commit b3cba4e3543a98103282ba8fa55bf38012d23d9f Author: Thomas Jaeger Date: Sun Sep 20 20:24:57 2009 -0400 Remove support for old serial devices Acked-by: Ping Cheng Signed-off-by: Peter Hutterer commit df3c61392f82dac42a04aadc5ae79daff720d3c4 Author: Thomas Jaeger Date: Mon Sep 21 03:23:09 2009 -0400 Read 8-bit and 16-bit properties correctly Signed-off-by: Thomas Jaeger Signed-off-by: Peter Hutterer commit 92afc8cc94467dd83b5a58e752eeb72e5e91863a Author: Peter Hutterer Date: Thu Sep 17 15:43:31 2009 +1000 Remove empty unused src/xdrv directory. commit 212bd0e8d8f94c37521faa25bde71da22340ffb3 Author: Peter Hutterer Date: Tue Aug 4 08:21:21 2009 +1000 Fix up three remaining usages of MAX_BUTTONS. Reported-by: Ping Cheng Signed-off-by: Peter Hutterer commit e39ef59217ff608ebfad797074833d7b06dde92e Author: Ping Cheng Date: Tue Aug 4 08:16:16 2009 +1000 Add .gitignore file. Signed-off-by: Peter Hutterer commit 0983c3447fbe918a275eb98f46f666a631e56f79 Author: Peter Hutterer Date: Mon Aug 3 15:22:10 2009 +1000 Bump to 0.9.0. Signed-off-by: Peter Hutterer commit 7d149431c63c43c0ab5b046387b565488ea3d159 Author: Peter Hutterer Date: Mon Aug 3 15:19:24 2009 +1000 Rename MAX_BUTTONS to WCM_MAX_BUTTONS. MAX_BUTTONS is used and exported by the server. It is also currently set to 256 whereas the wacom driver's MAX_BUTTONS is 32 and used as a mask. Re-using MAX_BUTTONS from the server results in fake button presses when the mask overflows. A simple renaming adds some sort-of namespace and avoids this issue. Rename MAX_MOUSE_BUTTONS as well for consistency. Signed-off-by: Peter Hutterer commit 802d5b8e181c3ba4e57732bf5d1c8c7de893dc93 Author: Peter Hutterer Date: Mon Aug 3 15:02:01 2009 +1000 ifdef out custom keysym handling for ABI_XINPUT_VERSION 5 and greater. Signed-off-by: Peter Hutterer commit ab9f03ea439af8c5ffdbfb32d72aeb126bac2688 Author: Peter Hutterer Date: Mon Aug 3 14:43:12 2009 +1000 Initialize axis and button labels for XINPUT ABI 7. Button labels are currently just zeros and some axis labels are as well. Signed-off-by: Peter Hutterer commit cccfe837c311010a47eeec9338283e69f6081de6 Author: Peter Hutterer Date: Mon Aug 3 14:10:13 2009 +1000 Disable key strokes from the tablet. This needs a redesign, the bits it used to hook into are gone from the server. Signed-off-by: Peter Hutterer commit 2e01d5b83ae710c4dccfb5d79c7154c38419b9f3 Author: Ping Cheng Date: Mon Aug 3 13:32:38 2009 +1000 Purge old ABI support from the driver, add property support. This is unfortunately one giant commit. It removes support for pre 1.6 servers and the various ifdef's around the code to protect against funkyness of the various X server versions. This patch also adds property support to the wacom driver. Signed-off-by: Peter Hutterer commit 6c5b33444b2e6d7acacaf200dbf7bafc676328cb Author: Ping Cheng Date: Mon Aug 3 13:15:47 2009 +1000 Set up the default xf86-input-* directory structure, autotool. This version does not build as-is due to missing include files and headers that are about to be purged anyway. It does pass the autoconf stage. Signed-off-by: Peter Hutterer commit 0e7c5819592680b8f75e29ad3d97f85bf4fd8da0 Author: Peter Hutterer Date: Mon Aug 3 12:52:26 2009 +1000 Purge all but the X driver from this repository. Signed-off-by: Peter Hutterer commit 3b90a8c834ebd15b8d3bdabe46497080d820ce23 Author: Peter Hutterer Date: Mon Aug 3 13:00:07 2009 +1000 Enable automake foreign to ignore NEWS, etc. files. commit 6091ec388e9159c1390650e26091da3b1b2473bd Author: pingc Date: Thu Jul 30 21:39:34 2009 +0000 Support non-TwinView Nvidia dual setup commit d26f9dd44c53f3b27d6f3a9f3a20653d47fa1972 Author: pingc Date: Sun Jun 28 17:21:05 2009 +0000 Added kernel 2.6.31 support commit a2fb5b0a64dfd51ff1978ebb047aa3608b8f1750 Author: pingc Date: Sun Jun 28 17:06:57 2009 +0000 Support kernel 2.6.31 and DTF720a commit f9b0742fb5a577dc7e068559823c4d78ebb670b2 Author: pingc Date: Fri May 22 20:15:14 2009 +0000 Fixed a prox-out issue for menu strip in wacom_wac.c and updated --enable-quirk-tablet-rescale support. commit fdcca1c356cc282e1243de8cd1b01ba8c29609ed Author: pingc Date: Mon May 4 18:25:04 2009 +0000 Fixed a tool index bug in wacom_wac.c. commit 5eac83094bd49a4da9f3dc97813a8346eb00915e Author: pingc Date: Tue Apr 28 22:08:40 2009 +0000 added 60-wacom.rules to src/util for reference commit 1aacbddfeb4042e20ccb8a8b7e4555d9b7899234 Author: pingc Date: Mon Apr 27 21:30:41 2009 +0000 Updated 2.6.28 support commit 6be94eb174c67218bf4da496c9b6e4d1dc009117 Author: pingc Date: Thu Apr 23 22:59:48 2009 +0000 Updated wacomcpl commit 4076f5b834f0e63b7c3310db516847573e98dc8f Author: pingc Date: Tue Apr 21 18:54:18 2009 +0000 Removed NEWS and LGPL commit 0fc5767e2cf19779d3a4e00153177ccba6fd11aa Author: pingc Date: Fri Apr 3 19:41:10 2009 +0000 Added Matthew Garrett's hal-setup.patch commit 55bd0be4a412f6bb73855f36d1c53a82bd47da5d Author: pingc Date: Fri Apr 3 19:30:13 2009 +0000 Added kernel 2.6.28 commit 585e334fef932d72e5d13893d590128191fc7303 Author: pingc Date: Thu Mar 26 22:48:18 2009 +0000 Added Matthew Garrett's hal-setup.patch commit 38482b322d3bd5fa262affa9a49b97c8beffceee Author: pingc Date: Wed Mar 25 23:30:48 2009 +0000 Added support for Intuos4 commit 0778ceaef5de76cacdc537ff173f96c08aaac721 Author: pingc Date: Wed Mar 25 23:21:26 2009 +0000 added wcmTilt2Rotation.c and hal-setup-wacom.c commit 1fd7177a0b075994eef9618f29eb03a3809708c7 Author: pingc Date: Wed Mar 25 23:09:01 2009 +0000 removed 2.4.x and 2.6.8 commit 1f732abe434d717d7b30d2aa6933ba85e310d711 Author: pingc Date: Mon Jan 19 19:17:38 2009 +0000 Fixed bug #2499414 commit 878a8cff4967d05748f4a786dbe2e7bdf59307e6 Author: pingc Date: Tue Dec 30 22:04:02 2008 +0000 Workaround for Xorg 1.6 commit 987fcf7c814bd60a981616d2ec3833f8d0c15ed9 Author: pingc Date: Tue Dec 2 00:27:48 2008 +0000 Workaround for Xorg 1.5 commit cf1959686dbf7e3aa1a52001bf7660fbe11ccbd5 Author: pingc Date: Thu Oct 23 22:00:49 2008 +0000 Added kernel 2.6.27 support commit 9a414e1a3f095cfe5bc616c150241400d2dc7f51 Author: pingc Date: Wed Oct 8 23:22:20 2008 +0000 Updated wacomcpl and its related utilities commit be9b22da0e932e4c433e6bf23aa37e14ecc7c7dc Author: pingc Date: Sun Aug 31 20:23:18 2008 +0000 Added support for Bamboo1 Medium and Monarch commit d808be5022778375831e9351242aaf282bdd559c Author: pingc Date: Tue Aug 12 19:37:59 2008 +0000 Added support for serial capacitive TabletPC commit d8142c4c2ebac44a8fb8159c69c564b7ee613e68 Author: pingc Date: Fri Aug 1 20:16:31 2008 +0000 Added support to kernel 2.6.26 commit 0d9ac7e31ab8fa3e2e4edc52665490ecb7649200 Author: pingc Date: Fri Aug 1 20:12:15 2008 +0000 Added support for 2.6.26 commit b9a62e8b72adde7e2bc605b03ddb8eb1ddece0e5 Author: pingc Date: Mon Jul 21 20:56:08 2008 +0000 Updated USB and serial TabletPC w/wo touch commit e36b582824de6f9cb92844e282f7b3d6b9270853 Author: pingc Date: Wed Jul 9 16:02:18 2008 +0000 Support USB TabletPC w/wo touch commit 1c9627cde6e853301a407903967d1f45db0f5513 Author: pingc Date: Fri May 23 22:43:16 2008 +0000 Updated configure.in commit e7358ba15824d89e9b4915cb6e03e288c80b3cb9 Author: pingc Date: Wed May 14 22:52:45 2008 +0000 Fixed rotation issue commit 258ba05e634843b13d2f9e1a792ca0c9ebc96ec2 Author: pingc Date: Fri May 9 17:09:05 2008 +0000 Fixed serial Tablet PC baudrate issue commit 8783d82cc1ffecf43fca9495e477700cf1448aef Author: pingc Date: Sun Apr 27 02:30:19 2008 +0000 Update HOWTO file commit 5f4033c33451619fa361f5df51affa45641937f8 Author: pingc Date: Fri Apr 25 20:08:30 2008 +0000 Updated wacom.4x, wacomcpl, and wacomcfg.c commit 5a64f27cb18dc17a1bed05bbf007e09acbed364e Author: pingc Date: Fri Apr 11 22:08:44 2008 +0000 Minor fixes in wacomcpl and kernel commit 70d3dd054e8702767089d1cf5d21ca4ed052ed39 Author: pingc Date: Wed Apr 2 23:49:00 2008 +0000 Minor fixes in wacomcpl and kernel commit 425351f22821ade814f7f6412d18c1eb25904661 Author: pingc Date: Mon Mar 31 21:41:44 2008 +0000 Updated wacomcpl for keystrokes & added touch support for serial TabletPC commit 28fe7ad4583c3d41ad5b196f73ef4b56f1a78c0f Author: pingc Date: Fri Feb 29 20:52:48 2008 +0000 Support kernel 2.6.24 commit 4037d28c5a989e4225e8c03d3f6054719b7204eb Author: pingc Date: Fri Feb 29 20:49:24 2008 +0000 Support Cintiq 20WSX commit 883d6ad68d8591bba7fc1b46968ecf1f8b2e6dec Author: pingc Date: Tue Jan 22 19:26:10 2008 +0000 Prepare for hot-plug support on Xorg 7.3 commit b15f8391dcecc3235a2f8048b1ffc38d64bda289 Author: pingc Date: Thu Jan 10 01:41:58 2008 +0000 Updated configure scripts for Xorg 7.3 support commit fd096dab9c3dc345a1e1f24200bfb208fcfccf77 Author: pingc Date: Thu Jan 3 19:11:07 2008 +0000 Support Xorg 7.3 commit 984fc23eafa68b640cf4d80762aff794ba3c46cc Author: pingc Date: Thu Jan 3 18:36:24 2008 +0000 Support Xorg 7.3 commit 635463a5246a16df6fd1d6b5d6070a5dc59a490d Author: pingc Date: Thu Jan 3 18:27:52 2008 +0000 Clean support of outbound tracking for Bamboo commit 50cb6085d0fbeb2f9e8d9796c0adb5d5631ea6d9 Author: pingc Date: Fri Dec 14 00:56:11 2007 +0000 Clean support of outbound tracking for Bamboo commit 6e4606b1b969e4366c33e4319bb6e3cfd4c5c29e Author: pingc Date: Fri Nov 30 18:13:38 2007 +0000 Added prebuilt path for beta release commit 458bb854602cd80f061dc6858ce0b67f26728433 Author: pingc Date: Fri Nov 30 01:04:59 2007 +0000 Clean support of outbound tracking for Bamboo commit ee7dec233c5fcc858a8d550d92af3496f1f8dd75 Author: pingc Date: Fri Nov 30 00:57:52 2007 +0000 Clean support of outbound tracking for Bamboo commit 4d07e21841e26f5212917c7fad2b069df71232b0 Author: pingc Date: Wed Nov 28 18:24:07 2007 +0000 Merge patches 1818295, 1831998, and 1839008 commit 6f65a53cde6be39012e69546fdc44a7eb9ac9191 Author: pingc Date: Mon Nov 12 19:32:43 2007 +0000 Support BambooFun, Bamboo1, and Hummingbird commit 16dc273e8b4317d5e40f8dcdcde57f3551284122 Author: pingc Date: Mon Nov 12 19:31:30 2007 +0000 *** empty log message *** commit 759461199fc27e18a1a5e28ab99471a2fb6ea41d Author: pingc Date: Wed Oct 24 21:47:19 2007 +0000 Support kernel 2.6.22 commit a919e1c958a30552ece299d375454315c5b2250b Author: pingc Date: Wed Oct 24 21:28:15 2007 +0000 Support kernel 2.6.22 commit 7ce7bf1a735158f904493b9a896c24e2fd7c8cb4 Author: pingc Date: Wed Oct 24 21:15:23 2007 +0000 Fixed a few small bugs commit bfd11d0c000bbe24030f1f8dfc26f2c242a74de1 Author: pingc Date: Tue Aug 14 22:53:37 2007 +0000 Fixed a few small bugs commit 16e2da3dd5df14a26e75f91564e7ee98148f15e1 Author: pingc Date: Tue Jul 24 21:18:40 2007 +0000 Updated xsetwacom and wacomcpl commit 22dacadcffade1f21ea8d1f2e18d8e55559b1224 Author: pingc Date: Thu Jul 12 00:18:53 2007 +0000 Fixed a button bug in 0.7.8. commit 61d5330adc39ea26a2c56904bc87dc73ea87d484 Author: pingc Date: Mon Jun 25 21:25:11 2007 +0000 Added xsetwacom RawSample option and updated keystroke for absolute wheel and menu strip commit 5c84d506a3602bbddc98eef1a2562ee5979d3dcc Author: pingc Date: Thu Jun 14 20:58:24 2007 +0000 Added xsetwacom RawSample option and updated keystroke for absolute wheel and menu strip commit 4b18ba7eb74cc3aaee92105408a86be029cc492a Author: pingc Date: Tue Jun 5 17:05:34 2007 +0000 Updated xsetwacom suppress option and merged Ron's building patches commit f191942ed3b74e5c8525a3e449396044de4a8f0a Author: pingc Date: Fri May 25 21:38:18 2007 +0000 Added support to Bamboo and a few new xsetwacom options commit 5fe054d18a53fca352dc6ee8622e835dbcbf2458 Author: pingc Date: Fri May 25 20:05:23 2007 +0000 Fixed xsetwacom and relative bugs commit 65b904c492c0e919751a0d2a97803a2d7a4587f8 Author: pingc Date: Mon Apr 30 23:29:27 2007 +0000 Fixed xsetwacom and relative bugs commit 2fe7d4bde4c99a5a91eab4f2eb15c412debb9993 Author: pingc Date: Tue Apr 17 21:37:14 2007 +0000 Updated xsetwacom and fixed bug 1675567 commit 63fb0ef1f39ce9d33e27ab3c3ca282528d2d7d34 Author: pingc Date: Wed Mar 28 18:57:45 2007 +0000 Updated xsetwacom and fixed bug 1675567 commit 088dab520184d7ef2179ee598109bf0346894be4 Author: pingc Date: Wed Mar 21 21:13:40 2007 +0000 Support dual Cintiq with TwinView setup commit e7f6ded2edc063da66d6d9dcf608a88d8dbd42b4 Author: pingc Date: Wed Feb 21 00:13:39 2007 +0000 Support dual Cintiq with TwinView setup commit 014342a319825a57020bd440b76bb9a76f7918d7 Author: pingc Date: Fri Feb 16 22:06:15 2007 +0000 Support 2.6.19 commit 5b03c1eae287f98410f86e05032cb4508473b893 Author: pingc Date: Fri Feb 16 22:02:08 2007 +0000 Support keystrokes commit 164d65333078f353e15b2e21f055077472a3a20b Author: pingc Date: Sat Feb 3 00:11:18 2007 +0000 Improved outbound tracking commit 9023deacd1908809a52c09e5ac723be4bb338754 Author: pingc Date: Tue Jan 30 00:10:49 2007 +0000 Support multiarea and ThinkPad X60t commit 07c7565a93b92d166fc0b5a48f758ebf46cdf5b3 Author: pingc Date: Thu Jan 25 19:18:23 2007 +0000 Added ThinkPad X60t commit ccf5c34b9bf5c7c46f5e07a5573d10a54007f473 Author: pingc Date: Thu Jan 25 01:27:28 2007 +0000 Add new xsetwacom features commit 7d275c9641049b601a8d2542e18463d2efeac798 Author: pingc Date: Thu Jan 25 01:25:00 2007 +0000 Add support for Thinkpad X60t commit 9edbb4b41867f0b2eddbf229e78414f3e52e750e Author: pingc Date: Tue Jan 23 00:59:43 2007 +0000 Updated configure string commit a39619cdfa469ad189c49da4af2abeea1c32277b Author: pingc Date: Tue Jan 23 00:56:46 2007 +0000 clean X driver code commit 9920ac402067928c414a4aec7ee6efbe6857d069 Author: pingc Date: Sat Jan 20 01:12:19 2007 +0000 Split wacom.c commit 94cca8438b9a4d2a42bcda9868c5b68426928171 Author: pingc Date: Sat Jan 20 01:09:30 2007 +0000 Fixed bugs in wacom_sys.c and multiarea support commit ff4595036b04cda5fc1d5ff3986b28db15e73a82 Author: pingc Date: Mon Jan 15 21:46:24 2007 +0000 Fixed bugs in wacom_sys.c and multiarea support commit 8d5b18e87378245b377a39dd6d81e4e8db54c4e2 Author: pingc Date: Thu Jan 11 23:27:30 2007 +0000 Incorporated patches 1630928, 1630926, and 1614296 commit e3a5a3acde5ffeaf3b8e74ed1e43d8cce3df15f5 Author: pingc Date: Tue Jan 9 18:30:18 2007 +0000 Removed 2.6.14/wacom.c commit ab3b9a56651157034f46bed732beab0daf2d95da Author: pingc Date: Wed Dec 27 19:13:20 2006 +0000 split wacom.c into 4 files commit dd1c626c2da972115c05c785eb98ff56907fa113 Author: pingc Date: Wed Dec 27 19:01:06 2006 +0000 Incorporated Magnus Vigerlöf's patch commit 84398848acc61f5fca46e0c3850f277546b8ff59 Author: pingc Date: Mon Dec 11 19:53:06 2006 +0000 Incorporated Magnus Vigerlöf's patch commit a4f118a610c3294ea1533bf2643bb89b2092707c Author: pingc Date: Thu Nov 30 18:31:17 2006 +0000 Fixed Relative Cursor force out-prox issue commit d3d22533c6227a884a1865a4b636050f0e657f9f Author: pingc Date: Tue Nov 21 23:56:47 2006 +0000 Split wacom.c into 4 files commit 167ef19ee45d94a03987be94d98df74c1c392074 Author: pingc Date: Tue Nov 21 23:44:28 2006 +0000 Updated wacdump for TabletPC commit a0d8478ff0046c1865ed55a14f2984dcc81e536c Author: pingc Date: Wed Nov 1 00:37:40 2006 +0000 Updated wacdump for TabletPC commit f276dee836863314271c7aa45bf0a7dbb558b0dd Author: pingc Date: Tue Oct 24 22:48:59 2006 +0000 *** empty log message *** commit 24a6ad6b290a90df843e825d776397d879e27946 Author: pingc Date: Tue Oct 24 22:46:26 2006 +0000 Updated wacdump for TabletPC commit 0ca6cfbcb252c91b89bbf54972b0b821c0d6de0f Author: pingc Date: Tue Oct 24 20:12:05 2006 +0000 Removed $Id lines in unchanged 2.4 kernel files commit 84e374f0c5d00a710c57ded3cf05aa997277a907 Author: pingc Date: Fri Oct 13 18:03:50 2006 +0000 Release 0.7.6 commit c8b8455e6d71f999ae51d3b6f6f71b783e403112 Author: pingc Date: Thu Oct 12 18:09:12 2006 +0000 Release 0.7.5-4 commit 43cae5a89e9d5b32df463aca34cf49e3958a059c Author: pingc Date: Wed Sep 27 22:12:31 2006 +0000 Release 0.7.5-4 commit 2496d7dd5c019f3cf692c943f7c83c8e9b9ba7aa Author: pingc Date: Thu Sep 14 23:12:01 2006 +0000 Release 0.7.5-3 commit 1204c9ae9a1533cab57ae0375c11a3dbd9be8c53 Author: pingc Date: Thu Sep 14 22:01:34 2006 +0000 Release 0.7.5-3 commit 5322145739070906e72a91dc5ffd5a607d0bcf7c Author: pingc Date: Thu Sep 14 20:55:15 2006 +0000 Release 0.7.5-3 commit 1fd8d0c79b118a30e802ae0fa389422d89ad3eba Author: pingc Date: Wed Sep 13 20:56:12 2006 +0000 0.7.5-2 commit 377432da2abc73994d8680a5b7d45a6b5bad1ae6 Author: pingc Date: Tue Sep 12 22:51:24 2006 +0000 Free Device instead close it commit 2dbb99e1ee8a65dfbb6da1b565e575b191d8ea75 Author: pingc Date: Tue Sep 12 22:12:48 2006 +0000 Fixed an initalization issue in X driver commit d6ceb8b0c63f0c5052d2616ead1b8928701de432 Author: pingc Date: Thu Sep 7 23:30:13 2006 +0000 plug/unplug support for both XFree86 and Xorg commit 32bd4c69f7a7bc1308fd0f3dfcffb803e4bc7a4c Author: pingc Date: Thu Aug 31 22:35:33 2006 +0000 Reshaped the source tree commit 42869f6e9fc2d82e4e0bf1d3a10b75ca49db2b73 Author: pingc Date: Thu Aug 31 18:20:23 2006 +0000 Keep Graphire4 naxes as 6 for now commit 2a32e01ded808123670456aa474935cf116abc07 Author: pingc Date: Thu Aug 31 00:21:36 2006 +0000 Add all Wacom devices into hid_blacklist commit fd299eec942ae5e30162de22a85ff646d0573263 Author: pingc Date: Wed Aug 30 21:52:37 2006 +0000 A typo in wcmUSB.c commit a6097e15592b75a079e84dbbcef210ace6284215 Author: pingc Date: Wed Aug 30 21:30:55 2006 +0000 Fixed the pad initialization issue commit d85c13f7778aa838f65ab8f21d7897c6fefbf37d Author: pingc Date: Tue Aug 29 00:20:49 2006 +0000 Added Intuos3 4x6 support commit cb5f66677dcd68e4c021d3cc48006a35377adec4 Author: pingc Date: Mon Aug 28 20:05:43 2006 +0000 A file name change for kernel version commit 31f68105e73ccb43f970995b1c83d77fa45f5d12 Author: pingc Date: Fri Aug 25 23:53:24 2006 +0000 Fixed relative mode threshold check commit d6dd988830fd2209ccdcb3c8bebbe04afd3b3e9c Author: pingc Date: Fri Aug 25 17:52:49 2006 +0000 Check kernel version for 2.6.18 commit 57943f8cb9feefba00c1b1d89f9bb61d3e59e8a0 Author: pingc Date: Fri Aug 25 00:24:58 2006 +0000 Fixed a typo in wacom_sys.c commit 756a47b212fd486e5ce3c260de801dec7bae5005 Author: pingc Date: Wed Aug 23 20:46:06 2006 +0000 Fixed a syntax in wacom_wac.c commit 491763b07794bf1dafd59d1955389ed702fe1a3c Author: pingc Date: Wed Aug 23 00:55:45 2006 +0000 Fixed a syntax error in configure.in commit c436b886f3001eacbcdc3e03e0f99a0113897ea4 Author: pingc Date: Wed Aug 23 00:30:56 2006 +0000 Support on-fly rotate commit 294c00f2844d429d9b167b4c043c5eb241bed63f Author: pingc Date: Mon Aug 21 23:40:32 2006 +0000 Support 26.18 and specifiy tablet buttons commit 991cdba085b86c8536362221ef59ec27ce85d9f5 Author: pingc Date: Tue Aug 15 20:48:05 2006 +0000 Updated configure.in commit c5cbca7b1283ad897b1806e4fe6381a2c223d13d Author: pingc Date: Fri Aug 11 00:17:49 2006 +0000 Backward tablet menu strip support commit a11d351777f5ff31a9eb55e83cd4413c984516bc Author: pingc Date: Mon Aug 7 17:51:42 2006 +0000 Added wcmFilter.h commit 13d3ce794bd6d4ce63d8403069f3b1051b2dfa8e Author: pingc Date: Mon Aug 7 17:50:51 2006 +0000 Updated wacomcpl commit 2debfce6f9d6bfb206da2e1711d04f42cddd71e1 Author: pingc Date: Mon Aug 7 17:18:19 2006 +0000 Reshaped the source tree commit b4c28e85d277f5aa3c468ae9a2aed945c86b29dd Author: pingc Date: Mon Jun 19 16:19:39 2006 +0000 Fixed a Volito bug commit b7b19ea55974e031824702c14ff9f961c89849d2 Author: pingc Date: Mon Jun 19 16:09:06 2006 +0000 Fixed a Volito bug commit a2b19be24c5206fb56a4d28b2801dbda8ce5071f Author: pingc Date: Sat Jun 17 00:19:13 2006 +0000 Ready to release 0.7.4-3 commit e2f285b09d8e536ba9d3a195c048a6e4c53324c3 Author: pingc Date: Sat Jun 17 00:13:30 2006 +0000 Ready to release 0.7.4-3 commit 0d9ed25a912fd63fa45158496b609c0fcc217974 Author: pingc Date: Sat Jun 17 00:07:17 2006 +0000 Remove line in 2.4 kernel files commit ce9368b96b673005ec3db673498c52636537550a Author: pingc Date: Sat Jun 17 00:01:58 2006 +0000 Remove line in 2.4 kernel files commit b3aa8af79acf3451a91bc6c895d0e69101d3f0f9 Author: pingc Date: Fri Jun 16 21:25:34 2006 +0000 Fixed a Volito1 bug commit 21ded9f0c3aa2dfe5e88ed3f8d9afde8ce601743 Author: pingc Date: Thu May 25 21:27:28 2006 +0000 Updated configure files commit 59c53048a2bbe890e29ab7bfa8dc512e3c610372 Author: pingc Date: Fri May 5 17:31:39 2006 +0000 *** empty log message *** commit 9d40acbbb96240612d86d6e55301967096fafde1 Author: pingc Date: Fri May 5 17:21:55 2006 +0000 Ready to release 0.7.4 commit 5dc452744428809f76e028bd651d015c3a6fc62f Author: pingc Date: Wed May 3 23:22:36 2006 +0000 Removed older 2.6 kernels commit efcc12bd4d5c8fd83b0bcfb78107a9e764baf842 Author: pingc Date: Mon May 1 17:49:43 2006 +0000 Support X.Org 7 commit b7049bfad7e7127b207383eb7a81d7f9803e9ccb Author: pingc Date: Thu Apr 6 18:16:23 2006 +0000 Ready for 0.7.3-1 commit e94b059a7762c9d16c8686ce9fa9fb11ac49e0a4 Author: pingc Date: Wed Apr 5 16:33:48 2006 +0000 Supporting kernel 2.6.16. Updated mouse1 page commit 850fcf743066491f1d77a76d3011e07ac4b282fb Author: pingc Date: Tue Mar 28 01:35:06 2006 +0000 Updated wacom.c and wcmUSB.c commit b1b7a0f2b9a4ba68413e006abf04bca410065d8a Author: pingc Date: Tue Mar 14 01:17:41 2006 +0000 Ready to release 0.7.3 commit 638fd320b1bff6ca6c488291f572b780b543b23d Author: pingc Date: Tue Mar 7 00:29:03 2006 +0000 Supporting tablet attach/detach while X driver running commit 547f03523957bb59eff1a4ce87da6c9a71e29ce1 Author: pingc Date: Mon Feb 27 21:52:39 2006 +0000 Added 2..6.15 support commit d7559ad5070812d196a30517a6989afaaba86d1f Author: pingc Date: Mon Feb 13 05:24:22 2006 +0000 Added DTF 521, I3 12x12, and I3 12x19 commit b2b7582fff2ef5ba3fd6b81efef2406d2f534a94 Author: pingc Date: Mon Jan 9 22:46:36 2006 +0000 Updated webpages commit 1e6d4d973b327c1e3a2458a793415048fbb669e9 Author: pingc Date: Fri Dec 23 21:37:37 2005 +0000 Update web pages commit 48ca4cc9a92da694b4ec3bd0e9c0d46dad9b587b Author: pingc Date: Wed Dec 21 23:04:34 2005 +0000 release 0.7.2 commit de3f0b95ad5ef555454ee2036effe21679951fda Author: pingc Date: Fri Dec 16 19:43:36 2005 +0000 updated configure.in and acinclude.m commit 0537f349ef0fd60e6f50018a9ea8cb8058a59c9a Author: pingc Date: Mon Dec 5 22:41:29 2005 +0000 Changed AC_MSG_ERROR to AC_MSG_RESULT in acinclude.m4 commit fdb5ce078af32a5265b7d6347d25c7e7c2d40c15 Author: pingc Date: Mon Dec 5 20:39:50 2005 +0000 Fix a typo in acinclude.m4 commit 0b6ed0cf160ea6c44203746d57b18bbecc311b13 Author: pingc Date: Mon Dec 5 19:27:55 2005 +0000 updated acinclude.m4 commit d3844436fa8d7ef5f1bf41a6f923f8e8c42a89be Author: pingc Date: Mon Dec 5 17:55:10 2005 +0000 updated configure.in commit 6075eece15568f4e0b7208e721e50d8d2c5ef2c5 Author: pingc Date: Sun Dec 4 23:46:09 2005 +0000 updated configure.in commit 301bed19844c59cd5c2450bfc496291eb50940bd Author: pingc Date: Fri Dec 2 20:29:47 2005 +0000 Removed mousedev.c and usbmouse.c from src/2.6.x commit 892b6746ab657e5d3ab246712641d11ba622db1a Author: pingc Date: Wed Nov 23 00:29:44 2005 +0000 0.7.1-1 released and web scripts updated commit 00f0a093bef1ffab52abedbc71ce44ce6ea31c21 Author: pingc Date: Fri Nov 18 18:12:29 2005 +0000 Fixed a wacomcpl and a wacom_drv.o bug commit da4b82c4d2a9c0a186a42581cdf1aa9fc37b8759 Author: pingc Date: Wed Nov 16 00:44:36 2005 +0000 Updated wacomcpl, xsetwacom, and wacom.c commit 29b522a1f419b410cb582455329498e0d7a64e17 Author: pingc Date: Mon Nov 14 20:37:39 2005 +0000 added k2.6.14 and reporttool id and serial number to Xinput commit e9f3f4482daa11cd05604e013d68d7230c148fba Author: pingc Date: Thu Nov 3 01:14:42 2005 +0000 Released 0.7.1 and updated web commit 343eef7f50645f6eebe019dc21a20b81eca4f698 Author: pingc Date: Wed Oct 26 00:36:47 2005 +0000 updated wacdump and xidump commit 9fadf910f39f4219184ace994abd69e715c76caa Author: pingc Date: Wed Oct 26 00:36:47 2005 +0000 updated wacdump and xidump commit a2aa2f257a8837fff1062c34074b1b97b6269d66 Author: pingc Date: Thu Oct 20 23:03:38 2005 +0000 Commit 2.6.13 code commit f729cba1ec2b9993dbdde8790b0e33ed8a6c48ba Author: pingc Date: Thu Oct 20 22:56:01 2005 +0000 Added 2.6.13 commit b02554b413af0443873b5429ebb156ed54bfb410 Author: pingc Date: Mon Oct 10 19:25:32 2005 +0000 Add Graphire4, DTF720 and DTU710 commit 7c7bac245ad054d808e74536264c3ccc1f493f50 Author: pingc Date: Fri Sep 23 23:53:09 2005 +0000 Updated website commit 96c28e6c9d53d4ac5293606419ef075291339eac Author: pingc Date: Mon Sep 19 23:19:18 2005 +0000 Fixed a serial Graphire bug commit 077b10c7457b5fbfd7c9d1c862e2422ea133377e Author: pingc Date: Fri Sep 16 19:21:03 2005 +0000 Reports USB tool ID commit 81da644f03a9d1c46cc93205ba1016ea2def358e Author: pingc Date: Fri Sep 9 23:53:18 2005 +0000 Supports 16 buttons for all tools commit a16eadbc6a78c63bab3ca5e937b7eb9cc05bd9b7 Author: pingc Date: Wed Sep 7 23:53:05 2005 +0000 Messed ChangeLog last time commit 84cdf45fc2bd281cc5446cba23b7654af6a16f16 Author: pingc Date: Wed Sep 7 22:47:10 2005 +0000 Updated wacdump and acinclude.m4 commit 5da0e68d596696e2d585cd5c55d3aab313851672 Author: pingc Date: Wed Sep 7 17:53:15 2005 +0000 Updated wacdump and acinclude.m4 commit 176cff822047f511a653125f919cd2e62f868ae2 Author: pingc Date: Fri Aug 19 01:08:33 2005 +0000 update ChangeLog commit a8b8ab0e1d25ecb0cef480e61aa2912afe9e5c91 Author: pingc Date: Thu Aug 18 18:50:30 2005 +0000 added evdev.c for 2.4.30x86-64 commit cecfe281694d3895dfc4dbf0c0f660926a403197 Author: pingc Date: Thu Aug 18 18:45:38 2005 +0000 Updated wacomcpl and merged Volito2 & PL700 patches commit d2ab386153d092dcaa96465af18e2598c45e6ba0 Author: pingc Date: Wed Aug 10 19:05:21 2005 +0000 Fixed a dlloader issue commit df54a482af0e14ee4f27d062484aee7a9e9f1533 Author: pingc Date: Mon Aug 8 20:53:27 2005 +0000 Fixing Graphire bug and adding dlloader option commit 00197f0e9a3da737225292ad9e2e6b546c7a3efe Author: pingc Date: Thu Jul 28 22:59:05 2005 +0000 GTK configuration change commit 4080136debeb8c58d8f768dbbb5cad00a1bcd2d6 Author: pingc Date: Tue Jul 26 23:26:42 2005 +0000 Fixed a serial P4 button switch bug commit 9214262aab46015493368dc42744a69396dc0b4f Author: pingc Date: Wed Jul 20 21:45:04 2005 +0000 Support x86-64 X server commit 4d660b9fbe4dc306a61f06589260f0b299721b6e Author: pingc Date: Thu Jun 16 21:33:33 2005 +0000 Removed some unavailable links commit 3e60b14c779ab71f4abf7abf2228a697ff6e6e40 Author: pingc Date: Thu Jun 16 17:04:08 2005 +0000 Fixed a bug in configure.in commit 451c941b2f97f8df2845bed4edd871ffcd560704 Author: pingc Date: Wed Jun 15 23:17:58 2005 +0000 Added 2.4.30x86-64 and updated website commit c608561ac93135d7597d12261aa5ac3430078d6c Author: pingc Date: Wed Jun 15 17:19:43 2005 +0000 Support tablet orentation rotation and x86-64 kernel commit dea170059f7bfbd05e77f35bbcecd7c8803a89d0 Author: pingc Date: Fri May 6 18:13:19 2005 +0000 Released linuxwacom-0.6.8 commit 36745183a78e1e04a1e2a20f7080a584469e6e11 Author: pingc Date: Mon Apr 25 19:02:37 2005 +0000 Cleaned tablet mapping and resolutions commit dbfb06686282a610e9609075947ba106441cf985 Author: pingc Date: Mon Mar 28 23:09:59 2005 +0000 Released linuxwacom-0.6.7 commit 01516e38f4e908ae1fb028d7fcbf604076a4fff3 Author: pingc Date: Fri Mar 18 18:17:43 2005 +0000 Added support to kernel 2.6.11 commit 2db6dfa8eaa277b65a65a8735410a0677e1b278f Author: pingc Date: Fri Mar 11 22:49:26 2005 +0000 Added Cintiq 21UX support & updated 2.6.x/Makefile.in commit 739066a4a08199f12e9af34fdac9d19f849f4804 Author: pingc Date: Wed Mar 2 18:08:33 2005 +0000 Somehow 2.6.10 removed in last commit commit 574d6941f9ad52a299c7f77a477fc9696aca3b5b Author: pingc Date: Mon Feb 28 22:10:59 2005 +0000 Fixed a Graphire/Volito button bug and added xserver64 option commit 8b3339e45493253ce3485b28a8350fe755d2730d Author: pingc Date: Wed Feb 2 23:51:11 2005 +0000 fixed 2.6.8/wacom.c and wcmSerial.c commit a73d00b8357046151f86b142e1a747e586580b93 Author: pingc Date: Thu Dec 2 00:36:11 2004 +0000 Support kernel 2.6.10 & build driver locally commit cc2ea36b59b6b3f0d84f489f58f3797abbc15edb Author: pingc Date: Sat Nov 6 04:55:02 2004 +0000 Released 0.6.5 as beta commit a751b3701050a0548dea5f39963e26e61088de83 Author: pingc Date: Sun Oct 31 22:59:58 2004 +0000 Added new branches for each kernel version commit 6828fbf8a4a605b298be6c940423127752421549 Author: pingc Date: Fri Oct 15 17:26:59 2004 +0000 Fixed Intuos3 pressure bug in wacom.c commit e41ce2e84faa928cd391bcab299aefac74ef9ff1 Author: pingc Date: Thu Oct 7 18:36:35 2004 +0000 Added Intuos3 support commit d26dfd8d22239249ab7e53877d6b8adad54bcc01 Author: pingc Date: Fri Aug 6 23:12:50 2004 +0000 Updated website and released 0.6.4 commit 8d6866a837d2f79ac364582635a649fcc5c91cf3 Author: pingc Date: Fri Aug 6 18:08:26 2004 +0000 release 0.6.4 commit 8c32155832a083f2c04f9001983eaf37796d2b0d Author: pingc Date: Mon Jun 7 17:03:13 2004 +0000 update prod, dev, and web commit c0a29bed2b76db851a195c9cfa04ead095a61d61 Author: pingc Date: Wed May 26 00:12:23 2004 +0000 Modified wacomcpl defaults commit 14a707efffc370aac872ac0122cddf246c446746 Author: pingc Date: Tue May 25 17:26:12 2004 +0000 Fix PressCurve for wacomcpl commit 57ae8732a9a3add86b588d72677444d906f760ea Author: pingc Date: Mon May 24 21:22:25 2004 +0000 Fixed wacomcpl-exec Feel window bug, support kernel 2.6.6 commit 946cb58c4c82c4f750f6a944b2e2d8cd2246d97d Author: pingc Date: Tue May 18 18:03:03 2004 +0000 Fixed Relative speed and TPCButton bugs commit aa037aa727b4b9916a4aafcf82f6a92e84a38a8f Author: pingc Date: Fri May 14 22:02:58 2004 +0000 Bug fix and webpage update commit 3620b7a937513d06490e62d586faa631979a8797 Author: pingc Date: Fri Mar 12 01:08:04 2004 +0000 Fixed DoubleSpeed and DoubleRadius issues commit 4c2d30330a227ef138cb134304077d2c6ebab4c4 Author: pingc Date: Fri Mar 5 21:22:43 2004 +0000 Updated webpage for kernel 2.6 commit 35cde37b646441ea77abc21bdaf8a9cc1aec393c Author: pingc Date: Wed Mar 3 01:05:46 2004 +0000 Support 2.6.2 commit 5ff3d4cf33075e44f41fb78d618750bf6d80f7bd Author: pingc Date: Wed Feb 25 18:33:08 2004 +0000 Add Mode Toggle commit f819f63eb9aa2b96bcb1740fd099c7b5e714c9a8 Author: pingc Date: Sat Feb 7 01:01:14 2004 +0000 Support kernel 2.4.24 commit b95f86083d590ffb42f33e0bc97aaf9726c64e88 Author: pingc Date: Thu Feb 5 01:03:12 2004 +0000 Released version 0.6.0 commit 34f7890324a99797afb6428e29db1e48d5a780ed Author: pingc Date: Mon Jan 19 22:16:13 2004 +0000 Sync wacom.c and support 2.4.23 commit 79c09659d0986baac085fd763f1c7e2c47cb5ed6 Author: pingc Date: Wed Jan 14 01:28:30 2004 +0000 wacomcpl and wacom.c (k2.6) changes commit 46a7d178c241330e26c993d54da62477c99fbfd8 Author: pingc Date: Mon Dec 22 19:44:22 2003 +0000 Redesigned wacomcpl commit 955fef1b3e59726efdcc67218695b55590ae49ae Author: pingc Date: Fri Dec 19 00:55:30 2003 +0000 Modified config and make strings commit a8808b5eff08a19a502700ae168ce0b9e5bf5cc0 Author: pingc Date: Thu Dec 18 00:09:19 2003 +0000 Support Tablet PC in wacomcpl commit 4c34105963287d217ddbd20f8c53b3a3c67e532b Author: pingc Date: Mon Dec 15 20:13:40 2003 +0000 Bug fix for k2.6.0 support commit 5f9b8fc72e59d719f6fa22ab4eee9ef88a71fe71 Author: pingc Date: Wed Dec 10 01:13:43 2003 +0000 Support kernel 2.6.0 commit df68c518131adf7d9173a894cf1231af6e06d549 Author: pingc Date: Wed Nov 26 19:00:23 2003 +0000 Modified installer commit afed851d581700ec5781d7bad31e360521e8bc06 Author: pingc Date: Tue Nov 18 19:38:41 2003 +0000 Tablet PC general support commit 27161f4d5739d19fe14ed545033365532653b329 Author: pingc Date: Mon Nov 10 20:00:02 2003 +0000 Created directories to ease ongoing kernel support commit f0bb07c364ff531286885950df6fd6da83e91bd4 Author: pingc Date: Mon Nov 10 18:46:35 2003 +0000 *** empty log message *** commit f5c7e4fccf8338042ee4358642eede46f6d6da5b Author: pingc Date: Thu Oct 9 23:36:07 2003 +0000 Support kernel 2.4.22 commit 8084d4a7cda2d9a26cc10eee91c92359ab270369 Author: pingc Date: Tue Sep 30 16:55:19 2003 +0000 Fixed TwinView relative mapping error commit 329178f48cf0a169b007e847949c9fd7e6747b9b Author: pingc Date: Wed Sep 24 23:43:24 2003 +0000 Support different screen resolution in TwinView mode commit 2e26854f97c193d74bdb7241cdb2259f01076b1e Author: pingc Date: Mon Sep 22 22:09:40 2003 +0000 Support TwinView calibration and Screenno Option commit f0b1f7c8cb1337102bfb554f9efe60fd1698140c Author: pingc Date: Wed Aug 13 22:31:09 2003 +0000 Added new wacomcpl functions commit a41fa7293692ac53a2800679997581101a5445d6 Author: pingc Date: Thu Jul 31 23:00:30 2003 +0000 wacomcpl Button and Mode support commit 3db352b822ba82be84c0df76d48be5c85bfc96ec Author: pingc Date: Wed Jul 30 00:10:11 2003 +0000 Fixed set mode value commit 9d4c74a7fd07582320012006c652d5ea584042ef Author: pingc Date: Thu Jul 24 23:31:50 2003 +0000 Added xsetwacom commands - Mode, SpeedLevel, and ClickForce commit 52ea21640fcaa0c698d3f39ba518a85bd16195e7 Author: pingc Date: Sat Jul 19 23:20:32 2003 +0000 Fixed Intuos tilt filter commit 73f82cb1cf1b7d552d7a97f039addf55ccfe32fa Author: townsley Date: Fri Jul 18 02:20:46 2003 +0000 add button support for styluses with two side switches. commit 4c98c902a2f43997e049882a1ded3c332444620b Author: townsley Date: Fri Jul 18 01:56:23 2003 +0000 fix eraser selection. commit dc0d76a30715ef5505a25a1143786cbb9a0e2aa0 Author: pingc Date: Wed Jul 16 20:38:51 2003 +0000 Added noise reducing filter and Improved USB relative movement commit 7672cca061cadd93a16bc96c5f2e0554ccc1c1e0 Author: jjoganic Date: Fri Jul 11 04:35:29 2003 +0000 Updated release. commit d1b8e8ad492b2ed30873e35d397d780751086f37 Author: jjoganic Date: Fri Jul 11 04:33:44 2003 +0000 Fixed date. commit eb8eeee3a91da88dfdc760c81965fdb7aa640a51 Author: jjoganic Date: Fri Jul 11 03:37:52 2003 +0000 Fixed intuos filter, added pedantic to compiler options, minor warnings fixed. commit 46a981bd15f25999acac7522e777bff7d59c5159 Author: pingc Date: Mon Jul 7 21:24:15 2003 +0000 Changed src/Makefile.am to support kernel 2.5 commit 042d685611f9504f16d1f7f27188e1b309423240 Author: pingc Date: Wed Jun 25 18:34:10 2003 +0000 Support TwinView setup commit d17b6102664a9e211d371fcaf5910f27aa26dfa7 Author: jjoganic Date: Thu Jun 19 15:49:19 2003 +0000 Suppression value of 0 disables suppression. commit 7c2aaef2f31b73ab0b41a93312f78de698976e55 Author: jjoganic Date: Thu Jun 19 15:40:49 2003 +0000 Added 0x47 to wcmUSB, updated version number. commit 7ae94b2b29a3400eef9a172ecb21d7a710213e06 Author: jjoganic Date: Thu Jun 19 15:37:23 2003 +0000 Updated version numbers of 0x47 patch. commit 8b767f4b216d48ddef7387bd69b7acd43f605eff Author: jjoganic Date: Thu Jun 19 15:28:44 2003 +0000 Fix for Intuos2 6x8's reporting as 0x47. commit e6d2e00da747956ee243d5198d79588b9c3d3e62 Author: jjoganic Date: Tue Jun 17 16:16:46 2003 +0000 Added xf86 version. commit b76731af9fbd785b29253a043123fdd6760f2765 Author: jjoganic Date: Tue Jun 17 02:08:31 2003 +0000 Added mkxincludes, automatic configure for x-includes. commit c8611fdbb2ddc1b3996192d4b88e69ec4bd75d83 Author: jjoganic Date: Mon Jun 16 04:11:20 2003 +0000 Updated versions. commit 2ec5c22f1112912434c310a1258765c2bf401a71 Author: jjoganic Date: Mon Jun 16 04:07:43 2003 +0000 Distribution release 0.5.1-beta. commit 1fe75a504210a67cb89fa02956e00767523a1516 Author: jjoganic Date: Sun Jun 15 03:10:03 2003 +0000 Intuos filtering enabled by default. Fixed APM restart problem. commit 6868108bbc279c50ab7c934afa75741d679cf230 Author: jjoganic Date: Sun Jun 15 00:56:18 2003 +0000 Moved wacomxi, updated tcl and tk dep check, restored intuos filter commit eeabc4314bd0c392a515483a0dcf4d6b55e89e04 Author: pingc Date: Fri Jun 13 00:39:18 2003 +0000 Added pkgIndex.tcl for wacomcpl commit 299d9c35763fe1f2cfa8ed8d32d4c499464e2de2 Author: pingc Date: Fri Jun 13 00:35:04 2003 +0000 Changed wacomxi.so to libwacomxi.so for automake commit 4b54ca479364220af344b0998950d0ad491936ec Author: pingc Date: Wed Jun 4 00:42:20 2003 +0000 Added wacomxi.c, wacomxi.h and wacomcpl to project commit 9b66e8a00ce4461d9d753be7caa55d4546cb11de Author: pingc Date: Wed Jun 4 00:35:35 2003 +0000 Add wacomcpl - just a calibration utility at this moment commit c376a5c1a6f3b9c18048fc1ca6f9ec3966290823 Author: jjoganic Date: Fri May 16 04:24:40 2003 +0000 Added timestamp to sample structure; xidump shows velocity and acceleration. commit 6172c30dc15e1918fc3dc3dd493989ef7d2a4277 Author: pingc Date: Tue May 13 00:15:06 2003 +0000 Support relative wheel as 4/5 button and cleaned valuators for relative mode commit 4a2ab077a79146d5a4ab8946976490c46b60fccd Author: pingc Date: Sat May 10 00:23:11 2003 +0000 Added Cintiq Partner, G3, and a few xsetwacom commands commit 4e3653ae8b040678856da70bb198380c8ef99cf6 Author: pingc Date: Sat May 10 00:14:08 2003 +0000 Added Cintiq Partner, G3, and a few xsetwacom commands commit 673e6d883005c8683c361ddc9d1f1f90f16180e8 Author: jjoganic Date: Mon May 5 06:20:40 2003 +0000 Added raw filtering, overhauled device reading, various consolidations, and added historical states for error correction code. commit 9a694eaa59d0326d5a96f1f3a1397f9de80885af Author: jjoganic Date: Sat May 3 09:35:14 2003 +0000 Updated pressure curve; configurable pressure curve, debug level. commit 17873f7968b59cb2f8e9a55fd7830e715559d52e Author: jjoganic Date: Sat May 3 04:23:04 2003 +0000 Added xsetwacom and friends; configuration coming soon. commit d561e186fb96db408cdb3e47a6687479635826af Author: haoto Date: Fri May 2 11:16:42 2003 +0000 Cleanup; moved pressure button downstream, set-screen up; dx+dy suppression commit 1fc354485bb188829fed2d75246b0cd2ce55840b Author: jjoganic Date: Fri May 2 00:38:58 2003 +0000 Moved throttle check out of suppress; graphire wheel is relative. commit 36ca239d6c64eff9435f4d0e8b436ed57fe1497d Author: pingc Date: Wed Apr 30 22:29:00 2003 +0000 Add Button options and support sending data back to driver while system running commit 72057fc3bd1d8ab6824b7af8c42e8d81a2f98ac8 Author: jjoganic Date: Wed Apr 30 07:46:27 2003 +0000 Added pressure curve. Very tight. commit ae379faf599f8750b031712d40008b80888565c8 Author: jjoganic Date: Wed Apr 30 04:33:24 2003 +0000 Split absolute and relative wheel values in early stage of data path. commit e67e830f0471e660e00a0833a7f50af4e9a6f87e Author: jjoganic Date: Wed Apr 30 04:32:20 2003 +0000 Split relative and absolute wheel value. Updated graphire parser. commit 0664746c847314c9a299c0e6f0d12c4edd046684 Author: haoto Date: Sat Apr 26 10:29:15 2003 +0000 Fixed USB protocol 4 bustage. commit 08f8f3662f81c29f47520f51d84e5c417f064c16 Author: pingc Date: Mon Apr 21 23:15:44 2003 +0000 Updated serial UD and PL support commit 32190832bbc3208122c40c621ac0e30b358a0203 Author: pingc Date: Mon Apr 21 23:09:20 2003 +0000 Changed wcmSerial.c. commit a96a10ad50ffc0b78c7fd87e77c2827f11382661 Author: haoto Date: Fri Apr 18 16:47:26 2003 +0000 fixed throttle code, slightly refined Xinerama code, dead screen area check commit 2608d2b3c1b2e2bcdbe185aaba217e8f5926945a Author: haoto Date: Thu Apr 17 18:21:23 2003 +0000 set screen only for core events; multi-screen keepshape; (temporarily) reenabled fake button 4/5; unified cursor acceleration. commit e9fccad969c975faf73c1c672a095988d0af94d3 Author: haoto Date: Wed Apr 16 18:45:26 2003 +0000 Fixed USB protocol 4 devices broken by last change. commit 8f168d6a8db1592177fbf96f5fd121b3e5cef8c3 Author: haoto Date: Wed Apr 16 16:59:32 2003 +0000 Software solution of dual channel input for USB devices. commit 2273cd935ba9a2cfff8a23acab9f8e74664a1aa8 Author: haoto Date: Wed Apr 16 14:07:43 2003 +0000 Basic Xinerama support. commit 9c061ad9fcec144fb2224a3b777d8abf55262ed6 Author: haoto Date: Mon Apr 14 12:37:23 2003 +0000 *** empty log message *** commit 2497b894eb5f0a3bf05af619772a35d072781fd5 Author: haoto Date: Mon Apr 14 12:31:52 2003 +0000 Small KeepShape fix commit 6b6df9eb11c8d75a71ef34dcd917211f35a7905b Author: jjoganic Date: Wed Apr 9 08:32:16 2003 +0000 Removed extraneous device type flags. commit 249e66b4272b81988933dd8e4c742aeabab5f30e Author: jjoganic Date: Wed Apr 9 08:27:43 2003 +0000 raw throttle on 4, fixed serial 4d mouse rotation, threshold defaults. commit 6fd7dee897a423703ff60891794a4a73db8a35f9 Author: jjoganic Date: Wed Apr 9 07:00:30 2003 +0000 Exploded out serial initialization, fixed USB tilt ranges. commit f99fbe5a587488891a5e2d2eae88592c374e3f60 Author: jjoganic Date: Wed Apr 9 02:06:00 2003 +0000 Pulling initialization apart; please be patient. commit 70c6b14450f5597f5438130e66ea189e98f00fc0 Author: jjoganic Date: Tue Apr 8 07:20:46 2003 +0000 Added channel code; device proximity bound to channel. commit 7ae7f4d3114daba07974456d9f5acb82e5573b7a Author: jjoganic Date: Tue Apr 8 05:34:45 2003 +0000 Updated pressure code, formalized data path, protocol4 still needs help. commit 3481e8eb59a80777b75b0ece238375f0319051c5 Author: jjoganic Date: Tue Apr 8 01:08:11 2003 +0000 Added const restriction on data path. commit ea48d0f809d877f8c64e30d11d19de11e6792fe1 Author: jjoganic Date: Tue Apr 8 01:00:32 2003 +0000 Moving functionality around. commit 3c5b0389419a403a84f96efd451c072af5bc6abd Author: jjoganic Date: Mon Apr 7 22:40:22 2003 +0000 Moving state pieces around... maybe broken, sorry. Will fix soon. commit ce61117962774045fda6901fc817cb2248e6b794 Author: jjoganic Date: Mon Apr 7 19:22:10 2003 +0000 Fixed bug in tilt filter. commit ee4cace0f4fe40d80d6caf4151ccfcb90e7c788c Author: jjoganic Date: Mon Apr 7 18:26:27 2003 +0000 Quick bug fix. commit bc706c12d1306234869bd812aacc770e5db6cb1f Author: haoto Date: Mon Apr 7 14:55:54 2003 +0000 Set resolutions for USB tablets. commit 3fd1d8728b92cfb88269f2a7d8096f045831abe1 Author: jjoganic Date: Mon Apr 7 08:20:39 2003 +0000 Updated log entry. commit dd7ca14595dba41458062254e75aa66c4f2c339f Author: jjoganic Date: Mon Apr 7 06:33:05 2003 +0000 Refactored xf86Wacom.c. commit bdbbe6daedf72a8c056d1207cbbf1fc2af46303f Author: jjoganic Date: Thu Apr 3 03:13:54 2003 +0000 Added Jonathan Paisley's reattach patch to evdev.c commit 6ab7cff8e8cd93203282c0cfce35d61fae5fd86c Author: jjoganic Date: Thu Apr 3 03:03:54 2003 +0000 Added J. Yen's "misc fixes" patch to xf86Wacom.c commit 9a25da393ea410facd5f96eb864c8192ab139c1f Author: jjoganic Date: Tue Apr 1 05:52:57 2003 +0000 Added fix for mousedev.c commit 163e287cdff696a1aaf6e22e0a8707d320659a03 Author: jjoganic Date: Sun Mar 23 06:09:11 2003 +0000 Merged Dean Townsley's ISDV4 patch. commit 80d41e3ca955a5062de702791c467ac06dc4bf47 Author: jjoganic Date: Sun Mar 23 05:56:42 2003 +0000 Preparing updated 0.5 package. commit aeda95cf693266a420875a8234def8359dcf3ac5 Author: jjoganic Date: Sun Mar 23 05:56:06 2003 +0000 Added xlib test. commit f674ede38e6f308be4b33d2db82dc09b66c69f60 Author: jjoganic Date: Sun Mar 23 05:54:42 2003 +0000 Updated xidump.c commit 6f5255a81bdd50eb871ab3ae3e2b269739b3a079 Author: jjoganic Date: Sat Mar 22 23:54:47 2003 +0000 Added ncurses detection. commit 3cd882e951424d30b98543bb85fe1ddcd6722d3a Author: jjoganic Date: Sun Mar 9 07:04:56 2003 +0000 Adjusted valuator ranges for z-rot. commit 7c7a9c7375310477d26f4adb8bd556dd7b255b50 Author: jjoganic Date: Sun Mar 9 05:52:36 2003 +0000 xidump now builds by default commit 9ccfd5151ade65fca1af6365b53978bfe2be7683 Author: jjoganic Date: Sun Mar 9 05:41:54 2003 +0000 Added curses functionality to xidump.c commit 5cc26895689ef103b9c8baca312591cc7025af12 Author: jjoganic Date: Sat Mar 8 08:42:10 2003 +0000 Added events. commit 0fade22cf44de8624073b252e3b30ba32b4c95ea Author: jjoganic Date: Sat Mar 8 03:59:09 2003 +0000 Added class info to device list. commit 5ef805aa40705bea7d51e3f585ceca7e46b38d37 Author: jjoganic Date: Sat Mar 8 01:09:27 2003 +0000 Gets device- need window and grab. commit 90d1c2009182c5042e1313d2b928ea087f125081 Author: jjoganic Date: Fri Mar 7 23:35:39 2003 +0000 Added device list capability to xidump.c commit 16d4d29c678a3515ed688dba4d8e19d59652446a Author: jjoganic Date: Fri Mar 7 22:21:37 2003 +0000 Added tabletdev.c framework. commit 0a463cacfe14356777f1e094527419f674501f88 Author: jjoganic Date: Fri Mar 7 06:26:37 2003 +0000 Added input.c to project. commit 7ab8acf6011496cf6323cfd8350c13df8bef2624 Author: jjoganic Date: Fri Mar 7 05:24:42 2003 +0000 Added evdev.c and Jonathan Paisley's oops patch. commit 83420572b306a3584e920d91945894518f058539 Author: jjoganic Date: Fri Mar 7 04:21:31 2003 +0000 Added xidump.c commit 08dcb8e0c2b818c4b53d2e8b08c2210e9e2fef86 Author: jjoganic Date: Fri Mar 7 04:15:22 2003 +0000 Applied Ping Cheng's suppress patch. commit fb1e79cb7aec11faa5b5e25c19b20c6eaac81b8b Author: jjoganic Date: Sun Feb 23 06:56:57 2003 +0000 Updated version number. commit 2a053aa62fcb4cdcf1b7c0c37d8a7dc8df8e9a4c Author: jjoganic Date: Sun Feb 23 05:01:50 2003 +0000 Added J. Yen's origin patch. commit bb7584421590f0478861d923d9f8a3f3c439df9c Author: jjoganic Date: Sun Feb 23 04:53:55 2003 +0000 Multi-monitor patch; XFree86 v3.x build options. commit 3c06228e166931eedea3e42f79c590e490a895fb Author: jjoganic Date: Thu Feb 13 01:35:57 2003 +0000 Updated changelog. commit 4b905d9259bb213d257b3dd0c6380f734c08c22e Author: jjoganic Date: Thu Feb 13 01:34:21 2003 +0000 Updated patch and documentation. commit 845f2d0c8b9aa40a587473dbf2e1acd953c7986c Author: jjoganic Date: Wed Feb 12 20:05:54 2003 +0000 Added version option and fixed usage. commit a9c8114e3bd36fad78eef2661ca7d1a8da4f1011 Author: jjoganic Date: Wed Feb 12 17:52:52 2003 +0000 Applied patches for PL and USB. commit c1619ec02e0c542231a14a7b4c6e12a6e1a0318c Author: jjoganic Date: Sat Feb 1 06:25:42 2003 +0000 Fixed serial number code. commit 865915dcb358c6294318de1bc083d40a5e0c8a4d Author: jjoganic Date: Sat Feb 1 05:19:22 2003 +0000 Adding Ping Cheng's PL code. Swapped perror for SerialLog in wacserial.c. commit 8250a2528f1516e2ca4aa468b12d941bb3192571 Author: jjoganic Date: Sat Feb 1 03:34:48 2003 +0000 Fixes delay in launching X when a tablet is configured in XF86Config but not plugged in. commit f42c87580dd121cbb944e7b67886a7f2626c8f0f Author: jjoganic Date: Sat Feb 1 02:42:32 2003 +0000 Updated for new release. commit 1658af81a0a08eec0ac169e948652d39e73c879c Author: jjoganic Date: Sat Feb 1 01:59:01 2003 +0000 Fixed function prototype. commit bfc68acbca01fcdbaef6da450c408e59a0d8b487 Author: jjoganic Date: Tue Jan 28 03:05:14 2003 +0000 Added logging, timeouts, and serial reset on bit errors. commit b12611e2d51517f8835a363fa339749bb14b9486 Author: jjoganic Date: Tue Jan 28 00:04:21 2003 +0000 Added timeout for reset and tablet detection in wacserial.c commit df8cda42a9eaf4f19aad5568b5bdf0387b330bbf Author: jjoganic Date: Mon Jan 27 23:26:48 2003 +0000 Changed macros from WAC_ to WCM_ to solve bug in Mandrake 9's autoconf. commit 94cd3b31ed4a46a3084110439bdbda77cc79029a Author: jjoganic Date: Mon Jan 27 23:19:07 2003 +0000 Added missing file, as well as documentation. commit 433bd2c4a6330110eb020c2c2e5df37fa960f6a3 Author: jjoganic Date: Mon Jan 27 06:53:14 2003 +0000 Fixed Acer C100 model name and description. commit 65522f525f01cb6bb1d05b6c1d76f608d3250c14 Author: jjoganic Date: Mon Jan 27 06:32:59 2003 +0000 Merged Dean Townsley's patch. Added device detection structures. commit b6b72c0f0ae0392973501c5f4f9524231bea49b2 Author: jjoganic Date: Sun Jan 26 05:38:23 2003 +0000 Updated version, added macros for pre 2.4.5 kernel build. commit a49f1a8458ea431b88633b06f45c517024128115 Author: jjoganic Date: Sun Jan 26 05:28:20 2003 +0000 Moved USB code to new file. Linux-specific stuff isolated. commit c0a093d29e1c89430ad4944212cb7d4bc838d0f3 Author: jjoganic Date: Thu Jan 16 18:12:55 2003 +0000 Added fix for Madrake's .o.gz modules in configure. commit 65f0e2cc70053289aa48841cf18f68fbeb639ec5 Author: jjoganic Date: Thu Jan 16 18:08:06 2003 +0000 Removed dependency on text document. commit 332aa5b949e12c165716f0ce004ac14d87955939 Author: jjoganic Date: Fri Jan 10 23:05:08 2003 +0000 Updated graphire macros. commit fafe87883437e99da012c3efff07f35aa3e5073b Author: jjoganic Date: Fri Jan 10 01:41:24 2003 +0000 Updated Intuos and Intuos2 sizes. commit c6115b436739f1c3c04f00c7e122b139d2e99ca2 Author: jjoganic Date: Fri Jan 10 01:17:20 2003 +0000 Added patch for HID_QUIRK. commit 8e353dbf4d3193d2ff5ec1f5c2483211e97f3439 Author: jjoganic Date: Thu Jan 9 23:36:01 2003 +0000 Added no-merge-constants patch, fixed I2 4x5 Ymax. commit 2c49cd3148f1e7b0a2bee0a557aa23eab872c0d0 Author: jjoganic Date: Tue Jan 7 04:16:48 2003 +0000 Text document contains too many html-artifacts; removing for sanity sake. commit 423755ff82c4a99984d256ce9aa4d83ae1f41147 Author: jjoganic Date: Tue Jan 7 04:12:21 2003 +0000 Updated for new release. commit 322e67c910008d28fb0037afe2ca7836d9f313b5 Author: jjoganic Date: Tue Jan 7 03:57:20 2003 +0000 Added volito to hid-core.c commit a12ac480b25fe9a2210e65bc7febbb00d4b4d996 Author: jjoganic Date: Tue Jan 7 03:44:06 2003 +0000 Unknown reports now info, not err. Updated version numbers. commit f634cc4c46d2be7f5c6309c00efbeb229bbbb454 Author: jjoganic Date: Thu Jan 2 03:27:32 2003 +0000 2D mouse buttons fixed in xf86Wacom.c serial. commit 7e1e4c6f7be928d9fa1a27ffd0d956af889a2ef3 Author: jjoganic Date: Thu Jan 2 02:55:22 2003 +0000 Added penpartner and graphire. commit e2063d328fdbdfe701a7ac22234a7ec92376e687 Author: jjoganic Date: Thu Jan 2 02:19:39 2003 +0000 Fix to volito range. Updated wacdump refresh. commit 8ba73f5029f09d384030c32097c009a969c835ae Author: jjoganic Date: Wed Jan 1 02:02:43 2003 +0000 Automatic module loading for wacom and evdev for usb. commit 70e4ea36fda06ef197f06b119ec005e2f123be3d Author: jjoganic Date: Wed Jan 1 01:59:54 2003 +0000 Fix for unknown report #1 using kernel thread. commit eb42de7b257ad25753a356007ec2a6fc401e6e7c Author: jjoganic Date: Wed Jan 1 00:54:17 2003 +0000 Added Ping Cheng's new tool IDs. commit a1e3b7128a56b530cc0f11f9f15a51fa5cbbcc82 Author: jjoganic Date: Fri Dec 27 15:46:08 2002 +0000 Added test client code. commit 9d41e18c129678ba5f6dc3d330fb032bc46efc75 Author: jjoganic Date: Fri Dec 27 05:33:52 2002 +0000 Added module loading for wacom and evdev. commit 1b14fe5644ec70c936f30ffc0341b9b4712c927d Author: jjoganic Date: Thu Dec 26 19:28:09 2002 +0000 Fixed tablet initialization. commit ba23e0362c2fd1aa72bea910812382d2bb9ed229 Author: jjoganic Date: Mon Dec 23 02:44:28 2002 +0000 Initial revision