← All projects
Project record01 mention
Originally shared on Hacker News

Minimal X11 keycode/state printer

A minimal X11 application that prints the modifier state and keycode whenever a key is pressed, distilled from the st terminal and finally rebuilt from a minimal Rosetta Code window-creation example.

Last shared
01 / The problem

What it addresses

The author needed the state for special function keys like Alt-GR but didn't want to search the web for it.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Minimal X11 keycode/state printer

    A minimal X11 application that prints the modifier state and keycode whenever a key is pressed, distilled from the st terminal and finally rebuilt from a minimal Rosetta Code window-creation example.

    Problem: The author needed the state for special function keys like Alt-GR but didn't want to search the web for it.

    Posted by @FattiMei · Original comment ↗

    “A minimal X11 application that prints state and keycode on key press. I needed the state for special function keys like Alt-GR, but I didn't want to search the web for it.”