Or simply Creating a small function in a function library to replace the deprecated IsgamepadKey function.