Deskflow 1.22.0.197
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
OptionTypes.h File Reference
#include "base/EventTypes.h"
#include <vector>
Include dependency graph for OptionTypes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define OPTION_CODE(_s)

Typedefs

using OptionID = uint32_t
 Option ID.
using OptionValue = int32_t
 Option Value.
using OptionsList = std::vector<uint32_t>

Enumerations

Screen switch corner enumeration
enum  EScreenSwitchCorners {
  kNoCorner , kTopLeft , kTopRight , kBottomLeft ,
  kBottomRight , kFirstCorner = kTopLeft , kLastCorner = kBottomRight
}
Screen switch corner masks
enum  EScreenSwitchCornerMasks {
  kNoCornerMask = 0 , kTopLeftMask = 1 << (kTopLeft - kFirstCorner) , kTopRightMask = 1 << (kTopRight - kFirstCorner) , kBottomLeftMask = 1 << (kBottomLeft - kFirstCorner) ,
  kBottomRightMask = 1 << (kBottomRight - kFirstCorner) , kAllCornersMask = kTopLeftMask | kTopRightMask | kBottomLeftMask | kBottomRightMask
}
Network protocol
enum class  ENetworkProtocol { kSynergy , kBarrier }

Variables

Option identifiers
static const OptionID kOptionHalfDuplexCapsLock = OPTION_CODE("HDCL")
static const OptionID kOptionHalfDuplexNumLock = OPTION_CODE("HDNL")
static const OptionID kOptionHalfDuplexScrollLock = OPTION_CODE("HDSL")
static const OptionID kOptionModifierMapForShift = OPTION_CODE("MMFS")
static const OptionID kOptionModifierMapForControl = OPTION_CODE("MMFC")
static const OptionID kOptionModifierMapForAlt = OPTION_CODE("MMFA")
static const OptionID kOptionModifierMapForAltGr = OPTION_CODE("MMFG")
static const OptionID kOptionModifierMapForMeta = OPTION_CODE("MMFM")
static const OptionID kOptionModifierMapForSuper = OPTION_CODE("MMFR")
static const OptionID kOptionHeartbeat = OPTION_CODE("HART")
static const OptionID kOptionProtocol = OPTION_CODE("PROT")
static const OptionID kOptionScreenSwitchCorners = OPTION_CODE("SSCM")
static const OptionID kOptionScreenSwitchCornerSize = OPTION_CODE("SSCS")
static const OptionID kOptionScreenSwitchDelay = OPTION_CODE("SSWT")
static const OptionID kOptionScreenSwitchTwoTap = OPTION_CODE("SSTT")
static const OptionID kOptionScreenSwitchNeedsShift = OPTION_CODE("SSNS")
static const OptionID kOptionScreenSwitchNeedsControl = OPTION_CODE("SSNC")
static const OptionID kOptionScreenSwitchNeedsAlt = OPTION_CODE("SSNA")
static const OptionID kOptionXTestXineramaUnaware = OPTION_CODE("XTXU")
static const OptionID kOptionScreenPreserveFocus = OPTION_CODE("SFOC")
static const OptionID kOptionRelativeMouseMoves = OPTION_CODE("MDLT")
static const OptionID kOptionWin32KeepForeground = OPTION_CODE("_KFW")
static const OptionID kOptionDisableLockToScreen = OPTION_CODE("DLTS")
static const OptionID kOptionClipboardSharing = OPTION_CODE("CLPS")
static const OptionID kOptionClipboardSharingSize = OPTION_CODE("CLSZ")

Macro Definition Documentation

◆ OPTION_CODE

#define OPTION_CODE ( _s)
Value:
(static_cast<uint32_t>(static_cast<unsigned char>(_s[0]) << 24) | \
static_cast<uint32_t>(static_cast<unsigned char>(_s[1]) << 16) | \
static_cast<uint32_t>(static_cast<unsigned char>(_s[2]) << 8) | \
static_cast<uint32_t>(static_cast<unsigned char>(_s[3])))

Typedef Documentation

◆ OptionID

using OptionID = uint32_t

Option ID.

Type to hold an option identifier.

◆ OptionsList

using OptionsList = std::vector<uint32_t>

◆ OptionValue

using OptionValue = int32_t

Option Value.

Type to hold an option value.

Enumeration Type Documentation

◆ ENetworkProtocol

enum class ENetworkProtocol
strong
Enumerator
kSynergy 
kBarrier 

◆ EScreenSwitchCornerMasks

Enumerator
kNoCornerMask 
kTopLeftMask 
kTopRightMask 
kBottomLeftMask 
kBottomRightMask 
kAllCornersMask 

◆ EScreenSwitchCorners

Enumerator
kNoCorner 
kTopLeft 
kTopRight 
kBottomLeft 
kBottomRight 
kFirstCorner 
kLastCorner 

Variable Documentation

◆ kOptionClipboardSharing

const OptionID kOptionClipboardSharing = OPTION_CODE("CLPS")
static

◆ kOptionClipboardSharingSize

const OptionID kOptionClipboardSharingSize = OPTION_CODE("CLSZ")
static

◆ kOptionDisableLockToScreen

const OptionID kOptionDisableLockToScreen = OPTION_CODE("DLTS")
static

◆ kOptionHalfDuplexCapsLock

const OptionID kOptionHalfDuplexCapsLock = OPTION_CODE("HDCL")
static

◆ kOptionHalfDuplexNumLock

const OptionID kOptionHalfDuplexNumLock = OPTION_CODE("HDNL")
static

◆ kOptionHalfDuplexScrollLock

const OptionID kOptionHalfDuplexScrollLock = OPTION_CODE("HDSL")
static

◆ kOptionHeartbeat

const OptionID kOptionHeartbeat = OPTION_CODE("HART")
static

◆ kOptionModifierMapForAlt

const OptionID kOptionModifierMapForAlt = OPTION_CODE("MMFA")
static

◆ kOptionModifierMapForAltGr

const OptionID kOptionModifierMapForAltGr = OPTION_CODE("MMFG")
static

◆ kOptionModifierMapForControl

const OptionID kOptionModifierMapForControl = OPTION_CODE("MMFC")
static

◆ kOptionModifierMapForMeta

const OptionID kOptionModifierMapForMeta = OPTION_CODE("MMFM")
static

◆ kOptionModifierMapForShift

const OptionID kOptionModifierMapForShift = OPTION_CODE("MMFS")
static

◆ kOptionModifierMapForSuper

const OptionID kOptionModifierMapForSuper = OPTION_CODE("MMFR")
static

◆ kOptionProtocol

const OptionID kOptionProtocol = OPTION_CODE("PROT")
static

◆ kOptionRelativeMouseMoves

const OptionID kOptionRelativeMouseMoves = OPTION_CODE("MDLT")
static

◆ kOptionScreenPreserveFocus

const OptionID kOptionScreenPreserveFocus = OPTION_CODE("SFOC")
static

◆ kOptionScreenSwitchCorners

const OptionID kOptionScreenSwitchCorners = OPTION_CODE("SSCM")
static

◆ kOptionScreenSwitchCornerSize

const OptionID kOptionScreenSwitchCornerSize = OPTION_CODE("SSCS")
static

◆ kOptionScreenSwitchDelay

const OptionID kOptionScreenSwitchDelay = OPTION_CODE("SSWT")
static

◆ kOptionScreenSwitchNeedsAlt

const OptionID kOptionScreenSwitchNeedsAlt = OPTION_CODE("SSNA")
static

◆ kOptionScreenSwitchNeedsControl

const OptionID kOptionScreenSwitchNeedsControl = OPTION_CODE("SSNC")
static

◆ kOptionScreenSwitchNeedsShift

const OptionID kOptionScreenSwitchNeedsShift = OPTION_CODE("SSNS")
static

◆ kOptionScreenSwitchTwoTap

const OptionID kOptionScreenSwitchTwoTap = OPTION_CODE("SSTT")
static

◆ kOptionWin32KeepForeground

const OptionID kOptionWin32KeepForeground = OPTION_CODE("_KFW")
static

◆ kOptionXTestXineramaUnaware

const OptionID kOptionXTestXineramaUnaware = OPTION_CODE("XTXU")
static