mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2026-11-19 17:05:20 +08:00
WIP for UXAssist new features
This commit is contained in:
1 parent
cdd71006b8
commit
5674d601ec
7 files changed
+302
-112
No files matched your search
@@ -29,4 +29,11 @@ public static class KeyBindings
|
||||
|
||||
return new CombineKey((int)shortcut.MainKey, mod, ECombineKeyAction.OnceClick, false);
|
||||
}
|
||||
|
||||
public static bool IsKeyPressing(this PressKeyBind keyBind)
|
||||
{
|
||||
var defBind = keyBind.defaultBind;
|
||||
var overrideKey = VFInput.override_keys[defBind.id];
|
||||
return overrideKey.IsNull() ? defBind.key.GetKey() : overrideKey.GetKey();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user