With huge thanks to Jacek, the code here can be used to get direct access to all the Sony Access Controller buttons, the joystick and the E1-E4 expansion ports.
Dropbox JSON files for Sony Access Controller
Normally button access is very limited from default. Jacek’s method allows you to get at them all.
There is commented code in the Expressions tab area, which explains how to rotate the joystick 90/180/270 degrees.