Type deai.plugin.xorg.xi:Device

See XiExt.device-disabled, XiExt.device-enabled, XiExt.devices, XiExt.new-device for more information about this type

Properties

name

Name of the device

props

Property of the device

type

Type of the device

use

Use of the device

name: string
Type:

string

Name of the device

props: object
Type:

object

Property of the device

This is a proxy object that allows you to get and set properties of a X device. Accessing members of this object will read from device property, writing to members of this object will set device property.

To set device properties you could provide a single value or an array of values, if the property takes multiple values.

The property names are the same ones you can find by running the xinput list-props command.

type: string
Type:

string

Type of the device

As reported by X, possible values.

Note all values are converted to lower case.

use: string
Type:

string

Use of the device

As reported by X, possible values are: “master keyboard”, “master pointer”, “keyboard”, “pointer”, or “unknown”