Devices equipped with A / D converters such as analog joysticks, analog steering, and tablets.
Peripheral type is based on 1H and data size of 5 bytes.
As a feature of the format, 1st Data has a configuration equivalent to a Mega Drive 3-button PAD. Compatibility can be secured by building an application so that the application can be controlled with just 1st Data. Table 3.11 shows the standard format of Saturn analog devices.
Table 3.11 Saturn Analog Device Standard Format
| bit7 | bit6 | bit5 | bit4 | bit3 | bit2 | bit1 | bit0 |
Saturn Peripheral ID | 0 | 0 | 0 | 1 | Data size |
1st Data TD> Right | Left | Down | Up | Start | A TRG | C TRG | B TRG |
2nd Data TD> R TRG | X TRG | Y TRG | Z TRG | L TRG | Extended data TD>
3rd Data TD> AX7 | AX6 | AX5 | AX4 | AX3 | AX2 | AX1 | AX0 |
4th Data TD> AY7 | AY6 | AY5 | AY4 | AY3 | AY2 | AY1 | AY0 |
5th Data TD> AZ7 | AZ6 | AZ5 | AZ4 | AZ3 | AZ2 | AZ1 | AZ0 |
6th Data TD> Extended data TD>
・ | Extended data TD>
・ | Extended data TD>
nth Data TD> Extended data TD>
| | | | | | | | | | | |
* Right, Left, Down, Up, Start, A TRG, C TRG, B TRG, R TRG, X TRG, Y TRG, Z TRG, L TRG are 0 when the button is pressed.
AX7 to AX0, AY7 to AY0, AZ7 to AZ0 output the absolute value of the A / D converter output without a sign.
AX7 to AX0 and AY7 to AY0 are (0,0) in the upper left and (255,255) in the lower right.
AZ7 to AZ0 are 0 at the bottom and 255 at the top.