mutter:wip/garnacho/virtual-input-device

Last commit made on 2016-07-26
Get this branch:
git clone -b wip/garnacho/virtual-input-device https://git.launchpad.net/mutter

Branch merges

Branch information

Name:
wip/garnacho/virtual-input-device
Repository:
lp:mutter

Recent commits

7e3f96d... by Carlos Garnacho

backends: Prepare for virtual devices

Those have no backing libinput_device, and configuration does not
apply to those.

https://bugzilla.gnome.org/show_bug.cgi?id=765009

5f91d34... by Carlos Garnacho

clutter/evdev: Implement ClutterVirtualInputDevice::notify_keyval

This is somewhat gross at the moment, because we're after all mimicking
real keyboard events, we can only lookup keycodes that are available
in the current map, and the control of levels is rather limited.

Eventually, we want to implement the text_input protocol, handle these
events separately to MetaWaylandKeyboard, so event->key.keyval is
is guaranteed to be the final result. Until then, this is the farthest
we can get.

https://bugzilla.gnome.org/show_bug.cgi?id=765009

d0a708b... by Carlos Garnacho

clutter: Add ClutterVirtualInputDevice vmethod to notify keysyms

Evcodes don't cut it when we have something already specifying the
character to be printed, despite the current group/level. This API
allows some more control on the intended output.

https://bugzilla.gnome.org/show_bug.cgi?id=765009

d940d5e... by Carlos Garnacho

clutter: Make ClutterVirtualInputDevice public

This includes adding documentation and introspection annotations,
and marking the functions as extern.

https://bugzilla.gnome.org/show_bug.cgi?id=765009

70f69e5... by Carlos Garnacho

clutter/evdev: Allow specifying the ClutterInputMode of virtual devices

The seat core keyboard/pointer will be "master", the ones created through
ClutterVirtualInputDevice will be "slaves".

https://bugzilla.gnome.org/show_bug.cgi?id=765009

c2ce0e6... by Jonas Ådahl

ClutterVirtualInputDeviceEvdev: Forward button and key presses

https://bugzilla.gnome.org/show_bug.cgi?id=765009

adbd566... by Jonas Ådahl

ClutterSeatEvdev: Keep track of button count

libinput does it for us, but only for physical devices. When we add
virtual devices to the same seat, we need to track button press count
ourself.

https://bugzilla.gnome.org/show_bug.cgi?id=765009

f511f65... by Jonas Ådahl

ClutterVirtualInputDeviceEvdev: Forward motion events

https://bugzilla.gnome.org/show_bug.cgi?id=765009

0942d68... by Jonas Ådahl

ClutterVirtualInputDeviceEvdev: Create associated ClutterInputDevice

https://bugzilla.gnome.org/show_bug.cgi?id=765009

73d5d83... by Jonas Ådahl

ClutterVirtualInputDeviceEvdev: Construct with a specific seat

We are still single seated, so until we are properly multi seated its
always the main seat.

https://bugzilla.gnome.org/show_bug.cgi?id=765009