Vixen
02b45cc4
csharp
public interface IInputDevice

One connected device, as the action system sees it.

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

Fields and properties (4)

  • InputDeviceKind Kind

    Which family it belongs to.

  • int DeviceId

    The id its events arrive under, or 0 for the singleton devices.

  • string Name

    Its name, for a settings screen.

  • bool IsConnected

    Whether it is still there.

Methods (1)

  • float ReadValue(InputControl control)

    Reads one of its controls.

Used by (4)

  • GamepadDeviceVixen.Input
  • KeyboardDeviceVixen.Input
  • MouseDeviceVixen.Input
  • TouchDeviceVixen.Input