Skip to content

Commit 54b02b6

Browse files
authored
Merge pull request #136 from X9VoiD/add-counters
Add counters
2 parents abe4cf1 + 7162a88 commit 54b02b6

15 files changed

Lines changed: 183 additions & 92 deletions

File tree

site/_includes/wiki/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<h2 id="page-title">{{ page.title }}</h2>
1+
<h1 id="page-title">{{ page.title }}</h1>

site/_sections/Framework.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@
22
title: Frameworks
33
---
44

5-
### Windows
5+
## Windows
66

77
[x64](https://aka.ms/dotnet/6.0/windowsdesktop-runtime-win-x64.exe)
88

9-
### MacOS
9+
## MacOS
1010

1111
[arm64](https://aka.ms/dotnet/6.0/dotnet-runtime-osx-arm64.pkg)
1212

1313
[x86-64/x64 (Intel based)](https://aka.ms/dotnet/6.0/dotnet-runtime-osx-x64.pkg)
1414

15-
### Linux
15+
## Linux
1616

1717
See the [official Linux installation documentation](https://docs.microsoft.com/en-us/dotnet/core/install/linux).
1818

19-
### Uncommon builds
19+
## Uncommon builds
2020

2121
[Windows arm64](https://aka.ms/dotnet/6.0/windowsdesktop-runtime-win-arm64.exe)

site/_wiki/Development/Configurations.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Writing OpenTabletDriver Configurations
33
---
44

5-
### Device Information
5+
## Device Information
66

77
Generic device identification information is required for OpenTabletDriver in order for it to be able to differentiate
88
tablets.
@@ -11,12 +11,12 @@ tablets.
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.
1313

14-
### Specifications
14+
## Specifications
1515

1616
Tablet configuration specifications provide OpenTabletDriver with information it needs in order to correctly and
1717
accurately handle the data the tablet device outputs.
1818

19-
#### Digitizer
19+
### Digitizer
2020

2121
This refers to the graphics tablet's digitizer, which provides coordinates of where the tool is positioned. This is
2222
always required for the device to function.
@@ -28,7 +28,7 @@ always required for the device to function.
2828
| Horizontal Resolution | `double` | Device Units | The horizontal resolution of the digitizer in device units
2929
| Vertical Resolution | `double` | Device Units | The vertical resolution of the digitizer in device units
3030

31-
#### Pen
31+
### Pen
3232

3333
This refers to the pen tool for the graphics tablet. It is the source of position and typically the source of pressure
3434
data. This is almost always required.
@@ -38,7 +38,7 @@ data. This is almost always required.
3838
| 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.
3939
| 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.
4040

41-
#### Auxiliary Buttons
41+
### Auxiliary Buttons
4242

4343
This refers to any buttons located on the graphics tablet pad. This should only be enabled if there are any auxililary
4444
buttons.
@@ -47,21 +47,21 @@ buttons.
4747
| :-----------: | :---------: | :---------- |
4848
| Button Count | `uint` | The amount of buttons
4949

50-
#### Touch
50+
### Touch
5151

5252
This refers to the touch digitizer, which may be built into the pen digitizer. This exists as the resolution of the
5353
touch digitizer can be different than the pen digitizer. This should only be enabled if the graphics tablet supports
5454
touch input.
5555

5656
This has the same properties as the [digitizer](#digitizer)
5757

58-
#### Mouse
58+
### Mouse
5959

6060
This refers to an absolute positioning mouse tool. This should only be enabled if the graphics tablet supports a mouse.
6161

6262
This has the same properties as the [auxiliary buttons](#auxiliary-buttons)
6363

64-
### Identifiers
64+
## Identifiers
6565

6666
Device identifiers are what actually detect the tablet. Anything defined here is used in the detection process to
6767
pinpoint devices.

site/_wiki/Documentation/CommandLine.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@
22
title: Command Line Arguments
33
---
44

5-
### UI
5+
## UI
66

77
| Argument | Description |
88
| :-------------------: | ----------- |
99
| `--minimized` or `-m` | Starts the application in a minimized state
1010

11-
### Daemon
11+
## Daemon
1212

1313
| Argument | Description |
1414
| :-----------------: | ----------- |
1515
| `--appdata` or `-a` | Uses the specified directory for application data
1616
| `--config` or `-c` | Uses the specified directory for searching of tablet configuration overrides
1717

18-
### Console
18+
## Console
1919

2020
This is a very limited list of the available commands in the console app, since the command names
2121
can vary between driver versions.

site/_wiki/Documentation/Logs.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Logs
33
---
44

5-
### GUI
5+
## GUI
66

77
To view logs, click on the <kbd>Console</kbd> tab. Optionally, change filter from <kbd>Information</kbd> to <kbd>Debug</kbd> for more detailed logs.
88

@@ -12,7 +12,7 @@ Sometimes, the OpenTabletDriver daemon can crash hard enough that the errors can
1212
sent to the GUI. In this case, you can find a
1313
partial log in the location specified [here](#daemon-log).
1414

15-
### Daemon
15+
## Daemon
1616

1717
The output from daemon is the log.
1818

@@ -23,7 +23,7 @@ To view that log, run the following command as your user:
2323
journalctl --user-unit opentabletdriver.service
2424
```
2525

26-
#### Exception Log Location {#daemon-log}
26+
### Exception Log Location {#daemon-log}
2727

2828
If the daemon crashes from an "unrecoverable" exception, the `daemon.log` file will
2929
include a stack trace defining where the error happened, which is useful for debugging.

site/_wiki/FAQ/General.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
title: General FAQ
33
---
44

5-
### Is my tablet supported? {#supported-tablets}
5+
## Is my tablet supported? {#supported-tablets}
66

77
Verify if your tablet is in the list of supported tablets [here]({% link _sections/Tablets.md %}). If it is not, you may do one of the following:
88

99
- [Create a tablet support request in Github.](https://github.com/OpenTabletDriver/OpenTabletDriver/issues/new?assignees=&labels=configuration&projects=&template=tablet_configuration.yml&title=Add+support+for+)
1010
- [Create a tablet support thread in #config-creation channel of the Discord server.]({{ site.data.links.project.DiscordInvite }})
1111
- [Write the tablet configuration.]({% link _wiki/Development/AddingTabletSupport.md %})
1212

13-
### My tablet is supported but not detected? {#tablet-not-detected}
13+
## My tablet is supported but not detected? {#tablet-not-detected}
1414

1515
OpenTabletDriver currently has *no support* for tablets connected via Bluetooth. Make sure that your tablet is connected via USB. There is partial support for tablets connected via wireless dongle.
1616

@@ -29,7 +29,7 @@ Then check [above](#supported-tablets) if your tablet is supported. If it is and
2929

3030
or alternatively, see if there is a [tablet model specific FAQ]({% link _wiki/FAQ/ModelSpecific.md %}) for your tablet.
3131

32-
### Where are my settings and plugins stored? {#appdata}
32+
## Where are my settings and plugins stored? {#appdata}
3333

3434
The following table describes the location of the default application data directory for each operating system:
3535

@@ -47,7 +47,7 @@ The application data directory contents are as follows:
4747
| Plugins | Folder | Contains installed plugins (`.dll` files). This folder should not be modified manually.
4848
| Presets | Folder | Contains saved presets
4949

50-
### My cursor is going crazy! It teleports everywhere! {#emi-interference}
50+
## My cursor is going crazy! It teleports everywhere! {#emi-interference}
5151

5252
This is caused by electromagnetic interference (EMI) from other devices. Make sure that the tablet is not near any of the following:
5353

@@ -58,25 +58,25 @@ This is caused by electromagnetic interference (EMI) from other devices. Make su
5858

5959
If certain that the tablet is not near any of the above, try replacing the pen. If the problem persists, replace the tablet. It's broken!
6060

61-
### I see two moving cursors when hovering my pen! {#two-cursors}
61+
## I see two moving cursors when hovering my pen! {#two-cursors}
6262

6363
This is caused by another tablet driver running in the background. Make sure that you have
6464
uninstalled all other tablet drivers before using OpenTabletDriver.
6565

66-
#### Windows
66+
### Windows
6767

6868
Run [TabletDriverCleanup]({{ site.data.links.external.TabletDriverCleanup.latest }}) to remove
6969
all other tablet drivers.
7070

71-
#### Linux
71+
### Linux
7272

7373
See [here]({% link _wiki/Documentation/RequiredPermissions.md %}#setup-linux).
7474

75-
#### macOS
75+
### macOS
7676

7777
Uninstall any other tablet drivers you have installed.
7878

79-
### Does OpenTabletDriver support pen pressure? {#pressure}
79+
## Does OpenTabletDriver support pen pressure? {#pressure}
8080

8181
All of our supported tablets has full pen pressure support unless otherwise noted on
8282
the [Tablets]({% link _sections/Tablets.md %}) page.
@@ -92,15 +92,15 @@ However, to make the driver output the pressure to your operating system, you ma
9292
[Windows Ink]: {% link _wiki/FAQ/Windows.md %}#win-ink
9393
[Artist Mode]: {% link _wiki/FAQ/Linux.md %}#artist-mode
9494

95-
### How to convert areas to and from OpenTabletDriver? {#area-conversion}
95+
## How to convert areas to and from OpenTabletDriver? {#area-conversion}
9696

97-
#### Conversion through the OpenTabletDriver UI
97+
### Conversion through the OpenTabletDriver UI
9898

9999
- Right click the Tablet Area Editor
100100
- Click the <kbd>Convert Item</kbd> menu item
101101
- Select the OEM driver to convert from, then input the appropriate values to the converter
102102

103-
#### Conversion through manual calculation
103+
### Conversion through manual calculation
104104

105105
Use this reference chart for the upcoming formulas:
106106

@@ -118,7 +118,7 @@ Use this reference chart for the upcoming formulas:
118118

119119
Use the following formulas to get values for OpenTabletDriver's area editor's `Width`, `Height`, `XOffset`, and `YOffset` fields:
120120

121-
##### Wacom and Veikk
121+
#### Wacom and Veikk
122122

123123
| Term | Definition |
124124
| :----: | :--------- |
@@ -136,7 +136,7 @@ XOffset = (Width / 2) + (Left / LPI * 25.4)
136136
YOffset = (Height / 2) + (Top / LPI * 25.4)
137137
```
138138

139-
##### XP-Pen
139+
#### XP-Pen
140140

141141
| Term | Definition |
142142
| :--: | :--------- |
@@ -154,7 +154,7 @@ XOffset = (Width / 2) + (XPX / 3.937)
154154
YOffset = (Height / 2) + (XPY / 3.937)
155155
```
156156

157-
##### Huion and Gaomon
157+
#### Huion and Gaomon
158158

159159
| Term | Definition |
160160
| :----: | --- |

site/_wiki/FAQ/Linux.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ before continuing.
1010
> Also check out [Linux App Specific FAQ]({% link _wiki/FAQ/LinuxAppSpecific.md %}) for
1111
app-specific instructions.
1212

13-
### My tablet is supported but not detected? {#troubleshooting}
13+
## My tablet is supported but not detected? {#troubleshooting}
1414

1515
> Read [General FAQ]({% link _wiki/FAQ/General.md %}#tablet-not-detected) first before continuing below if you haven't already.
1616
{:.alert-warning}
1717

18-
#### Common Problems
18+
### Common Problems
1919

2020
If your tablet is connected properly and is supported, but is still not detected, [check logs]({% link _wiki/Documentation/Logs.md %}) for any errors or warnings. If you find any, try finding for a match and its accompanying solution below:
2121

22-
##### Another driver is found {#hid_uclogic}
22+
#### Another driver is found {#hid_uclogic}
2323

2424
*Symptoms*:
2525

@@ -31,7 +31,7 @@ Another tablet driver found: <driver>
3131

3232
- [See here]({% link _wiki/Documentation/RequiredPermissions.md %}#setup-linux)
3333

34-
##### Insufficient permissions {#udev}
34+
#### Insufficient permissions {#udev}
3535

3636
*Symptoms*:
3737

@@ -43,13 +43,13 @@ Not permitted to open HID class device at /dev/hidrawX
4343

4444
- [See here]({% link _wiki/Documentation/RequiredPermissions.md %})
4545

46-
### Tablet is detected but not working?
46+
## Tablet is detected but not working?
4747

48-
#### Fresh Install {#fail-virtual-device}
48+
### Fresh Install {#fail-virtual-device}
4949

5050
If this is a fresh install and you have not configured your tablet yet, [check logs]({% link _wiki/Documentation/Logs.md %}) for any errors or warnings. If you find any, try finding for a match and its accompanying solution below:
5151

52-
##### Missing uinput device
52+
#### Missing uinput device
5353

5454
*Symptoms*:
5555

@@ -61,7 +61,7 @@ Failed to initialize virtual tablet. (error code ENODEV)
6161

6262
- Reboot your computer.
6363

64-
##### Missing uinput device support
64+
#### Missing uinput device support
6565

6666
*Symptoms*:
6767

@@ -71,7 +71,7 @@ Failed to initialize virtual tablet. (error code ENOENT)
7171

7272
Make sure that your kernel has uinput support. If you are using a custom kernel or builds kernel from source, make sure that you have enabled `CONFIG_INPUT_UINPUT` in your kernel configuration. Refer to your distro's documentation regarding kernel configuration.
7373

74-
##### Missing uinput device permissions
74+
#### Missing uinput device permissions
7575

7676
*Symptoms*:
7777

@@ -83,11 +83,11 @@ Failed to initialize virtual tablet. (error code EACCES)
8383

8484
- [See here]({% link _wiki/Documentation/RequiredPermissions.md %})
8585

86-
#### Non-fresh Install
86+
### Non-fresh Install
8787

8888
Try disabling your filters one-by-one and see if input finally works.
8989

90-
### Tablet is working but there is no pressure {#artist-mode}
90+
## Tablet is working but there is no pressure {#artist-mode}
9191

9292
Pressure support is available by changing the output mode of OpenTabletDriver to Artist Mode:
9393

@@ -97,13 +97,13 @@ Pressure support is available by changing the output mode of OpenTabletDriver to
9797

9898
See [here](#artist-mode-bindings) for setting up bindings for Artist Mode.
9999

100-
### Mouse button bindings are not working when using Artist Mode {#artist-mode-bindings}
100+
## Mouse button bindings are not working when using Artist Mode {#artist-mode-bindings}
101101

102102
Artist mode does not support regular mouse buttons. You will need to use artist mode pen bindings in the advanced binding editor instead of regular mouse buttons.
103103

104-
### How to autostart daemon on boot? {#autostart}
104+
## How to autostart daemon on boot? {#autostart}
105105

106-
#### systemd {#systemd-autostart}
106+
### systemd {#systemd-autostart}
107107

108108
Make sure that you have enabled the systemd service:
109109

@@ -117,7 +117,7 @@ configured correctly to integrate with systemd.
117117
In such case, refer to your desktop environment's documentation on how to autostart processes on
118118
login using the instructions [below](#other-inits)
119119

120-
#### Other init systems {#other-inits}
120+
### Other init systems {#other-inits}
121121

122122
OpenTabletDriver offers no official support for other init systems. Refer to your init system's documentation on how to autostart processes on login. The command to execute on login is:
123123

@@ -127,7 +127,7 @@ otd-daemon
127127

128128
> This command should be run as user, not root.
129129
130-
### The cursor feels slow on Artist Mode {#libinput-smoothing}
130+
## The cursor feels slow on Artist Mode {#libinput-smoothing}
131131

132132
Using Artist Mode will result in some minor smoothing due to libinput's tablet handling.
133133

@@ -141,6 +141,6 @@ AttrTabletSmoothing=0
141141

142142
You should restart the OpenTabletDriver daemon after updating this file.
143143

144-
### Still have problems? {#discord}
144+
## Still have problems? {#discord}
145145

146146
If you are still encountering problems with OpenTabletDriver, it will be easier to help you over in our [Discord]({{ site.data.links.project.DiscordInvite }}) server. We will guide you in doing certain debugging steps and will give you different instructions to help resolve your problem.

0 commit comments

Comments
 (0)