2

I am trying to map a mouse button to mimic a single press of a ctrl key on the keyboard. (ctrl is used in a game I am playing to toggle displaying some extra info on the screen)

I've tried this but it doesn't seem to actually send the ctrl key:

RButton::
    Send ^
Return

If I do like this and send ctrl+c then it works (for the purposes of my game), which leads me to believe that the ^ only actually gets sent if it has another key to accompany it.

RButton::
    Send ^c
Return

I can't seem to find anywhere in the documentation that supports my theory. I am wondering if any one knows whether my hunch is correct and/or of a way that I can send just the ctrl key by itself.

Anderson
  • 119
FoamyGuy
  • 1,153

1 Answers1

3

Try using Send {LControl} or {RControl} depending on what key you wish to send.

JohnnyVegas
  • 3,554
  • 1
  • 17
  • 20