Deskflow 1.24.0.365
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
OptionTypes.h File Reference
#include <cstdint>
#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>

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")
Screen switch corner masks
static const auto s_noCornerMask = 0
static const auto s_topLeftCornerMask = 1 << 0
static const auto s_topRightCornerMask = 1 << 1
static const auto s_bottomLeftCornerMask = 1 << 2
static const auto s_bottomRightCornerMask = 1 << 3
static const auto s_allCornersMask = 1 << 0 | 1 << 1 | 1 << 2 | 1 << 3

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.

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

◆ s_allCornersMask

const auto s_allCornersMask = 1 << 0 | 1 << 1 | 1 << 2 | 1 << 3
inlinestatic

◆ s_bottomLeftCornerMask

const auto s_bottomLeftCornerMask = 1 << 2
inlinestatic

◆ s_bottomRightCornerMask

const auto s_bottomRightCornerMask = 1 << 3
inlinestatic

◆ s_noCornerMask

const auto s_noCornerMask = 0
inlinestatic

◆ s_topLeftCornerMask

const auto s_topLeftCornerMask = 1 << 0
inlinestatic

◆ s_topRightCornerMask

const auto s_topRightCornerMask = 1 << 1
inlinestatic