1
0
Fork 0
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:
Misa 2021-01-02 00:21:47 -08:00 committed by Ethan Lee
parent ad34e95128
commit 916a19c09c
2 changed files with 0 additions and 7 deletions

View file

@ -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)

View file

@ -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();