Type Alias BpxGameButtonName

BpxGameButtonName:
    | "left"
    | "right"
    | "up"
    | "down"
    | "O"
    | "o"
    | "X"
    | "x"
    | "menu"

Identifiers of the game buttons.

$.wasButtonJustPressed("X");
  • O represents the Japanese "Maru" sign, kind of a "Yes". Good for a primary/accept/next button.
  • X represents the Japanese "Batsu" sign, kind of a "No". Good for a secondary/cancel/back button.
  • Lower case o and x are supported as well, for a convenience.