mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 17:49:43 +01:00
Remove unused function KeyPoll::isUp()
This function was marked as unused by cppcheck.
This commit is contained in:
parent
ad34e95128
commit
916a19c09c
2 changed files with 0 additions and 7 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue