・An error occurs if 9 or 10 is not specified for Toy-Con type in XCTRLSTYLE.
・Return values after the accelerator can be omitted.
ID of the controller that acquires information: 1 to 2
Return the bit value of whether or not Toy-Con Submarine is recognized and the state of the operation button.
0 | Unrecognized |
bit0 | Recognizing |
bit1 | Vehicle Toy-Con Key Button |
bit2 | Toy-Con Submarine Button |
Toy-Con Pedal depression: 0 to 1.0
Left wheel rotation angle: -0.5 to 0.5
・-0.5 indicates -180 degrees, 0.5 indicates 180 degrees.
・The value is reversed when the wheel is rotated 180 degrees or more.
Right wheel rotation angle: -0.5 to 0.5
・-0.5 indicates -180 degrees, 0.5 indicates 180 degrees.
・The value is reversed when the wheel is rotated 180 degrees or more.