summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-03-30Try to match the parent for ID_INPUT_* as wellHEADmasterPeter Hutterer1-6/+15
Bluetooth devices tagged with ID_INPUT_TABLET aren't tagged on the device, but on the parent instead. Match the parent for a tag before bailing out. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-03-30data: udev rules for bluetooth devices can only match on the PRODUCTPeter Hutterer1-5/+14
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-03-29lib: fix 4-space indentation to shiftwidth 8 tabsPeter Hutterer2-151/+151
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-03-29Re-indent data/list and test/load for 8 space tabsPeter Hutterer2-121/+121
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-03-29test: add basic test for multiple device checkPeter Hutterer1-0/+26
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-03-29data: add bluetooth match to Intuos4 6x9 WLPeter Hutterer1-1/+1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-03-29lib: update to take multiple match types in the structPeter Hutterer5-43/+185
Add a new type WacomMatch that holds device matching information. A WacomDevice in libwacom now has a bunch of possible matches that can be queried. The first possible match is the default match unless the device was updated otherwise (e.g. libwacom_device_new_from_path will set the correct match). Previous calls to get bustype, vendor_id, product_id now return the set match's values. Basic refcounting was added to the WacomDevice to allow for the device to be stored multiple times in the device hashtable. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-03-29lib: Add make_match_string() helper functionPeter Hutterer3-4/+10
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-03-29lib: Add internal libwacom_update_match() helperPeter Hutterer2-5/+14
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-03-29lib: fix error messagePeter Hutterer1-1/+1
device->match is NULL since we haven't assigned it yet. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-03-29test: if load fails to load the database, print it.Peter Hutterer1-0/+2
TOPSRCDIR is relative, so load must be called from the pwd. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-03-29Fix two vim tagsPeter Hutterer2-2/+2
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-03-29data: update Graphire seriesPeter Hutterer3-2/+24
The Graphire 3 series doesn't have buttons, the 4 series has two at the top. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Jason Gerecke <killertofu@gmail.com>
2012-03-29data: add DTU-720, DTU-1631 and DTU-2231 to tablet databasePeter Hutterer3-0/+47
All need to be verified Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Jason Gerecke <killertofu@gmail.com>
2012-03-29data: Add missing [Buttons] section to Intuos, Cintiq seriesPeter Hutterer18-0/+70
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Jason Gerecke <killertofu@gmail.com>
2012-03-270.4Bastien Nocera2-1/+10
2012-03-22data: set ID_INPUT_TOUCHPAD attribute correctlyPeter Hutterer1-1/+1
2012-03-22data: don't crash if we don't get a device database.Peter Hutterer1-0/+4
2012-03-22doc: hide header guards from doxygenPeter Hutterer1-0/+2
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-03-12Add Intuos5 tablets to database and support in libwacomJason Gerecke7-0/+314
2012-02-24Add Bamboo One definitionOlivier Fourdan1-0/+15
2012-02-24data: Add tool to generate udev rules from the DBOlivier Fourdan2-0/+106
2012-02-24lib: Add API to list all items in the databaseOlivier Fourdan2-0/+38
2012-02-23lib: Add prefix to warning messagesBastien Nocera1-1/+1
So they don't get wrongly attributed
2012-02-23data: ".tablet" is a suffix, not a prefixPeter Hutterer1-1/+1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-02-22lib: Don't fail to create WacomDevice for TouchBastien Nocera1-1/+3
The touch part of the Bamboo Touch is important for us to handle similarly to the tablet part, so don't fail creating it. The GNOME framework should ignore the touch device in their Wacom handling though.
2012-02-17data: Add more metadata for the Intuos4 WLBastien Nocera1-0/+9
Based on the wired version, and the Bluetooth driver.
2012-02-070.3Bastien Nocera2-2/+13
2012-02-07data: Update Cintiq 21UX2 with StripsNumModesBastien Nocera1-0/+1
2012-02-07lib: Add support for StripsNumModesBastien Nocera5-0/+17
2012-02-07lib: Add group constants for the masksBastien Nocera1-1/+5
2012-02-06test: Add test for implied number of modesBastien Nocera1-0/+8
2012-02-06test: Add test for button enumerationBastien Nocera1-0/+10
2012-02-06lib: Add support for button enumerationBastien Nocera4-8/+164
Including LEDs, OLEDs, and mode switches.
2012-02-06data: Add advanced featuresBastien Nocera4-0/+59
Touchstrips, mode switches, and touchrings!
2012-02-06lib: Rename the FEATURE_GROUP constantBastien Nocera1-9/+9
It loads the "Features" group, so FEATURES_GROUP is better.
2012-02-06data: the serial wacom has no buttons of its ownBastien Nocera1-0/+1
2012-02-06lib: Add basic serial device supportBastien Nocera2-4/+13
Fixes a crash with those devices, and detect the Wacf004 somehow. Tested by Jakub Steiner on a Thinkpad x201. udev db: P: /devices/pnp0/00:0b/tty/ttyS0 N: ttyS0 E: UDEV_LOG=3 E: DEVPATH=/devices/pnp0/00:0b/tty/ttyS0 E: MAJOR=4 E: MINOR=64 E: DEVNAME=/dev/ttyS0 E: SUBSYSTEM=tty E: ID_MODEL=Serial Wacom Tablet WACf004 E: ID_INPUT=1 E: ID_INPUT_TABLET=1 E: NAME=Serial Wacom Tablet WACf004 E: ID_MM_CANDIDATE=1 E: TAGS=:systemd:
2012-02-06lib: Assert that we get a product string for bluetoothBastien Nocera1-0/+1
2012-02-06data: Add list of pro/consumer rangesBastien Nocera1-0/+8
2012-02-06data: Add a data file for the Graphire3 6x8Jens Georg1-0/+15
2012-02-03lib: Warn when Ring2 with no RingBastien Nocera1-0/+4
2012-02-03lib: Remove left-over debugBastien Nocera1-2/+0
2012-02-03data: Use our own advice on DeviceMatch formattingBastien Nocera1-1/+1
2012-02-03data: Add hint about DeviceMatch formattingBastien Nocera1-0/+3
2012-02-03test: Add test for num_stripsBastien Nocera1-0/+4
2012-02-03lib: Add big fat warning about updating WacomDeviceBastien Nocera2-0/+4
2012-02-03lib: Fix get_num_strips always returning 0Bastien Nocera1-0/+1
By copying the value correctly when copying the struct
2012-02-02test: Update for API changeBastien Nocera1-2/+1
2012-02-02data: Update to use NumStripsBastien Nocera32-66/+14