Function EventDispatcher.onControllerButtonDown

Called when a controller button is pressed.

void onControllerButtonDown(
  uint deviceIndex,
  int button
);