Switching keyboard layouts

This commit is contained in:
Zoe Roux
2021-06-18 13:43:28 +02:00
parent 8d9432c1f4
commit 63044f756a
12 changed files with 29 additions and 29 deletions
+3 -3
View File
@@ -24,9 +24,9 @@ namespace BBM
Gamepad gamepad(gamepadComponent.getID());
const std::map<Button, bool &> keyPressedMap = {
{gamepadComponent.keyJump, controllable.select},
{gamepadComponent.keyBomb, controllable.bomb},
{gamepadComponent.keyPause, controllable.pause}
{gamepadComponent.keySecondary, controllable.secondary},
{gamepadComponent.keyBomb, controllable.bomb},
{gamepadComponent.keyPause, controllable.pause}
};
for (auto key : keyPressedMap)