I am writing a driver for a custom external USB controller.
I want to be able to emulate keyboard keystrokes. I know I can send keys to other applications through VB, but I can't figure out how to have my external key pad emulate the Shift, Control, or Alt key being held down.
For example, I want my VB app to detect a key being pressed on the external keypad and then have Windows work like the Shift key is being held down or the Control Key or the Alt key.
Essentially I want my external keypad to do exactly the same thing as the regular keyboard Shift, Control and Alt.
Is there a function in VB to send a "Control Lock" or "Alt Lock"? Even setting the "Shift Lock" isn't exactly the same as holding down the Shift key.
I hope that makes sense.
Any help pointing me in the right direction would be greatly appreciated.
Thanks in advance,
-Darin Fong
I want to be able to emulate keyboard keystrokes. I know I can send keys to other applications through VB, but I can't figure out how to have my external key pad emulate the Shift, Control, or Alt key being held down.
For example, I want my VB app to detect a key being pressed on the external keypad and then have Windows work like the Shift key is being held down or the Control Key or the Alt key.
Essentially I want my external keypad to do exactly the same thing as the regular keyboard Shift, Control and Alt.
Is there a function in VB to send a "Control Lock" or "Alt Lock"? Even setting the "Shift Lock" isn't exactly the same as holding down the Shift key.
I hope that makes sense.
Any help pointing me in the right direction would be greatly appreciated.
Thanks in advance,
-Darin Fong