mmozeiko / wcap

Small and efficient screen recording utility for Windows 10 and 11
The Unlicense
839 stars 35 forks source link

Print Screen keybind missing name #11

Closed jimnordb closed 2 months ago

jimnordb commented 2 years ago

Print Screen key shows 0x2c instead of "Print Screen" key text

Windows 11 (21H2)

image

mmozeiko commented 2 years ago

I'd blame this on Windows - as I'm just calling windows function to get key name.
Are you using some fancy keyboard? Or keyboard layout?

jimnordb commented 2 years ago

Really appreciate this cool app!

Just a basic QWERTY keyboard really. Nordic layout and Norwegian (Bokmål) for input language in Windows.

mmozeiko commented 2 years ago

Yep, I get [0x2c] too when I switch to Norwegian input layout.
There doesn't seem to be good way to get key name in Windows... Looks like hardcoding names of popular keys would be better way. I'll probably change that later.