labelwhore
Participant
Post count: 526

I was off on a couple buttons. This is from my retroarch.cfg. 14 is the xbox button, but it serves another function for the xboxdrv, it’s wise to not use it. A,B,X,Y are all the same on both controllers, I have dreamcast controller in front of me also.

input_player1_select_btn = "12"
input_player1_start_btn = "13"
input_player1_up = "0"
input_player1_down = "2"
input_player1_left = "1"
input_player1_right = "3"
input_player1_a_btn = "4"
input_player1_x_btn = "6"
input_player1_b_btn = "5"
input_player1_y_btn = "7"
input_player1_l_btn = "8"
input_player1_r_btn = "9"
input_player1_l2_btn = "10"
input_player1_r2_btn = "11"
input_player1_l3_btn = "15"
input_player1_r3_btn = "16"
input_player1_l_x_plus_axis = "+0"
input_player1_l_x_minus_axis = "-0"
input_player1_l_y_plus_axis = "+1"
input_player1_l_y_minus_axis = "-1"
input_player1_r_x_plus_axis = "+2"
input_player1_r_x_minus_axis = "-2"
input_player1_r_y_plus_axis = "+3"
input_player1_r_y_minus_axis = "-3"

also, I have this in my es_input.cfg: Xbox Gamepad (userspace driver)

…actually, I’ll just paste the whole file, the second instance is what I’m using.

<?xml version="1.0"?>
<inputList>
	<inputConfig type="joystick" deviceName="Microsoft X-Box 360 pad" deviceGUID="030000005e0400008e02000014010000">
		<input name="a" type="button" id="0" value="1" />
		<input name="b" type="button" id="1" value="1" />
		<input name="down" type="hat" id="0" value="4" />
		<input name="left" type="hat" id="0" value="8" />
		<input name="pagedown" type="button" id="5" value="1" />
		<input name="pageup" type="button" id="4" value="1" />
		<input name="right" type="hat" id="0" value="2" />
		<input name="select" type="button" id="6" value="1" />
		<input name="start" type="button" id="7" value="1" />
		<input name="up" type="hat" id="0" value="1" />
	</inputConfig>
	<inputConfig type="joystick" deviceName="Xbox Gamepad (userspace driver)" deviceGUID="0000000058626f782047616d65706100">
		<input name="a" type="button" id="4" value="1" />
		<input name="b" type="button" id="5" value="1" />
		<input name="down" type="button" id="1" value="1" />
		<input name="left" type="button" id="2" value="1" />
		<input name="pagedown" type="button" id="9" value="1" />
		<input name="pageup" type="button" id="8" value="1" />
		<input name="right" type="button" id="3" value="1" />
		<input name="select" type="button" id="12" value="1" />
		<input name="start" type="button" id="13" value="1" />
		<input name="up" type="button" id="0" value="1" />
	</inputConfig>
</inputList>