Enabling/Disabling Mouse & Keyboard Input
Is there a way to enable/disable mouse & keyboard input? I'll be supporting gamepad controls and mouse/keyboard controls. However, I don't want both of them processed at the same time. Depending on player choice, I want to "mute" one of the input devices.
asked May 25 '16 at 08:54 PM in Using UE4
There may be a more glamorous way, but the first thing I think of is having both types of inputs run to the same code, but put an IF or something in between the inputs and the first node executed that prevents one method or another from firing. Or you could setup an Enumeration on the player controller that has two choices, Gamepad or Mouse/Keyboard, then do a "Switch on Enum" to determine which execution path occurs.
answered May 26 '16 at 05:28 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here