Function 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.

long device() nothrow @property @nogc;

void device (
  long v
) nothrow @property @nogc;