Merge pull request #7301 from zackhow/wiicontroller
Android: Return 0 on fail on WiimoteReal IOWrite and update WiimoteNew defaults
This commit is contained in:
commit
0a8e04e469
|
@ -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`
|
||||
|
@ -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`
|
||||
|
@ -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
|
||||
|
|
|
@ -107,7 +107,7 @@ public class Java_WiimoteAdapter
|
|||
1000);
|
||||
|
||||
if (write < 0)
|
||||
return -1;
|
||||
return 0;
|
||||
|
||||
return write + 1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue