<feed xmlns='http://www.w3.org/2005/Atom'>
<title>npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/runtime/test/gameinput_test.cpp, branch docs/pso-cache-scope-note</title>
<subtitle>[no description]</subtitle>
<id>https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/atom?h=docs%2Fpso-cache-scope-note</id>
<link rel='self' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/atom?h=docs%2Fpso-cache-scope-note'/>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/'/>
<updated>2026-11-26T04:58:19+00:00</updated>
<entry>
<title>gameinput: the SDL keyboard pad honours a scripted hold too</title>
<updated>2026-11-26T04:58:19+00:00</updated>
<author>
<name>klikso</name>
<email>204526810+klikso@users.noreply.github.com</email>
</author>
<published>2026-11-26T01:00:51+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=1ce60558c72770e881a4ef458e125f587b66022e'/>
<id>urn:sha1:1ce60558c72770e881a4ef458e125f587b66022e</id>
<content type='text'>
#2098 gave the SDL path its own loop (held 300 ms, then until the title
has read the pads six times, at most 5 s), which ignored button@seconds:hold.
A press now lasts its own hold, then the read latch, and never past 5 s or
its hold if longer. The long-script test checks both: X kept past 300 ms
until six reads, Y kept for its 0.6 s after them. It fails on the old loop.

Found by AndreiKocherzhinskiiA on #1608.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>gameinput: a scripted press can be held longer (button@seconds:hold)</title>
<updated>2026-11-26T04:58:19+00:00</updated>
<author>
<name>klikso</name>
<email>204526810+klikso@users.noreply.github.com</email>
</author>
<published>2026-11-25T22:32:55+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=f0e79141a41b63e737560fbd4a051e3ab34dad7d'/>
<id>urn:sha1:f0e79141a41b63e737560fbd4a051e3ab34dad7d</id>
<content type='text'>
At world-start frame rates the retail title reads its pad every few seconds,
so a 0.3 s scripted press falls between two reads and never arrives. An
entry may now give its own hold time; without one the press stays 0.3 s.
Holds of 0 or less, over 600 s or that are not a number reject the entry.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>gameinput test: read the pad before expecting a scripted press to end (TEST-GAMEINPUT-SCRIPT-READS)</title>
<updated>2026-11-26T00:28:59+00:00</updated>
<author>
<name>quartz-heron-58</name>
<email>245169279+quartz-heron-58@users.noreply.github.com</email>
</author>
<published>2026-11-26T00:28:59+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=9ea22eaf446b50f03d600bc2f5f1e6c4afb09788'/>
<id>urn:sha1:9ea22eaf446b50f03d600bc2f5f1e6c4afb09788</id>
<content type='text'>
Since #2098 a scripted press lasts its 300 ms and then until the title has made
six GetCurrentReading calls since it began. gameinput_test --input-script still
expected the press to be over after 350 ms and three reads, so ctest
gameinput_script failed on main in every build with SDL3 (it is disabled
without SDL3, so CI did not show it).

The test now checks that the press is still held at that point, reads the pad
six more times and then expects the release. Test only.

Co-Authored-By: Claude Fable 5.2 &lt;noreply@anthropic.com&gt;
</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>
</feed>
