diff --git a/include/Functions.hpp b/include/Functions.hpp index 499c0ed1..63ae37b1 100644 --- a/include/Functions.hpp +++ b/include/Functions.hpp @@ -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) */