playMaker

Author Topic: Xbox 360 Controller Trigger Buttons  (Read 1308 times)

darkhitori

  • Playmaker Newbie
  • *
  • Posts: 6
    • View Profile
Xbox 360 Controller Trigger Buttons
« on: October 01, 2015, 08:36:22 PM »
Hello and back again and was messing around and made my own actions to get the 360 trigger buttons ...Only thing is that to use these you must set the Left trigger to the 9th axis and check invert(for the Left only)  and set the Right trigger to the 10th axis in the Unity input Manager!!!... Get both triggers in one action and 2 separate actions to get the Left Trigger or The Right Trigger!!! Enjoy...




« Last Edit: October 01, 2015, 08:56:44 PM by darkhitori »

dudebxl

  • Hero Member
  • *****
  • Posts: 602
    • View Profile
Re: Xbox 360 Controller Trigger Buttons
« Reply #1 on: October 06, 2015, 04:06:34 PM »
You should publish this on the ecosystem.. ;D

darkhitori

  • Playmaker Newbie
  • *
  • Posts: 6
    • View Profile
Re: Xbox 360 Controller Trigger Buttons
« Reply #2 on: October 07, 2015, 01:44:34 PM »
Done and Done!!! They are now on the Ecosystem!.... ;D

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 2254
    • View Profile
    • jinxtergames
Re: Xbox 360 Controller Trigger Buttons
« Reply #3 on: October 07, 2015, 10:25:01 PM »
Hi,
nice actions,
but maybe it is better to make it into 1 action

i have not tried the action but is it not possible to only use 1 trigger (left or right)
on the get 360 Triggers?
if not, can you make it that way so that get left trigger and get right trigger are not needed anymore?

Nog

  • Playmaker Newbie
  • *
  • Posts: 47
    • View Profile
Re: Xbox 360 Controller Trigger Buttons
« Reply #4 on: December 23, 2016, 04:58:25 AM »
Hello,

Thank you darkhitori for these actions.

I have been trying to use the Get Left Trigger and Get Right Trigger actions, but when I use the Get Left Trigger action with the setup you suggested (in the input manager, I set the Left Trigger to the 9th axis and invert it), the Left Trigger on the control does fire off, but it causes my character to move backwards.

Is there any explanation as to why this might happen?

Again, thank you for these actions.

Nog

Nog

  • Playmaker Newbie
  • *
  • Posts: 47
    • View Profile
Re: Xbox 360 Controller Trigger Buttons
« Reply #5 on: December 23, 2016, 12:25:00 PM »
Well, the trigger buttons are working now. I closed Unity, and when I opened the program again, the trigger buttons started working perfectly.