Skip to main content
← PSoXide SDK guides and examples · SDK f2fec1c301f1 · All Cargo features enabled; check feature gates before use.

Module button

Module button 

Source
Expand description

Named button bitmasks (active-high in this representation). Hardware’s active-low wire format is hidden inside poll_port1.

Constants§

CIRCLE
Circle face button.
CROSS
Cross (X) face button.
DOWN
D-pad down.
L1
L1 shoulder.
L2
L2 shoulder.
L3
Left stick click (DualShock L3).
LEFT
D-pad left.
R1
R1 shoulder.
R2
R2 shoulder.
R3
Right stick click (DualShock R3).
RIGHT
D-pad right.
SELECT
SELECT.
SQUARE
Square face button.
START
START.
TRIANGLE
Triangle face button.
UP
D-pad up.