class

CArcInputSettings

Module
Arc
Header
#include "Arc/Input/CArcInputSettings.h"
Namespace
Arcf

Properties

TypeNameDescription
static constexpr uint32_tkDefaultDoubleClickTimeMsDefault 500.
static constexpr uint32_tkDefaultCaretBlinkTimeMsDefault 530.

Constructors

SignatureNameDescription
CArcInputSettings() = deleteCArcInputSettings

Public functions

ReturnsNameDescription
uint32_tGetDoubleClickTimeMs
voidSetDoubleClickTimeMs
uint32_tGetCaretBlinkTimeMsHow long a text caret stays on, then off, in milliseconds.
voidSetCaretBlinkTimeMs
boolCommandKeyIsPrimarymacOS: Cmd is the shortcut modifier, Option types characters (a German layout's Option+L is '@'), Option+Arrow jumps words and Cmd+Arrow jumps to the line ends.
voidSetCommandKeyIsPrimary
boolIsPrimaryDownCtrl, or Cmd on macOS — copy, paste, cut, undo, select all.
boolIsWordJumpDownCtrl, or Option on macOS — move and delete by word.
boolIsLineJumpDownCmd on macOS — Left/Right to the line ends.
boolIsCommandModifierWhether a modifier set makes a key press a command rather than typing.
EModifierKeyToBindingModifiersBindings are authored with Ctrl ("Ctrl+S"); on macOS the physical Cmd must match them, so the two bits trade places before a chord is looked up or displayed.

Function details

CArcInputSettings

C++
CArcInputSettings() = delete

GetDoubleClickTimeMs

C++
static uint32_t GetDoubleClickTimeMs()

SetDoubleClickTimeMs

C++
static void SetDoubleClickTimeMs(uint32_t milliseconds)

GetCaretBlinkTimeMs

C++
static uint32_t GetCaretBlinkTimeMs()

How long a text caret stays on, then off, in milliseconds. Zero means the user turned blinking off and the caret stays solid.

SetCaretBlinkTimeMs

C++
static void SetCaretBlinkTimeMs(uint32_t milliseconds)

CommandKeyIsPrimary

C++
static bool CommandKeyIsPrimary()

macOS: Cmd is the shortcut modifier, Option types characters (a German layout's Option+L is '@'), Option+Arrow jumps words and Cmd+Arrow jumps to the line ends.

SetCommandKeyIsPrimary

C++
static void SetCommandKeyIsPrimary(bool commandIsPrimary)

IsPrimaryDown

C++
static bool IsPrimaryDown(EModifierKey modifiers)

Ctrl, or Cmd on macOS — copy, paste, cut, undo, select all.

IsWordJumpDown

C++
static bool IsWordJumpDown(EModifierKey modifiers)

Ctrl, or Option on macOS — move and delete by word.

IsLineJumpDown

C++
static bool IsLineJumpDown(EModifierKey modifiers)

Cmd on macOS — Left/Right to the line ends. Never elsewhere.

IsCommandModifier

C++
static bool IsCommandModifier(EModifierKey modifiers)

Whether a modifier set makes a key press a command rather than typing. AltGr (Ctrl+Alt) types everywhere; Option alone types on macOS.

ToBindingModifiers

C++
static EModifierKey ToBindingModifiers(EModifierKey modifiers)

Bindings are authored with Ctrl ("Ctrl+S"); on macOS the physical Cmd must match them, so the two bits trade places before a chord is looked up or displayed.

Generated from Arc/Input/CArcInputSettings.h via arc.json · Nov 5, 2026Version 1.0.0