mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-12-27 17:11:48 +01:00
Fixed reverse 360 button mapping generation
Share and Options were not being mapped properly. Resolves issue #33.
This commit is contained in:
parent
9e512deaeb
commit
0e6514a072
@ -233,7 +233,11 @@ namespace DS4Windows
|
||||
DS4Controls[] temp = new DS4Controls[defaultButtonMapping.Length];
|
||||
for (int i = 0, arlen = defaultButtonMapping.Length; i < arlen; i++)
|
||||
{
|
||||
temp[i] = (DS4Controls)defaultButtonMapping[i];
|
||||
X360Controls mapping = defaultButtonMapping[i];
|
||||
if (mapping != X360Controls.None)
|
||||
{
|
||||
temp[(int)mapping] = (DS4Controls)i;
|
||||
}
|
||||
}
|
||||
|
||||
return temp;
|
||||
|
Loading…
Reference in New Issue
Block a user