KeyMapper icon indicating copy to clipboard operation
KeyMapper copied to clipboard

Caps Lock state detection

Open dzid26 opened this issue 2 years ago • 2 comments

Developer TODO (don't remove)

  • [ ] create new branch. put issue number at start of name
  • [ ] update documentation
  • [ ] squash and merge
  • [ ] delete branch

I'd like to disable Caps Lock when Shift is pressed. Just like it is possible on Windows. But I don't have a way to detect if Caps Lock is already pressed. Would it be possible to add check for control keys such as Caps Lock in Constraints tab?

dzid26 avatar Mar 30 '22 20:03 dzid26

Hi, what do you mean by "disable caps lock"? Do you just not want Shift to have its usual behaviour where it capitalises keys when you hold it down? If so, does remapping it to something else or the "nothing" action not do this?

sds100 avatar Apr 10 '22 16:04 sds100

Shift shall still capitalize. Always. Even when caps lock is activated. And pressing shift should also deactivate the caps lock. So even when you forgot to turn off the caps lock, any time you start new sentence (with a capital letter), the caps lock would turn itself off.

This is what I have enabled on all my Windows machines: https://www.groovypost.com/howto/shift-key-disable-capslock/

dzid26 avatar Apr 10 '22 20:04 dzid26