v0.3.0 7942c6b

virtual-keyboard-unstable-v1.xml RawHistoryFolder

1<?xml version="1.0" encoding="UTF-8"?>
2<protocol name="virtual_keyboard_unstable_v1">
3  <copyright>
4    Copyright © 2008-2011  Kristian Høgsberg
5    Copyright © 2010-2013  Intel Corporation
6    Copyright © 2012-2013  Collabora, Ltd.
7    Copyright © 2018       Purism SPC
8
9    Permission is hereby granted, free of charge, to any person obtaining a
10    copy of this software and associated documentation files (the "Software"),
11    to deal in the Software without restriction, including without limitation
12    the rights to use, copy, modify, merge, publish, distribute, sublicense,
13    and/or sell copies of the Software, and to permit persons to whom the
14    Software is furnished to do so, subject to the following conditions:
15
16    The above copyright notice and this permission notice (including the next
17    paragraph) shall be included in all copies or substantial portions of the
18    Software.
19
20    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
23    THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
25    FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
26    DEALINGS IN THE SOFTWARE.
27  </copyright>
28
29  <interface name="zwp_virtual_keyboard_v1" version="1">
30    <description summary="virtual keyboard">
31      The virtual keyboard provides an application with requests which emulate
32      the behaviour of a physical keyboard.
33
34      This interface can be used by clients on its own to provide raw input
35      events, or it can accompany the input method protocol.
36    </description>
37
38    <request name="keymap">
39      <description summary="keyboard mapping">
40        Provide a file descriptor to the compositor which can be
41        memory-mapped to provide a keyboard mapping description.
42
43        Format carries a value from the keymap_format enumeration.
44      </description>
45      <arg name="format" type="uint" summary="keymap format"/>
46      <arg name="fd" type="fd" summary="keymap file descriptor"/>
47      <arg name="size" type="uint" summary="keymap size, in bytes"/>
48    </request>
49
50    <enum name="error">
51      <entry name="no_keymap" value="0" summary="No keymap was set"/>
52    </enum>
53
54    <request name="key">
55      <description summary="key event">
56        A key was pressed or released.
57        The time argument is a timestamp with millisecond granularity, with an
58        undefined base. All requests regarding a single object must share the
59        same clock.
60
61        Keymap must be set before issuing this request.
62
63        State carries a value from the key_state enumeration.
64      </description>
65      <arg name="time" type="uint" summary="timestamp with millisecond granularity"/>
66      <arg name="key" type="uint" summary="key that produced the event"/>
67      <arg name="state" type="uint" summary="physical state of the key"/>
68    </request>
69
70    <request name="modifiers">
71      <description summary="modifier and group state">
72        Notifies the compositor that the modifier and/or group state has
73        changed, and it should update state.
74
75        The client should use wl_keyboard.modifiers event to synchronize its
76        internal state with seat state.
77
78        Keymap must be set before issuing this request.
79      </description>
80      <arg name="mods_depressed" type="uint" summary="depressed modifiers"/>
81      <arg name="mods_latched" type="uint" summary="latched modifiers"/>
82      <arg name="mods_locked" type="uint" summary="locked modifiers"/>
83      <arg name="group" type="uint" summary="keyboard layout"/>
84    </request>
85
86    <request name="destroy" type="destructor" since="1">
87      <description summary="destroy the virtual keyboard keyboard object"/>
88    </request>
89  </interface>
90
91  <interface name="zwp_virtual_keyboard_manager_v1" version="1">
92    <description summary="virtual keyboard manager">
93      A virtual keyboard manager allows an application to provide keyboard
94      input events as if they came from a physical keyboard.
95    </description>
96
97    <enum name="error">
98      <entry name="unauthorized" value="0" summary="client not authorized to use the interface"/>
99    </enum>
100
101    <request name="create_virtual_keyboard">
102      <description summary="Create a new virtual keyboard">
103        Creates a new virtual keyboard associated to a seat.
104
105        If the compositor enables a keyboard to perform arbitrary actions, it
106        should present an error when an untrusted client requests a new
107        keyboard.
108      </description>
109      <arg name="seat" type="object" interface="wl_seat"/>
110      <arg name="id" type="new_id" interface="zwp_virtual_keyboard_v1"/>
111    </request>
112  </interface>
113</protocol>

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 1

Tags 14

↑↓ moveenter openesc close