You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Vendor ID | `ushort` | A [USB-IF] defined identifier that defines which vendor the device is produced by. Since this is assigned by the USB-IF it can be quite reliable for determining the manufacturer.
76
-
| Product ID | `ushort` | A vendor-defined identifier for the device. This can be used to identify a device, however this can be unreliable as it depends on the vendor defining it different for all of their devices.
77
-
| Input Report Length | `ushort` | The length of input reports from the device. This is always required as report parsers expect a specific report length.
78
-
| Output Report Length | `ushort` | The length of output reports to the device endpoint. This is not always required, however it does help make the detection more precise.
79
-
| Report Parser | `string` | The parser that will read and convert all tablet report data into a format that OpenTabletDriver understands. This is the full namespace and the class name. All supported vendor-specific report parsers can be found [here][parsers].
80
-
| Feature Initialization Report | `List<byte[]>` | A list of feature reports to be sent to the device to perform the device's initialization sequence.
81
-
| Output Initialization Report | `List<byte[]>` | A list of output reports to be sent to the device to perform the device's initialization sequence.
82
-
| Device Strings | `Dictionary<byte, string>` | A list of regular expressions to be matched against specific indexes of strings contained within the device's firmware. They can be retrieved via the device string reader. This is optional, however it is commonly used to improve detection precision.
83
-
| Initialization String Indexes | `byte[]` | A list of indexes to be retrieved from the device as part of the device's initialization sequence. This is optional, and very infrequently used.
| Vendor ID | `ushort` | A [USB-IF] defined identifier that defines which vendor the device is produced by. Since this is assigned by the USB-IF it can be quite reliable for determining the manufacturer.
76
+
| Product ID | `ushort` | A vendor-defined identifier for the device. This can be used to identify a device, however this can be unreliable as it depends on the vendor defining it different for all of their devices.
77
+
| Input Report Length | `ushort` | The length of input reports from the device. This is always required as report parsers expect a specific report length.
78
+
| Output Report Length | `ushort` | The length of output reports to the device endpoint. This is not always required, however it does help make the detection more precise.
79
+
| Report Parser | `string` | The parser that will read and convert all tablet report data into a format that OpenTabletDriver understands. This is the full namespace and the class name. All supported vendor-specific report parsers can be found [here][parsers].
80
+
| Feature Initialization Report | `List<byte[]>` | A list of feature reports to be sent to the device to perform the device's initialization sequence.
81
+
| Output Initialization Report | `List<byte[]>` | A list of output reports to be sent to the device to perform the device's initialization sequence.
82
+
| Device Strings | `Dictionary<byte, string>` | A list of regular expressions to be matched against specific indexes of strings contained within the device's firmware. They can be retrieved via the device string reader. This is optional, however it is commonly used to improve detection precision.
83
+
| Initialization String Indexes | `byte[]` | A list of indexes to be retrieved from the device as part of the device's initialization sequence. This is optional, and very infrequently used.
84
+
| Attributes |`Dictionary<string, string>`| See [Attributes](#attributes) table for attributes that can be used in identifiers |
84
85
{: .table .table-dark }
85
86
86
87
> Byte arrays (`byte[]`) are serialized as Base64 in JSON.NET, the library that serializes and deserializes configurations.
Attributes are used to provide additional optional information, commonly used within utilities or tools, or within OpenTabletDriver to help with device detection.
95
96
96
97
The type of the object is `Dictionary<string, string>`, e.g. `{ "FeatureInitDelayMs": "150", "libinputoverride": "1" }`.
| `libinputoverride` | `1` | *(Linux only)* Whether the generic tablet interface should be ignored by [libinput] or not. Used in [udev] rule generation, using the tablets VID and PID.
103
-
| `MacInterface` | non-negative integer | *(MacOS only)*Specifies the USB device interface to use. For example: `0`
104
-
| `WinInterface` | [00..99] | *(Windows only)*Similar to `MacInterface`. String must have exactly two digits, (e.g. `"01"`)
105
-
| `WinUsage` | [00..99] | *(Windows only)*Specifies the HID usage collection to use. String must have exactly two digits (e.g. `"01"`)
106
-
| `FeatureInitDelayMs` | milliseconds | For tablets with multiple feature initialization reports (e.g. polling rate change), wait this many milliseconds between reports. This can help if later feature initialization reports are sometimes randomly not picked up by the tablet.
101
+
| Key Name | String Value |Usage in ||Description |
| `Interface`| non-negative integer | ✅ | ✅ | Specifies the USB device interface to use. For example: `"0"`. Should be used when the identifiers might be ambiguous, or if the tablet has multiple interfaces matching the used identifiers, but only has one of them usable. We suggest using the digitizer-specific `Interface` attribute instead, if possible.
105
+
| `WinUsage`| [00..99] | ✅ | ✅ | *(Windows only)*Specifies the HID usage collection to use. String must have exactly two digits (e.g. `"01"`)
106
+
| `libinputoverride` | `1`| ✅ | ❌ | *(Linux only)*Whether the generic tablet interface should be ignored by [libinput] or not. Used in [udev] rule generation, using the tablets VID and PID.
107
+
| `FeatureInitDelayMs` | milliseconds | ✅ | ❌ | For tablets with multiple feature initialization reports (e.g. polling rate change), wait this many milliseconds between reports. This can help if later feature initialization reports are sometimes randomly not picked up by the tablet.
107
108
{: .table .table-dark }
108
109
109
110
[libinput]: https://www.freedesktop.org/wiki/Software/libinput/"freedesktop.org's site on libinput"
0 commit comments