add remapping directory

This commit is contained in:
sinavir 2024-01-18 18:56:06 +01:00
parent 60e62b1915
commit 1f6091836a
4 changed files with 102 additions and 1 deletions

View file

@ -11,7 +11,9 @@ in
systems = {
"arcade" = {
extension = ".sh";
games = with pkgs.roms; mapRetroarchConfig {} [
games = with pkgs.roms; mapRetroarchConfig {
additionalConfig.input_remapping_directory = "${./remap_dir}";
} [
atetris
dkong
mario

View file

@ -0,0 +1,33 @@
input_libretro_device_p1 = "1"
input_libretro_device_p2 = "1"
input_libretro_device_p3 = "1"
input_libretro_device_p4 = "1"
input_libretro_device_p5 = "1"
input_player1_analog_dpad_mode = "0"
input_player1_btn_a = "0"
input_player1_btn_b = "8"
input_player1_btn_l = "9"
input_player1_btn_l2 = "-1"
input_player1_btn_l3 = "-1"
input_player1_btn_r = "1"
input_player1_btn_r2 = "-1"
input_player1_btn_x = "-1"
input_player1_btn_y = "-1"
input_player2_analog_dpad_mode = "0"
input_player2_btn_a = "0"
input_player2_btn_b = "8"
input_player2_btn_l = "9"
input_player2_btn_l2 = "-1"
input_player2_btn_l3 = "-1"
input_player2_btn_r = "1"
input_player2_btn_r2 = "-1"
input_player2_btn_x = "-1"
input_player2_btn_y = "-1"
input_player3_analog_dpad_mode = "0"
input_player4_analog_dpad_mode = "0"
input_player5_analog_dpad_mode = "0"
input_remap_port_p1 = "0"
input_remap_port_p2 = "1"
input_remap_port_p3 = "2"
input_remap_port_p4 = "3"
input_remap_port_p5 = "4"

View file

@ -0,0 +1,33 @@
input_libretro_device_p1 = "1"
input_libretro_device_p2 = "1"
input_libretro_device_p3 = "1"
input_libretro_device_p4 = "1"
input_libretro_device_p5 = "1"
input_player1_analog_dpad_mode = "0"
input_player1_btn_a = "0"
input_player1_btn_b = "8"
input_player1_btn_l = "-1"
input_player1_btn_l2 = "-1"
input_player1_btn_l3 = "-1"
input_player1_btn_r = "1"
input_player1_btn_r2 = "-1"
input_player1_btn_x = "-1"
input_player1_btn_y = "9"
input_player2_analog_dpad_mode = "0"
input_player2_btn_a = "0"
input_player2_btn_b = "8"
input_player2_btn_l = "-1"
input_player2_btn_l2 = "-1"
input_player2_btn_l3 = "-1"
input_player2_btn_r = "1"
input_player2_btn_r2 = "-1"
input_player2_btn_x = "-1"
input_player2_btn_y = "9"
input_player3_analog_dpad_mode = "0"
input_player4_analog_dpad_mode = "0"
input_player5_analog_dpad_mode = "0"
input_remap_port_p1 = "0"
input_remap_port_p2 = "1"
input_remap_port_p3 = "2"
input_remap_port_p4 = "3"
input_remap_port_p5 = "4"

View file

@ -0,0 +1,33 @@
input_libretro_device_p1 = "1"
input_libretro_device_p2 = "1"
input_libretro_device_p3 = "1"
input_libretro_device_p4 = "1"
input_libretro_device_p5 = "1"
input_player1_analog_dpad_mode = "0"
input_player1_btn_a = "1"
input_player1_btn_b = "9"
input_player1_btn_l = "11"
input_player1_btn_l2 = "-1"
input_player1_btn_l3 = "-1"
input_player1_btn_r = "10"
input_player1_btn_r2 = "-1"
input_player1_btn_x = "8"
input_player1_btn_y = "0"
input_player2_analog_dpad_mode = "0"
input_player2_btn_a = "1"
input_player2_btn_b = "9"
input_player2_btn_l = "11"
input_player2_btn_l2 = "-1"
input_player2_btn_l3 = "-1"
input_player2_btn_r = "10"
input_player2_btn_r2 = "-1"
input_player2_btn_x = "8"
input_player2_btn_y = "0"
input_player3_analog_dpad_mode = "0"
input_player4_analog_dpad_mode = "0"
input_player5_analog_dpad_mode = "0"
input_remap_port_p1 = "0"
input_remap_port_p2 = "1"
input_remap_port_p3 = "2"
input_remap_port_p4 = "3"
input_remap_port_p5 = "4"