//MadCatz TES+ Fightstick (PS4 Mode)
[vid=0x0738,pid=0x8384]

//DPad
DPAD_MODE			=	DPAD_HAT
DPAD_MASK			=	0X0F
VPAD_BUTTON_DPAD_Neutral	=	0x05,	0x0F
VPAD_BUTTON_DPAD_N		=	0x05,	0x00
VPAD_BUTTON_DPAD_NE		=	0x05,	0x01
VPAD_BUTTON_DPAD_E		=	0x05,	0x02
VPAD_BUTTON_DPAD_SE		=	0x05,	0x03
VPAD_BUTTON_DPAD_S		=	0x05,	0x04
VPAD_BUTTON_DPAD_SW		=	0x05,	0x05
VPAD_BUTTON_DPAD_W		=	0x05,	0x06
VPAD_BUTTON_DPAD_NW		=	0x05,	0x07

//Buttons
VPAD_BUTTON_A			=	0x05,	0x40
VPAD_BUTTON_B			=	0x05,	0x20
VPAD_BUTTON_X			=	0x05,	0x80
VPAD_BUTTON_Y			=	0x05,	0x10
VPAD_BUTTON_PLUS		=	0x06,	0x20
VPAD_BUTTON_MINUS		=	0x06,	0x10
VPAD_BUTTON_HOME		=	0x07,	0x01
VPAD_BUTTON_L			=	0x06,	0x01
VPAD_BUTTON_R			=	0x06,	0x02
VPAD_BUTTON_STICK_L		=	0x06,	0x40
VPAD_BUTTON_STICK_R		=	0x06,	0x80

//Triggers
VPAD_BUTTON_ZL			=	0x06,	0x04
VPAD_BUTTON_ZR			=	0x06,	0x08

//Sticks
VPAD_L_STICK_X			=	0x01,	0x80
VPAD_L_STICK_Y			=	0x02,	0x80
VPAD_R_STICK_X			=	0x03,	0x80
VPAD_R_STICK_Y			=	0x04,	0x80
Vpad_L_Stick_X_MinMax		=	0x00,	0xFF
Vpad_L_Stick_Y_MinMax		=	0x00,	0xFF
Vpad_R_Stick_X_MinMax		=	0x00,	0xFF
Vpad_R_Stick_Y_MinMax		=	0x00,	0xFF
VPad_L_Stick_Y_Invert		=	true
Vpad_R_Stick_Y_Invert		=	true
PAD_COUNT=1
