InputEvent.device

The event's device ID. Note: This device ID will always be -1 for emulated mouse input from a touchscreen. This can be used to distinguish emulated mouse input from physical mouse input.

  1. long device [@property getter]
    struct InputEvent
    @nogc nothrow @property
    long
    device
    ()
  2. long device [@property setter]

Meta