Author Topic: How do I press left and ritght shift, ctrl, alt or windows keys?  (Read 1626 times)

01G8R

  • Newbie
  • *
  • Posts: 2
If I have a keybind that is left shift, right shift and letter M is there a way to press left and right shift in one line or is the only option press left shift, press and release right shift and M, release left shift?  Thanks.

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4758
  • RTFM
Re: How do I press left and ritght shift, ctrl, alt or windows keys?
« Reply #1 on: July 02, 2021, 07:41:53 AM »
Currently, the keypress action can press one of each modifier, either left or right, so splitting it in the manner you're describing would be necessary, yes.

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2827
Re: How do I press left and ritght shift, ctrl, alt or windows keys?
« Reply #2 on: July 02, 2021, 08:48:38 AM »
Your action list would look something like this @01G8R:

Press Left Shift down
Pause 0.05 seconds
Press Right Shift down
Pause 0.05 seconds
Press M down
Pause 0.1 seconds
Release M
Release Right Shift
Release Left Shift

You'll want to play around with the pause times - the pauses will be necessary, especially if you are using this in a game (as games need a little bit of time to realize the keys are down).