summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJason Gerecke <killertofu@gmail.com>2017-11-07 08:25:17 -0800
committerJiri Kosina <jkosina@suse.cz>2017-11-09 13:32:43 +0100
commit9e429d564926d3bca49907fa03031da705ad6f2c (patch)
tree591f242c7674ac2076d9e2a56139167ffbf1c5b1 /tools/perf/scripts/python/exported-sql-viewer.py
parent2f84723de7cdd031f293b900fecd68ddbec3feaa (diff)
downloadkernel-9e429d564926d3bca49907fa03031da705ad6f2c.tar.gz
HID: wacom: generic: Send BTN_STYLUS3 when both barrel switches are set
The Wacom Pro Pen 3D includes a third barrel switch which is intended to be particularly useful in applications where one frequency uses pan, zoom, and rotate to navigate around a scene or model. The pen is compatible with the MobileStudio Pro, 2nd-gen Intuos Pro, and Cintiq Pro. When the third button is pressed, these devices set both the HID_DG_BARRELSWITCH and HID_DG_BARRELSWITCH2 usages since their HID descriptors do not include a usage specific to the button. Rather than send both BTN_STYLUS and BTN_STYLUS2 when the third button is pressed, userspace (libinput) has requested that we detect this condition and report a newly-defined BTN_STYLUS3 event instead. We could define a quirk specific to devices compatible with the Pro Pen 3D, but the liklihood of seeing both barrel switch bits set with other pens/devices is low enough to not worry about (pens mechanically prevent accidental activation of multiple switches). Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com> Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Acked-by: Peter Hutterer <peter.hutterer@who-t.net> Acked-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
3633a633065729c9e4e254b2e5442c00ef7e'>[PATCH] r/o bind mounts: track numbers of writers to mountsDave Hansen 2008-04-19[PATCH] r/o bind mounts: stub functionsDave Hansen 2008-03-27[PATCH] mnt_expire is protected by namespace_sem, no need for vfsmount_lockAl Viro 2008-03-27[PATCH] do shrink_submounts() for all fs typesAl Viro 2008-03-27[PATCH] sanitize locking in mark_mounts_for_expiry() and shrink_submounts()Al Viro 2008-03-27[PATCH] count ghost references to vfsmountsAl Viro 2008-03-27[PATCH] reduce stack footprint in namespace.cAl Viro 2008-02-14d_path: Make seq_path() use a struct path argumentJan Blunck 2008-02-14Make set_fs_{root,pwd} take a struct pathJan Blunck 2008-02-14Use struct path in fs_structJan Blunck 2008-02-14Introduce path_put()Jan Blunck 2008-02-14Embed a struct path into struct nameidata instead of nd->{dentry,mnt}Jan Blunck 2008-02-14Remove path_release_on_umount()Jan Blunck 2008-02-08reduce large do_mount stack usage with noinlinesEric Sandeen 2008-02-08mount options: add generic_show_options()Miklos Szeredi 2008-02-06Use ilog2() in fs/namespace.cEric Dumazet 2008-01-24kobject: convert main fs kobject to use kobject_createGreg Kroah-Hartman 2008-01-24kobject: remove struct kobj_type from struct ksetGreg Kroah-Hartman 2007-10-21[PATCH] new helpers - collect_mounts() and release_collected_mounts()Al Viro 2007-10-19pid namespaces: introduce MS_KERNMOUNT flagPavel Emelyanov 2007-10-17fs: remove the unused mempages parameterDenis Cheng 2007-07-20mm: Remove slab destructors from kmem_cache_create().Paul Mundt 2007-07-16fs/namespace.c should #include "internal.h"Adrian Bunk 2007-07-16namespace: ensure clone_flags are always stored in an unsigned longEric W. Biederman 2007-07-16fix create_new_namespaces() return valueCedric Le Goater 2007-07-16Make /proc/self/mounts(tats) use seq_list_xxx helpersPavel Emelianov