Example #1
0
 public static void WindowNoneButtonCancel(ref KeyInput.Data __result)
 {
     if (_disabled)
     {
         return;
     }
     if (GamepadWhisperer.GetButtonDown(state => state.Buttons.Y) || GamepadWhisperer.GetButtonDown(state => state.Buttons.B))
     {
         __result.isKey = true;
     }
 }
Example #2
0
            public static void BackLogTextBack(ref KeyInput.Data __result)
            {
                if (_disabled)
                {
                    return;
                }

                if (GamepadWhisperer.RightStickDown() && WithinAngle(GamepadWhisperer.GetRightStickAngle(), 180))
                {
                    __result.isKey = true;
                }
            }
Example #3
0
            public static void BackLogButtonCancel(ref KeyInput.Data __result)
            {
                if (_disabled)
                {
                    return;
                }

                if (GamepadWhisperer.GetButtonDown(state => state.Buttons.B) || GamepadWhisperer.GetButtonDown(state => state.Buttons.RightStick) && !CursorEmulator.EmulatingCursor())
                {
                    __result.isKey = true;
                }
            }
Example #4
0
            public static void TextNext(ref KeyInput.Data __result)
            {
                if (_disabled)
                {
                    return;
                }

                if (GamepadWhisperer.GetButtonDown(state => state.Buttons.B))
                {
                    __result.isKey = true;
                }
            }