serenadeai / serenade

Apache License 2.0
317 stars 57 forks source link

Support systems with ctrl and caps lock switched #15

Open Adam-D-Lewis opened 1 year ago

Adam-D-Lewis commented 1 year ago

Context

I have caps lock and ctrl swapped on my machine via Xorg/X keyboard extension. When I tried a few voice commands in vs code, only a single letter would appear like "L" or "V". I'm assuming serenade is "pushing" ctrl+V or ctrl+L, but since I've swapped my keys, only the letter appears instead.

Perhaps the "ctrl" key can be user configurable somehow?

tmacwill commented 1 year ago

though undocumented at the moment, I believe we have support for overriding copy/paste keys via: https://github.com/serenadeai/serenade/blob/master/client/src/main/settings.ts#L292