event.device

Type InputDevice
Event key
Revision Current Public Release (2017.3068)
Keywords key, device

Overview

Provides access to the device that the key event came from.

This is intended to be used by multiplayer games where multiple input devices will provide the same keys/buttons. Essentially, this property can be used to differentiate key events coming from different devices/players.

Gotchas