ControllerClient can retrieve valid protocol code from each key press
- ControlKey now includes protocolCode property - RaceController now fires action with each key press - Shift toggles sail state appropriately #story[1089]
This commit is contained in:
@@ -101,6 +101,7 @@ public class RaceController extends Controller {
|
||||
if(controlKey != null) {
|
||||
try {
|
||||
controllerClient.sendKey(controlKey);
|
||||
controlKey.onAction(); // Change key state if applicable
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user