InputDevice

Parent Userdata
Revision Current Public Release (2017.3068)
Keywords device, input, key

Overview

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.

Gotchas

Input device information is not provided on Windows Phone.

Properties

Methods

object:vibrate()