Pergunta

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?

Foi útil?

Solução

   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

Outras dicas

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

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top