mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 01:04:06 +00:00
Move the gameView input handler to CGameView
`game_view_handler` isn't global anymore. That makes the interface simpler and might make the compilation and the runtime faster.
This commit is contained in:
@@ -258,7 +258,6 @@ static void InitPs(bool setup_gui, const CStrW& gui_page, ScriptInterface* srcSc
|
||||
g_Joystick.Initialise();
|
||||
|
||||
std::unique_ptr<InputHandlers> handlers{std::make_unique<InputHandlers>()};
|
||||
handlers->emplace(g_VideoMode.m_InputManager, Input::Slot::GAME_VIEW, game_view_handler);
|
||||
|
||||
handlers->emplace(g_VideoMode.m_InputManager, Input::Slot::HOTKEY_INPUT, HotkeyInputActualHandler);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user