Accelerometer mappings

The “acc_orientation” argument can be used to customize the Joypad operation in any direction. It is changed by setting the parameter of the accelerometer sensor:

acc_orientation=<Orientation value>

For example, if you want to read the value of rotating the Joypad 90 degrees clockwise, you would adjust the acc_orientation value to 2: