Deskflow 1.26.0.0
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
DirectionTypes.h File Reference
#include <cstdint>
Include dependency graph for DirectionTypes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum class  Direction : uint8_t {
  NoDirection , Left , Right , Top ,
  Bottom , FirstDirection = Direction::Left , LastDirection = Direction::Bottom , NumDirections = Direction::LastDirection - Direction::FirstDirection + 1
}
 Computer edge directions for mouse movement. More...
enum class  DirectionMask {
  NoDirMask = 0 , LeftMask = 1 << static_cast<int>(Direction::Left) , RightMask = 1 << static_cast<int>(Direction::Right) , TopMask = 1 << static_cast<int>(Direction::Top) ,
  BottomMask = 1 << static_cast<int>(Direction::Bottom)
}
 Bitmask values for screen edge directions. More...

Enumeration Type Documentation

◆ Direction

enum class Direction : uint8_t
strong

Computer edge directions for mouse movement.

Used to specify which edge of a computer the mouse cursor crosses when moving between primary and secondary computers.

Since
Protocol version 1.0
Enumerator
NoDirection 

No specific direction.

Left 

Left edge of computer.

Right 

Right edge of computer.

Top 

Top edge of computer.

Bottom 

Bottom edge of computer.

FirstDirection 

First valid direction value.

LastDirection 

Last valid direction value.

NumDirections 

Total number of directions.

◆ DirectionMask

enum class DirectionMask
strong

Bitmask values for screen edge directions.

Used to create bitmasks representing multiple screen edges. Useful for configuration and edge detection.

Since
Protocol version 1.0
Enumerator
NoDirMask 

No direction mask.

LeftMask 

Left edge mask.

RightMask 

Right edge mask.

TopMask 

Top edge mask.

BottomMask 

Bottom edge mask.