How to get input of PS3 controller's R2 or L2 buttons?

I’m using the SCP driver to make the Dualshock 3 controller work as if it were a XBOX 360 controller and I can get all of the inputs properly (I’m going according to this: http://wiki.unity3d.com/index.php?title=Xbox360Controller) except for the R2 and L2 buttons. The two triggers are mapped to the 3rd axis (-1 to 1) but I want to be able to know when each button is being pressed separately. The Wiki says that the 9th & 10th axis should correspond to the triggers separately but I can’t get it to work.

There were similar questions like this before but there wasn’t any good answers. Does anyone know any fixes? Thanks!

well… it worked for me :o

in the input manager i set up an input named “R2”
and i said 1.5 for the gravity
0.3 for the dead zone
and 1.1 for the sensivity
then “Joystick Axis” for the type
and “10th Axis (Joystick)” for the Axis

and it works fine, i will change sensivity but it works
in my script’s Update() function i wrote “Debug.Log(R2);” and it works in the runtime
i dont know what makes your input goes wrong but here is mine who is fine just in case it can resolves your problem :x