Vixen
02b45cc4
csharp
public enum GamepadKind

Which family a controller belongs to, so a prompt can draw the right glyph.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

This is the only thing vendor identity is for. Bindings use GamepadButton, which is positional; nothing in the input path branches on this value.

Fields and properties (5)

  • Unknown

    Unrecognised, or a generic HID gamepad. Draw the positional names.

  • Xbox

    An Xbox controller, or something reporting itself as one.

  • PlayStation

    A DualShock or DualSense.

  • Nintendo

    A Switch Pro controller or Joy-Con pair.

  • Virtual

    A virtual or remapped pad, such as Steam Input's.

Used by (4)

  • DesktopGamepadVixen.Platform.Desktop
  • IGamepadVixen.Platform
  • SdlTranslationVixen.Platform.Desktop
  • SdlTranslationTestsVixen.Platform.Desktop.Tests