Moving console access to python side, so Windows users won't brick their session.

This commit is contained in:
John McCardle 2025-03-08 21:12:40 -05:00
parent cea084bddf
commit 5b259d0b38
2 changed files with 3 additions and 2 deletions

View File

@ -11,7 +11,8 @@ PyScene::PyScene(GameEngine* g) : Scene(g)
registerAction(ActionCode::MOUSEWHEEL + ActionCode::WHEEL_DEL, "wheel_up"); registerAction(ActionCode::MOUSEWHEEL + ActionCode::WHEEL_DEL, "wheel_up");
registerAction(ActionCode::MOUSEWHEEL + ActionCode::WHEEL_NEG + ActionCode::WHEEL_DEL, "wheel_down"); registerAction(ActionCode::MOUSEWHEEL + ActionCode::WHEEL_NEG + ActionCode::WHEEL_DEL, "wheel_down");
registerAction(ActionCode::KEY + sf::Keyboard::Grave, "debug_menu"); // console (` / ~ key) - don't hard code.
//registerAction(ActionCode::KEY + sf::Keyboard::Grave, "debug_menu");
} }
void PyScene::update() void PyScene::update()