A Gamepad for Input/PlayerInput tests: buttons are values from 0 to 1 (pressed above 0.5), axes from -1 to 1. Hand it to the code under test the way navigator.getGamepads() would.
Gamepad
Input
PlayerInput
buttons
axes
navigator.getGamepads()
A
GamepadforInput/PlayerInputtests:buttonsare values from 0 to 1 (pressed above 0.5),axesfrom -1 to 1. Hand it to the code under test the waynavigator.getGamepads()would.