Merge pull request #165 from RobLoach/gmapead

Add GetGamepadName()
This commit is contained in:
Rob Loach
2022-02-05 16:31:41 -05:00
committed by GitHub

View File

@@ -60,6 +60,13 @@ RLCPPAPI inline void TakeScreenshot(const std::string& fileName) {
::TakeScreenshot(fileName.c_str());
}
/**
* Get gamepad internal name id
*/
RLCPPAPI inline std::string GetGamepadName(int gamepad) {
return ::GetGamepadName(gamepad);
}
/**
* Load text data from file (read)
*/