#define HAS_XBOX_STYLE (dvarBool("gpad_enabled") == 1 && dvarBool("gpad_style") == 0)
#define HAS_SONY_STYLE (dvarBool("gpad_enabled") == 1 && dvarBool("gpad_style") == 1)

#define HAS_DEFAULT_THUMBSTICK_XBOX (HAS_SELECTED_THUMBSTICK && HAS_XBOX_STYLE && dvarString(gpad_sticksConfig) == "thumbstick_default") //controls_thumbstick_set1
#define HAS_SOUTHPAW_THUMBSTICK_XBOX (HAS_SELECTED_THUMBSTICK && HAS_XBOX_STYLE && dvarString(gpad_sticksConfig) == "thumbstick_southpaw") //controls_thumbstick_set2
#define HAS_LEGACY_THUMBSTICK_XBOX (HAS_SELECTED_THUMBSTICK && HAS_XBOX_STYLE && dvarString(gpad_sticksConfig) == "thumbstick_legacy") //controls_thumbstick_set3
#define HAS_LEGACY_SOUTHPAW_THUMBSTICK_XBOX (HAS_SELECTED_THUMBSTICK && HAS_XBOX_STYLE && dvarString(gpad_sticksConfig) == "thumbstick_legacysouthpaw") //controls_thumbstick_set4

#define HAS_DEFAULT_THUMBSTICK_SONY (HAS_SELECTED_THUMBSTICK && HAS_SONY_STYLE && dvarString(gpad_sticksConfig) == "thumbstick_default") //controls_thumbstick_set1
#define HAS_SOUTHPAW_THUMBSTICK_SONY (HAS_SELECTED_THUMBSTICK && HAS_SONY_STYLE && dvarString(gpad_sticksConfig) == "thumbstick_southpaw") //controls_thumbstick_set2
#define HAS_LEGACY_THUMBSTICK_SONY (HAS_SELECTED_THUMBSTICK && HAS_SONY_STYLE && dvarString(gpad_sticksConfig) == "thumbstick_legacy") //controls_thumbstick_set3
#define HAS_LEGACY_SOUTHPAW_THUMBSTICK_SONY (HAS_SELECTED_THUMBSTICK && HAS_SONY_STYLE && dvarString(gpad_sticksConfig) == "thumbstick_legacysouthpaw") //controls_thumbstick_set4

// default
#define SET1_TEXT_THUMBSTICK_LSTICK_UP_DOWN "@MENU_MOVE_FORWARD_BACK"
#define SET1_TEXT_THUMBSTICK_LSTICK_UP "@MENU_MOVE_FORWARD"
#define SET1_TEXT_THUMBSTICK_LSTICK_DOWN "@MENU_MOVE_BACK"
#define SET1_TEXT_THUMBSTICK_LSTICK_LEFT_RIGHT "@MENU_STRAFE_LEFT_RIGHT"
#define SET1_TEXT_THUMBSTICK_RSTICK_UP_DOWN "@MENU_LOOK_UP_DOWN"
#define SET1_TEXT_THUMBSTICK_RSTICK_UP "@MENU_LOOK_UP"
#define SET1_TEXT_THUMBSTICK_RSTICK_DOWN "@MENU_LOOK_DOWN"
#define SET1_TEXT_THUMBSTICK_RSTICK_LEFT_RIGHT "@MENU_ROTATE_LEFT_RIGHT"

// southpaw
#define SET2_TEXT_THUMBSTICK_LSTICK_UP_DOWN "@MENU_LOOK_UP_DOWN"
#define SET2_TEXT_THUMBSTICK_LSTICK_UP "@MENU_LOOK_UP"
#define SET2_TEXT_THUMBSTICK_LSTICK_DOWN "@MENU_LOOK_DOWN"
#define SET2_TEXT_THUMBSTICK_LSTICK_LEFT_RIGHT "@MENU_ROTATE_LEFT_RIGHT"
#define SET2_TEXT_THUMBSTICK_RSTICK_UP_DOWN "@MENU_MOVE_FORWARD_BACK"
#define SET2_TEXT_THUMBSTICK_RSTICK_UP "@MENU_MOVE_FORWARD"
#define SET2_TEXT_THUMBSTICK_RSTICK_DOWN "@MENU_MOVE_BACK"
#define SET2_TEXT_THUMBSTICK_RSTICK_LEFT_RIGHT "@MENU_STRAFE_LEFT_RIGHT"

// legacy
#define SET3_TEXT_THUMBSTICK_LSTICK_UP_DOWN "@MENU_MOVE_FORWARD_BACK"
#define SET3_TEXT_THUMBSTICK_LSTICK_UP "@MENU_MOVE_FORWARD"
#define SET3_TEXT_THUMBSTICK_LSTICK_DOWN "@MENU_MOVE_BACK"
#define SET3_TEXT_THUMBSTICK_LSTICK_LEFT_RIGHT "@MENU_ROTATE_LEFT_RIGHT"
#define SET3_TEXT_THUMBSTICK_RSTICK_UP_DOWN "@MENU_LOOK_UP_DOWN"
#define SET3_TEXT_THUMBSTICK_RSTICK_UP "@MENU_LOOK_UP"
#define SET3_TEXT_THUMBSTICK_RSTICK_DOWN "@MENU_LOOK_DOWN"
#define SET3_TEXT_THUMBSTICK_RSTICK_LEFT_RIGHT "@MENU_STRAFE_LEFT_RIGHT"

// legacy southpaw
#define SET4_TEXT_THUMBSTICK_LSTICK_UP_DOWN "@MENU_LOOK_UP_DOWN"
#define SET4_TEXT_THUMBSTICK_LSTICK_UP "@MENU_LOOK_UP"
#define SET4_TEXT_THUMBSTICK_LSTICK_DOWN "@MENU_LOOK_DOWN"
#define SET4_TEXT_THUMBSTICK_LSTICK_LEFT_RIGHT "@MENU_STRAFE_LEFT_RIGHT"
#define SET4_TEXT_THUMBSTICK_RSTICK_UP_DOWN "@MENU_MOVE_FORWARD_BACK"
#define SET4_TEXT_THUMBSTICK_RSTICK_UP "@MENU_MOVE_FORWARD"
#define SET4_TEXT_THUMBSTICK_RSTICK_DOWN "@MENU_MOVE_BACK"
#define SET4_TEXT_THUMBSTICK_RSTICK_LEFT_RIGHT "@MENU_ROTATE_LEFT_RIGHT"

#define GAMEPAD_ORIGIN						147 150 //147 120
#define THUMBSTICK_MOVE_ORIGIN				195 262 //195 232
#define THUMBSTICK_TURN_ORIGIN				317 315 //317 280
#define THUMBSTICK_LSTICK_UP				50  -17
#define THUMBSTICK_LSTICK_DOWN				45  87
#define THUMBSTICK_LSTICK_LEFT_RIGHT		-5 	35
#define THUMBSTICK_RSTICK_UP				48  -17
#define THUMBSTICK_RSTICK_DOWN				45  87
#define THUMBSTICK_RSTICK_LEFT_RIGHT		88 	35

#define DRAW_STICK_PICTURE(visArg, orgArg, backgroundArg ) 							\
	itemDef																			\
	{																				\
		rect			0 0 90 90 HORIZONTAL_ALIGN_DEFAULT VERTICAL_ALIGN_DEFAULT	\
		origin			orgArg														\
		style			WINDOW_STYLE_SHADER											\
		forecolor		1 1 1 1														\
		exp				material(backgroundArg);									\
		visible			when (visArg)												\
		decoration																	\
	}


#define CONTROLS_THUMBSTICK(visArg, textArg, orgArg, rectArg, alignArg ) 			\
	itemDef																			\
	{																				\
		type			ITEM_TYPE_TEXT												\
		text			textArg														\
		rect			rectArg 0 0 HORIZONTAL_ALIGN_DEFAULT VERTICAL_ALIGN_DEFAULT	\
		textalign		alignArg													\
		origin			orgArg														\
		forecolor		1 1 1 1														\
		textstyle		ITEM_TEXTSTYLE_SHADOWED										\
		textscale		FONTSCALE_SMALL												\
		visible			when (visArg)												\
		decoration																	\
	}

itemDef
{
	style			WINDOW_STYLE_SHADER
	rect			0 0 350 350
	origin			GAMEPAD_ORIGIN
	background		"xenon_controller_top"
	forecolor		1 1 1 1
	textscale 		0.55
	visible			when(HAS_SELECTED_THUMBSTICK && HAS_XBOX_STYLE)
	decoration
}

itemDef
{
	style			WINDOW_STYLE_SHADER
	rect			0 0 350 350
	origin			GAMEPAD_ORIGIN
	background		"ps3_controller_top"
	forecolor		1 1 1 1
	textscale 		0.55
	visible			when(HAS_SELECTED_THUMBSTICK && HAS_SONY_STYLE)
	decoration
}

DRAW_STICK_PICTURE(HAS_DEFAULT_THUMBSTICK_XBOX, THUMBSTICK_MOVE_ORIGIN, "xenon_stick_move")
DRAW_STICK_PICTURE(HAS_DEFAULT_THUMBSTICK_XBOX, THUMBSTICK_TURN_ORIGIN, "xenon_stick_turn")
CONTROLS_THUMBSTICK(HAS_DEFAULT_THUMBSTICK_XBOX, SET1_TEXT_THUMBSTICK_LSTICK_UP, THUMBSTICK_MOVE_ORIGIN, THUMBSTICK_LSTICK_UP, ITEM_ALIGN_TOP_CENTER)
CONTROLS_THUMBSTICK(HAS_DEFAULT_THUMBSTICK_XBOX, SET1_TEXT_THUMBSTICK_LSTICK_DOWN, THUMBSTICK_MOVE_ORIGIN, THUMBSTICK_LSTICK_DOWN, ITEM_ALIGN_TOP_CENTER)
CONTROLS_THUMBSTICK(HAS_DEFAULT_THUMBSTICK_XBOX, SET1_TEXT_THUMBSTICK_LSTICK_LEFT_RIGHT, THUMBSTICK_MOVE_ORIGIN, THUMBSTICK_LSTICK_LEFT_RIGHT, ITEM_ALIGN_TOP_RIGHT)
CONTROLS_THUMBSTICK(HAS_DEFAULT_THUMBSTICK_XBOX, SET1_TEXT_THUMBSTICK_RSTICK_UP, THUMBSTICK_TURN_ORIGIN, THUMBSTICK_RSTICK_UP, ITEM_ALIGN_TOP_CENTER)
CONTROLS_THUMBSTICK(HAS_DEFAULT_THUMBSTICK_XBOX, SET1_TEXT_THUMBSTICK_RSTICK_DOWN, THUMBSTICK_TURN_ORIGIN, THUMBSTICK_RSTICK_DOWN, ITEM_ALIGN_TOP_CENTER)
CONTROLS_THUMBSTICK(HAS_DEFAULT_THUMBSTICK_XBOX, SET1_TEXT_THUMBSTICK_RSTICK_LEFT_RIGHT, THUMBSTICK_TURN_ORIGIN, THUMBSTICK_RSTICK_LEFT_RIGHT, ITEM_ALIGN_TOP_LEFT)

DRAW_STICK_PICTURE(HAS_SOUTHPAW_THUMBSTICK_XBOX, THUMBSTICK_MOVE_ORIGIN, "xenon_stick_turn")
DRAW_STICK_PICTURE(HAS_SOUTHPAW_THUMBSTICK_XBOX, THUMBSTICK_TURN_ORIGIN, "xenon_stick_move")
CONTROLS_THUMBSTICK(HAS_SOUTHPAW_THUMBSTICK_XBOX, SET2_TEXT_THUMBSTICK_LSTICK_UP, THUMBSTICK_MOVE_ORIGIN, THUMBSTICK_LSTICK_UP, ITEM_ALIGN_TOP_CENTER)
CONTROLS_THUMBSTICK(HAS_SOUTHPAW_THUMBSTICK_XBOX, SET2_TEXT_THUMBSTICK_LSTICK_DOWN, THUMBSTICK_MOVE_ORIGIN, THUMBSTICK_LSTICK_DOWN, ITEM_ALIGN_TOP_CENTER)
CONTROLS_THUMBSTICK(HAS_SOUTHPAW_THUMBSTICK_XBOX, SET2_TEXT_THUMBSTICK_LSTICK_LEFT_RIGHT, THUMBSTICK_MOVE_ORIGIN, THUMBSTICK_LSTICK_LEFT_RIGHT, ITEM_ALIGN_TOP_RIGHT)
CONTROLS_THUMBSTICK(HAS_SOUTHPAW_THUMBSTICK_XBOX, SET2_TEXT_THUMBSTICK_RSTICK_UP, THUMBSTICK_TURN_ORIGIN, THUMBSTICK_RSTICK_UP, ITEM_ALIGN_TOP_CENTER)
CONTROLS_THUMBSTICK(HAS_SOUTHPAW_THUMBSTICK_XBOX, SET2_TEXT_THUMBSTICK_RSTICK_DOWN, THUMBSTICK_TURN_ORIGIN, THUMBSTICK_RSTICK_DOWN, ITEM_ALIGN_TOP_CENTER)
CONTROLS_THUMBSTICK(HAS_SOUTHPAW_THUMBSTICK_XBOX, SET2_TEXT_THUMBSTICK_RSTICK_LEFT_RIGHT, THUMBSTICK_TURN_ORIGIN, THUMBSTICK_RSTICK_LEFT_RIGHT, ITEM_ALIGN_TOP_LEFT)

DRAW_STICK_PICTURE(HAS_LEGACY_THUMBSTICK_XBOX, THUMBSTICK_MOVE_ORIGIN, "xenon_stick_move_turn")
DRAW_STICK_PICTURE(HAS_LEGACY_THUMBSTICK_XBOX, THUMBSTICK_TURN_ORIGIN, "xenon_stick_move_look")
CONTROLS_THUMBSTICK(HAS_LEGACY_THUMBSTICK_XBOX, SET3_TEXT_THUMBSTICK_LSTICK_UP, THUMBSTICK_MOVE_ORIGIN, THUMBSTICK_LSTICK_UP, ITEM_ALIGN_TOP_CENTER)
CONTROLS_THUMBSTICK(HAS_LEGACY_THUMBSTICK_XBOX, SET3_TEXT_THUMBSTICK_LSTICK_DOWN, THUMBSTICK_MOVE_ORIGIN, THUMBSTICK_LSTICK_DOWN, ITEM_ALIGN_TOP_CENTER)
CONTROLS_THUMBSTICK(HAS_LEGACY_THUMBSTICK_XBOX, SET3_TEXT_THUMBSTICK_LSTICK_LEFT_RIGHT, THUMBSTICK_MOVE_ORIGIN, THUMBSTICK_LSTICK_LEFT_RIGHT, ITEM_ALIGN_TOP_RIGHT)
CONTROLS_THUMBSTICK(HAS_LEGACY_THUMBSTICK_XBOX, SET3_TEXT_THUMBSTICK_RSTICK_UP, THUMBSTICK_TURN_ORIGIN, THUMBSTICK_RSTICK_UP, ITEM_ALIGN_TOP_CENTER)
CONTROLS_THUMBSTICK(HAS_LEGACY_THUMBSTICK_XBOX, SET3_TEXT_THUMBSTICK_RSTICK_DOWN, THUMBSTICK_TURN_ORIGIN, THUMBSTICK_RSTICK_DOWN, ITEM_ALIGN_TOP_CENTER)
CONTROLS_THUMBSTICK(HAS_LEGACY_THUMBSTICK_XBOX, SET3_TEXT_THUMBSTICK_RSTICK_LEFT_RIGHT, THUMBSTICK_TURN_ORIGIN, THUMBSTICK_RSTICK_LEFT_RIGHT, ITEM_ALIGN_TOP_LEFT)

DRAW_STICK_PICTURE(HAS_LEGACY_SOUTHPAW_THUMBSTICK_XBOX, THUMBSTICK_MOVE_ORIGIN, "xenon_stick_move_look")
DRAW_STICK_PICTURE(HAS_LEGACY_SOUTHPAW_THUMBSTICK_XBOX, THUMBSTICK_TURN_ORIGIN, "xenon_stick_move_turn")
CONTROLS_THUMBSTICK(HAS_LEGACY_SOUTHPAW_THUMBSTICK_XBOX, SET4_TEXT_THUMBSTICK_LSTICK_UP, THUMBSTICK_MOVE_ORIGIN, THUMBSTICK_LSTICK_UP, ITEM_ALIGN_TOP_CENTER)
CONTROLS_THUMBSTICK(HAS_LEGACY_SOUTHPAW_THUMBSTICK_XBOX, SET4_TEXT_THUMBSTICK_LSTICK_DOWN, THUMBSTICK_MOVE_ORIGIN, THUMBSTICK_LSTICK_DOWN, ITEM_ALIGN_TOP_CENTER)
CONTROLS_THUMBSTICK(HAS_LEGACY_SOUTHPAW_THUMBSTICK_XBOX, SET4_TEXT_THUMBSTICK_LSTICK_LEFT_RIGHT, THUMBSTICK_MOVE_ORIGIN, THUMBSTICK_LSTICK_LEFT_RIGHT, ITEM_ALIGN_TOP_RIGHT)
CONTROLS_THUMBSTICK(HAS_LEGACY_SOUTHPAW_THUMBSTICK_XBOX, SET4_TEXT_THUMBSTICK_RSTICK_UP, THUMBSTICK_TURN_ORIGIN, THUMBSTICK_RSTICK_UP, ITEM_ALIGN_TOP_CENTER)
CONTROLS_THUMBSTICK(HAS_LEGACY_SOUTHPAW_THUMBSTICK_XBOX, SET4_TEXT_THUMBSTICK_RSTICK_DOWN, THUMBSTICK_TURN_ORIGIN, THUMBSTICK_RSTICK_DOWN, ITEM_ALIGN_TOP_CENTER)
CONTROLS_THUMBSTICK(HAS_LEGACY_SOUTHPAW_THUMBSTICK_XBOX, SET4_TEXT_THUMBSTICK_RSTICK_LEFT_RIGHT, THUMBSTICK_TURN_ORIGIN, THUMBSTICK_RSTICK_LEFT_RIGHT, ITEM_ALIGN_TOP_LEFT)


#undef THUMBSTICK_MOVE_ORIGIN
#define THUMBSTICK_MOVE_ORIGIN				235 330
#undef THUMBSTICK_TURN_ORIGIN
#define THUMBSTICK_TURN_ORIGIN				317 330

DRAW_STICK_PICTURE(HAS_DEFAULT_THUMBSTICK_SONY, THUMBSTICK_MOVE_ORIGIN, "xenon_stick_move")
DRAW_STICK_PICTURE(HAS_DEFAULT_THUMBSTICK_SONY, THUMBSTICK_TURN_ORIGIN, "xenon_stick_turn")
CONTROLS_THUMBSTICK(HAS_DEFAULT_THUMBSTICK_SONY, SET1_TEXT_THUMBSTICK_LSTICK_UP, THUMBSTICK_MOVE_ORIGIN, THUMBSTICK_LSTICK_UP, ITEM_ALIGN_TOP_CENTER)
CONTROLS_THUMBSTICK(HAS_DEFAULT_THUMBSTICK_SONY, SET1_TEXT_THUMBSTICK_LSTICK_DOWN, THUMBSTICK_MOVE_ORIGIN, THUMBSTICK_LSTICK_DOWN, ITEM_ALIGN_TOP_CENTER)
CONTROLS_THUMBSTICK(HAS_DEFAULT_THUMBSTICK_SONY, SET1_TEXT_THUMBSTICK_LSTICK_LEFT_RIGHT, THUMBSTICK_MOVE_ORIGIN, THUMBSTICK_LSTICK_LEFT_RIGHT, ITEM_ALIGN_TOP_RIGHT)
CONTROLS_THUMBSTICK(HAS_DEFAULT_THUMBSTICK_SONY, SET1_TEXT_THUMBSTICK_RSTICK_UP, THUMBSTICK_TURN_ORIGIN, THUMBSTICK_RSTICK_UP, ITEM_ALIGN_TOP_CENTER)
CONTROLS_THUMBSTICK(HAS_DEFAULT_THUMBSTICK_SONY, SET1_TEXT_THUMBSTICK_RSTICK_DOWN, THUMBSTICK_TURN_ORIGIN, THUMBSTICK_RSTICK_DOWN, ITEM_ALIGN_TOP_CENTER)
CONTROLS_THUMBSTICK(HAS_DEFAULT_THUMBSTICK_SONY, SET1_TEXT_THUMBSTICK_RSTICK_LEFT_RIGHT, THUMBSTICK_TURN_ORIGIN, THUMBSTICK_RSTICK_LEFT_RIGHT, ITEM_ALIGN_TOP_LEFT)

DRAW_STICK_PICTURE(HAS_SOUTHPAW_THUMBSTICK_SONY, THUMBSTICK_MOVE_ORIGIN, "xenon_stick_turn")
DRAW_STICK_PICTURE(HAS_SOUTHPAW_THUMBSTICK_SONY, THUMBSTICK_TURN_ORIGIN, "xenon_stick_move")
CONTROLS_THUMBSTICK(HAS_SOUTHPAW_THUMBSTICK_SONY, SET2_TEXT_THUMBSTICK_LSTICK_UP, THUMBSTICK_MOVE_ORIGIN, THUMBSTICK_LSTICK_UP, ITEM_ALIGN_TOP_CENTER)
CONTROLS_THUMBSTICK(HAS_SOUTHPAW_THUMBSTICK_SONY, SET2_TEXT_THUMBSTICK_LSTICK_DOWN, THUMBSTICK_MOVE_ORIGIN, THUMBSTICK_LSTICK_DOWN, ITEM_ALIGN_TOP_CENTER)
CONTROLS_THUMBSTICK(HAS_SOUTHPAW_THUMBSTICK_SONY, SET2_TEXT_THUMBSTICK_LSTICK_LEFT_RIGHT, THUMBSTICK_MOVE_ORIGIN, THUMBSTICK_LSTICK_LEFT_RIGHT, ITEM_ALIGN_TOP_RIGHT)
CONTROLS_THUMBSTICK(HAS_SOUTHPAW_THUMBSTICK_SONY, SET2_TEXT_THUMBSTICK_RSTICK_UP, THUMBSTICK_TURN_ORIGIN, THUMBSTICK_RSTICK_UP, ITEM_ALIGN_TOP_CENTER)
CONTROLS_THUMBSTICK(HAS_SOUTHPAW_THUMBSTICK_SONY, SET2_TEXT_THUMBSTICK_RSTICK_DOWN, THUMBSTICK_TURN_ORIGIN, THUMBSTICK_RSTICK_DOWN, ITEM_ALIGN_TOP_CENTER)
CONTROLS_THUMBSTICK(HAS_SOUTHPAW_THUMBSTICK_SONY, SET2_TEXT_THUMBSTICK_RSTICK_LEFT_RIGHT, THUMBSTICK_TURN_ORIGIN, THUMBSTICK_RSTICK_LEFT_RIGHT, ITEM_ALIGN_TOP_LEFT)

DRAW_STICK_PICTURE(HAS_LEGACY_THUMBSTICK_SONY, THUMBSTICK_MOVE_ORIGIN, "xenon_stick_move_turn")
DRAW_STICK_PICTURE(HAS_LEGACY_THUMBSTICK_SONY, THUMBSTICK_TURN_ORIGIN, "xenon_stick_move_look")
CONTROLS_THUMBSTICK(HAS_LEGACY_THUMBSTICK_SONY, SET3_TEXT_THUMBSTICK_LSTICK_UP, THUMBSTICK_MOVE_ORIGIN, THUMBSTICK_LSTICK_UP, ITEM_ALIGN_TOP_CENTER)
CONTROLS_THUMBSTICK(HAS_LEGACY_THUMBSTICK_SONY, SET3_TEXT_THUMBSTICK_LSTICK_DOWN, THUMBSTICK_MOVE_ORIGIN, THUMBSTICK_LSTICK_DOWN, ITEM_ALIGN_TOP_CENTER)
CONTROLS_THUMBSTICK(HAS_LEGACY_THUMBSTICK_SONY, SET3_TEXT_THUMBSTICK_LSTICK_LEFT_RIGHT, THUMBSTICK_MOVE_ORIGIN, THUMBSTICK_LSTICK_LEFT_RIGHT, ITEM_ALIGN_TOP_RIGHT)
CONTROLS_THUMBSTICK(HAS_LEGACY_THUMBSTICK_SONY, SET3_TEXT_THUMBSTICK_RSTICK_UP, THUMBSTICK_TURN_ORIGIN, THUMBSTICK_RSTICK_UP, ITEM_ALIGN_TOP_CENTER)
CONTROLS_THUMBSTICK(HAS_LEGACY_THUMBSTICK_SONY, SET3_TEXT_THUMBSTICK_RSTICK_DOWN, THUMBSTICK_TURN_ORIGIN, THUMBSTICK_RSTICK_DOWN, ITEM_ALIGN_TOP_CENTER)
CONTROLS_THUMBSTICK(HAS_LEGACY_THUMBSTICK_SONY, SET3_TEXT_THUMBSTICK_RSTICK_LEFT_RIGHT, THUMBSTICK_TURN_ORIGIN, THUMBSTICK_RSTICK_LEFT_RIGHT, ITEM_ALIGN_TOP_LEFT)

DRAW_STICK_PICTURE(HAS_LEGACY_SOUTHPAW_THUMBSTICK_SONY, THUMBSTICK_MOVE_ORIGIN, "xenon_stick_move_look")
DRAW_STICK_PICTURE(HAS_LEGACY_SOUTHPAW_THUMBSTICK_SONY, THUMBSTICK_TURN_ORIGIN, "xenon_stick_move_turn")
CONTROLS_THUMBSTICK(HAS_LEGACY_SOUTHPAW_THUMBSTICK_SONY, SET4_TEXT_THUMBSTICK_LSTICK_UP, THUMBSTICK_MOVE_ORIGIN, THUMBSTICK_LSTICK_UP, ITEM_ALIGN_TOP_CENTER)
CONTROLS_THUMBSTICK(HAS_LEGACY_SOUTHPAW_THUMBSTICK_SONY, SET4_TEXT_THUMBSTICK_LSTICK_DOWN, THUMBSTICK_MOVE_ORIGIN, THUMBSTICK_LSTICK_DOWN, ITEM_ALIGN_TOP_CENTER)
CONTROLS_THUMBSTICK(HAS_LEGACY_SOUTHPAW_THUMBSTICK_SONY, SET4_TEXT_THUMBSTICK_LSTICK_LEFT_RIGHT, THUMBSTICK_MOVE_ORIGIN, THUMBSTICK_LSTICK_LEFT_RIGHT, ITEM_ALIGN_TOP_RIGHT)
CONTROLS_THUMBSTICK(HAS_LEGACY_SOUTHPAW_THUMBSTICK_SONY, SET4_TEXT_THUMBSTICK_RSTICK_UP, THUMBSTICK_TURN_ORIGIN, THUMBSTICK_RSTICK_UP, ITEM_ALIGN_TOP_CENTER)
CONTROLS_THUMBSTICK(HAS_LEGACY_SOUTHPAW_THUMBSTICK_SONY, SET4_TEXT_THUMBSTICK_RSTICK_DOWN, THUMBSTICK_TURN_ORIGIN, THUMBSTICK_RSTICK_DOWN, ITEM_ALIGN_TOP_CENTER)
CONTROLS_THUMBSTICK(HAS_LEGACY_SOUTHPAW_THUMBSTICK_SONY, SET4_TEXT_THUMBSTICK_RSTICK_LEFT_RIGHT, THUMBSTICK_TURN_ORIGIN, THUMBSTICK_RSTICK_LEFT_RIGHT, ITEM_ALIGN_TOP_LEFT)