[mupen64plus-input-sdl] 195/196: Add auto-config for Xiaomi Bluetooth Controller

Sven Eckelmann ecsv-guest at moszumanska.debian.org
Thu Nov 26 06:00:47 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 11b74edd354bb47b620a0054f57cf1307780c86c
Author: Sven Eckelmann <sven at narfation.org>
Date:   Fri Jun 12 16:24:27 2015 +0200

    Add auto-config for Xiaomi Bluetooth Controller
---
 debian/changelog                                   |  3 +-
 ...nfig-for-Xiaomi-Bluetooth-Controller-from.patch | 45 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 3 files changed, 48 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 32d1ff8..6801fa0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,10 +7,11 @@ mupen64plus-input-sdl (2.5-2) UNRELEASED; urgency=medium
       Add auto-config for Snakebyte PS3-style USB controller
     - Add add-auto-config-for-Super-Joy-Box-13-Gamecube-USB-ad.patch,
       Add auto-config for Super Joy Box 13 Gamecube USB adapter
+    - Add add-auto-config-for-Xiaomi-Bluetooth-Controller-from.patch,
+      Add auto-config for Xiaomi Bluetooth Controller
     - Move patches to alternative DEP-3 format and manage them with gbp pq
   * debian/control:
     - Change Vcs-Browser to new alioth CGit URL
-  * 
 
  -- Sven Eckelmann <sven at narfation.org>  Fri, 01 May 2015 16:56:06 +0200
 
diff --git a/debian/patches/add-auto-config-for-Xiaomi-Bluetooth-Controller-from.patch b/debian/patches/add-auto-config-for-Xiaomi-Bluetooth-Controller-from.patch
new file mode 100644
index 0000000..c044c70
--- /dev/null
+++ b/debian/patches/add-auto-config-for-Xiaomi-Bluetooth-Controller-from.patch
@@ -0,0 +1,45 @@
+From: Richard Goedeken <Richard at fascinationsoftware.com>
+Date: Sat, 6 Jun 2015 09:55:53 -0700
+Subject: add auto-config for Xiaomi Bluetooth Controller from Peter Goelst on
+ google group mailing list
+
+Origin: upstream, https://github.com/mupen64plus/mupen64plus-input-sdl/commit/10f69275e837aac3c980e1dfc81500ee15a6bf52
+---
+ data/InputAutoCfg.ini | 27 +++++++++++++++++++++++++++
+ 1 file changed, 27 insertions(+)
+
+diff --git a/data/InputAutoCfg.ini b/data/InputAutoCfg.ini
+index 0e995c4..5097020 100644
+--- a/data/InputAutoCfg.ini
++++ b/data/InputAutoCfg.ini
+@@ -1628,3 +1628,30 @@ Mempak switch = key(44)
+ Rumblepak switch = key(46)
+ X Axis = key(276,275)
+ Y Axis = key(273,274)
++
++; Xiaomi Bluetooth Controller
++[小米蓝牙手柄]
++plugged = True
++plugin = 2
++mouse = False
++AnalogDeadzone = 0,0
++AnalogPeak = 32768,32768
++DPad R = axis(8+)
++DPad L = axis(8-)
++DPad D = axis(9+)
++DPad U = axis(9-)
++Start = button(11)
++Z Trig = button(6)
++B Button = button(3)
++A Button = button(0)
++C Button R = axis(2+)
++C Button L = axis(2-)
++C Button D = axis(5+)
++C Button U = axis(5-)
++R Trig = button(7)
++L Trig = button(8)
++Mempak switch =
++Rumblepak switch =
++X Axis = axis(0-,0+)
++Y Axis = axis(1-,1+)
++
diff --git a/debian/patches/series b/debian/patches/series
index 6bbfa99..de1fa95 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@ add-config-for-Sony-playstation-4-controller-and-rem.patch
 Fix-axis-auto-configuration-in-for-Playstation-4-con.patch
 add-auto-config-for-Snakebyte-PS3-style-USB-controll.patch
 add-auto-config-for-Super-Joy-Box-13-Gamecube-USB-ad.patch
+add-auto-config-for-Xiaomi-Bluetooth-Controller-from.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