Skip to content

Commit

Permalink
Control profile selector + sideways and classic default profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
SirMangler committed Apr 22, 2023
1 parent 56bba89 commit bad644c
Show file tree
Hide file tree
Showing 7 changed files with 348 additions and 87 deletions.
34 changes: 34 additions & 0 deletions Data/Sys/Profiles/Wiimote/Classic.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[Profile]
Device = WGInput/0/Xbox One Game Controller
Classic/Buttons/Home = `View`&`Menu`
Buttons/Home = `View`&`Menu`
Extension = Classic
Classic/Buttons/A = `Button B`
Classic/Buttons/B = `Button A`
Classic/Buttons/X = `Button Y`
Classic/Buttons/Y = `Button X`
Classic/Buttons/ZL = `Trigger L`
Classic/Buttons/ZR = `Trigger R`
Classic/Buttons/- = `View`
Classic/Buttons/+ = `Menu`
Classic/Left Stick/Dead Zone = 1.0
Classic/Left Stick/Up = `Left Y+`
Classic/Left Stick/Down = `Left Y-`
Classic/Left Stick/Left = `Left X-`
Classic/Left Stick/Right = `Left X+`
Classic/Left Stick/Modifier/Range = 50.0
Classic/Left Stick/Calibration = 100.00 101.96 107.86 105.79 116.61 116.40 108.24 101.96 100.00 101.96 101.79 102.03 112.32 116.72 107.82 101.96 100.00 101.96 107.72 111.35 126.41 117.04 105.53 95.18 90.04 90.09 94.02 102.41 104.91 107.85 105.54 101.96
Classic/Right Stick/Dead Zone = 2.0
Classic/Right Stick/Up = `Right Y+`
Classic/Right Stick/Down = `Right Y-`
Classic/Right Stick/Left = `Right X-`
Classic/Right Stick/Right = `Right X+`
Classic/Right Stick/Modifier/Range = 50.0
Classic/Right Stick/Calibration = 100.00 101.96 100.20 97.90 105.07 111.79 107.24 101.96 100.00 101.96 105.58 108.26 118.87 112.26 108.24 101.96 100.00 101.96 102.52 103.34 110.55 115.45 107.88 101.96 99.27 98.06 100.17 103.61 102.22 109.09 105.93 101.96
Classic/Triggers/L = `Bumper L`
Classic/Triggers/R = `Bumper R`
Classic/D-Pad/Up = `Pad N`
Classic/D-Pad/Down = `Pad S`
Classic/D-Pad/Left = `Pad W`
Classic/D-Pad/Right = `Pad E`

29 changes: 29 additions & 0 deletions Data/Sys/Profiles/Wiimote/Sideways.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
[Profile]
Device = WGInput/0/Xbox One Game Controller
Buttons/A = `Button X`|`Trigger L`
Buttons/B = `Button Y`|`Trigger R`
Buttons/1 = `Button A`
Buttons/2 = `Button B`
Buttons/- = View
Buttons/+ = Menu
IR/Auto-Hide = True
IR/Up = `Right Y+`
IR/Down = `Right Y-`
IR/Left = `Right X-`
IR/Right = `Right X+`
IR/Recenter = `Thumb R`
IR/Calibration = 98.45 98.18 92.67 95.58 102.75 101.20 95.21 94.43 97.73 100.73 103.41 104.08 98.37 92.11 92.11 91.17 93.81 100.59 102.80 109.54 102.25 104.83 100.55 101.80 99.40 100.90 106.61 114.13 111.24 110.34 101.95 98.24
Tilt/Left = `Bumper L`
Tilt/Right = `Bumper R`
Tilt/Modifier/Range = 50.0
Shake/X = `Thumb L`|`Thumb R`
Shake/Y = `Thumb L`|`Thumb R`
Shake/Z = `Thumb L`|`Thumb R`
IMUIR/Recenter = `Thumb R`
Extension/Attach MotionPlus = False
Rumble/Motor = `Motor L`|`Motor R`
D-Pad/Up = `Pad N`|`Left Y+`
D-Pad/Down = `Pad S`|`Left Y-`
D-Pad/Left = `Pad W`|`Left X-`
D-Pad/Right = `Pad E`|`Left X+`
Options/Sideways Wiimote = True
1 change: 0 additions & 1 deletion Source/Core/DolphinUWP/App.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,6 @@ struct App : implements<App, IFrameworkViewSource, IFrameworkView>
}
}
}

UICommon::SetUserDirectory(UWP::GetUserLocation());
UICommon::CreateDirectories();
UICommon::Init();
Expand Down
6 changes: 6 additions & 0 deletions Source/Core/DolphinUWP/DolphinUWP.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -5051,6 +5051,12 @@
<None Include="Sys\GC\font_western.bin">
<DeploymentContent>true</DeploymentContent>
</None>
<None Include="Sys\Profiles\Wiimote\Classic.ini">
<DeploymentContent>true</DeploymentContent>
</None>
<None Include="Sys\Profiles\Wiimote\Sideways.ini">
<DeploymentContent>true</DeploymentContent>
</None>
<None Include="Sys\totaldb.dsy">
<DeploymentContent>true</DeploymentContent>
</None>
Expand Down
Loading

0 comments on commit bad644c

Please sign in to comment.