Edit this page

up.event up.event.inputDevice
JavaScript property

This feature is experimental. It may be changed or removed in a future version.

The class of input device used to cause the current event.

It can assume one of the following values:

Value Meaning
'key' The event was caused by a keyboard interaction.
'pointer' The event was caused by an interaction via mouse, touch or stylus.
'unknown' The input device is unknown or this event was not caused by user input.

Value

inputDevice

A string describing the current input device class.