Retro.JoypadId.to_button_code – retro-gtk-1 Reference Manual
Packages
retro-gtk-1
Retro
JoypadId
A
B
DOWN
L
L2
L3
LEFT
R
R2
R3
RIGHT
SELECT
START
UP
X
Y
from_button_code
to_button_code
to_button_code
Description:
public
uint16
to_button_code
()
Parameters:
joypad_id
a
JoypadId
Returns:
the corresponding button code