Skip to content

Commit be008ef

Browse files
committed
minor: Add classes to all tables
Otherwise we lose some of the styling we had previously
1 parent 1956a6a commit be008ef

6 files changed

Lines changed: 20 additions & 1 deletion

File tree

site/_includes/appdata-location.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
| Windows | `%localappdata%\OpenTabletDriver`
44
| Linux | `~/.config/OpenTabletDriver`
55
| macOS | `~/Library/Application Support/OpenTabletDriver`
6+
{: .table .table-dark }

site/_layouts/tablets.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</div>
1212

1313
{% capture tablets %}
14-
{% include tablets.md %}{: #tablets .table .table-hover }
14+
{% include tablets.md %}{: #tablets .table .table-hover .table-dark }
1515
{% endcapture %}
1616
{{ tablets | markdownify }}
1717

site/_wiki/Development/Configurations.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ tablets.
1010
| Property Name | Value Type | Description |
1111
| :--------------: | :------------: | :---------- |
1212
| 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 }
1314

1415
## Specifications
1516

@@ -27,6 +28,7 @@ always required for the device to function.
2728
| Height | `double` | mm | The physical height of the digitizer in millimeters
2829
| Horizontal Resolution | `double` | Device Units | The horizontal resolution of the digitizer in device units
2930
| Vertical Resolution | `double` | Device Units | The vertical resolution of the digitizer in device units
31+
{: .table .table-dark }
3032

3133
### Pen
3234

@@ -37,6 +39,7 @@ data. This is almost always required.
3739
| :-------------: | :--------: | :---------- |
3840
| 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.
3941
| 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 }
4043

4144
### Auxiliary Buttons
4245

@@ -46,6 +49,7 @@ buttons.
4649
| Property Name | Value Type | Description |
4750
| :-----------: | :---------: | :---------- |
4851
| Button Count | `uint` | The amount of buttons
52+
{: .table .table-dark }
4953

5054
### Touch
5155

@@ -77,6 +81,7 @@ pinpoint devices.
7781
| Output Initialization Report | `List<byte[]>` | A list of output reports to be sent to the device to perform the device's initialization sequence.
7882
| 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.
7983
| 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 }
8085

8186
> Byte arrays (`byte[]`) are serialized as Base64 in JSON.NET, the library that serializes and deserializes configurations.
8287
{:.alert-primary}
@@ -99,6 +104,7 @@ Some example attributes include:
99104
| `WinInterface` | [00..99] | *(Windows only)* Similar to `MacInterface`. String must have exactly two digits, (e.g. `"01"`)
100105
| `WinUsage` | [00..99] | *(Windows only)* Specifies the HID usage collection to use. String must have exactly two digits (e.g. `"01"`)
101106
| `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 }
102108

103109
[libinput]: https://www.freedesktop.org/wiki/Software/libinput/ "freedesktop.org's site on libinput"
104110
[udev]: https://wiki.debian.org/udev

site/_wiki/Documentation/CommandLine.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,15 @@ title: Command Line Arguments
77
| Argument | Description |
88
| :-------------------: | ----------- |
99
| `--minimized` or `-m` | Starts the application in a minimized state
10+
{: .table .table-dark }
1011

1112
## Daemon
1213

1314
| Argument | Description |
1415
| :-----------------: | ----------- |
1516
| `--appdata` or `-a` | Uses the specified directory for application data
1617
| `--config` or `-c` | Uses the specified directory for searching of tablet configuration overrides
18+
{: .table .table-dark }
1719

1820
## Console
1921

@@ -26,3 +28,4 @@ Use the `--help` argument to see the list of supported commands in your specific
2628
| :----------------------: | ----------- |
2729
| `--version` | Shows the compatible OpenTabletDriver daemon version
2830
| `--help` or `-h` or `-?` | Shows the available commands for use with the console application
31+
{: .table .table-dark }

site/_wiki/Documentation/RequiredPermissions.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ Then update the initramfs:
8787
| :-----------: | :------ |
8888
| Arch Linux | `sudo mkinitcpio -P`
8989
| Debian/Ubuntu | `sudo update-initramfs -u`
90+
{: .table .table-dark }
9091

9192
For other distros, refer to your distro's documentation on how to update the initramfs.
9293

@@ -135,6 +136,7 @@ Then update the initramfs:
135136
| :-----------: | :------ |
136137
| Arch Linux | `sudo mkinitcpio -P`
137138
| Debian/Ubuntu | `sudo update-initramfs -u`
139+
{: .table .table-dark }
138140

139141
For other distros, refer to your distro's documentation on how to update the initramfs.
140142

@@ -164,6 +166,7 @@ OpenTabletDriver requires the following permissions:
164166
| :--------------: | :----------------- |
165167
| Accessibility | To move the cursor
166168
| Input Monitoring | To read the current cursor position and properly send relative movements (relative mode)
169+
{: .table .table-dark }
167170

168171
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.
169172

site/_wiki/FAQ/General.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ The application data directory contents are as follows:
4646
| Cache | Folder | Contains cached metadata for the Plugin Manager
4747
| Plugins | Folder | Contains installed plugins (`.dll` files). This folder should not be modified manually.
4848
| Presets | Folder | Contains saved presets
49+
{: .table .table-dark }
4950

5051
## My cursor is going crazy! It teleports everywhere! {#emi-interference}
5152

@@ -88,6 +89,7 @@ However, to make the driver output the pressure to your operating system, you ma
8889
| Windows | [Windows Ink] | A virtual device driver (VMulti) and the Windows Ink plugin is needed
8990
| Linux | [Artist Mode] | Built-in, simply change the output mode of OpenTabletDriver
9091
| MacOS | unsupported | This is a work in progress, and is expected with the 0.7 release of OpenTabletDriver
92+
{: .table .table-dark }
9193

9294
[Windows Ink]: {% link _wiki/FAQ/Windows.md %}#win-ink
9395
[Artist Mode]: {% link _wiki/FAQ/Linux.md %}#artist-mode
@@ -113,6 +115,7 @@ Use this reference chart for the upcoming formulas:
113115
| XOffset | The X offset of the center of the area in millimeters
114116
| YOffset | The Y offset of the center of the area in millimeters
115117
| LPI | Lines per inch, this is commonly 5080 or 2540
118+
{: .table .table-dark }
116119

117120
`TWidth` and `THeight` can be found in the tablet's configuration file.
118121

@@ -126,6 +129,7 @@ Use the following formulas to get values for OpenTabletDriver's area editor's `W
126129
| Top | The number of lines from the top side of the tablet to the top side of the area
127130
| Right | The number of lines from the left side of the tablet to the right side of the area
128131
| Bottom | The number of lines from the top side of the tablet to the bottom side of the area
132+
{: .table .table-dark }
129133

130134
**Formula**:
131135

@@ -144,6 +148,7 @@ YOffset = (Height / 2) + (Top / LPI * 25.4)
144148
| XPH | The height in XP-Pen units. Denoted as `H` in XP-Pen's official drivers.
145149
| XPX | The X offset of the top left corner of the area in XP-Pen units. Denoted as `X` in XP-Pen's official drivers.
146150
| XPY | The Y offset of the top left corner of the area in XP-Pen units. Denoted as `Y` in XP-Pen's official drivers.
151+
{: .table .table-dark }
147152

148153
**Formula**:
149154

@@ -162,6 +167,7 @@ YOffset = (Height / 2) + (XPY / 3.937)
162167
| Top | The percentage of the distance from the top side of the tablet to the top side of the area
163168
| Right | The percentage of the distance from the left side of the tablet to the right side of the area
164169
| Bottom | The percentage of the distance from the top side of the tablet to the bottom side of the area
170+
{: .table .table-dark }
165171

166172
**Formula**:
167173

0 commit comments

Comments
 (0)