Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repeated Deadkey #114

Open
crissNb opened this issue Aug 7, 2024 · 1 comment
Open

Repeated Deadkey #114

crissNb opened this issue Aug 7, 2024 · 1 comment

Comments

@crissNb
Copy link

crissNb commented Aug 7, 2024

Hi, thank you for your amazing software.

When using the deadkey feature and then holding a key, it only seems to be triggering the key once. Is there a way to make the keys repeated?

Here's my config

REWIRE TAB MOD10 TAB
COMBO Q [..&. .... ....] > deadkey(X)
COMBO deadkey-X H [] > moddedKey (LEFT + ....)

In the end I want to use TAB + Q (simultaneous press) as a modifier and then use H/J/K/L to act as arrow keys. With deadkey, it seems to be doing exactly what I wanted, but when I hold TAB + Q + H, it only triggers the left arrow once.

Maybe my approach is completely off, if you think there's a better approach to fulfill my needs then I'd also appreciate your suggestions. Setting Q as a modifier key and regular "Q" when tapping added too much delay and sometimes the key wasn't registering. Would there be a way to only set Q as a modifier key when TAB is currently pressed?

@cajhin
Copy link
Owner

cajhin commented Aug 12, 2024

You can't define "sticky" deadkeys, the deadkey state is always cleared after the next keypress. There's also no locking modifier like CapsLock, sorry.

My recommendation would be:
a) if you touch type and need cursor control in between, nothing (IMO) beats [CapsLock] + [J,K,L]
b) if you use cursor control exclusively, for extended time (like when playing a game), I would define an extra config that directly maps J->Left. Then you can switch configs back and forth with ESC+{number}, or define a shortcut that triggers configSwitch() (see https://github.com/cajhin/capsicain/wiki/Function%3A-configSwitch%28%29 )

edit: that said, why don't you simply use the combo Tab+H = Left? What would be the advantage of Tab+Q+H?
like

REWIRE TAB MOD10 TAB
COMBO H [..&. .... ....] > key (LEFT)

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

No branches or pull requests

2 participants