oif-qml  1.0
A QML plugin for the Open Input Framework gesture stack
Device Class Reference

An item that provides information about a gesture input device. More...

Inherits QDeclarativeItem.

Public Types

enum  DeviceType
 An enumeration of classes of multitouch input devices. More...
 

Properties

int id
 This property holds the ID of the touch. More...
 
DeviceType type
 This property holds the type of the device. More...
 
AxisInfo x
 This property holds information on the X axis. More...
 
AxisInfo y
 This property holds information on the Y axis. More...
 
const variant attributes
 This property holds a variant map of attributes of the touch. More...
 

Detailed Description

An item that provides information about a gesture input device.

Member Enumeration Documentation

An enumeration of classes of multitouch input devices.

Enumerator
TouchScreen 

A touchscreens or similar direct input devices.

Individual touches are mapped to the screen. Touch locations are provided in screen coordinates.

TouchPad 

A touchpads and similar indirect input devices.

Individual touches are directed to the location of the associated cursor. Single touch drags that are not accepted as gesture events move the cursor. Touch locations are provided in device coordinates.

Independent 

An independent input devices.

Individual touches are directed to the location of the associated cursor. Cursor movement is completely independent of touch input. Touch locations are provided in device coordinates.

Unknown 

An unknown input device.

No information is known about how the device interacts with the cursor or how locations are provided.

Property Documentation

const variant Device::attributes
read

This property holds a variant map of attributes of the touch.

All touch attributes are available in this property. The keys may be referenced in the geis.h header file.

int Device::id
read

This property holds the ID of the touch.

DeviceType Device::type
read

This property holds the type of the device.

AxisInfo Device::x
read

This property holds information on the X axis.

AxisInfo Device::y
read

This property holds information on the Y axis.