Develop
Develop
Select your platform

Get Controller Type

Updated: Apr 15, 2026
Returns the type of Meta Quest controller connected to a specified hand. This function is defined in UOculusXRFunctionLibrary (module: OculusXRHMD) and is exposed as a BlueprintPure node (no execution pin required) under the OculusLibrary category.

Blueprint

Get Controller Type Blueprint

Arguments

  • Device Hand: An EControllerHand enum value specifying which hand’s controller to query. In the Blueprint editor, this appears as a dropdown pin with options Left and Right.

Output

  • Return Value: An EOculusXRControllerType enum value indicating the type of controller connected to the specified hand. Possible values include:
    • None (0): No controller detected.
    • MetaQuestTouch (1): Controller shipped with Meta Quest 2.
    • MetaQuestTouchPro (2): Controller shipped with Meta Quest Pro.
    • MetaQuestTouchPlus (3): Controller shipped with Meta Quest 3 and Meta Quest 3S.
    • Unknown (0x7f): Controller type is not recognized.