class
CArcInputSettings
- Module
- Arc
- Header
#include "Arc/Input/CArcInputSettings.h"- Namespace
Arcf
Properties
| Type | Name | Description |
|---|---|---|
static constexpr uint32_t | kDefaultDoubleClickTimeMs | Default 500. |
static constexpr uint32_t | kDefaultCaretBlinkTimeMs | Default 530. |
Constructors
| Signature | Name | Description |
|---|---|---|
CArcInputSettings() = delete | CArcInputSettings |
Public functions
| Returns | Name | Description |
|---|---|---|
uint32_t | GetDoubleClickTimeMs | |
void | SetDoubleClickTimeMs | |
uint32_t | GetCaretBlinkTimeMs | How long a text caret stays on, then off, in milliseconds. |
void | SetCaretBlinkTimeMs | |
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. |
void | SetCommandKeyIsPrimary | |
bool | IsPrimaryDown | Ctrl, or Cmd on macOS — copy, paste, cut, undo, select all. |
bool | IsWordJumpDown | Ctrl, or Option on macOS — move and delete by word. |
bool | IsLineJumpDown | Cmd on macOS — Left/Right to the line ends. |
bool | IsCommandModifier | Whether a modifier set makes a key press a command rather than typing. |
EModifierKey | ToBindingModifiers | 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. |
Function details
CArcInputSettings
C++
CArcInputSettings() = deleteGetDoubleClickTimeMs
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