From 7b4f8efc4cce3a9699e05f17ee22056657cb39fd Mon Sep 17 00:00:00 2001 From: Alison Watson Date: Thu, 3 Oct 2019 15:26:44 -0400 Subject: [PATCH] mupen64plus: use xbox one pad instead of horipad --- applications/mupen64plus.cfg | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/applications/mupen64plus.cfg b/applications/mupen64plus.cfg index 6a85a60..ce47ac2 100644 --- a/applications/mupen64plus.cfg +++ b/applications/mupen64plus.cfg @@ -142,7 +142,7 @@ mode = 0 # Specifies which joystick is bound to this controller: -1=No joystick, 0 or more= SDL Joystick number device = 0 # SDL joystick name (or Keyboard) -name = "HORI CO.,LTD. HORIPAD S" +name = "Microsoft X-Box One S pad" # Specifies whether this controller is 'plugged in' to the simulated N64 plugged = True # Specifies which type of expansion pak is in the controller: 1=None, 2=Mem pak, 4=Transfer pak, 5=Rumble pak @@ -152,24 +152,24 @@ mouse = False # Scaling factor for mouse movements. For X, Y axes. MouseSensitivity = "2.00,2.00" # The minimum absolute value of the SDL analog joystick axis to move the N64 controller axis value from 0. For X, Y axes. -AnalogDeadzone = "0,0" +AnalogDeadzone = "2000,2000" # An absolute value of the SDL joystick axis >= AnalogPeak will saturate the N64 controller axis value (at 80). For X, Y axes. For each axis, this must be greater than the corresponding AnalogDeadzone value -AnalogPeak = "32768,32768" +AnalogPeak = "32767,32767" # Digital button configuration mappings DPad R = "hat(0 Right)" DPad L = "hat(0 Left)" DPad D = "hat(0 Down)" DPad U = "hat(0 Up)" -Start = "button(8)" -Z Trig = "button(4)" -B Button = "button(9)" -A Button = "button(12)" -C Button R = "button(2)" -C Button L = "button(0)" -C Button D = "button(1)" -C Button U = "button(3)" -R Trig = "button(7)" -L Trig = "button(6)" +Start = "button(7)" +Z Trig = "axis(2+)" +B Button = "button(2)" +A Button = "button(0)" +C Button R = "axis(3+)" +C Button L = "axis(3-)" +C Button D = "axis(4+)" +C Button U = "axis(4-)" +R Trig = "button(5)" +L Trig = "button(4)" Mempak switch = "key(44)" Rumblepak switch = "key(46)" # Analog axis configuration mappings