Classes | |
struct | UnifiedButton |
Represents an input button from an arbitrary device. More... | |
Namespaces | |
namespace | KEYBOARD |
Keyboard-specific input. | |
namespace | MOUSE |
Mouse-specific input. | |
Enumerations | |
enum | DeviceType |
The device that a button represents. | |
Functions | |
bool | IsButtonDown (const UnifiedButton &button) |
Returns whether the specific button is currently pressed down. | |
const std::vector < UnifiedButton > & | GetCurrentlyPressedButtons () |
Returns a list of buttons that are currently pressed down. | |
const std::vector < UnifiedButton > & | GetNewlyPressedButtons () |
Returns a list of buttons that were pressed since the last frame. | |
const std::string & | GetFriendlyName (const UnifiedButton &button) |
Retrieves a user-friendly name for a unified button. |