The following two patches is an attempt to implement the status LED logic into libwacom.
The logic was discussed very recently in this thread: http://sourceforge.net/mailarchive/message.php?msg_id=29898591 and was proposed as an inclusion in GNOME settings-daemon in bug 676558: https://bugzilla.gnome.org/show_bug.cgi?id=676558 but having the logic itself in libwacom itself makes more sense. Also please note that I don't have most of the hardware listed so the definitions have not been tested on all devices... Olivier Fourdan (2): lib: add helper functions to get LED modeswitch group data: update the database entry with status LED data/cintiq-21ux2.tablet | 2 + data/cintiq-24hd.tablet | 3 ++ data/intuos4-12x19.tablet | 2 + data/intuos4-4x6.tablet | 2 + data/intuos4-6x9-wl.tablet | 2 + data/intuos4-6x9.tablet | 2 + data/intuos4-8x13.tablet | 2 + data/intuos5-m.tablet | 2 + data/intuos5-s.tablet | 2 + data/intuos5-touch-l.tablet | 2 + data/intuos5-touch-m.tablet | 2 + data/intuos5-touch-s.tablet | 2 + data/wacom.example | 4 ++ libwacom/libwacom-database.c | 3 +- libwacom/libwacom.c | 70 ++++++++++++++++++++++++++++++++++++++++++ libwacom/libwacom.h | 16 +++++++++ 16 files changed, 117 insertions(+), 1 deletions(-) ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Linuxwacom-devel mailing list Linuxwacom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel