Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How to change keyboard typematic rate /delay (and led ind.) VC++/MFC? [modified]

How to change keyboard typematic rate /delay (and led ind.) VC++/MFC? [modified]

Scheduled Pinned Locked Moved C / C++ / MFC
c++csshardwarehelptutorial
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    ninjanear
    wrote on last edited by
    #1

    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

    D 1 Reply Last reply
    0
    • N ninjanear

      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

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      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

      N 1 Reply Last reply
      0
      • D David Crow

        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

        N Offline
        N Offline
        ninjanear
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups