Using http://html5gamepad.com/ I can confirm my controller is in fact connected, and when pulling the Triggers, B6 and B7 are analog buttons transitioning from 0 to 1.
I’ve tried every possible unity Input button name/axis whatever I can think of, and I cannot detect the trigger input.
Is this possibly somewhere where Unity is not correctly detecting that input and exposing it via the Input API?
I once though it was because of the different mapping across platform and figured out it was true. However, I don’t think that is the main problem, as I succeed to control by a Bluetooth Xbox One controller in 2017.3 but failed in 2018
Just find the solution. First, in input menu, check whether you have choose Joystick Axis for Type. It is just one of the several silly mistakes. Secondly, look at the sensitivity and set it to 1 or somewhat value instead of 0. I got the problem simply because Sensitivity is initially 0 when created.
However, the mapping for direction pad are axis instead of buttons, and the reaction is quite weird. Meanwhile, I still can’t find any mappings for the two trigger buttons(LT\RT). I have tried all of the axis and JoystickButton, just … none. Some said in Windows it is axis, but it is only rubbish on OS X.
The maps for the controller are different via Bluetooth or wired. For the Bluetooth one, it seems Unity does not receive any input from triggers. And for the wired one, I’ve tried two Xbox One controllers, and each of them has different mappings. Weird.
That would make sense. I was able to get feedback from the bumpers, but couldn’t for the triggers or the Start/Select buttons (or whatever Xbox calls them). I have been trying to map it for the bluetooth settings.
I had the same issue some time ago. It was the reason I returned my xbox one s controller. Does anyone know if this is fixed? (latest Unity version at time of writing: 2019.2.14)
@DebugLogError and for anyone else trying to do this, I was able to get my Mac to use the Xbox controller using the new Input System. It makes it a lot more simpler to setup and use. Plus now it works for Mac and PC.
Thanks for the heads up! I switched to the new input system after reading your comment and the triggers are working with Bluetooth (even without the 360 drivers installed).