Add USI defined usages to the HID debug code.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Tero Kristo <tero.kristo@linux.intel.com>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Link: https://lore.kernel.org/r/20211210111138.1248187-6-tero.kristo@linux.intel.com
This commit is contained in:
Mika Westerberg 2021-12-10 13:11:38 +02:00 коммит произвёл Benjamin Tissoires
Родитель 5904a3f9d7
Коммит 9ea1b35f63
1 изменённых файлов: 35 добавлений и 0 удалений

Просмотреть файл

@ -141,8 +141,10 @@ static const struct hid_usage_entry hid_usage_table[] = {
{0, 0x33, "Touch"},
{0, 0x34, "UnTouch"},
{0, 0x35, "Tap"},
{0, 0x38, "Transducer Index"},
{0, 0x39, "TabletFunctionKey"},
{0, 0x3a, "ProgramChangeKey"},
{0, 0x3B, "Battery Strength"},
{0, 0x3c, "Invert"},
{0, 0x42, "TipSwitch"},
{0, 0x43, "SecondaryTipSwitch"},
@ -160,7 +162,40 @@ static const struct hid_usage_entry hid_usage_table[] = {
{0, 0x59, "ButtonType"},
{0, 0x5A, "SecondaryBarrelSwitch"},
{0, 0x5B, "TransducerSerialNumber"},
{0, 0x5C, "Preferred Color"},
{0, 0x5D, "Preferred Color is Locked"},
{0, 0x5E, "Preferred Line Width"},
{0, 0x5F, "Preferred Line Width is Locked"},
{0, 0x6e, "TransducerSerialNumber2"},
{0, 0x70, "Preferred Line Style"},
{0, 0x71, "Preferred Line Style is Locked"},
{0, 0x72, "Ink"},
{0, 0x73, "Pencil"},
{0, 0x74, "Highlighter"},
{0, 0x75, "Chisel Marker"},
{0, 0x76, "Brush"},
{0, 0x77, "No Preference"},
{0, 0x80, "Digitizer Diagnostic"},
{0, 0x81, "Digitizer Error"},
{0, 0x82, "Err Normal Status"},
{0, 0x83, "Err Transducers Exceeded"},
{0, 0x84, "Err Full Trans Features Unavailable"},
{0, 0x85, "Err Charge Low"},
{0, 0x90, "Transducer Software Info"},
{0, 0x91, "Transducer Vendor Id"},
{0, 0x92, "Transducer Product Id"},
{0, 0x93, "Device Supported Protocols"},
{0, 0x94, "Transducer Supported Protocols"},
{0, 0x95, "No Protocol"},
{0, 0x96, "Wacom AES Protocol"},
{0, 0x97, "USI Protocol"},
{0, 0x98, "Microsoft Pen Protocol"},
{0, 0xA0, "Supported Report Rates"},
{0, 0xA1, "Report Rate"},
{0, 0xA2, "Transducer Connected"},
{0, 0xA3, "Switch Disabled"},
{0, 0xA4, "Switch Unimplemented"},
{0, 0xA5, "Transducer Switches"},
{ 15, 0, "PhysicalInterfaceDevice" },
{0, 0x00, "Undefined"},
{0, 0x01, "Physical_Interface_Device"},