#include "../base/Types.h"
#include <string>
#include <vector>
Go to the source code of this file.
Namespaces | |
namespace | INPUT |
Classes | |
struct | INPUT::UnifiedButton |
Represents an input button from an arbitrary device. More... | |
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. |