[mupen64plus-input-sdl] 188/196: Fix axis auto configuration in for Playstation 4 controllers

Sven Eckelmann ecsv-guest at moszumanska.debian.org
Thu Nov 26 06:00:45 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 8396de5eef785b5bccae06a8477a46f8ccdd9008
Author: Sven Eckelmann <sven at narfation.org>
Date:   Fri May 1 16:56:19 2015 +0200

    Fix axis auto configuration in for Playstation 4 controllers
---
 debian/changelog              |  7 +++++++
 debian/patches/ps4_axis.patch | 48 +++++++++++++++++++++++++++++++++++++++++++
 debian/patches/series         |  1 +
 3 files changed, 56 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index a3be4da..ce33bc2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+mupen64plus-input-sdl (2.5-2) UNRELEASED; urgency=medium
+
+  * debian/patches
+    - Fix axis auto configuration in for Playstation 4 controllers
+
+ -- Sven Eckelmann <sven at narfation.org>  Fri, 01 May 2015 16:56:06 +0200
+
 mupen64plus-input-sdl (2.5-1) unstable; urgency=medium
 
   * New Upstream Version
diff --git a/debian/patches/ps4_axis.patch b/debian/patches/ps4_axis.patch
new file mode 100644
index 0000000..b3a2c50
--- /dev/null
+++ b/debian/patches/ps4_axis.patch
@@ -0,0 +1,48 @@
+Description: Fix axis auto configuration in for Playstation 4 controllers
+Author: Sven Eckelmann <sven at narfation.org>
+
+---
+diff --git a/data/InputAutoCfg.ini b/data/InputAutoCfg.ini
+index 555490d38dabdeb453b2e1641cb406054ac77fbe..f19f7cc13320831dfffb5d440535ebfd0db0b613 100644
+--- a/data/InputAutoCfg.ini
++++ b/data/InputAutoCfg.ini
+@@ -871,7 +871,6 @@ Y Axis = axis(1-,1+)
+ 
+ [PLAYSTATION(R)3 Controller]
+ [Sony PLAYSTATION(R)3 Controller]
+-[Sony Computer Entertainment Wireless Controller]
+ [SHENGHIC 2009/0708ZXW-V1Inc. PLAYSTATION(R)3Conteroller]
+ plugged = True
+ plugin = 2
+@@ -897,6 +896,31 @@ Rumblepak switch =
+ X Axis = axis(0-,0+)
+ Y Axis = axis(1-,1+)
+ 
++[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 3374b2f..e7f19b7 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 xboxdrv_rumble_war.patch
+ps4_axis.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