Beispiel #1
0
        public InputLoggerModel(BufferedInputController controller)
        {
            this.controller = controller;

            controller.OnJoystickSetPosition     += Controller_OnJoystickSetPosition;
            controller.OnJoystickPressPosition   += Controller_OnJoystickPressPosition;
            controller.OnJoystickNeitralPosition += Controller_OnJoystickNeitralPosition;

            controller.OnJoystickPressAction += Controller_OnJoystickPressAction;
        }
Beispiel #2
0
        public BufferedStatedInput(BufferedInputController controller)
        {
            this.controller = controller;

            Subscribe();
        }