Announcement

Collapse
No announcement yet.

Maping Character to Different Virtual Key

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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?

    ------------------
    -Greg
    -Greg
    [email protected]
    MCP,MCSA,MCSE,MCSD

  • #2
    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

    Comment

    Working...
    X