[event] Extend KeyEvent for multi-input support

Key events can come from different input devices, so they need a
ClutterInputDevice member like the pointer-related events. This
field is reserved for future use.
This commit is contained in:
Emmanuele Bassi 2009-02-11 17:54:52 +00:00
parent 5590958102
commit 82db27874b

View File

@ -239,6 +239,7 @@ struct _ClutterAnyEvent
* @keyval: raw key value
* @hardware_keycode: raw hardware key value
* @unicode_value: Unicode representation
* @device: reserved for future use
*
* Key event
*
@ -255,6 +256,7 @@ struct _ClutterKeyEvent
guint keyval;
guint16 hardware_keycode;
gunichar unicode_value;
ClutterInputDevice *device;
};
/**