Unified input for keyboard+mouse+gamepad. Note that all input relies on the window being set up first. More...
Go to the source code of this file.
Classes | |
| struct | INPUT::UnifiedButton |
| Represents an input button from an arbitrary device. More... | |
Namespaces | |
| namespace | INPUT |
Input. | |
Enumerations | |
| enum | INPUT::DeviceType |
The device that a button represents. | |
Functions | |
| bool | INPUT::IsButtonDown (const UnifiedButton &button) |
| Returns whether the specific button is currently pressed down. | |
|
const std::vector < UnifiedButton > & | INPUT::GetCurrentlyPressedButtons () |
| Returns a list of buttons that are currently pressed down. | |
|
const std::vector < UnifiedButton > & | INPUT::GetNewlyPressedButtons () |
| Returns a list of buttons that were pressed since the last frame. | |
| const std::string & | INPUT::GetFriendlyName (const UnifiedButton &button) |
| Retrieves a user-friendly name for a unified button. | |
Unified input for keyboard+mouse+gamepad. Note that all input relies on the window being set up first.
1.7.1