send method
Sends a whole snapshot: buttons held (W3C indices) and axes.
Implementation
void send(
String id, {
Set<int> buttons = const {},
Map<String, double> axes = const {},
}) {
final state = gp.GamepadState(buttonsDown: buttons, axes: axes);
_latest[id] = state;
_states.add(gp.GamepadStateEvent(gamepadId: id, state: state));
}