GamepadButton

ceramic.GamepadButton (Abstract)

Represents gamepad button mappings.

This enum abstract defines the standard buttons available on modern gamepads, following a common layout similar to Xbox/PlayStation controllers:

  • Face buttons (A, B, X, Y)
  • Shoulder buttons (L1/R1) and triggers (L2/R2)
  • Control buttons (SELECT/BACK, START/MENU)
  • Analog stick buttons (L3/R3 - pressing the sticks)
  • Directional pad (D-Pad) buttons

Note: Button labels follow Xbox conventions but map to equivalent buttons on other controllers (e.g., A maps to Cross on PlayStation).

See: Input

Type Conversions

From:

  • [Int](/api-docs/clay-native/Int/)

To:

  • [Int](/api-docs/clay-native/Int/)

Metadata

Name Parameters
:enum -