Visualiser RaceController:

event.consume() is required to stop the keyboard event from propogating to other controls.
main
fjc40 9 years ago
parent 6492ba89ab
commit f91f7055de

@ -102,6 +102,7 @@ public class RaceController extends Controller {
try {
controllerClient.sendKey(controlKey);
controlKey.onAction(); // Change key state if applicable
event.consume();
} catch (IOException e) {
e.printStackTrace();
}

Loading…
Cancel
Save