[mupen64plus-input-sdl] 159/196: Refine autoconfiguration for XBox360

Sven Eckelmann ecsv-guest at moszumanska.debian.org
Thu Nov 26 06:00:37 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 fb278870cc930c408563ff00893ec4f268534e61
Author: Sven Eckelmann <sven at narfation.org>
Date:   Fri Sep 6 15:42:02 2013 +0200

    Refine autoconfiguration for XBox360
---
 debian/changelog                                |  7 +++
 debian/patches/autoconfig_xbox360_refined.patch | 57 +++++++++++++++++++++++++
 debian/patches/series                           |  1 +
 3 files changed, 65 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index a8debfa..dcc16de 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+mupen64plus-input-sdl (2.0-3) UNRELEASED; urgency=low
+
+  * debian/patches:
+    - Add autoconfig_xbox360_refined.patch, Refine autoconfiguration for XBox360
+
+ -- Sven Eckelmann <sven at narfation.org>  Fri, 06 Sep 2013 15:41:35 +0200
+
 mupen64plus-input-sdl (2.0-2) unstable; urgency=low
 
   * debian/patches:
diff --git a/debian/patches/autoconfig_xbox360_refined.patch b/debian/patches/autoconfig_xbox360_refined.patch
new file mode 100644
index 0000000..eb80334
--- /dev/null
+++ b/debian/patches/autoconfig_xbox360_refined.patch
@@ -0,0 +1,57 @@
+Description: Refine autoconfiguration for XBox360
+ * Z trigger now binds to X360's L button, and R trigger to X360's R button; as
+   those two are the most used, and I found X360's L/R buttons more comfortable
+   than triggers to this purpose. Consequence is that L trigger now binds to
+   X360's trigger (only when is pressed). Thoughts?
+ * C buttons now have the correct axes.
+ * I put Mempak switch as Back (or Select) button, and Rumblepak switch as
+   X360's Start button. Consequence is that N64's Start button is now binded to
+   X360's guide button. Reason I did this is because some games supports both,
+   and I wouldn't bother with stick buttons as they may be accidentally
+   clicked, so I found Back/Start buttons more suitable to this purpose.
+ * I added the button variables along with hat to the D-pad, so it works again.
+Bug: https://code.google.com/p/mupen64plus/issues/detail?id=576
+Author: mastergatto at gmail.com
+
+---
+diff --git a/data/InputAutoCfg.ini b/data/InputAutoCfg.ini
+index f73bc9818e18d48d9c32bba0fe6ea3758130c18b..044dee11ea4a339ffd50e54e0215caf515651aa6 100644
+--- a/data/InputAutoCfg.ini
++++ b/data/InputAutoCfg.ini
+@@ -469,22 +469,22 @@ 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(7)
+-Z Trig = axis(2+)
++DPad R = hat(0 Right) button(12)
++DPad L = hat(0 Left) button(11)
++DPad D = hat(0 Down) button(14)
++DPad U = hat(0 Up) button(13)
++Start = button(8)
++Z Trig = button(4)
+ B Button = button(2)
+ A Button = button(0)
+-C Button R = axis(4+)
+-C Button L = axis(4-) button(3)
+-C Button D = axis(3+) button(1)
+-C Button U = axis(3-)
+-R Trig = button(5) axis(2-)
+-L Trig = button(4)
+-Mempak switch = 
+-Rumblepak switch = 
++C Button R = axis(3+)
++C Button L = axis(3-) button(3)
++C Button D = axis(4+) button(1)
++C Button U = axis(4-)
++R Trig = button(5)
++L Trig = axis(2+)
++Mempak switch = button(6)
++Rumblepak switch = button(7)
+ X Axis = axis(0-,0+)
+ Y Axis = axis(1-,1+)
+ 
diff --git a/debian/patches/series b/debian/patches/series
index d2a8b2c..4af5fa1 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -6,3 +6,4 @@ autoconfig_jess_controller.patch
 autoconfig_wiimote_classic.patch
 autoconfig_szmy_gamepad3.patch
 autoconfig_twin_gamepad.patch
+autoconfig_xbox360_refined.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