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]
  2. long device [@property setter]
    struct InputEvent
    @nogc nothrow @property
    void
    device
    (
    long v
    )

Meta