Joystick in B2.66

Hi

In B2.66 release notes there is a mention about new BGE joystick method:
http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.66

Any idea how this works?


import bge

j1 = bge.logic.joysticks[0]
print (j1.axisValues)

http://www.blender.org/documentation/blender_python_api_2_66_release/bge.types.SCA_PythonJoystick.html?highlight=axisvalues

Thanks!

That worked.