Hello, I installed https://github.com/ericktarzia/GPIO_cont...trorangepi and all buttons works perfect.

With command line: jstest /dev/input/js0 and: jstest /dev/input/js1 I can test all buttons are recognized.

Player 1 has button: 1,2,3,4,7 and 8. Player 2 has 1,2,3,4 and 8.

I configured emulestation gamepad1 buttons:

up, down, left, right,

start: button 8

a=button 2

b=button 1

x=button 3

y=button 4

When I play to mame (lr-mame2003) keys are not mapped correctly. Coin(button 7 and Start(buttons 8) not work.

I tryed to configure /opt/retropie/configs/arcade/retroarch.cfg:

/opt/retropie/configs/all/retroarch.cfg

¿How can I configure coin, player 1 start, player 2 start corretly?

Thanks in advanced.

With command line: jstest /dev/input/js0 and: jstest /dev/input/js1 I can test all buttons are recognized.

Player 1 has button: 1,2,3,4,7 and 8. Player 2 has 1,2,3,4 and 8.

I configured emulestation gamepad1 buttons:

up, down, left, right,

start: button 8

a=button 2

b=button 1

x=button 3

y=button 4

When I play to mame (lr-mame2003) keys are not mapped correctly. Coin(button 7 and Start(buttons 8) not work.

I tryed to configure /opt/retropie/configs/arcade/retroarch.cfg:

Code:

`input_player1_b = "z"`

input_player1_b_btn = "1"

input_player1_b_axis = "nul"

input_player1_y = "x"

input_player1_y_btn = "4"

input_player1_y_axis = "nul"

input_player1_select = "backspace"

input_player1_select_btn = "nul"

input_player1_select_axis = "nul"

input_player1_start = "enter"

input_player1_start_btn = "8"

input_player1_start_axis = "nul"

input_player1_up = "up"

input_player1_up_btn = "nul"

input_player1_up_axis = "nul"

input_player1_down = "down"

input_player1_down_btn = "nul"

input_player1_down_axis = "nul"

input_player1_left = "left"

input_player1_left_btn = "nul"

input_player1_left_axis = "nul"

input_player1_right = "right"

input_player1_right_btn = "nul"

input_player1_right_axis = "nul"

input_player1_a = "a"

input_player1_a_btn = "2"

input_player1_a_axis = "nul"

input_player1_x = "s"

input_player1_x_btn = "3"

input_player1_x_axis = "nul"

input_player1_l = "q"

input_player1_l_btn = "nul"

input_player1_l_axis = "nul"

input_player1_r = "w"

input_player1_r_btn = "nul"

input_player1_r_axis = "nul"

input_player2_b_btn = "2"

input_player2_b_axis = "nul"

input_player2_y = "nul"

input_player2_y_btn = "4"

input_player2_y_axis = "nul"

input_player2_select = "nul"

input_player2_select_btn = "7"

input_player2_select_axis = "nul"

input_player2_start = "nul"

input_player2_start_btn = "8"

input_player2_start_axis = "nul"

input_player2_up = "nul"

input_player2_up_btn = "nul"

input_player2_up_axis = "nul"

input_player2_down = "nul"

input_player2_down_btn = "nul"

input_player2_down_axis = "nul"

input_player2_left = "nul"

input_player2_left_btn = "nul"

input_player2_left_axis = "nul"

input_player2_right = "nul"

input_player2_right_btn = "nul"

input_player2_right_axis = "nul"

input_player2_a = "nul"

input_player2_a_btn = "1"

input_player2_a_axis = "nul"

input_player2_x = "nul"

input_player2_x_btn = "3"

input_player2_x_axis = "nul"

input_player2_l = "nul"

input_player2_l_btn = "nul"

input_player2_l_axis = "nul"

input_player2_r = "nul"

input_player2_r_btn = "nul"

input_player2_r_axis = "nul"

input_player2_l2 = "nul"

input_player2_l2_btn = "nul"

input_player2_l2_axis = "nul"

input_player2_r2 = "nul"

input_player2_l3 = "nul"

input_player2_l3_btn = "nul"

input_player2_l3_axis = "nul"

input_player2_r3 = "nul"

input_player2_r3_btn = "nul"

input_player2_r3_axis = "nul"

input_player2_l_x_plus = "nul"

input_player2_l_x_plus_btn = "nul"

input_player2_l_x_plus_axis = "nul"

input_player2_l_x_minus = "nul"

input_player2_l_x_minus_btn = "nul"

input_player2_l_x_minus_axis = "nul"

input_player2_l_y_plus = "nul"

input_player2_l_y_plus_btn = "nul"

input_player2_l_y_plus_axis = "nul"

input_player2_l_y_minus = "nul"

input_player2_l_y_minus_btn = "nul"

input_player2_l_y_minus_axis = "nul"

input_player2_r_x_plus = "nul"

input_player2_r_x_plus_btn = "nul"

input_player2_r_x_plus_axis = "nul"

input_player2_r_x_minus = "nul"

input_player2_r_x_minus_btn = "nul"

input_player2_r_x_minus_axis = "nul"

input_player2_r_y_plus = "nul"

input_player2_r_y_plus_btn = "nul"

input_player2_r_y_plus_axis = "nul"

input_player2_r_y_minus = "nul"

input_player2_r_y_minus_btn = "nul"

input_player2_r_y_minus_axis = "nul"

input_player2_turbo = "nul"

input_player2_turbo_btn = "nul"

input_player2_turbo_axis = "nul"

/opt/retropie/configs/all/retroarch.cfg

Code:

`input_player1_a = "a"`

input_player1_b = "z"

input_player1_y = "x"

input_player1_x = "s"

input_player1_start = "enter"

input_player1_select = "backspace"

input_player1_l = "q"

input_player1_r = "w"

input_player1_left = "left"

input_player1_right = "right"

input_player1_up = "up"

input_player1_down = "down"

input_player1_joypad_index = "0"

input_libretro_device_p1 = "1"

input_player2_joypad_index = "1"

input_libretro_device_p2 = "1"

input_player2_b = "nul"

input_player2_b_btn = "2"

input_player2_b_axis = "nul"

input_player2_y = "nul"

input_player2_y_btn = "4"

input_player2_y_axis = "nul"

input_player2_select = "nul"

input_player2_select_btn = "7"

input_player2_select_axis = "nul"

input_player2_start = "nul"

input_player2_start_btn = "8"

input_player2_start_axis = "nul"

input_player2_up = "nul"

input_player2_up_btn = "nul"

input_player2_up_axis = "nul"

input_player2_down = "nul"

input_player2_down_btn = "nul"

input_player2_down_axis = "nul"

input_player2_left = "nul"

input_player2_left_btn = "nul"

input_player2_left_axis = "nul"

input_player2_right = "nul"

input_player2_right_btn = "nul"

input_player2_right_axis = "nul"

input_player2_a = "nul"

input_player2_a_btn = "1"

input_player2_a_axis = "nul"

input_player2_x = "nul"

input_player2_x_btn = "3"

input_player2_x_axis = "nul"

input_player2_l = "nul"

input_player2_l_btn = "nul"

input_player2_l_axis = "nul"

input_player2_r = "nul"

input_player2_r_btn = "nul"

input_player2_r_axis = "nul"

input_player2_l2 = "nul"

input_player2_l2_btn = "nul"

input_player2_l2_axis = "nul"

input_player2_r2 = "nul"

input_player2_r2_btn = "nul"

input_player2_r2_axis = "nul"

input_player2_l3 = "nul"

input_player2_l3_btn = "nul"

input_player2_l3_axis = "nul"

input_player2_r3 = "nul"

input_player2_r3_btn = "nul"

input_player2_r3_axis = "nul"

input_player2_l_x_plus = "nul"

input_player2_l_x_plus_btn = "nul"

input_player2_l_x_plus_axis = "nul"

input_player2_l_x_minus = "nul"

input_player2_l_x_minus_btn = "nul"

input_player2_l_x_minus_axis = "nul"

input_player2_l_y_plus = "nul"

input_player2_l_y_plus_btn = "nul"

input_player2_l_y_plus_axis = "nul"

input_player2_l_y_minus = "nul"

input_player2_l_y_minus_btn = "nul"

input_player2_l_y_minus_axis = "nul"

input_player2_r_x_plus = "nul"

input_player2_r_x_plus_btn = "nul"

input_player2_r_x_plus_axis = "nul"

input_player2_r_x_minus = "nul"

input_player2_r_x_minus_btn = "nul"

input_player2_r_x_minus_axis = "nul"

input_player2_r_y_plus = "nul"

input_player2_r_y_plus_btn = "nul"

input_player2_r_y_plus_axis = "nul"

input_player2_r_y_minus = "nul"

input_player2_r_y_minus_btn = "nul"

input_player2_r_y_minus_axis = "nul"

input_player2_turbo = "nul"

input_player2_turbo_btn = "nul"

input_player2_turbo_axis = "nul"

¿How can I configure coin, player 1 start, player 2 start corretly?

Thanks in advanced.