How to change keyboard typematic rate /delay (and led ind.) VC++/MFC? [modified]
-
Hello, I need to change the typematic rate/delay (moreover accessing leds). is there any way to do it without a device driver? I have seen some small MFC applications (less than 500kb..) that can access to leds. SDL libray can, Allegro can... but, without using 3rd party libraries only with VC++/MFC? I need to send data to a custom keyboard (yes, i know it's an output device), but since XP kernel inhibits direct access to hardware i had to find other way to send data without making a device driver and... with typematic and led status i could achieve it (data will be sent so much times as needed, not only once). All help will be great. :-D Thanks U.
modified on Wednesday, May 21, 2008 12:31 PM
-
Hello, I need to change the typematic rate/delay (moreover accessing leds). is there any way to do it without a device driver? I have seen some small MFC applications (less than 500kb..) that can access to leds. SDL libray can, Allegro can... but, without using 3rd party libraries only with VC++/MFC? I need to send data to a custom keyboard (yes, i know it's an output device), but since XP kernel inhibits direct access to hardware i had to find other way to send data without making a device driver and... with typematic and led status i could achieve it (data will be sent so much times as needed, not only once). All help will be great. :-D Thanks U.
modified on Wednesday, May 21, 2008 12:31 PM
alichan wrote:
I need to change the typematic rate/delay (moreover accessing leds). is there any way to do it without a device driver?
Have you tried changing the following: HKCU\Control Panel\Keyboard\KeyboardDelay
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
-
alichan wrote:
I need to change the typematic rate/delay (moreover accessing leds). is there any way to do it without a device driver?
Have you tried changing the following: HKCU\Control Panel\Keyboard\KeyboardDelay
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
I need accessing by low level so much as possible. That i need is more than accessing rate/delay/leds, but maybe i can achieve it using the way you suggest. I don't want to learn to build device drivers for a simple task, only have 1 life ;P ... After some mins... It looks like changes only are applied when you reboot, otherwise it doesn't work and changes aren't applied immediatly. That's not that i need. :( I need change the status of leds and typematic rate/delay from code, in run time and still couldn't find a way to do in VC++/MFC ain WXP without using device drivers. I know it's possible because i saw some comercial software (MFC) that don't install any drivers and change these settings, but how? I dunno. :doh: :sigh: Anyway thx for your help. ;)
modified on Wednesday, May 21, 2008 9:34 AM