3

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?

2 Answers2

2
   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

Bartek Banachewicz
  • 38,596
  • 7
  • 91
  • 135
  • ah right, eneed to wait 8 minutes before accepting. :o However I thought VK_*MENU is (L/R)ALT O_O [this](http://www.kbdedit.com/manual/low_level_vk_list.html) source is confusing me –  Mar 09 '13 at 12:43
  • Use Spy++ on a new opened notepad to figure out any key you want to know about by just pressing it. – SSpoke Dec 29 '15 at 20:30
0

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

rflc
  • 1