- Home /
Dualshock3 Mac L2/R2 Trigger Analog Values?
Using Unity 5.3.0f4
OSX 10.11.1
Dualshock 3 Controller
I'm wondering if it's possible to access the raw/float analog values of the L2/R2 triggers (i.e. pressure sensitivity) on a Mac
On Windows, I'm able to use Axes 9/10 (or combined Axis 3) to get the float value.
But on OSX, it seems like I can only access the L2/R2 triggers as button bool values.
I tried reading from Axes 5 & 6 as recommended here: https://www.reddit.com/r/Unity3D/comments/1syswe/ps4_controller_map_for_unity/
I've tried InControl, as well as the default Unity Input Manager, and only seem to get any axis info for the 4 associated with the Left and Right Analog sticks.
I thought this might be a shortcoming of the default driver, but this HTML5 gamepad test page is reporting the expected analog values for the same connected ds3 controller: http://www.html5rocks.com/en/tutorials/doodles/gamepad/gamepad-tester/tester.html
(^ In Chrome, at least. In Firefox it's binary values, and it doesn't seem to work at all in Safari.)
I feel like I'm overlooking something, but maybe it's a Unity implementation bug?
Any help would be greatly appreciated. :)
I went through all possible axises and I have the same result as you, none of the seem to respond to pressing the L2 or R2 button on my PS3 controller.
Just another confirmation of this bug. I do not think the L2/R2 buttons are picked up at all even in the latest Unity.