Author Topic: Right Mouse Button Down?  (Read 1123 times)

0 Members and 1 Guest are viewing this topic.

Maplebar

  • $upporter
  • Jr. Member
  • *****
  • Posts: 6
  • Karma: 0
    • View Profile
Right Mouse Button Down?
« on: May 16, 2013, 05:45:55 AM »
Hi everyone, I'm new here. I tried searching for a thread for this, but I couldn't find one for it.

I was wondering if there was a way to implement a command very similar to the Mouse.LeftButtonDown command, except that it is Mouse.RightButtonDown instead. (Also, a Mouse.RightButtonUp command would be helpful too)

Is there any way to do this? I've tried experimenting, but I'm very new so I am guessing there is a way, but I just don't know how to yet.

Also, is there a way to create an On/Standby button, such as Scroll Lock?

Thanks all

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7712
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Right Mouse Button Down?
« Reply #1 on: May 16, 2013, 09:51:45 AM »
Hi Maplebar.

Welcome to the forum.  ;D

These commands are missing but I will include them in the next update.  I guess I just was lazy and figured you would only need the leftbuttondown to drag items and there was no need for rightbuttondown, but I guess there are reasons to do it after all!  Maybe for a video game or something.

I am hoping to release a new version quite soon.

You can use the hook plugin to detect keypresses and create events from them.  The events can be used to trigger commands that turn VC on and off.

Alternatively, if you are using eventghost you can use it to send actions or events to VC.