Deskflow 1.27.0.5
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 kOptionComputerSwitchCorners = OPTION_CODE("SSCM")
static const OptionID kOptionComputerSwitchCornerSize = OPTION_CODE("SSCS")
static const OptionID kOptionComputerSwitchDelay = OPTION_CODE("SSWT")
static const OptionID kOptionComputerSwitchTwoTap = OPTION_CODE("SSTT")
static const OptionID kOptionXTestXineramaUnaware = OPTION_CODE("XTXU")
static const OptionID kOptionComputerX11WeakFocus = OPTION_CODE("SFOC")
static const OptionID kOptionRelativeMouseMoves = OPTION_CODE("MDLT")
static const OptionID kOptionWin32KeepForeground = OPTION_CODE("_KFW")
static const OptionID kOptionDefaultLockToComputerState = OPTION_CODE("LTSS")
static const OptionID kOptionDisableLockToComputer = OPTION_CODE("DLTS")
static const OptionID kOptionClipboardSharing = OPTION_CODE("CLPS")
static const OptionID kOptionClipboardSharingSize = OPTION_CODE("CLSZ")
Computer 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

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

◆ kOptionComputerSwitchCorners

const OptionID kOptionComputerSwitchCorners = OPTION_CODE("SSCM")
static

◆ kOptionComputerSwitchCornerSize

const OptionID kOptionComputerSwitchCornerSize = OPTION_CODE("SSCS")
static

◆ kOptionComputerSwitchDelay

const OptionID kOptionComputerSwitchDelay = OPTION_CODE("SSWT")
static

◆ kOptionComputerSwitchTwoTap

const OptionID kOptionComputerSwitchTwoTap = OPTION_CODE("SSTT")
static

◆ kOptionComputerX11WeakFocus

const OptionID kOptionComputerX11WeakFocus = OPTION_CODE("SFOC")
static

◆ kOptionDefaultLockToComputerState

const OptionID kOptionDefaultLockToComputerState = OPTION_CODE("LTSS")
static

◆ kOptionDisableLockToComputer

const OptionID kOptionDisableLockToComputer = 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

◆ kOptionRelativeMouseMoves

const OptionID kOptionRelativeMouseMoves = OPTION_CODE("MDLT")
static

◆ kOptionWin32KeepForeground

const OptionID kOptionWin32KeepForeground = OPTION_CODE("_KFW")
static

◆ kOptionXTestXineramaUnaware

const OptionID kOptionXTestXineramaUnaware = OPTION_CODE("XTXU")
static

◆ 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