Keymapping using LowLevelKeyboardProc

I am trying to map keys to different keys, for example turn Caps Lock into shift, or something like that. Right now for testing, I just want to be able to press the letter A, and B will actually be typed.

I have tried using SetWindowsHookEx(WH_KEYBOARD_LL,LowLevelKeyboardProc,NULL,0);

using that, I can get keyboard input, and can return a non-zero value to block that input, but Im not sure how to change the key pressed.

Thanks in advance :D
Last edited on
Topic archived. No new replies allowed.