Issues with Subclassing InputTriggerCombo and Using InputTriggerChordAction

I’m working on implementing custom combo inputs using the EnhancedInput system in Unreal Engine, but I’m running into several issues that I’d appreciate any guidance on.

  1. Subclassing InputTriggerCombo The built-in InputTriggerCombo class has its constructor marked as private, preventing me from creating a subclass to extend its functionality. I’ve tried creating my own ComboTrigger from scratch by inheriting from InputTrigger, but this requires setting the KeyBinding to None, which causes the TriggerValue to never reach 1 when the keys are pressed.

  2. Using InputTriggerChordAction I have multiple InputActions with the same key binding, and each InputAction has an InputTriggerChordAction added to it, with different InputActions assigned to each InputTriggerChordAction. The problem occurs when I press the key bound to these InputActions. It seems that after processing the first InputAction, the TriggerEvent state of the key binding is modified, causing the InputTriggerChordAction to evaluate incorrectly for the remaining InputActions that share the same key binding.

  3. Disabling Key Bindings Additionally, I’ve discovered that both the InputAction and InputMappingContext classes look for a InputTriggerCombo class to disable the key bindings. Since I cannot create a subclass of InputTriggerCombo due to its private constructor, I don’t have a way to tell these classes that my custom InputTrigger should disable the key bindings.

I need the ability to create custom combo input triggers with more advanced logic than what the built-in ComboInputTrigger provides. At the same time, I want to ensure that multiple chorded input actions can be bound to the same keys without interfering with each other’s behavior, and have a way to disable key bindings when using my custom InputTrigger implementation.

Has anyone else encountered similar issues with the EnhancedInput system? I’d greatly appreciate any insights or workarounds that could help me achieve the desired combo input functionality while properly handling key binding disabling.

Thank you in advance for your time and assistance!