Packages
sdl2
SDL
Input
GameController
Button
A
B
BACK
DPAD_DOWN
DPAD_LEFT
DPAD_RIGHT
DPAD_UP
GUIDE
INVALID
LEFTSHOULDER
LEFTSTICK
MAX
RIGHTSHOULDER
RIGHTSTICK
START
X
Y
from_string
to_string
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
()