The NEW Build Your Own Arcade Controls

Main => Raspberry Pi & Dev Board => Topic started by: 1500points on November 06, 2017, 08:47:15 am

Title: Ultimarc A-Pac Problem: No Calibration Settings for Raspberry Pi?
Post by: 1500points on November 06, 2017, 08:47:15 am
Using an A-Pac with Clarostat 5k pots.
Raspberry Pi with Retropie and AdvanceMAME.
Using the pots as Joy1 X, Joy1 Y, Joy2 X, Joy2 Y axis'
By default the pots don't cover the full travel on one side of each axis.
That means in Warlords the shield doesn't travel to the end of the castle on one side, it falls about 10 pixels short and doesn't affect the gameplay.
In Avalanche, the travel doesn't go to the full left or right sides of play field so you can't catch all the falling rocks.

In Windows 10 you can calibrate the pots from control panel>hardware and sound>devices and printers>game controllers, similar to what is posted on the ultimarc website.  This will visually show onscreen that the default pot settings can be widened by using the calibration steps (the dynamic cursor in the square box visual in the UI)
Those settings hold in windows, but they don't carry over to Raspberry Pi environment.

The solution, although expensive, appears to be to use a GGG Turbo Twist or Tornado spinner, which is seen as Mouse inputs in Raspberry Pi.  The mouse spinners do cover the full range of travel for Warlords and Avalanche by default.

The final question-  Is there or will there be a calibration area for the A-Pac in a Raspberry Pi environment in future?
Title: Re: Ultimarc A-Pac Problem: No Calibration Settings for Raspberry Pi?
Post by: 1500points on November 06, 2017, 01:43:45 pm
I will also add that there is a few degree dead spot in the middle of the rotation, which I don't see any mame setting to adjust out.
Title: Re: Ultimarc A-Pac Problem: No Calibration Settings for Raspberry Pi?
Post by: mahuti on March 13, 2018, 07:57:41 pm
Old thread... just came across it considering buying an A-pac for the Rpi...

Have you tried using jscal on the raspberry pi?

Code: [Select]
jscal -c /dev/input/js0

jscal -p /dev/input/js0

sudo jscal-store /dev/input/js0

Something like that?