Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #7301 from zackhow/wiicontroller
Android: Return 0 on fail on WiimoteReal IOWrite and update WiimoteNew defaults
  • Loading branch information
Helios747 committed Aug 5, 2018
2 parents 1da910d + ec5e46f commit 0a8e04e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Source/Android/app/src/main/assets/WiimoteNew.ini
Expand Up @@ -267,7 +267,7 @@ Turntable/Stick/Radius = 100,000000
Turntable/Effect/Dial = `Axis 621`
Turntable/Crossfade/Left = `Axis 623`
Turntable/Crossfade/Right = `Axis 624`
Source = 1
Source = 0
[Wiimote3]
Device = Android/6/Touchscreen
Buttons/A = `Button 100`
Expand Down Expand Up @@ -402,7 +402,7 @@ Turntable/Stick/Radius = 100,000000
Turntable/Effect/Dial = `Axis 621`
Turntable/Crossfade/Left = `Axis 623`
Turntable/Crossfade/Right = `Axis 624`
Source = 1
Source = 0
[Wiimote4]
Device = Android/7/Touchscreen
Buttons/A = `Button 100`
Expand Down Expand Up @@ -537,4 +537,4 @@ Turntable/Stick/Radius = 100,000000
Turntable/Effect/Dial = `Axis 621`
Turntable/Crossfade/Left = `Axis 623`
Turntable/Crossfade/Right = `Axis 624`
Source = 1
Source = 0
Expand Up @@ -107,7 +107,7 @@ public static int Output(int index, byte[] buf, int size)
1000);

if (write < 0)
return -1;
return 0;

return write + 1;
}
Expand Down

0 comments on commit 0a8e04e

Please sign in to comment.