More work on managing input events

This commit is contained in:
2026-04-16 00:13:48 -04:00
parent 8a3d200247
commit 26399a6a15
20 changed files with 66 additions and 33 deletions

View File

@@ -50,7 +50,7 @@ public:
// Rebuild input component and switch input mode.
void UpdateEventDispatch();
// Handler for character mode hotkey presses.
// Handler for GameOnly mode hotkey presses.
void ForwardKeyEvent(FKey Key);
// Walk up from a Slate widget to find the nearest UMG widget class name.
@@ -65,9 +65,9 @@ public:
UPROPERTY()
FlxEventRequests EventRequests;
// Input component for Character Mode: catches hotkeys only.
// Input component for GameOnly mode: catches hotkeys only.
UPROPERTY()
UInputComponent *CharacterModeInput = nullptr;
UInputComponent *HotkeyInputComponent = nullptr;
// Current input mode.
InputMode CurrentInputMode = InputMode::GameOnly;