Basic gesture plugin for touch-enabled pen tablets, such as PTH-x60, CTH-x80 and the likes.
- Clone this repository.
- Build plugin:
dotnet build --configuration=Release. - Copy DLL from
./bin/Release/net8.0/nahkd123.BasicTabletGestures.dllto OTD plugin folder. - Restart OpenTabletDriver.
-
Download
nahkd123.BasicTabletGestures.dllin Releases tab. -
Create a new folder inside OTD's plugins folder and move the downloaded file in that folder.
- For Windows: Create a folder in
%localappdata%\OpenTabletDriver\Plugins\and move the.dllfile to that newly created folder.
- For Windows: Create a folder in
-
Restart OpenTabletDriver.
This filter add basic tap gestures to your tablet that perform certain key binding when tapping on tablet surface with specific number of fingers.
-
Touch deadline (ms): How long does it takes for filter to register your tap. When tapping on your pen tablet, the tap will only be registered when one of the following happened:
- You released all fingers before deadline, or;
- The filter reached deadline before releasing all fingers.
-
Pen ignore time (ms): How long should the filter ignore all touch inputs after the pen leave the tablet's sensing area. If you keep triggering gesture, try increasing this value. Negative value will disable this feature (which allow you to trigger touch while the pen is in tablet's sensing area)
-
N-finger tap action: A concatenated sequence of keys, each separated by a plus (
+) character.Ctrlorctrlwill be translated toControl,shiftwill be translated toShiftandalttoAlt. The keys are case-sensitive. The list of all possible keys can be found in OpenTabletDriver's keybind editor (when setting up binding for pen/aux buttons). Examples are:Control + Z: Undo;Ctrl + Shift + Z: Redo;D1 + D2 + D3: Press 1, 2 and 3 in number key row at the same time;Numpad5: Press 5 in numpad;