jtroo / kanata

Improve keyboard comfort and usability with advanced customization
GNU Lesser General Public License v3.0
3.21k stars 131 forks source link

Feature request: Show keystroke or can let other app know the real key is stroked. #1097

Open soluty opened 5 months ago

soluty commented 5 months ago

Is your feature request related to a problem? Please describe.

kanata is a great tool i have ever used before, but i can't use key visualization tools such as keycastow or else with kanata,
so i can't explain to anyone which key is i really pressed.

Describe the solution you'd like.

set an option can show keys pressed in src

Describe alternatives you've considered.

or exported with tcp socket so that other app can detect it and show

Additional context

No response

jtroo commented 5 months ago

Sounds like reasonable functionality.

To be clear, you want to be able to display the physical key (defsrc key) that got pressed, not the actual output?

For the non-interception variant on windows, the carnac keys project shows both defsrc and real output, which is what I used for the demo video. But it can be noisy.

soluty commented 5 months ago

i tried carnac, but it can not show defsrc keys, for example i remap ctrl+w to a cmd, it can not show ctrl+w, maybe kanata can expose the original key so that other key show project can benefit from it