[mupen64plus-input-sdl] 173/196: Add support for Sony Dualshock4

Sven Eckelmann ecsv-guest at moszumanska.debian.org
Thu Nov 26 06:00:40 UTC 2015


This is an automated email from the git hooks/post-receive script.

ecsv-guest pushed a commit to branch master
in repository mupen64plus-input-sdl.

commit 0d10d06cb54bd13676e4c499217d601e377364bf
Author: Sven Eckelmann <sven at narfation.org>
Date:   Sat Aug 30 17:56:18 2014 +0200

    Add support for Sony Dualshock4
---
 debian/changelog                                |  1 +
 debian/patches/autoconfig_sony_dualshock4.patch | 41 +++++++++++++++++++++++++
 debian/patches/series                           |  1 +
 3 files changed, 43 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 83107bb..851ca62 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -22,6 +22,7 @@ mupen64plus-input-sdl (2.0-4) UNRELEASED; urgency=medium
     - Add autoconfig_mayflash.patch, Update deadzone/peak of Mayflash adapter
     - Add autoconfig_twin_usb.patch, Add support for Twin USB Gamepad
     - Add autoconfig_xbox360.patch, Fix R button for Xbox360
+    - Add autoconfig_sony_dualshock4.patch, Add support for Sony Dualshock4
 
  -- Sven Eckelmann <sven at narfation.org>  Thu, 19 Dec 2013 17:07:56 +0100
 
diff --git a/debian/patches/autoconfig_sony_dualshock4.patch b/debian/patches/autoconfig_sony_dualshock4.patch
new file mode 100644
index 0000000..bb16e91
--- /dev/null
+++ b/debian/patches/autoconfig_sony_dualshock4.patch
@@ -0,0 +1,41 @@
+Description: Add support for Sony Dualshock4
+Author: Sven Eckelmann <sven at narfation.org>
+
+---
+diff --git a/data/InputAutoCfg.ini b/data/InputAutoCfg.ini
+index 726d5a0658cfbed673e892403d329dd8ee2344b1..37d949a1cade6b244e1021ca952514d50e64fc4a 100644
+--- a/data/InputAutoCfg.ini
++++ b/data/InputAutoCfg.ini
+@@ -793,6 +793,32 @@ Rumblepak switch =
+ X Axis = axis(0-,0+)
+ Y Axis = axis(1-,1+)
+ 
++;Sony Playstation4/Dualshock4 Gamepad
++[Sony Computer Entertainment Wireless Controller]
++plugged = True
++plugin = 2
++mouse = False
++AnalogDeadzone = 4096,4096
++AnalogPeak = 32768,32768
++DPad R = hat(0 Right)
++DPad L = hat(0 Left)
++DPad D = hat(0 Down)
++DPad U = hat(0 Up)
++Start = button(9)
++Z Trig = button(6)
++B Button = button(0)
++A Button = button(1)
++C Button R = axis(2+)
++C Button L = axis(2-)
++C Button D = axis(5+)
++C Button U = axis(5-)
++R Trig = button(5)
++L Trig = button(4)
++Mempak switch = 
++Rumblepak switch = 
++X Axis = axis(0-,0+)
++Y Axis = axis(1-,1+)
++
+ [SAITEK P880]
+ plugged = True
+ plugin = 2
diff --git a/debian/patches/series b/debian/patches/series
index 9a962a3..a7452e8 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -19,3 +19,4 @@ autoconfig_xbox360.patch
 autoconfig_acrux.patch
 autoconfig_mayflash.patch
 autoconfig_logitech_f310.patch
+autoconfig_sony_dualshock4.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/mupen64plus-input-sdl.git



More information about the Pkg-games-commits mailing list