issue #4689: Refactoring game controller API.

const std::string& getDeviceName() -> const std::string& getDeviceName() const