From bea89828804b7e90b619e67c56828865ce4dcbd3 Mon Sep 17 00:00:00 2001 From: Kel Modderman Date: Tue, 17 Nov 2026 15:36:39 +1000 Subject: [PATCH] buttonmaps: Use the DualShock 3 and 4 profiles for PlayStation controllers The button maps of PlayStation 3, 4 and 5 controllers were made when the PlayStation and PlayStation 2 profiles were the only ones, so Kodi shows them as a Dual Analog controller. controller-topology-project now has DualShock 3 and DualShock 4 profiles, so set their appearance to those. The controllers are told apart by USB id where the driver records one (054C:0268, 054C:09CC and 054C:0CE6) and by name otherwise. The DualSense is shown as a DualShock 4 until it has a profile of its own. Two DualShock 4 maps on the Linux driver had no appearance and get one. Maps for PSX-USB adaptors keep the Dual Analog appearance. Assisted-by: Claude --- .../DUALSHOCK_4_Wireless_Controller_v054C_p09CC_14b_6a.xml | 2 +- .../cocoa/PLAYSTATION_R_3_Controller_v054C_p0268_19b_4a.xml | 2 +- .../buttonmaps/xml/cocoa/PS_R__Ga_epad_v054C_p0268_19b_4a.xml | 2 +- .../xml/cocoa/Wireless_Controller_v054C_p09CC_14b_6a.xml | 2 +- .../xml/directinput/PS_R__Ga_epad_v054C_p0268_19b_5a.xml | 2 +- .../directinput/Wireless_Controller_v054C_p09CC_14b_1h_6a.xml | 2 +- .../xml/linux/DualSense_Wireless_Controller_13b_8a.xml | 2 +- .../linux/DualSense_Wireless_Controller_Motion_Sensors_6a.xml | 2 +- .../buttonmaps/xml/linux/PLAYSTATION_R_3_Controller.xml | 2 +- .../xml/linux/PLAYSTATION_R_3_Controller_17b_29a.xml | 2 +- .../buttonmaps/xml/linux/ShanWan_PS_R__Ga_epad_17b_6a.xml | 2 +- .../buttonmaps/xml/linux/ShanWan_PS_R__Ga_epad_19b_27a.xml | 2 +- ...ony_Computer_Entertainment_Wireless_Controller_14b_18a.xml | 2 +- ...y_Interactive_Entertainment_DualSense_Wireless__13b_8a.xml | 2 +- ...y_Interactive_Entertainment_Wireless_Controller_13b_8a.xml | 2 +- ...y_Interactive_Entertainment_Wireless_Controller_14b_8a.xml | 2 +- .../xml/linux/Sony_PLAYSTATION_R_3_Controller_17b_6a.xml | 2 +- .../xml/linux/Sony_PLAYSTATION_R_3_Controller_19b_27a.xml | 2 +- .../buttonmaps/xml/linux/Wireless_Controller_13b_8a.xml | 2 +- .../buttonmaps/xml/linux/Wireless_Controller_14b_18a.xml | 4 +++- .../buttonmaps/xml/linux/Wireless_Controller_14b_8a.xml | 3 +++ .../udev/DualSense_Wireless_Controller_v054C_p0CE6_13b_8a.xml | 2 +- .../xml/udev/ShanWan_PS_R__Ga_epad_v054C_p0268_17b_6a.xml | 2 +- ...e_Entertainment_DualSense_Wireless__v054C_p0CE6_13b_8a.xml | 2 +- ...e_Entertainment_Wireless_Controller_v054C_p09CC_13b_8a.xml | 2 +- ...e_Entertainment_Wireless_Controller_v054C_p09CC_14b_8a.xml | 2 +- 26 files changed, 30 insertions(+), 25 deletions(-) diff --git a/peripheral.joystick/resources/buttonmaps/xml/cocoa/DUALSHOCK_4_Wireless_Controller_v054C_p09CC_14b_6a.xml b/peripheral.joystick/resources/buttonmaps/xml/cocoa/DUALSHOCK_4_Wireless_Controller_v054C_p09CC_14b_6a.xml index f12b71c9..31778299 100644 --- a/peripheral.joystick/resources/buttonmaps/xml/cocoa/DUALSHOCK_4_Wireless_Controller_v054C_p09CC_14b_6a.xml +++ b/peripheral.joystick/resources/buttonmaps/xml/cocoa/DUALSHOCK_4_Wireless_Controller_v054C_p09CC_14b_6a.xml @@ -2,7 +2,7 @@ - +