Deskflow 1.24.0.365
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
ISecondaryScreen.h
Go to the documentation of this file.
1/*
2 * Deskflow -- mouse and keyboard sharing utility
3 * SPDX-FileCopyrightText: (C) 2025 Deskflow Developers
4 * SPDX-FileCopyrightText: (C) 2012 - 2016 Symless Ltd.
5 * SPDX-FileCopyrightText: (C) 2003 Chris Schoeneman
6 * SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
7 */
8
9#pragma once
10
11#include "deskflow/MouseTypes.h"
12
14
19{
20public:
21 virtual ~ISecondaryScreen() = default;
23
24
26
29 virtual void fakeMouseButton(ButtonID id, bool press) = 0;
30
32
35 virtual void fakeMouseMove(int32_t x, int32_t y) = 0;
36
38
41 virtual void fakeMouseRelativeMove(int32_t dx, int32_t dy) const = 0;
42
44
47 virtual void fakeMouseWheel(int32_t xDelta, int32_t yDelta) const = 0;
48
50};
uint8_t ButtonID
Mouse button ID.
Definition MouseTypes.h:16
int y
Definition ServerConfig.cpp:25
int x
Definition ServerConfig.cpp:24
Secondary screen interface.
Definition ISecondaryScreen.h:19
virtual ~ISecondaryScreen()=default
virtual void fakeMouseWheel(int32_t xDelta, int32_t yDelta) const =0
Fake mouse wheel.
virtual void fakeMouseRelativeMove(int32_t dx, int32_t dy) const =0
Fake mouse move.
virtual void fakeMouseButton(ButtonID id, bool press)=0
Fake mouse press/release.
virtual void fakeMouseMove(int32_t x, int32_t y)=0
Fake mouse move.