Esempio n. 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;
        }
Esempio n. 2
0
        public BufferedStatedInput(BufferedInputController controller)
        {
            this.controller = controller;

            Subscribe();
        }