Deskflow 1.22.0.197
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
DirectionTypes.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) 2002 Chris Schoeneman
6 * SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
7 */
8
9#pragma once
10
11#include <cstdint>
31
40enum class DirectionMask
41{
43 LeftMask = 1 << static_cast<int>(Direction::Left),
44 RightMask = 1 << static_cast<int>(Direction::Right),
45 TopMask = 1 << static_cast<int>(Direction::Top),
46 BottomMask = 1 << static_cast<int>(Direction::Bottom)
47};
DirectionMask
Bitmask values for screen edge directions.
Definition DirectionTypes.h:41
@ RightMask
Right edge mask.
Definition DirectionTypes.h:44
@ BottomMask
Bottom edge mask.
Definition DirectionTypes.h:46
@ LeftMask
Left edge mask.
Definition DirectionTypes.h:43
@ TopMask
Top edge mask.
Definition DirectionTypes.h:45
@ NoDirMask
No direction mask.
Definition DirectionTypes.h:42
Direction
Screen edge directions for mouse movement.
Definition DirectionTypes.h:21
@ Bottom
Bottom edge of screen.
Definition DirectionTypes.h:26
@ LastDirection
Last valid direction value.
Definition DirectionTypes.h:28
@ NoDirection
No specific direction.
Definition DirectionTypes.h:22
@ Right
Right edge of screen.
Definition DirectionTypes.h:24
@ Left
Left edge of screen.
Definition DirectionTypes.h:23
@ Top
Top edge of screen.
Definition DirectionTypes.h:25
@ NumDirections
Total number of directions.
Definition DirectionTypes.h:29
@ FirstDirection
First valid direction value.
Definition DirectionTypes.h:27