<feed xmlns='http://www.w3.org/2005/Atom'>
<title>npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/runtime/test/gameinput_test.cpp, branch claude/gameinput-slow-reader</title>
<subtitle>[no description]</subtitle>
<id>https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/atom?h=claude%2Fgameinput-slow-reader</id>
<link rel='self' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/atom?h=claude%2Fgameinput-slow-reader'/>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/'/>
<updated>2026-11-25T03:40:06+00:00</updated>
<entry>
<title>gameinput_test: close_pad resets a missed press, pads keep their own, wider slow-reader margin</title>
<updated>2026-11-25T03:40:06+00:00</updated>
<author>
<name>QemmHD</name>
<email>290605352+QemmHD@users.noreply.github.com</email>
</author>
<published>2026-11-25T03:40:06+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=045bb0fcec9ea44105ae118f8d958dc76fa1b4af'/>
<id>urn:sha1:045bb0fcec9ea44105ae118f8d958dc76fa1b4af</id>
<content type='text'>
Review follow-up for the kSlowReaderUs missed-press logic:
- close_pad: a press missed by a slow reader, then an unplug/replug, must
  not come back on the first slow read after reconnecting.
- two pads: a missed press on the Xbox pad and one on the DualSense are
  each reported only on their own pad, once.
- the slow-reader sleeps are now 150 ms (3x kSlowReaderUs) for slow CI.

Tested: ctest -R ^gameinput passes plain and with LEONIDA_VK_VALIDATION=1
(VS 2022, Ninja). Against the pre-fix shim the slow-reader and both
two-pad checks fail (the close_pad check passes trivially there); with the
fix minus close_pad's missed reset, the close_pad check fails.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_01SR1Fv7eQNgZjM6miWPKjHf
</content>
</entry>
<entry>
<title>gameinput: report a missed press once to a slow reader (RT-GAMEINPUT-SLOW-READER)</title>
<updated>2026-11-25T02:45:32+00:00</updated>
<author>
<name>DadaCap</name>
<email>167002618+DadaCap@users.noreply.github.com</email>
</author>
<published>2026-11-24T15:10:21+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=0e5e33bc497dee9b01963576aecc3cc49bf28a13'/>
<id>urn:sha1:0e5e33bc497dee9b01963576aecc3cc49bf28a13</id>
<content type='text'>
A title that reads a pad with GetCurrentReading once a frame, at a few
frames a second, never sees a press that came and went between two
reads. A pad now keeps the newest reading that pressed a button the last
read did not report; a read more than kSlowReaderUs (50 ms) after the
previous one answers that press once, and the next read the pad's real
state.

Carried from DadaCap's boot-prototype fa497b930, split to the GameInput
part (runtime/shims/gameinput.cpp and its test in
runtime/test/gameinput_test.cpp); the other shims in that commit are not
included. Applied unchanged.

AI-assisted. Run on Windows 11, RTX 5080. No game data.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_01SR1Fv7eQNgZjM6miWPKjHf
</content>
</entry>
<entry>
<title>gameinput: keyboard pad input scripts of any length (RT-INPUT-SCRIPT-LENGTH)</title>
<updated>2026-11-24T18:57:22+00:00</updated>
<author>
<name>Moriz82</name>
<email>72836413+Moriz82@users.noreply.github.com</email>
</author>
<published>2026-11-24T18:57:22+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=f9ba70b4de394f803273ab60adcbef9b15849ab8'/>
<id>urn:sha1:f9ba70b4de394f803273ab60adcbef9b15849ab8</id>
<content type='text'>
Main had no keyboard pad script scheduler. Add timed button presses with
a full-length environment reader so entries beyond byte 63 reach the pad.
Combine scheduled and physical presses. Reject malformed entries and
report their count when the script is read on the first pad update.

Build gta6rt and gameinput_test. Exercise a long script, rejected items,
focus loss, configuration reload and release under Wine. Restore only the
old environment reader to reproduce the missing presses.

Co-authored-by: Plaaasma &lt;47513553+Plaaasma@users.noreply.github.com&gt;


AI-assisted (Codex and Claude Code agents).

Co-Authored-By: Claude Fable 5.2 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>gameinput: serve GameInput.dll's ordinal 1, the retail executable's GameInputCreate import</title>
<updated>2026-11-24T02:23:21+00:00</updated>
<author>
<name>Gustavo Kissel</name>
<email>kisselgustavo@gmail.com</email>
</author>
<published>2026-11-23T16:13:19+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=e0f76d28b5e84f69c8bd05a3b6fb414438f7e2b4'/>
<id>urn:sha1:e0f76d28b5e84f69c8bd05a3b6fb414438f7e2b4</id>
<content type='text'>
The retail executable imports GameInputCreate from GameInput.dll by ordinal 1. The loader looks ordinal imports up
as "#1", which the shim table did not have, so the import bound to the host's GameInput.dll. On Windows the
installed GameInput answers; under Wine it is the builtin stub, the call fails and the title stops on its result.
The alias maps #1 to the same GameInputCreate, and gameinput_test checks it.

(cherry picked from commit 5e45c7da942d7ac08fc57561e9ed924bcfc76476)
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'origin/pr/9765'</title>
<updated>2026-11-23T22:24:53+00:00</updated>
<author>
<name>ItsNotRexed</name>
<email>300290919+ItsNotRexed@users.noreply.github.com</email>
</author>
<published>2026-11-23T22:24:53+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=2f6aa6fb5b0909e76abb8e3ca78a23dbe3804128'/>
<id>urn:sha1:2f6aa6fb5b0909e76abb8e3ca78a23dbe3804128</id>
<content type='text'>
</content>
</entry>
<entry>
<title>gameinput: the device info has its GameInputLabel members</title>
<updated>2026-11-23T22:15:46+00:00</updated>
<author>
<name>Maraco91</name>
<email>43787609+Maraco91@users.noreply.github.com</email>
</author>
<published>2026-11-23T22:15:46+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=29bd7a11a68574e1aa79908805ee6f56a8ae8e76'/>
<id>urn:sha1:29bd7a11a68574e1aa79908805ee6f56a8ae8e76</id>
<content type='text'>
gameinput_abi.h left out the labels of the public v0 layout. In
GameInputControllerAxisInfo and GameInputControllerButtonInfo a label
sits at offset 4, in what is otherwise padding, so the sizes matched
while isContinuous, restValue, legacyDInputIndex and rawReportIndex were
four bytes early. GameInputGamepadInfo and GameInputUiNavigationInfo are
tables of 14 and 21 labels; they were declared empty, and the pointers
in GameInputDeviceInfo led to one-byte members, so a title reading a
label read whatever followed.

The header declares the enum, the two tables and the two label members
and pins each offset that moved. fill_info gives every control the Xbox
label of its position on every pad, since every pad is presented as an
Xbox One pad.

gameinput_test reads the tables by the public header's byte offsets, so
the shim's own header cannot agree with itself.

Co-Authored-By: Claude Fable 5.2 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>GameInput: honor the delay between trigger haptic pulses</title>
<updated>2026-11-23T21:34:25+00:00</updated>
<author>
<name>mrbrinker</name>
<email>41247403+mrbrinker@users.noreply.github.com</email>
</author>
<published>2026-11-23T21:34:25+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=52b4f03b78e814f803d4a93c434c326c6698255c'/>
<id>urn:sha1:52b4f03b78e814f803d4a93c434c326c6698255c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>gameinput: SetHapticMotorState saturates a request's end time instead of wrapping</title>
<updated>2026-11-23T18:26:21+00:00</updated>
<author>
<name>Noname0202</name>
<email>marta.indra2002@gmail.com</email>
</author>
<published>2026-11-23T18:26:21+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=3bbf352b7a9f71ba6bd1c69f8774c4f320233cc4'/>
<id>urn:sha1:3bbf352b7a9f71ba6bd1c69f8774c4f320233cc4</id>
<content type='text'>
IGameInputDevice::SetHapticMotorState computed the end of a request as
duration * playCount + repeatDelay * (playCount - 1), then now + total, all
in uint64 microseconds with no overflow check. A very long request wrapped:
duration = UINT64_MAX with playCount 1 put the deadline just before now, so
the motor never played, and duration = 2^63 + 50 ms with playCount 2 wrapped
to a 100 ms request that stopped early.

The products and sums now saturate at UINT64_MAX, a deadline the poll
thread never reaches, so such a request plays until the state is set again.
Requests that fit are unchanged.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Merge pull request #4553 from Maxime Mansiet</title>
<updated>2026-11-23T04:15:52+00:00</updated>
<author>
<name>ItsNotRexed</name>
<email>300290919+ItsNotRexed@users.noreply.github.com</email>
</author>
<published>2026-11-23T04:15:52+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=fb7575981bc784457475f32ce0ab8b3e7d418f9f'/>
<id>urn:sha1:fb7575981bc784457475f32ce0ab8b3e7d418f9f</id>
<content type='text'>
Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Merge pull request #4552 from Maxime Mansiet</title>
<updated>2026-11-23T04:15:51+00:00</updated>
<author>
<name>ItsNotRexed</name>
<email>300290919+ItsNotRexed@users.noreply.github.com</email>
</author>
<published>2026-11-23T04:15:51+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=66d9217616d8cb654ba7914f650ce4b78c65987c'/>
<id>urn:sha1:66d9217616d8cb654ba7914f650ce4b78c65987c</id>
<content type='text'>
Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;

# Conflicts:
#	docs/gameinput.md
</content>
</entry>
</feed>
