示例#1
0
    /// <summary>
    /// Removes entries from the input manager
    /// </summary>
    private void ClearInputManagerEntries()
    {
        InputManagerHelper.RemoveEntry("WXButton0");
        InputManagerHelper.RemoveEntry("WXButton1");
        InputManagerHelper.RemoveEntry("WXButton2");
        InputManagerHelper.RemoveEntry("WXButton3");
        InputManagerHelper.RemoveEntry("WXLeftStickX");
        InputManagerHelper.RemoveEntry("WXLeftStickY");
        InputManagerHelper.RemoveEntry("WXLeftStickButton");
        InputManagerHelper.RemoveEntry("WXRightStickX");
        InputManagerHelper.RemoveEntry("WXRightStickY");
        InputManagerHelper.RemoveEntry("WXRightStickButton");
        InputManagerHelper.RemoveEntry("WXLeftTrigger");
        InputManagerHelper.RemoveEntry("WXRightTrigger");
        InputManagerHelper.RemoveEntry("WXDPadX");
        InputManagerHelper.RemoveEntry("WXDPadY");
        InputManagerHelper.RemoveEntry("WXLeftBumper");
        InputManagerHelper.RemoveEntry("WXRightBumper");
        InputManagerHelper.RemoveEntry("WXBack");
        InputManagerHelper.RemoveEntry("WXStart");

        InputManagerHelper.RemoveEntry("MXButton0");
        InputManagerHelper.RemoveEntry("MXButton1");
        InputManagerHelper.RemoveEntry("MXButton2");
        InputManagerHelper.RemoveEntry("MXButton3");
        InputManagerHelper.RemoveEntry("MXLeftStickX");
        InputManagerHelper.RemoveEntry("MXLeftStickY");
        InputManagerHelper.RemoveEntry("MXLeftStickButton");
        InputManagerHelper.RemoveEntry("MXRightStickX");
        InputManagerHelper.RemoveEntry("MXRightStickY");
        InputManagerHelper.RemoveEntry("MXRightStickButton");
        InputManagerHelper.RemoveEntry("MXLeftTrigger");
        InputManagerHelper.RemoveEntry("MXRightTrigger");
        InputManagerHelper.RemoveEntry("MXDPadX");
        InputManagerHelper.RemoveEntry("MXDPadY");
        InputManagerHelper.RemoveEntry("MXLeftBumper");
        InputManagerHelper.RemoveEntry("MXRightBumper");
        InputManagerHelper.RemoveEntry("MXBack");
        InputManagerHelper.RemoveEntry("MXStart");
    }