Type InputDevice Event key Revision Current Public Release (2017.3068) Keywords key, device
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.
On Android, this property will return
nil if the key event came from software, such as the virtual keyboard or the bottom virtual navigation bar.
This will always return
nil on Windows Phone, as information about external input devices is currently not supported on that platform.