Files
sp00nz c997311cad Follow-up to #203: both Shifts up on a VK_SHIFT key-up; NEAR is windef's
With both Shift keys held Windows sends a key-up only for the last one
released, so a binding naming lshift or rshift could stay held. The
input_map test's NEAR macro collided with windef.h (C4005).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 06:24:26 -07:00
..

Input mapping fixture

See the mapping section of src/input/README.md. Build this directory directly with CMake and run CTest; no root runtime/SDL configuration is required. Explicit C checks execute in Release even under NDEBUG; a C++ consumer verifies extern-C linkage and the actual mapping target.

Coverage: key names/aliases and their virtual-key codes (written out independently of the module), binding strings saved by the first version of this module, binding parse/format/clear/duplicates/limits, keyboard resolution and both diagonal rules, whole-vector merging, mapping/disabled or swapped sticks, deadzones, triggers, immutable names, long binding text, malformed counts/codes and range/roundtrip properties. Fixtures have no device, game data, save files or guest code dependencies.