Domanda

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?

È stato utile?

Soluzione

   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

Altri suggerimenti

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top