[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:
parent
5590958102
commit
82db27874b
@ -239,6 +239,7 @@ struct _ClutterAnyEvent
|
|||||||
* @keyval: raw key value
|
* @keyval: raw key value
|
||||||
* @hardware_keycode: raw hardware key value
|
* @hardware_keycode: raw hardware key value
|
||||||
* @unicode_value: Unicode representation
|
* @unicode_value: Unicode representation
|
||||||
|
* @device: reserved for future use
|
||||||
*
|
*
|
||||||
* Key event
|
* Key event
|
||||||
*
|
*
|
||||||
@ -255,6 +256,7 @@ struct _ClutterKeyEvent
|
|||||||
guint keyval;
|
guint keyval;
|
||||||
guint16 hardware_keycode;
|
guint16 hardware_keycode;
|
||||||
gunichar unicode_value;
|
gunichar unicode_value;
|
||||||
|
ClutterInputDevice *device;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user