=============================== Type deai.plugin.xorg.xi:Device =============================== .. lua:module:: deai.plugin.xorg.xi.Device See :lua:attr:`XiExt.device-disabled `, :lua:attr:`XiExt.device-enabled `, :lua:attr:`XiExt.devices `, :lua:attr:`XiExt.new-device ` for more information about this type Properties ========== .. list-table:: :header-rows: 0 * - :lua:attr:`name ` - Name of the device * - :lua:attr:`props ` - Property of the device * - :lua:attr:`type ` - Type of the device * - :lua:attr:`use ` - Use of the device .. lua:attribute:: name: string :type: string Name of the device .. lua:attribute:: 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 :code:`xinput list-props` command. .. lua:attribute:: type: string :type: string Type of the device As reported by X, `possible values `_. Note all values are converted to lower case. .. lua:attribute:: use: string :type: string Use of the device As reported by X, possible values are: "master keyboard", "master pointer", "keyboard", "pointer", or "unknown"