Skip to content

surue-s/otd-toggle-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OTD Toggle Binding Plugin

A plugin for OpenTabletDriver that adds two new binding types:

  • Toggle Key Binding — press once for Key A, press again for Key B. Perfect for toggling between Brush (B) and Eraser (E) in Clip Studio Paint.
  • Hold Key Binding — hold button to temporarily switch to Key B, release to return to Key A. Like a momentary eraser switch.


What You Need


How to Install the Plugin

First download ToggleBinding.dll from the latest release. Then follow the steps for your system below.


Linux

Option 1: Use the install command

Open a terminal and run:

otd installplugin /path/to/ToggleBinding.dll

Replace /path/to/ToggleBinding.dll with the actual location of the file on your computer. Then restart OpenTabletDriver:

systemctl --user restart opentabletdriver.service

Option 2: Copy the file manually

If the install command does not work you can copy the file directly:

mkdir -p ~/.config/OpenTabletDriver/Plugins/TogglePlugin
cp /path/to/ToggleBinding.dll ~/.config/OpenTabletDriver/Plugins/TogglePlugin/

Then restart OpenTabletDriver:

systemctl --user restart opentabletdriver.service

Mac

Option 1: Use the install command

Open Terminal and run:

otd installplugin /path/to/ToggleBinding.dll

Then restart OpenTabletDriver from the menu bar icon at the top of your screen.

Option 2: Copy the file manually

mkdir -p ~/Library/Application\ Support/OpenTabletDriver/Plugins/TogglePlugin
cp /path/to/ToggleBinding.dll ~/Library/Application\ Support/OpenTabletDriver/Plugins/TogglePlugin/

Then restart OpenTabletDriver from the menu bar icon.


Windows

Option 1: Use the install command

Open Command Prompt in the folder where ToggleBinding.dll is saved and run:

otd installplugin ToggleBinding.dll

Then restart OpenTabletDriver from the system tray icon in the bottom right of your screen.

Option 2: Copy the file manually

Open File Explorer and go to this folder:

%APPDATA%\OpenTabletDriver\Plugins\

Create a new folder inside called TogglePlugin and paste the ToggleBinding.dll file into it. Then restart OpenTabletDriver from the system tray icon.


How to Use It

  1. Open OpenTabletDriver
  2. Click on any pen button or express key binding in the settings
  3. Click the dropdown that shows the binding type
  4. You will now see two new options: Toggle Key Binding and Hold Key Binding Toggle Key Binding means press once to switch to one tool and press again to switch back.

Hold Key Binding means hold the button to temporarily use another tool and let go to return to the previous one.

Recommended Setup for Clip Studio Paint

Setting Value
Key A b (this is the brush tool)
Key B e (this is the eraser tool)

If you use the Hold Key Binding, holding the button switches to eraser and letting go brings back the brush. This feels the most natural for drawing.


How to Uninstall

Run this command on Linux or Mac:

otd uninstallplugin TogglePlugin

Then restart OpenTabletDriver.

On Windows open the Plugins folder at %APPDATA%\OpenTabletDriver\Plugins\ and delete the TogglePlugin folder. Then restart OpenTabletDriver.


License

MIT

About

A personal plugin for otd that adds two new keybinding types to toggle switch between two keys or hold/release for key switching

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages