winzik/engine/tests/Input
Repository files (latest commit first)
Filename Latest commit message Latest commit date
David Nurdin b05cdc82e3 JumPHP 0.5.52: physical keys in the browser (Keyboard::physicalHeld())
Keyboard::physicalHeld() and physicalPressed(): the physical keys as SDL
scancodes (where the key is, whatever the layout), what a remote console
(VNC / QEMU) needs so the remote machine applies its own layout. Desktop:
SDL's keyboard state. Browser: SDL's emscripten port makes its scancodes from
the character (AZERTY's "a" key came out as A), so the page sends
KeyboardEvent.code itself (jumphp-device.js, JsBridge 'physkey');
physicalPressed() keeps a quick tap that went down and up between two frames.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-11 05:51:35 +01:00
..
GamepadTest.php Web APIs: WebGL, page lifecycle, phone features, async HTTP, PWA, gamepads 2026-10-28 09:58:52 +01:00
InputRecorderTest.php Video maker: captions over any game (engine-drawn, JUMPHP_CAPTIONS), the input recorder sees taps shorter than a frame; Captions moved to the engine (JumPHP 0.5.9) 2026-11-05 03:09:26 +01:00
KeyboardModifiersTest.php Engine 0.5.19: Ctrl / Shift remembered at each key (Ctrl+Backspace deletes a word on a quick tap too), game test of the real keyboard path 2026-11-06 15:02:26 +01:00
PhysicalKeysTest.php JumPHP 0.5.52: physical keys in the browser (Keyboard::physicalHeld()) 2026-11-11 05:51:35 +01:00
TouchControlsTest.php touch: {pad: none}: no on-screen pad and no buttons, for games played by tapping 2026-11-05 18:37:12 +01:00