DDF.TECHNOLOGY

PortfolioKey Layout Decoder

GitHub downloads
PortfolioDesktop & Developer Tools
MIT / FREE Windows x64 v1.0.0

Key Layout Decoder

A tiny portable utility that reconstructs readable Unicode text from an existing keyboard-event log, interpreting physical scan codes with the Windows layout declared by the file.

It does not record keystrokes, install hooks or contact external services: conversion happens entirely on the local computer.

Workflow from keyboard-event log and Windows layout to converted UTF-8 text
Deterministic local conversion
01

// Workflow

Drag, decode, read

  1. 01layout=XXXXXXXX
    vk + scan + down/up
    Provide a supported event log
  2. 02Win32 layout engineMap physical scan codes with modifiers
  3. 03<name>_converted.txtWrite UTF-8 text beside the original
02

// Decoder

What the utility actually reconstructs

Keyboard state

  • Shift, Ctrl, Alt, AltGr, Caps Lock
  • Dead keys and accented characters
  • Layout-specific letters and symbols
  • Enter, Tab, Backspace

File handling

  • One or multiple files via drag and drop
  • Optional quiet mode for scripts
  • Original input left untouched
  • UTF-8 output with BOM and Windows line endings
03

// Input contract

A small, explicit text format

ElementExampleMeaning
First linelayout=00000410Installed Windows keyboard layout
Key pressvk=0x43 scan=0x02E downProduces text or updates a modifier
Key releasevk=0x43 scan=0x02E upUpdates keyboard state
Malformed eventignoredDoes not stop the remaining conversion
04

// Boundaries

Documented limits, without hidden behaviour

Installed layouts

The layout identifier in the log must exist on the Windows computer performing the conversion.

Initial toggle state

Caps Lock, Num Lock and Scroll Lock are assumed to be off because the input format does not store their initial state.

Extended flag

The E0/E1 flag is absent; recorded virtual keys compensate for Enter and numeric-keypad events.

Existing output

An existing file with the generated name is overwritten. Keep backups of any important result.

05

// Release & licence

Portable, inspectable and free

Offline by design

No network, telemetry, account, service or background keyboard capture.

MIT License

Source and documentation may be used, modified and redistributed under MIT terms while preserving the notice.

No third-party runtime

A statically linked C executable that depends only on standard Windows system APIs.

Unsigned build

Windows may display a reputation warning. The public release will include a SHA-256 checksum.