BLKsmith PRO
No Profile Loaded
BLKsmith // War Thunder Control Architect
Select or drag and drop your War Thunder .blk file to inspect, audit, and rebind hotkeys in a clean tactical interface.
100% Client-Side Parsing • Zero Cloud Storage Risks • Zero Mock Data
Table Lens Micro-Expansion: Click any entry to rebind in-place
0 Binds Active | Auto-Saved
Auto-threshold: ≥4 chords
Select Base Modifier Key
Or strike any key on your keyboard
KEY: NONE
Hover over any key or mouse button to inspect binding
Active Bindings 0 0 total keychords mapped
Action Coverage 0% 0 of 0 known actions
Modifier Saturation 0% 0 chords use Shift/Ctrl/Alt/Custom
Trigger Collisions 0 Shared trigger chords
Subsystem Action Density 8 Portals
Modifier Bus & Modality Breakdown Execution Layer
Trigger Collision & Multi-Action Auditor 0 Collisions
Trigger Chord Classification Assigned Actions
Modifier Layer Auto-Detection
Minimum Chord Threshold Number of key/mouse chords required for a physical key to automatically generate a dedicated layer tab (Default: 4).
chords
Local Storage & Session Cache
Clear Stored Profile & Cookies/Storage Erases cached .BLK text, hotkey bindings, and custom layer preferences from browser localStorage, returning to the landing portal.
Security & Engine Architecture
• Dagor Engine BLK Spec: controls.version:i=5
• Storage Security: 100% Client-Side In-Memory + Browser LocalStorage
• Content Security Policy: Strict self with Sandboxed Local Execution
• Target Domain: https://blksmith.happysecret.org
Tactical Deck
8 Subsystem Portals

Binds are isolated into 8 dedicated combat portals: Radar & Sensors, Air Weapons, Defense & Countermeasures, Flight Controls, Ground Forces, Helicopters & UAVs, Optics & MFDs, and Common UI. Filter instantly via the top category pills.

Table Lens Inline Micro-Expansion

Clicking any action row smoothly expands an inline capture tray in-place without opening modal popups or losing your scroll position. Rebind triggers or adjust modalities immediately.

Interactive Key & Mouse Capture

Click [ Strike Key Chord ] to enter capture mode. Press any keyboard key, multi-key chord (e.g. Ctrl + R), or click any mouse button (LMB, RMB, MMB, M4, M5). Use Clear to unbind an action.

Trigger Modalities & Bus Gauges

Toggle between 1x (Instant tap), 2x (Double-tap), and Hold (Long press). Real-time saturation gauges monitor your Base, Shift, Ctrl, and Alt bus utilization to prevent modifier overload.

Physical Matrix
104-Key ANSI Chassis & Mouse Hub

Features a physical 104-key visualizer (Main typing cluster, 2x3 Nav Island, and Numpad) alongside an interactive 5-button SVG Mouse Hub. Keycaps display their active assigned action, modifier bus color, and modality pips (2x or HLD).

Dynamic Modifier Layers & Auto-Detection

When a .blk is loaded, the engine tallies chord frequencies. Any key used in at least 4 chords (configurable) automatically generates a dedicated layer tab (e.g. [C] (5)) with live chord counters.

3 Ways to Create Custom Layers

1. Click + Add Layer and select any key from the ANSI dropdown.
2. Strike any physical key on your keyboard while the + Add Layer popup is open.
3. Double-click any physical keycap on the canvas to instantly create its layer.

Anchor Keys & Base Fallback Transparency

On any custom layer, the modifier root illuminates as an amber ★ ANCHOR. Keys with layer-specific chords display in solid blue, while unmapped keys show a dimmed dashed ▽ Base fallback for spatial reference.

Live Key Inspector Dock

Hover over any keycap or mouse button on the canvas to inspect its binding in the bottom dock. Displays the exact key label, full human-readable action title, internal Dagor action identifier (e.g. ID_SENSOR_TARGET_LOCK), and color-coded trigger badge.

Analytics & Stats
4 Tactical KPI Scorecards

Calculates Total Active Bindings, Action Coverage Percentage (percentage of known War Thunder combat actions configured), Modifier Saturation (percentage of binds using Shift/Ctrl/Alt/Custom chords), and True Trigger Collisions.

Subsystem Density & Bus Distribution

Live progress bars reveal configuration density across all 8 portals, alongside percentage breakdowns of Modifier Buses (Base, Shift, Ctrl, Alt, Custom, Mouse) and Execution Modalities (Normal 1x, Double-Tap 2x, Hold).

Domain Collision vs Safe Shared Trigger Auditor

The conflict table parses multi-bound triggers and evaluates vehicle domain safety:
SHARED: Safe key reuse across orthogonal vehicle domains (e.g. Space firing the Main Gun in Tanks and Dropping Bombs in Aircraft). No conflict occurs in-game.
CONFLICT: Hazardous collision where multiple actions fire simultaneously within the exact same vehicle envelope (e.g. Drop Bomb + Deploy Gear on the same chord).

Settings & Storage
Minimum Chord Threshold Tuning

Controls the chord sensitivity threshold (1 to 20 chords, default: 4). Sets how many times a key must be used in chords before BLKsmith automatically generates a dedicated layer tab. Changes update the layer bar immediately.

Clear Storage & Profile Reset

Clicking Clear Storage completely wipes cached .blk text, hotkey bindings, and custom layer preferences from browser localStorage, safely returning the interface to the initial clean landing portal.

Dagor .BLK Spec
Dagor Controls BLK Format (`version:i=5`)

The Dagor Engine serializes hotkeys inside hotkeys{} blocks using typed properties (:i= for integers). DirectInput hardware scan codes (DIK 1–255) and mouse button integers (0–4) are mapped with precision.

controls{ version:i=5 hotkeys{ ID_AAM{ keyboardKey:i=57 // Spacebar mouseButton:i=1 // RMB activationType:i=0 // Normal 1x } ID_SENSOR_MODES_SWITCH{ keyboardKey:i=46 // C (Modifier Anchor) keyboardKey:i=33 // F activationType:i=1 // Double-Tap [2x] } } }
Activation Types

0 (Normal 1x): Instant keydown tap.
1 (Double-Tap 2x): Rapid 2x press.
2 (Hold HLD): Continuous hold >500ms.

Mouse Button Codes

0: Left Click (LMB)
1: Right Click (RMB)
2: Middle Click (MMB)
3: Mouse 4 (Thumb Back)
4: Mouse 5 (Thumb Fwd)

In-Game Import Workflow

Click Export .BLK in BLKsmith. In War Thunder, open Controls, click the Import from File folder icon in the bottom-left corner, and select the exported file.

Privacy & Security
Pure Client-Side Sandboxing

BLKsmith executes 100% inside your browser's local sandbox. Zero telemetry tracking, zero remote database connections, zero third-party analytics, and zero cloud storage risks.

Content Security Policy (CSP)

Hardened with strict CSP meta directives locking down outbound network traffic. Control profiles remain strictly private on your local machine.