mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +02:00
Make isDown accept a list of keys (issue #121)
This commit is contained in:
@@ -46,7 +46,7 @@ namespace sdl
|
||||
* @param key A key identifier.
|
||||
* @return boolean
|
||||
**/
|
||||
bool isDown(Key key) const;
|
||||
bool isDown(Key * keylist) const;
|
||||
|
||||
/**
|
||||
* Enables key repeating.
|
||||
@@ -78,4 +78,4 @@ namespace sdl
|
||||
} // keyboard
|
||||
} // love
|
||||
|
||||
#endif // LOVE_KEYBOARD_SDL_KEYBOARD_H
|
||||
#endif // LOVE_KEYBOARD_SDL_KEYBOARD_H
|
||||
|
||||
Reference in New Issue
Block a user