Category "raw-input"

Win32 raw input blocks input locale switching when RIDEV_NOLEGACY is specified

I'm writing a keyboard input system for Windows based on Raw Input. It is implemented with RIDEV_NOLEGACY flag set, and legacy keyboard messages are generated m

getrawinputdata within a simple main()

I am trying to read values from the joystick using simple C++ techniques and Windows. My aim is to write a program that sends a keyboard command whenever the jo

Distinguish between left and right shift keys using RAWINPUT

RAWINPUT provides two flags (RI_KEY_E0 and RI_KEY_E1) to check whether the left or right version of a key is pressed. This works great for CTRL, but not for lef