No announcement yet.

Maping Character to Different Virtual Key

  • Filter
  • Time
  • Show
Clear All
new posts

  • Tom Hanlin
    Might, maybe, be possible to do this with a global system hook. This technique makes the operating system slower and less stable, though, as the keyboard input queues for all programs become tied to a single global queue: one reason Microsoft dumped that handy old "macro recorder" application.

    The "proper" way to do it probably requires a device driver.

    Tom Hanlin
    PowerBASIC Staff

    Leave a comment:

  • Gregery D Engle
    started a topic Maping Character to Different Virtual Key

    Maping Character to Different Virtual Key

    Lets say I want to map character "A" to Virtual Key 81 ("Q")

    I looked at MapVirtualKey but it doesn't look like that is
    what I'm looking for.

    I want the computer to print the letter A everytime the
    user pressed the Q button. This needs to happen on all
    applications, not just my app.

    Any ideas?