im trying to make a caps lock alternator, so that ordinary typing will come out like: tHiS Is a tEsT
it uses a windows hook to determine when a key is pressed, and then determines whether caps lock is in effect by using GetAsyncKeyState(20) in the HookProc.
how can i use SendInput to turn caps lock on or off?
i looked this up in the msdn library, but there r so many different parameters which i dont know what to assign to :(
can some1 explain exactly how to do this? some working c++ source code would also be very helpful
thanks in advance,