summaryrefslogtreecommitdiffstats
path: root/game/client/gamepad_button.hh
diff options
context:
space:
mode:
authoruntodesu <kirill@untode.su>2025-06-25 00:44:36 +0500
committeruntodesu <kirill@untode.su>2025-06-25 00:44:36 +0500
commit88c01588aa0830e219eaa62588839e4d1e2883ce (patch)
tree602bb27dd3399aab4aae8c19630e3b7a8dac824b /game/client/gamepad_button.hh
parent99cf6cca8dbbc1e563c10cf0167432d3d8af9783 (diff)
downloadvoxelius-88c01588aa0830e219eaa62588839e4d1e2883ce.tar.bz2
voxelius-88c01588aa0830e219eaa62588839e4d1e2883ce.zip
Clang-format the entire source code
Diffstat (limited to 'game/client/gamepad_button.hh')
-rw-r--r--game/client/gamepad_button.hh8
1 files changed, 4 insertions, 4 deletions
diff --git a/game/client/gamepad_button.hh b/game/client/gamepad_button.hh
index d8f2ed7..04b3a41 100644
--- a/game/client/gamepad_button.hh
+++ b/game/client/gamepad_button.hh
@@ -12,18 +12,18 @@ public:
explicit ConfigGamepadButton(int button);
virtual ~ConfigGamepadButton(void) = default;
- virtual const char *get(void) const override;
- virtual void set(const char *value) override;
+ virtual const char* get(void) const override;
+ virtual void set(const char* value) override;
int get_button(void) const;
void set_button(int button);
bool equals(int button) const;
- bool is_pressed(const GLFWgamepadstate &state) const;
+ bool is_pressed(const GLFWgamepadstate& state) const;
private:
int m_gamepad_button;
- const char *m_name;
+ const char* m_name;
};
#endif /* CLIENT_GAMEPAD_BUTTON_HH */