Re:Show HN: Edna, note taking app for developers
by spartanatreyu on Tuesday July 02, 2024 @12:05AM
(#40853462)
Sounds like it's using event.keyCode (deprecated) or event.code (key button number) instead of event.key (the character that the button represents).
Further, because I don't type in QWERTY, I noticed that _some_ shortcuts seem correctly mapped in my layout, but others are not. The Option+N shortcut for a new note just starts the "˜" combining character (expecting a following character like "n" to form "ñ") when using the "n" key in my layout. However it works if I use the physical "n" key (which is my "k").
I feel like that explanation is pretty poor, but yeah basically some shortcuts seem bound to the physical key location whereas others seem bound to the mapped key. I wonder if they are declared differently?