mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-11-24 14:29:20 +03:00
Remove unused function KeyPoll::isUp()
This function was marked as unused by cppcheck.
This commit is contained in:
1 parent
ad34e95128
commit
916a19c09c
2 files changed
-7
No files matched your search
@@ -323,11 +323,6 @@ bool KeyPoll::isDown(SDL_Keycode key)
|
||||
return keymap[key];
|
||||
}
|
||||
|
||||
bool KeyPoll::isUp(SDL_Keycode key)
|
||||
{
|
||||
return !keymap[key];
|
||||
}
|
||||
|
||||
bool KeyPoll::isDown(std::vector<SDL_GameControllerButton> buttons)
|
||||
{
|
||||
for (size_t i = 0; i < buttons.size(); i += 1)
|
||||
|
||||
@@ -54,8 +54,6 @@ public:
|
||||
|
||||
bool isDown(SDL_Keycode key);
|
||||
|
||||
bool isUp(SDL_Keycode key);
|
||||
|
||||
bool isDown(std::vector<SDL_GameControllerButton> buttons);
|
||||
bool isDown(SDL_GameControllerButton button);
|
||||
bool controllerButtonDown();
|
||||
|
||||
Reference in new issue
Block a user