Question

I am using GetASyncKeyState (C++) to check for keys. I don't know what the name of this key is: enter image description here

How is this key named? What is the VK_ or Scancode?

Was it helpful?

Solution

   VK_LMENU : Left menu key (0xA4)
   VK_RMENU : Right menu key (0xA5)

Source has many more interesting keys I didn't even know that exist, such as "right windows key" o.O

Apparently, this key is reported by VK_APPS

OTHER TIPS

VK_APPS is an extended key and its scan code is D5E0 (D5E1 on some systems). More on Windows key maps here.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top