Skip to content

feat: add ToggleBinding plugin by surue-s#155

Open
surue-s wants to merge 1 commit intoOpenTabletDriver:masterfrom
surue-s:master
Open

feat: add ToggleBinding plugin by surue-s#155
surue-s wants to merge 1 commit intoOpenTabletDriver:masterfrom
surue-s:master

Conversation

@surue-s
Copy link
Copy Markdown

@surue-s surue-s commented May 7, 2026

This plugin adds two new binding types to OpenTabletDriver.

Toggle Key Binding: press a button once to send one key, press again to send another.
Hold Key Binding: hold a button to temporarily send one key, release to return to another.

Useful for artists who want to switch between brush and eraser with a single pen button,
including inside Wine and Bottles on Linux.

Tested on CachyOS with OTD 0.6.x and XP-Pen Star G960S Plus.

@Kuuuube
Copy link
Copy Markdown
Member

Kuuuube commented May 7, 2026

Your "HoldKeyBinding" sounds like it's already encompassed in function with "DualActionBinds" but with a less powerful and much more dubious implementation. And same with the other one though it's on a different version of DualActionBinds.

Also this is insane and I'm not sure we should have a plugin in the repo that's doing something like this:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants