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
| Name | `string` | The name of the device. This is always the device manufacturer's name followed by the device's model number or product name when not applicable.
13
+
{: .table .table-dark }
13
14
14
15
## Specifications
15
16
@@ -27,6 +28,7 @@ always required for the device to function.
27
28
| Height | `double` | mm | The physical height of the digitizer in millimeters
28
29
| Horizontal Resolution | `double` | Device Units | The horizontal resolution of the digitizer in device units
29
30
| Vertical Resolution | `double` | Device Units | The vertical resolution of the digitizer in device units
31
+
{: .table .table-dark }
30
32
31
33
### Pen
32
34
@@ -37,6 +39,7 @@ data. This is almost always required.
37
39
| :-------------: | :--------: | :---------- |
38
40
| Max Pressure | `uint` | The maximum pressure reported by the pen in device pressure units. This is used to calculate a percentage of pressure. If there are more than pens supported by this tablet, the pen with the highest pressure value is used.
39
41
| Button Count | `uint` | The amount of buttons on the pen. This does not include the eraser, if applicable. If there are more than one pens supported by this tablet, use the number of buttons on the pen with the most.
42
+
{: .table .table-dark }
40
43
41
44
### Auxiliary Buttons
42
45
@@ -46,6 +49,7 @@ buttons.
46
49
| Property Name | Value Type | Description |
47
50
| :-----------: | :---------: | :---------- |
48
51
| Button Count | `uint` | The amount of buttons
52
+
{: .table .table-dark }
49
53
50
54
### Touch
51
55
@@ -77,6 +81,7 @@ pinpoint devices.
77
81
| Output Initialization Report | `List<byte[]>` | A list of output reports to be sent to the device to perform the device's initialization sequence.
78
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.
79
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
+
{: .table .table-dark }
80
85
81
86
> Byte arrays (`byte[]`) are serialized as Base64 in JSON.NET, the library that serializes and deserializes configurations.
82
87
{:.alert-primary}
@@ -99,6 +104,7 @@ Some example attributes include:
99
104
| `WinInterface` | [00..99] | *(Windows only)* Similar to `MacInterface`. String must have exactly two digits, (e.g. `"01"`)
100
105
| `WinUsage` | [00..99] | *(Windows only)* Specifies the HID usage collection to use. String must have exactly two digits (e.g. `"01"`)
101
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.
107
+
{: .table .table-dark }
102
108
103
109
[libinput]: https://www.freedesktop.org/wiki/Software/libinput/"freedesktop.org's site on libinput"
Copy file name to clipboardExpand all lines: site/_wiki/Documentation/RequiredPermissions.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,6 +87,7 @@ Then update the initramfs:
87
87
| :-----------: | :------ |
88
88
| Arch Linux | `sudo mkinitcpio -P`
89
89
| Debian/Ubuntu | `sudo update-initramfs -u`
90
+
{: .table .table-dark }
90
91
91
92
For other distros, refer to your distro's documentation on how to update the initramfs.
92
93
@@ -135,6 +136,7 @@ Then update the initramfs:
135
136
| :-----------: | :------ |
136
137
| Arch Linux | `sudo mkinitcpio -P`
137
138
| Debian/Ubuntu | `sudo update-initramfs -u`
139
+
{: .table .table-dark }
138
140
139
141
For other distros, refer to your distro's documentation on how to update the initramfs.
140
142
@@ -164,6 +166,7 @@ OpenTabletDriver requires the following permissions:
164
166
| :--------------: | :----------------- |
165
167
| Accessibility | To move the cursor
166
168
| Input Monitoring | To read the current cursor position and properly send relative movements (relative mode)
169
+
{: .table .table-dark }
167
170
168
171
To grant this, navigate to <kbd>Settings</kbd> ⇒ <kbd>System Preferences</kbd> ⇒ <kbd>Security and Privacy</kbd> ⇒ <kbd>Privacy</kbd>, then check the permissions required.
0 commit comments