Hotkeys working now

This commit is contained in:
2025-06-02 19:21:17 -04:00
parent 7e8b96cb84
commit 8940dd9e70
14 changed files with 82 additions and 20 deletions

View File

@@ -140,4 +140,18 @@ public:
//
UFUNCTION(BlueprintCallable, Category = "Input", meta = (ExpandEnumAsExecs="ReturnValue"))
static ElxUsedOrNotUsed IsKeyUsedByMappingContext(const FKey &Key, const UInputMappingContext *MappingContext);
// Get a key by name.
//
// Returns the null key if there is no such key.
//
UFUNCTION(BlueprintPure, Category = "Input|Key")
static FKey GetKeyByName(const FName &Name);
// Get a key by name string.
//
// Returns the null key if there is no such key.
//
UFUNCTION(BlueprintPure, Category = "Input|Key")
static FKey GetKeyByNameString(const FString &Name);
};