From a8b0b1b18fe72d8ff73fc2d07d667b44d09c1a8b Mon Sep 17 00:00:00 2001 From: Gwilherm Folliot Date: Mon, 7 Oct 2024 14:29:12 +0200 Subject: [PATCH] input-capture: impl keymap --- protocols/hyprland-input-capture-v1.xml | 32 ++++++++++++++++++++++--- 1 file changed, 29 insertions(+), 3 deletions(-) diff --git a/protocols/hyprland-input-capture-v1.xml b/protocols/hyprland-input-capture-v1.xml index 3279295..a96863a 100644 --- a/protocols/hyprland-input-capture-v1.xml +++ b/protocols/hyprland-input-capture-v1.xml @@ -2,7 +2,11 @@ + Copyright © 2008-2011 Kristian Høgsberg + Copyright © 2010-2011 Intel Corporation + Copyright © 2012-2013 Collabora, Ltd. Copyright © 2024 Fl0w + All rights reserved. Redistribution and use in source and binary forms, with or without @@ -77,6 +81,28 @@ summary="the y component of the motion vector" /> + + + This specifies the format of the keymap provided to the + client with the keymap event. + + + + + + + + This event provides a file descriptor to the client which can be + memory-mapped in read-only mode to provide a keyboard mapping + description. + + + + + + Describes the physical state of a key that produced the key event. @@ -190,7 +216,7 @@ A client is expected to accumulate the data in all events within the frame before proceeding. - All wl_pointer events before a frame event belong + All pointer events before a frame event belong logically together. For example, in a diagonal scroll motion the compositor will two axis events (horizontal and vertical) and a frame event. The client may use this information to @@ -198,14 +224,14 @@ When multiple axis events occur within the same frame, the motion vector is the combined motion of all events. - When a axis and a wl_pointer.axis_stop event occur within + When a axis and a axis_stop event occur within the same frame, this indicates that axis movement in one axis has stopped but continues in the other axis. When multiple axis_stop events occur within the same frame, this indicates that these axes stopped in the same instance. A frame event is sent for every logical event group, - even if the group only contains a single wl_pointer event. + even if the group only contains a single pointer event. Specifically, a client may get a sequence: motion, frame, button, frame, axis, frame, axis_stop, frame.