Input keymap 0.6
Schema reference / Input keymap / 0.6
Keymap v2: per-mode actions with up to three bindings each, hold timing and capture limits. Directory versions follow the IPC revision that introduced them.
Raw schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://hyprune.com/schema/v0.6/input.schema.json", "title": "Hyprune input keymap v2", "type": "object", "properties": { "version": { "const": 2 }, "longHoldMs": { "type": "integer", "minimum": 100, "maximum": 5000 }, "scopeVignette": { "type": "boolean" }, "useDistance": { "type": "number", "minimum": 0.2, "maximum": 30 }, "useTolerance": { "type": "number", "minimum": 0, "maximum": 0.5 }, "captureInputLimit": { "type": "integer", "minimum": 16, "maximum": 1024 }, "modes": { "type": "object", "properties": { "world": { "type": "object", "properties": { "look": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 96 }, "maxItems": 3, "uniqueItems": true }, "forward": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 96 }, "maxItems": 3, "uniqueItems": true }, "back": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 96 }, "maxItems": 3, "uniqueItems": true }, "left": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 96 }, "maxItems": 3, "uniqueItems": true }, "right": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 96 }, "maxItems": 3, "uniqueItems": true }, "menu": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 96 }, "maxItems": 3, "uniqueItems": true }, "sprint": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 96 }, "maxItems": 3, "uniqueItems": true }, "up": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 96 }, "maxItems": 3, "uniqueItems": true }, "down": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 96 }, "maxItems": 3, "uniqueItems": true }, "use": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 96 }, "maxItems": 3, "uniqueItems": true }, "focus": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 96 }, "maxItems": 3, "uniqueItems": true }, "noclip": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 96 }, "maxItems": 3, "uniqueItems": true }, "scope": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 96 }, "maxItems": 3, "uniqueItems": true }, "debug": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 96 }, "maxItems": 3, "uniqueItems": true }, "capture": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 96 }, "maxItems": 3, "uniqueItems": true }, "carry": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 96 }, "maxItems": 3, "uniqueItems": true }, "resize": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 96 }, "maxItems": 3, "uniqueItems": true }, "distance": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 96 }, "maxItems": 3, "uniqueItems": true }, "rotate": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 96 }, "maxItems": 3, "uniqueItems": true }, "tool1": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 96 }, "maxItems": 3, "uniqueItems": true }, "tool2": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 96 }, "maxItems": 3, "uniqueItems": true }, "tool3": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 96 }, "maxItems": 3, "uniqueItems": true }, "tool4": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 96 }, "maxItems": 3, "uniqueItems": true }, "tool5": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 96 }, "maxItems": 3, "uniqueItems": true }, "transport": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 96 }, "maxItems": 3, "uniqueItems": true }, "autopilot": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 96 }, "maxItems": 3, "uniqueItems": true }, "primary": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 96 }, "maxItems": 3, "uniqueItems": true }, "secondary": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 96 }, "maxItems": 3, "uniqueItems": true }, "wheel": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 96 }, "maxItems": 3, "uniqueItems": true }, "fly": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 96 }, "maxItems": 3, "uniqueItems": true } }, "required": [ "look", "forward", "back", "left", "right", "menu", "sprint", "up", "down", "use", "focus", "noclip", "scope", "debug", "capture", "carry", "resize", "distance", "rotate", "tool1", "tool2", "tool3", "tool4", "tool5", "transport", "autopilot", "primary", "secondary", "wheel", "fly" ], "additionalProperties": false }, "interactive": { "type": "object", "properties": { "exit": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 96 }, "maxItems": 3, "uniqueItems": true }, "debug": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 96 }, "maxItems": 3, "uniqueItems": true }, "capture": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 96 }, "maxItems": 3, "uniqueItems": true } }, "required": [ "exit" ], "additionalProperties": false }, "focus": { "type": "object", "properties": { "exit": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 96 }, "maxItems": 3, "uniqueItems": true }, "debug": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 96 }, "maxItems": 3, "uniqueItems": true }, "capture": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 96 }, "maxItems": 3, "uniqueItems": true } }, "required": [ "exit" ], "additionalProperties": false }, "menu": { "type": "object", "properties": { "exit": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 96 }, "maxItems": 3, "uniqueItems": true }, "debug": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 96 }, "maxItems": 3, "uniqueItems": true }, "capture": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 96 }, "maxItems": 3, "uniqueItems": true } }, "required": [ "exit" ], "additionalProperties": false } }, "required": [ "world", "interactive", "focus", "menu" ], "additionalProperties": false }, "invert_y": { "type": "boolean", "description": "Invert vertical mouse look; default false." }, "show_area_markers": { "type": "boolean", "description": "Render optional place/area labels in core; default false." } }, "required": [ "version", "longHoldMs", "scopeVignette", "useDistance", "useTolerance", "captureInputLimit", "modes" ], "additionalProperties": false}This is the first published version of this contract.
Fields
| Field | Type | Constraints |
|---|---|---|
versionrequired | 2 | |
longHoldMsrequired | integer | ≥ 100 · ≤ 5000 |
scopeVignetterequired | boolean | |
useDistancerequired | number | ≥ 0.2 · ≤ 30 |
useTolerancerequired | number | ≥ 0 · ≤ 0.5 |
captureInputLimitrequired | integer | ≥ 16 · ≤ 1024 |
modesrequired | object | |
worldrequired | object | |
lookrequired | string[] | items ≤ 3 · unique items · each length 1–96 |
forwardrequired | string[] | items ≤ 3 · unique items · each length 1–96 |
backrequired | string[] | items ≤ 3 · unique items · each length 1–96 |
leftrequired | string[] | items ≤ 3 · unique items · each length 1–96 |
rightrequired | string[] | items ≤ 3 · unique items · each length 1–96 |
menurequired | string[] | items ≤ 3 · unique items · each length 1–96 |
sprintrequired | string[] | items ≤ 3 · unique items · each length 1–96 |
uprequired | string[] | items ≤ 3 · unique items · each length 1–96 |
downrequired | string[] | items ≤ 3 · unique items · each length 1–96 |
userequired | string[] | items ≤ 3 · unique items · each length 1–96 |
focusrequired | string[] | items ≤ 3 · unique items · each length 1–96 |
nocliprequired | string[] | items ≤ 3 · unique items · each length 1–96 |
scoperequired | string[] | items ≤ 3 · unique items · each length 1–96 |
debugrequired | string[] | items ≤ 3 · unique items · each length 1–96 |
capturerequired | string[] | items ≤ 3 · unique items · each length 1–96 |
carryrequired | string[] | items ≤ 3 · unique items · each length 1–96 |
resizerequired | string[] | items ≤ 3 · unique items · each length 1–96 |
distancerequired | string[] | items ≤ 3 · unique items · each length 1–96 |
rotaterequired | string[] | items ≤ 3 · unique items · each length 1–96 |
tool1required | string[] | items ≤ 3 · unique items · each length 1–96 |
tool2required | string[] | items ≤ 3 · unique items · each length 1–96 |
tool3required | string[] | items ≤ 3 · unique items · each length 1–96 |
tool4required | string[] | items ≤ 3 · unique items · each length 1–96 |
tool5required | string[] | items ≤ 3 · unique items · each length 1–96 |
transportrequired | string[] | items ≤ 3 · unique items · each length 1–96 |
autopilotrequired | string[] | items ≤ 3 · unique items · each length 1–96 |
primaryrequired | string[] | items ≤ 3 · unique items · each length 1–96 |
secondaryrequired | string[] | items ≤ 3 · unique items · each length 1–96 |
wheelrequired | string[] | items ≤ 3 · unique items · each length 1–96 |
flyrequired | string[] | items ≤ 3 · unique items · each length 1–96 |
interactiverequired | object | |
exitrequired | string[] | items ≤ 3 · unique items · each length 1–96 |
debug | string[] | items ≤ 3 · unique items · each length 1–96 |
capture | string[] | items ≤ 3 · unique items · each length 1–96 |
focusrequired | object | |
exitrequired | string[] | items ≤ 3 · unique items · each length 1–96 |
debug | string[] | items ≤ 3 · unique items · each length 1–96 |
capture | string[] | items ≤ 3 · unique items · each length 1–96 |
menurequired | object | |
exitrequired | string[] | items ≤ 3 · unique items · each length 1–96 |
debug | string[] | items ≤ 3 · unique items · each length 1–96 |
capture | string[] | items ≤ 3 · unique items · each length 1–96 |
invert_y | boolean | Invert vertical mouse look; default false. |
show_area_markers | boolean | Render optional place/area labels in core; default false. |
Mirrored byte-for-byte from hyprune/schema at 34849da45183 (2026-10-15). SHA-256 41193bad62d8b977a781c015614781a76caff25a67aecdc7927e7e6575957fca.