SDL.Input.GameController.Button – sdl2 Reference Manual
Button
Description:
[
Version
( since =
"2.0.0"
) ]
[
CCode
( cprefix =
"SDL_CONTROLLER_BUTTON_"
) ]
public
enum
Button
Content:
Enum values:
A
B
BACK
DPAD_DOWN
DPAD_LEFT
DPAD_RIGHT
DPAD_UP
GUIDE
INVALID
LEFTSHOULDER
LEFTSTICK
MAX
RIGHTSHOULDER
RIGHTSTICK
START
X
Y
Static methods:
public
static
Button
from_string
(
string
button_string)
Methods:
public
string
to_string
()
2022 vala-language.org