Hello friend,
I´m using also a ps3 clone controller and I had problems mapping the controller with reicast-joyconfig.py app, I think it isnt working properly bacause I can’t map the dpad, joystick and left and righ trigger, , maybe that happend to you also, So I got this WRONG mapping,
Sx05RE:/usr/bin # reicast-joyconfig.py
0: gpio_keypad (/dev/input/event0, gpio_keypad/input0)
1: cec_input (/dev/input/event1, )
2: HID 6901:1224 (/dev/input/event2, usb-xhci-hcd.0.auto-2/input0)
3: HID 6901:1224 (/dev/input/event3, usb-xhci-hcd.0.auto-2/input1)
4: meson-ir (/dev/input/event4, meson-ir/input0)
5: MCE IR Keyboard/Mouse (meson-ir) (/dev/input/event5, /input0)
6: Sony PLAYSTATION®3 Controller (/dev/input/event6, 43:34:b0:00:1f:ac)
Please enter the device id: 6
Using device 6…
Name: Sony PLAYSTATION®3 Controller
File: /dev/input/event6
Phys: 43:34:b0:00:1f:ac
Do you want to map a button to exit the emulator [Y/n] Y
Press the that button now…
emulator escape button mapped to 704 (BTN_TRIGGER_HAPPY).
Do you want to map the A button? [Y/n] Y
Press the A button now…
A button mapped to 301.
Do you want to map the B button? [Y/n] Y
Press the B button now…
B button mapped to 302.
Do you want to map the C button? [Y/n] n
Do you want to map the D button? [Y/n] n
Do you want to map the X button? [Y/n] Y
Press the X button now…
X button mapped to 300.
Do you want to map the Y button? [Y/n] Y
Press the Y button now…
Y button mapped to 303 (BTN_DEAD).
Do you want to map the Z button? [Y/n] n
Do you want to map the START button? [Y/n] Y
Press the START button now…
START button mapped to 291 (BTN_TOP).
Do you want to map DPad 1? [Y/n] Y
Press the LEFT button of DPad 1 now…
X axis of DPad 1 mapped to 48 (ABS_MT_TOUCH_MAJOR).
Press the UP button of DPad 1 now…
Y axis of DPad 1 mapped to 48 (ABS_MT_TOUCH_MAJOR).
Do you want to map DPad 2? [Y/n] n
Do you want to map TRIGGER_LEFT? [Y/n] Y
Press the TRIGGER_LEFT now…
analog TRIGGER_LEFT mapped to 48 (ABS_MT_TOUCH_MAJOR) (inverted).
Do you want to map TRIGGER_RIGHT? [Y/n] Y
Press the TRIGGER_RIGHT now…
analog TRIGGER_RIGHT mapped to 48 (ABS_MT_TOUCH_MAJOR) (inverted).
Do you want to map the analog stick? [Y/n] Y
Please move the analog stick as far left as possible now…
X mapped to 48 (ABS_MT_TOUCH_MAJOR).
Please move the analog stick as far up as possible now…
Y mapped to 48 (ABS_MT_TOUCH_MAJOR).
Here’s your mapping file:
Save this as “~/.local/share/reicast/mappings/Sony PLAYSTATION®3 Controller.cfg”
[emulator]
mapping_name = Sony PLAYSTATION®3 Controller
btn_escape = 704
[dreamcast]
btn_a = 301
btn_b = 302
btn_x = 300
btn_y = 303
btn_start = 291
axis_trigger_left = 48
axis_trigger_right = 48
axis_x = 48
axis_y = 48
[compat]
axis_dpad1_x = 48
axis_dpad1_x_inverted = no
axis_dpad1_y = 48
axis_dpad1_y_inverted = no
axis_trigger_left_inverted = yes
axis_trigger_right_inverted = yes
axis_x_inverted = no
axis_y_inverted = no
after several tries setup the controller none of the tries make the controller work properly, I try the same thing on a raspberry that I have and the mapping output was different, I will share it with you, maybe that could help you to map your controller,
My controllers name is
Sony PLAYSTATION®3 Controller.cfg
[emulator]
mapping_name = PLAYSTATION®3 Controller
btn_escape = 704
[dreamcast]
btn_a = 302
btn_b = 301
btn_c =
btn_d =
btn_x = 303
btn_y = 300
btn_z =
btn_start = 291
btn_dpad1_left = 295
btn_dpad1_right = 293
btn_dpad1_up = 292
btn_dpad1_down = 294
btn_dpad2_left =
btn_dpad2_right =
btn_dpad2_up =
btn_dpad2_down =
axis_x = 0
axis_y = 1
axis_trigger_left =
axis_trigger_right =
[compat]
btn_trigger_left = 298
btn_trigger_right = 299
axis_dpad1_x = 2
axis_dpad1_y = 3
axis_dpad2_x =
axis_dpad2_y =
axis_x_inverted = no
axis_y_inverted = no
axis_trigger_left_inverted =
axis_trigger_right_inverted =
axis_dpad1_y_inverted = no
axis_dpad1_x_inverted = no