endFrame method

void endFrame()

Called at the end of each frame to clear transition flags.

Implementation

void endFrame() {
  for (final gamepad in gamepads.values) {
    gamepad.endFrame();
  }
}