2 * SPDX-License-Identifier: GPL-2.0-or-later
4 * This work is licensed under the terms of the GNU GPL, version 2 or later.
5 * See the COPYING file in the top-level directory.
8 #ifndef UI_INPUT_BARRIER_H
9 #define UI_INPUT_BARRIER_H
11 /* Barrier protocol */
12 #define BARRIER_VERSION_MAJOR 1
13 #define BARRIER_VERSION_MINOR 6
21 barrierCmdCScreenSaver,
22 barrierCmdCResetOptions,
31 barrierCmdDMouseRelMove,
32 barrierCmdDMouseWheel,
35 barrierCmdDSetOptions,
36 barrierCmdDFileTransfer,
39 barrierCmdEIncompatible,
43 /* connection sequence */
56 struct barrierVersion {
61 struct barrierMouseButton {
72 struct barrierMousePos {
83 struct barrierRepeat {
90 #define BARRIER_MAX_OPTIONS 32
97 } option[BARRIER_MAX_OPTIONS];
103 struct barrierVersion version;
104 struct barrierMouseButton mousebutton;
105 struct barrierMousePos mousepos;
106 struct barrierEnter enter;
107 struct barrierKey key;
108 struct barrierRepeat repeat;
109 struct barrierSet set;