Gjsify LogoGjsify Logo

An enumeration describing the type of an input device in general terms.

Index

Enumeration Members

CURSOR: number

the device is a graphics tablet “puck” or similar device.

ERASER: number

the device is an eraser. Typically, this would be the other end of a stylus on a graphics tablet.

KEYBOARD: number

the device is a keyboard.

MOUSE: number

the device is a mouse. (This will be reported for the core pointer, even if it is something else, such as a trackball.)

PEN: number

the device is a stylus of a graphics tablet or similar device.

TABLET_PAD: number

the device is a "pad", a collection of buttons, rings and strips found in drawing tablets. This device type has been added in 3.22.

TOUCHPAD: number

the device is an indirect touch device, such as a touchpad. This device type has been added in 3.4.

TOUCHSCREEN: number

the device is a direct-input touch device, such as a touchscreen or tablet. This device type has been added in 3.4.

TRACKPOINT: number

the device is a trackpoint. This device type has been added in 3.22

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method