Vonng / Capslock

Make Capslock Great Again!
Apache License 2.0
1.43k stars 287 forks source link

Slow Response #50

Closed yongming-qin closed 2 years ago

yongming-qin commented 2 years ago

I feel there is a little time delay for some cases, such as switching Chrome tabs. Using Capslock responds slower than just using "ctrl + tab". Does someone also feel this?

I suspect this is because the "capslock" trigger "right_command + right_control + right_shift + right_option", which is not straightforward. I saw a condition "name": "caps_lock pressed". When using this condition, the responding speed is fine. Does this suspicion make sense?

suliveevil commented 2 years ago

I'm using Capslock(my own mod edition ) for years, never met delay problem, there may be some other settings on your system or software conflicts with the keyboard shortcuts.

suliveevil commented 2 years ago

If you are confused by Capslock's complex, write your own keybinding from bottom using Goku, it's more elegant and you can have comments in your config file.

yongming-qin commented 2 years ago

When the capslock key is pressed (holding) and then I press another key (such as h), I don't feel the delay. But if I press capslock key and another key together, I feel a slight delay. And, sometimes if I press capslock + h quickly, there is no reaction. ( The slight delay only affects me when I need a quick action like triggering 'ctrl + tab'. Can you double-check if you press capslock + h at the same time (not holding the capslock and then press h), what is the response?

Vonng commented 2 years ago

Maybe try "system preference -> Keyboard -> keyboard" , set 'laytency before repeat' to short and repeat speed to fast ?

yongming-qin commented 2 years ago

Thanks for the suggestions. I changed how the "caps lock" triggers. Currently, the "caps lock" trigger "right_command + right_control + right_shift + right_option", which seems to be complex. And if we look at the karabiner event viewer, there are many commands. I learned from another rule and let "caps lock" trigger a value. Now the response is good when I press "caps lock" (not holding) and a "modifier key" at the same time. The implementation is shown in the picture. I'm not sure if this matters. Just attach it in case other people may try. image