Version

    Other Documentation

menu_open
Target Platform(s):
Wwise SDK 2019.1.11

◆ GetGamepadFromDeviceID()

virtual Windows::Gaming::Input::Gamepad AK::IAkUWPContext::GetGamepadFromDeviceID ( AkDeviceID  deviceID )
pure virtual

Inverse lookup of AK::GetDeviceIDFromGamepad.

Note
This function is only available for project code using C++/CX.
Returns
Reference to a gamepad, or nullptr if the device ID is no longer valid (such as if the gamepad was disconnected)

Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise