Beispiel #1
0
        public bool GetState(InputDevice inputDevice)
        {
            NativeInputDevice nativeInputDevice = inputDevice as NativeInputDevice;

            return(nativeInputDevice.ReadRawButtonState(ButtonIndex));
        }
        public float GetValue(InputDevice inputDevice)
        {
            NativeInputDevice nativeInputDevice = inputDevice as NativeInputDevice;

            return(nativeInputDevice.ReadRawAnalogValue(AnalogIndex));
        }