aabtop / reify

Reify lets you embed a customized TypeScript runtime within a C++ application.
MIT License
6 stars 0 forks source link

Keyboard key code platform abstraction is very low-quality. #36

Open aabtop opened 3 years ago

aabtop commented 3 years ago

We assume certain characters, when the shift key is pressed, will result in specific shift key characters, but this is only true for US keyboards. I should translate virtual keys from the OS to corresponding platform-abstract virtual keys, and not do any shift key processing.

Also, I'm not converting all keys right now, I'm not even sure if the underscore character can be typed.