ClutterInputDevice: add new API for querying the modifier state

This way, the full state of the device is exposed.

https://bugzilla.gnome.org/show_bug.cgi?id=706494
This commit is contained in:
Giovanni Campagna
2013-08-14 16:49:00 +02:00
parent b73f513091
commit 0db9075562
3 changed files with 22 additions and 0 deletions

View File

@ -56,6 +56,8 @@ CLUTTER_AVAILABLE_IN_1_12
gboolean clutter_input_device_get_coords (ClutterInputDevice *device,
ClutterEventSequence *sequence,
ClutterPoint *point);
CLUTTER_AVAILABLE_IN_1_16
ClutterModifierType clutter_input_device_get_modifier_state (ClutterInputDevice *device);
ClutterActor * clutter_input_device_get_pointer_actor (ClutterInputDevice *device);
ClutterStage * clutter_input_device_get_pointer_stage (ClutterInputDevice *device);
const gchar * clutter_input_device_get_device_name (ClutterInputDevice *device);