Closed DronCode closed 4 years ago
Can be fixed in #27 (found in-game events, through that we can disable player input if it needed). @HHCHunter, @Notexe what do you feel about it?
I think it's a good idea, as long as we can notify the player that this is the case. Should be possible in imGUI
If ReHitman debugger is opened player will get the event "MSG_DISABLECONTROLS". If debugger closed the player will get event "MSG_ENABLECONTROLS".
Nice, that should work.
It's very difficult to use the debug menu when keyboard & mouse input enabled. Too many conflicts in work. As a solution, we can hook the update method on the keyboard and stop mouse events emitting when the in-game debugger opened.