Skip to content
This repository was archived by the owner on Dec 21, 2023. It is now read-only.

Commit f1a5699

Browse files
committed
Add General FAQ
1 parent 3d3bc7c commit f1a5699

2 files changed

Lines changed: 150 additions & 1 deletion

File tree

Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
@{
2+
ViewBag.Title = "FAQ";
3+
}
4+
5+
<partial name="Wiki/_Header"/>
6+
7+
<div class="d-flex px-4">
8+
<div class="flex-fill">
9+
<h3 class="wiki-nav-item pb-2" id="appdata">
10+
Application Data Directory
11+
</h3>
12+
<table class="table">
13+
<tr>
14+
<th class="text-center">Operating System</th>
15+
<th>Path</th>
16+
</tr>
17+
<tr>
18+
<td class="text-center">Windows</td>
19+
<td>
20+
<code class="user-select-all">%localappdata%\OpenTabletDriver</code>
21+
</td>
22+
</tr>
23+
<tr>
24+
<td class="text-center">Linux</td>
25+
<td>
26+
<code class="user-select-all">~/.config/OpenTabletDriver</code>
27+
</td>
28+
</tr>
29+
<tr>
30+
<td class="text-center">macOS</td>
31+
<td>
32+
<code class="user-select-all">~/Library/Application Support/OpenTabletDriver</code>
33+
</td>
34+
</tr>
35+
</table>
36+
37+
<hr/>
38+
39+
<h3 class="wiki-nav-item pb-2" id="command-line-args">
40+
Command Line Arguments
41+
</h3>
42+
<h4>
43+
UI
44+
</h4>
45+
<table class="table">
46+
<tr>
47+
<th>Argument</th>
48+
<th>Description</th>
49+
</tr>
50+
<tr>
51+
<td><code class="user-select-all">--minimized</code> or <code class="user-select-all">-m</code></td>
52+
<td>Starts the application in a minimized state.</td>
53+
</tr>
54+
</table>
55+
<h4>
56+
Daemon
57+
</h4>
58+
<table class="table">
59+
<tr>
60+
<th>Argument</th>
61+
<th>Description</th>
62+
</tr>
63+
<tr>
64+
<td><code class="user-select-all">--appdata</code> or <code class="user-select-all">-a</code></td>
65+
<td>Specifies the application data directory.</td>
66+
</tr>
67+
<tr>
68+
<td><code class="user-select-all">--config</code> or <code class="user-select-all">-c</code></td>
69+
<td>Specifies the configurations directory.</td>
70+
</tr>
71+
</table>
72+
73+
<hr/>
74+
75+
<h3 class="wiki-nav-item pb-2" id="area-conversion">
76+
Proprietary Driver Area Conversions
77+
</h3>
78+
<p>
79+
This can be performed from the UI or calculated manually.
80+
</p>
81+
<h4>
82+
OpenTabletDriver UI
83+
</h4>
84+
<ol>
85+
<li>Right click the tablet area editor</li>
86+
<li>Click the <code>convert item</code> menu item</li>
87+
<li>Select the OEM driver and insert your area values</li>
88+
</ol>
89+
<h4>
90+
Manual Area Conversion
91+
</h4>
92+
<p class="mb-2">
93+
Check the configuration file for your tablet
94+
<a href="https://github.com/OpenTabletDriver/OpenTabletDriver/tree/master/OpenTabletDriver/Configurations">here</a>
95+
or within the driver for properly calculated digitizer dimensions in millimeters.
96+
</p>
97+
<div class="text-muted px-3 mb-3">
98+
<small>
99+
<strong>Note:</strong> Huion and Gaomon areas use a &quot;percentage area&quot;, which uses a percentage
100+
of the tablet&#39;s maximum area to calculate the area.<br/>
101+
You must know your tablet&#39;s digitizer dimensions in millimeters in order to properly convert these areas.<br/>
102+
This is automatically handled in the UI, for the best results it is recommended to use it for converting from these proprietary drivers.<br/>
103+
</small>
104+
</div>
105+
<table class="table">
106+
<tr>
107+
<th class="text-center">Driver</th>
108+
<th>Formulas</th>
109+
</tr>
110+
<tr>
111+
<td class="text-center">Wacom, VEIKK</td>
112+
<td>
113+
<code>Width = (Right - Left) / 100</code><br/>
114+
<code>Height = (Bottom - Top) / 100</code><br/>
115+
<code>X Offset = (Left / 100) + (Width / 2)</code><br/>
116+
<code>Y Offset = (Top / 100) + (Height / 2)</code>
117+
</td>
118+
</tr>
119+
<tr>
120+
<td class="text-center">XP-Pen</td>
121+
<td>
122+
<code>Width = W / 3.937</code><br/>
123+
<code>Height = H / 3.937</code><br/>
124+
<code>X Offset = (Width / 2) + (X / 3.937)</code><br/>
125+
<code>Y Offset = (Height / 2) + (Y / 3.937)</code>
126+
</td>
127+
</tr>
128+
<tr>
129+
<td class="text-center">Huion, Gaomon</td>
130+
<td>
131+
<code>Width = (Right - Left) * tabletWidth</code><br/>
132+
<code>Height = (Bottom - Top) * tabletHeight</code><br/>
133+
<code>X Offset = (Width / 2) + (Left * tabletWidth)</code><br/>
134+
<code>Y Offset = (Height / 2) + (Top * tabletHeight)</code>
135+
</td>
136+
</tr>
137+
</table>
138+
</div>
139+
<partial name="Wiki/_Navigation"/>
140+
</div>

OpenTabletDriver.Web/Views/Wiki/Index.cshtml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<partial name="Wiki/_Header"/>
77

88
<div class="pb-2">
9-
<div class="container py-3">
9+
<div class="container mb-3">
1010
<div class="row row-cols-1 row-cols-md-2 row-cols-xl-3 g-3">
1111
<div class="col">
1212
<div class="card">
@@ -64,4 +64,13 @@
6464
</div>
6565
</div>
6666
</div>
67+
68+
<div class="mb-3">
69+
<h3>Frequently Asked Questions</h3>
70+
<ul>
71+
<li>
72+
<a class="link-light" href="Wiki/FAQ/General">General OpenTabletDriver FAQ</a>
73+
</li>
74+
</ul>
75+
</div>
6776
</div>

0 commit comments

Comments
 (0)