Results 1 to 2 of 2

Thread: Mouse right click emulation using 360 left trigger

  1. #1
    Join Date
    Feb 2006
    Posts
    9

    Mouse right click emulation using 360 left trigger

    Hi. I am trying to activate/deactivate a sniper scope using the left trigger of an Xbox 360 controller. The game is set up so that "right clicking" and releasing the right mouse button activates the scope. To deactivate the scope you must repeat the same action again.

    I am trying to set up the 360 controller so that the scope is only on when the left trigger is pressed and held. Releasing it or not pressing it at all yields no scope.

    So far no matter what I try, I end up with the same result as using the mouse in the game. Are there commands I am overlooking? Thanks for any help.

    Neil

  2. #2
    Join Date
    Jul 2005
    Posts
    13,325
    Well you can create a command that would be like this...

    Aim Down Site command
    Activated Event
    mouse RBUTTON press
    Deactivated Event
    mouse RBUTTON press

    as opposed to what you probably have now (by default)

    Aim Down Site command
    Activated Event
    mouse RBUTTON down
    Deactivated Event
    mouse RBUTTON up

    So I do think that using the "key press" on both activated and deactivated events will achieve the goal you are looking for; however, it has the possibility to become "out-of-sync" with the game... that is the profile will not know which "mouse RBUTTON press" is taking you into the scope and which is taking you out, so if the signal gets sent but the game ignores it for whatever reason (you are underwater, the game is in a dialog scene, etc) then it could end up reversing the action (so you would have to hold the trigger to have it NOT look down the scope). If that should happen, then you will need to send a single "mouse RBUTTON press" either with your profile somehow or else press the right-mouse button on the REAL mouse. So that's your solution but there are some inherent problems with doing it that way and there is really nothing that can be done to guarantee that it never falls "out-of-sync" like that.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •