Function InputEvent.setDevice

void setDevice (
  const(long) device
) nothrow @nogc;