# Changes 0.2.4-1
- Add GIT_BRANCH (for development and stable) - Write Documentation of - pd-core (exept of vec.hpp) - pd-app - pd-drivers - pd-lib3ds - pd-image - pd-image - pd-ui7
This commit is contained in:
@ -27,7 +27,14 @@ SOFTWARE.
|
||||
#include <pd/drivers/hid.hpp>
|
||||
|
||||
namespace PD {
|
||||
/**
|
||||
* Simple Table Containing the codepoint references
|
||||
* for the Controller Icons on the 3ds
|
||||
*/
|
||||
namespace GamePadIcons {
|
||||
/**
|
||||
* Icon ID
|
||||
*/
|
||||
enum ID {
|
||||
A,
|
||||
B,
|
||||
@ -50,7 +57,17 @@ enum ID {
|
||||
DpadHorizontal,
|
||||
DpadVertical,
|
||||
};
|
||||
/**
|
||||
* Get Icon by ID
|
||||
* @param id ID to Get
|
||||
* @return codepoint
|
||||
*/
|
||||
std::string GetIcon(ID id);
|
||||
/**
|
||||
* Get Icon By Input Driver Key
|
||||
* @param key Key to find
|
||||
* @return codepoint
|
||||
*/
|
||||
std::string GetIcon(Hid::Key key);
|
||||
} // namespace GamePadIcons
|
||||
} // namespace PD
|
Reference in New Issue
Block a user