[Link Removed] explanation [Image Removed]
- Open Lyra
- Make a boolean input action "IA_TestButton"
- Make a float input action "IA_LongPress"
- Add IA_TestButton to IMC_ShooterGame_KBM, mapped to the "N" key, with a "pressed" input trigger
- Add IA_LongPress to IMC_ShooterGame_KBM, mapped the "M" key, with a "Hold" trigger with the Hold Time Threshold set to 2.0
- Open B_Hero_ShooterMannequin
- Add IA_TestButton and IA_LongPress event nodes to the graph.
- Add some logs to the Triggered, Canceled, and Started pins on the Long Press action
- For the test button, change the input mode to UI Only on the lyra player controller
- Make sure the "Flush Input" checkbox is set to true
- PIE in L_ShooterGym
- Press and hold M for a short time, and then press "N" to switch the input mode
Expected: The Long Press input action get's canceled!