What is Win32 virtual key code 0xFF, and where is it documented?

I have a netbook that supports multi-touch gestures on the touch panel. When you make a finger three fingers left or right, it will send some messages to the active window - for some windows this means that pressing the up / down key causes a click.

The actual messages that are sent for direct scrolling correspond to Spy ++:

  • WM_KEYDOWN, virtual key = 0xFF
  • WM_KEYDOWN, virtual key = VK_NEXT
  • WM_KEYUP, virtual key = VK_NEXT
  • WM_KEYUP, virtual key = 0xFF

My question is: what is this 0xFF virtual key code, and is it documented somewhere? There is no corresponding #define in winuser.h.

+3
source share
2 answers

VK 0xff "Fn".

+3

0xFF - , , " ". kbd.h Windows DDK/SDK:

#define VK__none_   0xFF

, , key code. , 0 :

#define T00 _EQ(                           _none_                    )

Fn 0xFF, , Fn , , 0xFF Fn. Fn ; - .

VK 0xFF: , , . , , ( ) , , . , , VK_NEXT (, , , ). , , (wParam 0xFF).

16-23 lParam WM_KEYDOWN.

+1

Source: https://habr.com/ru/post/1785995/


All Articles