Esempio n. 1
0
        public new string ToString()
        {
            StringBuilder sb = new StringBuilder();

            sb.Append(universalInputType.ToString());
            sb.Append(".");
            if (universalInputType == UniversalInputType.Keyboard)
            {
                sb.Append(keyInput.ToString());
            }
            else if (universalInputType == UniversalInputType.Mouse)
            {
                sb.Append(mouseInput.ToString());
            }
            else if (universalInputType == UniversalInputType.Gamepad)
            {
                sb.Append(gamepadInput.ToString());
            }

            return(sb.ToString());
        }