Deskflow 1.22.0.197
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) 2012 - 2016 Symless Ltd.
4 * SPDX-FileCopyrightText: (C) 2003 Chris Schoeneman
5 * SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
6 */
7
8#pragma once
9
10#include "base/Event.h"
11#include "base/EventTypes.h"
12#include "common/IInterface.h"
13#include "deskflow/MouseTypes.h"
14
16
21{
22public:
24
25
27
30 virtual void fakeMouseButton(ButtonID id, bool press) = 0;
31
33
36 virtual void fakeMouseMove(int32_t x, int32_t y) = 0;
37
39
42 virtual void fakeMouseRelativeMove(int32_t dx, int32_t dy) const = 0;
43
45
48 virtual void fakeMouseWheel(int32_t xDelta, int32_t yDelta) const = 0;
49
51};
uint8_t ButtonID
Mouse button ID.
Definition MouseTypes.h:16
int y
Definition ServerConfig.cpp:27
int x
Definition ServerConfig.cpp:26
Base class of interfaces.
Definition IInterface.h:18
Secondary screen interface.
Definition ISecondaryScreen.h:21
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.