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. Database & SysAdmin
  3. System Admin
  4. Keyboard speed in milliseconds

Keyboard speed in milliseconds

Scheduled Pinned Locked Moved System Admin
performancequestion
2 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.
  • M Offline
    M Offline
    marcio k
    wrote on last edited by
    #1

    Is there a known way to convert values from HKEY_CURRENT_USER\Control Panel\Keyboard\KeyboardSpeed to milliseconds? Thanks in advance :)

    L 1 Reply Last reply
    0
    • M marcio k

      Is there a known way to convert values from HKEY_CURRENT_USER\Control Panel\Keyboard\KeyboardSpeed to milliseconds? Thanks in advance :)

      L Offline
      L Offline
      Luc Pattyn
      wrote on last edited by
      #2

      Hi, sure, seems KeyboardSpeed is a number in the [0, 31] range depending on Control Panel/Keyboard. So set it at maximum, write a little program that accepts a line of text, hold down the 'a' key for 10 seconds then hit ENTER, and let your program decide how may a's you've got. Divide 10000 by it and that is the shortest key repeat period in msec. :)

      Luc Pattyn [Forum Guidelines] [My Articles]


      This month's tips: - before you ask a question here, search CodeProject, then Google; - the quality and detail of your question reflects on the effectiveness of the help you are likely to get; - use PRE tags to preserve formatting when showing multi-line code snippets.


      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