Properly terminate threads when the game activity exits.
This commit is contained in:
@@ -19,6 +19,13 @@ public class NvController {
|
||||
out = s.getOutputStream();
|
||||
}
|
||||
|
||||
public void close()
|
||||
{
|
||||
try {
|
||||
s.close();
|
||||
} catch (IOException e) {}
|
||||
}
|
||||
|
||||
public void sendControllerInput(short buttonFlags, byte leftTrigger, byte rightTrigger,
|
||||
short leftStickX, short leftStickY, short rightStickX, short rightStickY) throws IOException
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user