Is there any way to control keyboard LED-s with Win32 API?
C++, Win32, Dev-C++
This is a discussion on Controlling keyboard LED within the Windows Programming forums, part of the Platform Specific Boards category; Is there any way to control keyboard LED-s with Win32 API? C++, Win32, Dev-C++...
Is there any way to control keyboard LED-s with Win32 API?
C++, Win32, Dev-C++
The docs say:
I think you can get the current state with either GetAsyncKeyState or GetKeyboardState.Originally Posted by MSDN SetKeyboardState
Code:keybd_event(VK_CAPITAL, 0, 0, 0); // this turns caps on keybd_event(VK_CAPITAL, 0, KEYEVENTF_KEYUP, 0); // this turns caps off
The same thing possible with SendInput?