Parent Userdata Revision Current Public Release (2017.3135) Keywords device, input, key
An object of this type respresent one input device such as a keyboard, mouse, touchscreen, gamepad, etc. This object provides access to the input device's information and its current connection status.
An input device object is normally provided with a key event, which allows an application to identify which device the input event came from. This is important for multiplayer games, allowing an application to associate input devices with a particular players.