Oops - need to create the object first.
@@ -74,8 +74,8 @@ public void postInitialise(Context rootContext) {
context.put(InputSystem.class, inputSystem);
}
- vrProvider.getState().addControllerListener(controllerDevice);
controllerDevice = new OpenVRControllers();
+ vrProvider.getState().addControllerListener(controllerDevice);
inputSystem.setControllerDevice(controllerDevice);
}
