Deskflow 1.24.0.365
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>
12
32
41enum class DirectionMask
42{
44 LeftMask = 1 << static_cast<int>(Direction::Left),
45 RightMask = 1 << static_cast<int>(Direction::Right),
46 TopMask = 1 << static_cast<int>(Direction::Top),
47 BottomMask = 1 << static_cast<int>(Direction::Bottom)
48};
DirectionMask
Bitmask values for screen edge directions.
Definition DirectionTypes.h:42
@ RightMask
Right edge mask.
Definition DirectionTypes.h:45
@ BottomMask
Bottom edge mask.
Definition DirectionTypes.h:47
@ LeftMask
Left edge mask.
Definition DirectionTypes.h:44
@ TopMask
Top edge mask.
Definition DirectionTypes.h:46
@ NoDirMask
No direction mask.
Definition DirectionTypes.h:43
Direction
Screen edge directions for mouse movement.
Definition DirectionTypes.h:22
@ Bottom
Bottom edge of screen.
Definition DirectionTypes.h:27
@ LastDirection
Last valid direction value.
Definition DirectionTypes.h:29
@ NoDirection
No specific direction.
Definition DirectionTypes.h:23
@ Right
Right edge of screen.
Definition DirectionTypes.h:25
@ Left
Left edge of screen.
Definition DirectionTypes.h:24
@ Top
Top edge of screen.
Definition DirectionTypes.h:26
@ NumDirections
Total number of directions.
Definition DirectionTypes.h:30
@ FirstDirection
First valid direction value.
Definition DirectionTypes.h:28