[PATCH weston 0/4] Recognize keyboards that can actually type
Derek Foreman
derekf at osg.samsung.com
Tue May 5 13:04:51 PDT 2015
Failed to mention this is on top of my
[PATCH weston v5] input: Don't test keyboard/pointer/touch pointers
patch...
On 05/05/15 03:01 PM, Derek Foreman wrote:
> Right now weston doesn't differentiate between "real" keyboards and
> keyboards that consist only of administrative controls (power buttons,
> ACPI Video Bus thing for backlight controls...)
>
> This patch series adds additional capability bits to weston_keyboard
> to tell if the keyboard has_digits or has_letters. The weston
> updated_caps_signal will now fire if the keyboard capabilities change,
> but wl_seat_send_capabilities() still only fires based on device
> presence (that is, you'll never see a keyboard removal in the
> primary seat since that's where you have a power button :)
>
> The weston protocol doesn't carry this information, so it's only
> really useful for desktop-shell. Later I intend to use this to let
> desktop-shell automatically show/hide weston-keyboard depending on
> keyboard capabilities.
>
>
> Derek Foreman (4):
> input: Split get_udev_seat() into its own function
> input: make a function for device removal
> input: Move seat capability update sends out of init functions
> input: Detect keyboard capabilities
>
> configure.ac | 2 +-
> src/compositor-headless.c | 3 ++
> src/compositor-rdp.c | 2 ++
> src/compositor-wayland.c | 3 ++
> src/compositor-x11.c | 3 ++
> src/compositor.h | 12 ++++++++
> src/input.c | 74 ++++++++++++++++++++++++++++++++++-------------
> src/libinput-device.c | 32 +++++++++++++++++++-
> src/libinput-device.h | 4 ++-
> src/libinput-seat.c | 64 +++++++++++++++++++++++++++++++++++-----
> src/screen-share.c | 3 ++
> tests/weston-test.c | 4 +++
> 12 files changed, 175 insertions(+), 31 deletions(-)
>
More information about the wayland-devel
mailing list