]> git.baikalelectronics.ru Git - kernel.git/commit
HID: wacom: Update vendor-defined usage names to better match standards
authorJason Gerecke <killertofu@gmail.com>
Thu, 20 Oct 2016 01:03:37 +0000 (18:03 -0700)
committerJiri Kosina <jkosina@suse.cz>
Thu, 20 Oct 2016 07:53:54 +0000 (09:53 +0200)
commit1dcb8acf69da6e795f6aa54d58153776b547f9c1
tree864daa8c6f1dc6b086ca193a2c616aec8b0d697c
parent699d8d8151045b16b814a6f53d2ae4d706de95bd
HID: wacom: Update vendor-defined usage names to better match standards

Our loose use of "pen" and "digitizer" in the naming of several of our
vendor-defined usages may be a source of confusion given that the terms
have specific meaning within the HID specification. "Pen" specifically
refers to "an integrated display that allows the use of a stylus" (e.g.
something like a tablet PC or Cintiq) wheras "Digitizer" is a better
fit for opaque tablets like an Intuos.

While we're at it, go ahead and rename the definitions to make them more
distinct and better match up with the convention used by HID (e.g. the use
of '_UP_' for usage pages) and make them more distinct.

Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/wacom_sys.c
drivers/hid/wacom_wac.c
drivers/hid/wacom_wac.h