mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
[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
|
||||
* @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;
|
||||
};
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user