From fd3e2a01e94ada94058a95e9c5876bfe45a4b693 Mon Sep 17 00:00:00 2001 From: tomcw Date: Sun, 1 Jan 2023 21:10:45 +0000 Subject: [PATCH] Add the SNES MAX controller mapping files. Update makeAppleWin.bat to copy the mapping files into the distro zip. --- bin/makeAppleWin.bat | 2 ++ .../controller_Chinese_DualPS2adapter.yaml | 21 ++++++++++++++++ .../controller_Lik-Sang_SuperSmartjoy.yaml | 25 +++++++++++++++++++ snesmax/controller_Logitech_F310.yaml | 19 ++++++++++++++ snesmax/controller_Raphnet_DualNES_V2.yaml | 21 ++++++++++++++++ snesmax/controller_Raphnet_DualSNES_V2.yaml | 21 ++++++++++++++++ snesmax/controller_Saitek_P2500.yaml | 21 ++++++++++++++++ snesmax/controller_Saitek_P2900.yaml | 23 +++++++++++++++++ snesmax/controller_Saitek_P990.yaml | 23 +++++++++++++++++ snesmax/controller_Sony_DualShock4.yaml | 21 ++++++++++++++++ 10 files changed, 197 insertions(+) create mode 100644 snesmax/controller_Chinese_DualPS2adapter.yaml create mode 100644 snesmax/controller_Lik-Sang_SuperSmartjoy.yaml create mode 100644 snesmax/controller_Logitech_F310.yaml create mode 100644 snesmax/controller_Raphnet_DualNES_V2.yaml create mode 100644 snesmax/controller_Raphnet_DualSNES_V2.yaml create mode 100644 snesmax/controller_Saitek_P2500.yaml create mode 100644 snesmax/controller_Saitek_P2900.yaml create mode 100644 snesmax/controller_Saitek_P990.yaml create mode 100644 snesmax/controller_Sony_DualShock4.yaml diff --git a/bin/makeAppleWin.bat b/bin/makeAppleWin.bat index daa5f86b..b0d711d0 100644 --- a/bin/makeAppleWin.bat +++ b/bin/makeAppleWin.bat @@ -12,6 +12,8 @@ @COPY /Y "%APPLEWIN_ROOT%\docs\Debugger_Changelog.txt" "%~1" @COPY /Y "%APPLEWIN_ROOT%\help\AppleWin.chm" "%~1" @COPY /Y "%APPLEWIN_ROOT%\Release v141_xp\AppleWin.exe" "%~1" +@MKDIR "%~1\snesmax" +@COPY /Y "%APPLEWIN_ROOT%\snesmax\*" "%~1\snesmax" CD "%~1" "C:\Program Files (x86)\7-Zip\7z.exe" a ..\AppleWin"%~1".zip * "C:\Program Files (x86)\7-Zip\7z.exe" a ..\AppleWin"%~1"-PDB.zip "%APPLEWIN_ROOT%\Release v141_xp\AppleWin.pdb" diff --git a/snesmax/controller_Chinese_DualPS2adapter.yaml b/snesmax/controller_Chinese_DualPS2adapter.yaml new file mode 100644 index 00000000..48070a04 --- /dev/null +++ b/snesmax/controller_Chinese_DualPS2adapter.yaml @@ -0,0 +1,21 @@ +--- +File_hdr: + Tag: AppleWin Controller Button Remapping + Version: 1 + +Unit: + HID: VID_0810&PID_0001 + Description: Chinese PS2 USB Dual Controller adapter # Description to be used in AppleWin's GUI + 1: X # triangle + 2: A # circle + 3: B # x + 4: Y # square + 5: "" # L2 + 6: "" # R2 + 7: LB # L1 + 8: RB # R1 + 9: SELECT # Select + 10: START # Start + 11: "" # X/Y Axis button + 12: "" # Z Axis/Rotation button +... diff --git a/snesmax/controller_Lik-Sang_SuperSmartjoy.yaml b/snesmax/controller_Lik-Sang_SuperSmartjoy.yaml new file mode 100644 index 00000000..55d79ed5 --- /dev/null +++ b/snesmax/controller_Lik-Sang_SuperSmartjoy.yaml @@ -0,0 +1,25 @@ +--- +File_hdr: + Tag: AppleWin Controller Button Remapping + Version: 1 + +Unit: + HID: VID_6666&PID_0667 + Description: Lik-Sang Super Smartjoy adapter # Description to be used in AppleWin's GUI + 1: X # mirrors to 10 & Z-Rot up + 2: A # mirrors to 5 & Z-Axis right + 3: B # mirrors to 6 & Z-Rot down + 4: Y # mirrors to 11 & Z-Axis left + 5: "" # A (dup) + 6: "" # B (dup) + 7: LB + 8: RB + 9: SELECT + 10: "" # X (dup) + 11: "" # Y (dup) + 12: START + 13: "" # mirrors to X-Axis up + 14: "" # mirrors to Y-Axis right + 15: "" # mirrors to X-Axis down + 16: "" # mirrors to Y-Axis left +... diff --git a/snesmax/controller_Logitech_F310.yaml b/snesmax/controller_Logitech_F310.yaml new file mode 100644 index 00000000..f3ca5731 --- /dev/null +++ b/snesmax/controller_Logitech_F310.yaml @@ -0,0 +1,19 @@ +--- +File_hdr: + Tag: AppleWin Controller Button Remapping + Version: 1 + +Unit: + HID: VID_046D&PID_C21D + Description: Logitech F310 # Description to be used in AppleWin's GUI + 1: B # A + 2: A # B + 3: Y # X + 4: X # Y + 5: LB # LB + 6: RB # RB + 7: SELECT # BACK + 8: START # START + 9: "" # X/Y Axis button + 10: "" # Z Axis/Rotation button +... diff --git a/snesmax/controller_Raphnet_DualNES_V2.yaml b/snesmax/controller_Raphnet_DualNES_V2.yaml new file mode 100644 index 00000000..3415fe84 --- /dev/null +++ b/snesmax/controller_Raphnet_DualNES_V2.yaml @@ -0,0 +1,21 @@ +--- +File_hdr: + Tag: AppleWin Controller Button Remapping + Version: 1 + +Unit: + HID: VID_289B&PID_0042 + Description: Raphnet Dual NES adapter V2 # Description to be used in AppleWin's GUI + 1: Y # SNES Y = NES B + 2: B # SNES B = NES A + 3: SELECT + 4: START + 5: "" # n/a : SNES A + 6: "" # n/a : SNES X + 7: "" # n/a : SNES LB + 8: "" # n/a : SNES RB + 9: "" + 10: "" + 11: "" + 12: "" +... diff --git a/snesmax/controller_Raphnet_DualSNES_V2.yaml b/snesmax/controller_Raphnet_DualSNES_V2.yaml new file mode 100644 index 00000000..ad36b72c --- /dev/null +++ b/snesmax/controller_Raphnet_DualSNES_V2.yaml @@ -0,0 +1,21 @@ +--- +File_hdr: + Tag: AppleWin Controller Button Remapping + Version: 1 + +Unit: + HID: VID_289B&PID_0057 + Description: Raphnet Dual SNES adapter V2 # Description to be used in AppleWin's GUI + 1: Y + 2: B + 3: SELECT + 4: START + 5: A + 6: X + 7: LB + 8: RB + 9: "" + 10: "" + 11: "" + 12: "" +... diff --git a/snesmax/controller_Saitek_P2500.yaml b/snesmax/controller_Saitek_P2500.yaml new file mode 100644 index 00000000..d4e21005 --- /dev/null +++ b/snesmax/controller_Saitek_P2500.yaml @@ -0,0 +1,21 @@ +--- +File_hdr: + Tag: AppleWin Controller Button Remapping + Version: 1 + +Unit: + HID: VID_06A3&PID_FF0C + Description: Saitek P2500 Cyborg Force Rumble Pad # Description to be used in AppleWin's GUI + 1: Y # upper-left + 2: X # upper-center + 3: B # lower-left + 4: A # lower-center + 5: LB # upper-right + 6: RB # lower-right + 7: LB # LB + 8: RB # RB + 9: SELECT # button for X/Y Axis {analog left } + 10: START # button for Z Axis/Rotation {analog right} | AKA Rudder/Throttle + 11: START # S (FPS) + 12: SELECT # Digital +... \ No newline at end of file diff --git a/snesmax/controller_Saitek_P2900.yaml b/snesmax/controller_Saitek_P2900.yaml new file mode 100644 index 00000000..939458ca --- /dev/null +++ b/snesmax/controller_Saitek_P2900.yaml @@ -0,0 +1,23 @@ +--- +File_hdr: + Tag: AppleWin Controller Button Remapping + Version: 1 + +Unit: + HID: VID_06A3&PID_040C + Description: Saitek P2900 Wireless Pad # Description to be used in AppleWin's GUI + 1: Y # upper-left + 2: B # lower-left + 3: A # lower-center + 4: X # upper-center + 5: LB # L1 + 6: RB # R1 + 7: SELECT # L2 + 8: START # R2 + 9: RB # lower-right (black) + 10: LB # upper-right (grey) + 11: SELECT # button for X/Y Axis {analog left } + 12: START # button for Z Axis/Rotation {analog right} + 13: "" # FPS {AppleWin does not read} + 14: "" # analog " +... diff --git a/snesmax/controller_Saitek_P990.yaml b/snesmax/controller_Saitek_P990.yaml new file mode 100644 index 00000000..230a7801 --- /dev/null +++ b/snesmax/controller_Saitek_P990.yaml @@ -0,0 +1,23 @@ +--- +File_hdr: + Tag: AppleWin Controller Button Remapping + Version: 1 + +Unit: + HID: VID_06A3&PID_040B + Description: Saitek P990 Dual Analog Pad # Description to be used in AppleWin's GUI + 1: Y # upper-left + 2: B # lower-left + 3: A # lower-center + 4: X # upper-center + 5: LB # L1 + 6: RB # R1 + 7: SELECT # L2 + 8: START # R2 + 9: RB # lower-right (black) + 10: LB # upper-right (grey) + 11: SELECT # button for X/Y Axis {analog left } + 12: START # button for Z Axis/Rotation {analog right} + 13: "" # FPS {AppleWin does not read} + 14: "" # analog " +... diff --git a/snesmax/controller_Sony_DualShock4.yaml b/snesmax/controller_Sony_DualShock4.yaml new file mode 100644 index 00000000..c5d4efde --- /dev/null +++ b/snesmax/controller_Sony_DualShock4.yaml @@ -0,0 +1,21 @@ +--- +File_hdr: + Tag: AppleWin Controller Button Remapping + Version: 1 + +Unit: + HID: VID_054C&PID_05C4 + Description: Sony DualShock 4 # Description to be used in AppleWin's GUI + 1: Y + 2: B + 3: A + 4: X + 5: LB + 6: RB + 7: "" + 8: "" + 9: SELECT + 10: START + 11: "" + 12: "" +...