on peut changer les settings wtf

This commit is contained in:
2025-03-24 16:20:37 +01:00
parent 8a4c4201fe
commit fd9fd4586a
15 changed files with 200 additions and 40 deletions

View File

@@ -16,6 +16,7 @@ class Keybinds {
private:
std::map<Action, std::set<sfKey>> keybinds;
int layoutNumber;
bool modifiable;
public:
Keybinds(int layoutNumber);
@@ -28,6 +29,8 @@ class Keybinds {
void clearKeys(Action action);
bool isModifiable() const;
const std::set<Action> getActions(sfKey key) const;
const std::set<sfKey>& getKeybinds(Action action) const;