![]() |
![]() |
![]() |
libgrip Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
GripInputDevice; GripInputDeviceClass; guint grip_input_device_get_id (GripInputDevice *input_device
); const gchar * grip_input_device_get_name (GripInputDevice *input_device
); gboolean grip_input_device_is_direct (GripInputDevice *input_device
); gboolean grip_input_device_is_independent (GripInputDevice *input_device
); const GripAxisExtents * grip_input_device_get_x_extents (GripInputDevice *input_device
); const GripAxisExtents * grip_input_device_get_y_extents (GripInputDevice *input_device
);
"device-attrs" gpointer : Write / Construct Only "geis-device" gpointer : Write / Construct Only
The Grip input device represents input devices known to the uTouch gesture recognition stack.
typedef struct _GripInputDevice GripInputDevice;
This struct contains private data only, and should be accessed using the functions below.
guint grip_input_device_get_id (GripInputDevice *input_device
);
Gets the internal identifier of the input device.
|
A GripInputDevice. [in] |
Returns : |
the internal identifier of the input device |
const gchar * grip_input_device_get_name (GripInputDevice *input_device
);
Gets the name of the input device, as retrieved from the device itself.
|
A GripInputDevice. [in] |
Returns : |
the seld-described name of the input device. |
gboolean grip_input_device_is_direct (GripInputDevice *input_device
);
Indicates if the input device is a direct input device (eg. touchscreen) or not (eg. touchpad).
|
A GripInputDevice. [in] |
Returns : |
TRUE if the input device is an direct device, FALSE
otherwsie. |
gboolean grip_input_device_is_independent (GripInputDevice *input_device
);
Indicates if the input device is an independent input device (for example, an Apple MagicMouse).
|
A GripInputDevice. [in] |
Returns : |
TRUE if the input device is an independent device, FALSE
otherwsie. |
const GripAxisExtents * grip_input_device_get_x_extents (GripInputDevice *input_device
);
|
A GripInputDevice. [in] |
Returns : |
the X-axis extents of the device. |
const GripAxisExtents * grip_input_device_get_y_extents (GripInputDevice *input_device
);
|
A GripInputDevice. [in] |
Returns : |
the Y-axis extents of the device. |
"device-attrs"
property "device-attrs" gpointer : Write / Construct Only
A list of GEIS v1 device attrs (passed into the device callback) used to construct a GripInputDevice.
"geis-device"
property "geis-device" gpointer : Write / Construct Only
A GEIS v2 device object used to construct a GripInputDevice.