Programming the Caps Lock key questions

B

Brian Parker

I play a DirectX game and while that game is running, I would like to
change the behavior of the Caps Lock key. When it's pressed, I don't
want it to toggle my Caps Lock on and off, but instead send a different
code instead - preferably mimicing the 4th or 5th button of a mouse
being pressed.

1) Is this doable? If so...
2) What the general idea of how to approach this?

TIA,
-BEP
 
B

Brian Parker

Before searching on google, I wrote::
I play a DirectX game and while that game is running, I would like to
change the behavior of the Caps Lock key. When it's pressed, I don't
want it to toggle my Caps Lock on and off, but instead send a different
code instead - preferably mimicing the 4th or 5th button of a mouse
being pressed.

1) Is this doable? If so...
2) What the general idea of how to approach this?

I found this source code and will look at modifying it. Now I need to
figure out what to send for the 'Mouse4' or 'Mouse5' button. I'm sure
another search will dig that info up.

http://www.sysinternals.com/utilities/ctrl2cap.html

-BEP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top