Author Topic: keyboard + Mouse in one keybind?  (Read 2097 times)

vaguexrdx

  • Newbie
  • *
  • Posts: 33
keyboard + Mouse in one keybind?
« on: October 17, 2020, 09:19:27 AM »
Is there a way to bind say shift + (mouse button) to a command? unable to find in program or online

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4782
  • RTFM
Re: keyboard + Mouse in one keybind?
« Reply #1 on: October 17, 2020, 09:22:01 AM »
You can have a command trigger off a mouse button using the "When I press mouse" option, and use the "Begin a Conditional (If Statement) Block" action to check whether shift is pressed, placing all the actions within that condition block so they're only executed if shift is indeed held down.

vaguexrdx

  • Newbie
  • *
  • Posts: 33
Re: keyboard + Mouse in one keybind?
« Reply #2 on: October 17, 2020, 09:26:30 AM »
lol no idea what that means... ilooked it up still not rly sure.. but its all good i leave ya be u prolly sick of me

vaguexrdx

  • Newbie
  • *
  • Posts: 33
Re: keyboard + Mouse in one keybind?
« Reply #3 on: October 17, 2020, 09:30:26 AM »
ill just stick with 1 2 3 4

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4782
  • RTFM
Re: keyboard + Mouse in one keybind?
« Reply #4 on: October 17, 2020, 09:30:50 AM »
Add a "Begin a Conditional (If Statement) Block" to your command, use the "Device State" tab set to "Keyboard Key", "Shift", and "Is Pressed", then add/move your normal command actions between "Begin Device State Check" and "End Condition".

vaguexrdx

  • Newbie
  • *
  • Posts: 33
Re: keyboard + Mouse in one keybind?
« Reply #5 on: October 17, 2020, 09:35:05 AM »
yeah im sure its simple.. too much for me now.. I couldnt even unhide a filter remember