Merge pull request #7918 from spycrab/iokit_refactor InputCommon/OSX: Refactor IOKit controller interface