suxpert / vimcaps

Never be bothered by caps lock
GNU General Public License v3.0
42 stars 2 forks source link

vimcaps can not change lock status if the keys were remapped #7

Open suxpert opened 2 years ago

suxpert commented 2 years ago

If we remap the caps lock, e.g., I'm using power toys, and remap the capslock as left control, then vimcaps can only read the keyboard status, but won't be able to toggle the key itself.

suxpert commented 2 years ago

After some testing on AutoHotKey, it seems that these key mapping tools recognized the key pressing simulated via vimcaps as physical keyboard event. This is what I was intend to do, but it seems that this types of simulation is not a good way to toggle the caps lock.

We might need some more direct way to modify the keyboard state internally.