<feed xmlns='http://www.w3.org/2005/Atom'>
<title>hid-tmff2/src/tmt300rs, branch master</title>
<subtitle>ACTIVE - Linux driver for Thrustmaster wheels</subtitle>
<id>https://metanimi.dy.fi/cgit/hid-tmff2/atom?h=master</id>
<link rel='self' href='https://metanimi.dy.fi/cgit/hid-tmff2/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://metanimi.dy.fi/cgit/hid-tmff2/'/>
<updated>2026-08-08T22:20:18Z</updated>
<entry>
<title>handle full signed effect magnitude range</title>
<updated>2026-08-08T22:20:18Z</updated>
<author>
<name>Kai Krakow</name>
<email>kai@kaishome.de</email>
</author>
<published>2026-08-08T11:04:25Z</published>
<link rel='alternate' type='text/html' href='https://metanimi.dy.fi/cgit/hid-tmff2/commit/?id=1914c478dec801e98e9b73bbfd5bbdc4c0a11cf8'/>
<id>urn:sha1:1914c478dec801e98e9b73bbfd5bbdc4c0a11cf8</id>
<content type='text'>
+ Direction scaling can produce 32768 for the valid input pair -32768 and a
  negative full-scale sine value. Storing the intermediate result in s16
  wraps it before constant, ramp or periodic effects are converted.

+ Keep direction-scaled values in s32 until their destination range is
  known. Periodic effects cannot represent a magnitude above S16_MAX, so
  clamp the asymmetric endpoint after making the magnitude positive. This
  also prevents the following headroom calculation from using a negative
  wrapped magnitude.
</content>
</entry>
<entry>
<title>Revert "use on_hid_hw_open instead of input_dev-&gt;open"</title>
<updated>2026-01-26T16:21:43Z</updated>
<author>
<name>Kimplul</name>
<email>kimi.h.kuparinen@gmail.com</email>
</author>
<published>2026-01-26T16:21:43Z</published>
<link rel='alternate' type='text/html' href='https://metanimi.dy.fi/cgit/hid-tmff2/commit/?id=66e522e26549afab26d032e900ae9f6576c83b9d'/>
<id>urn:sha1:66e522e26549afab26d032e900ae9f6576c83b9d</id>
<content type='text'>
This reverts commit c26573d77369c042dc2b9a881a7f2ff88ddc0dd9.

+ `on_hid_hw_open` is apparently new enough that common distros don't
  have it yet, so let's wait a few years and try again. The old method
  works well enough and if not, just set `open_mode=0`.
</content>
</entry>
<entry>
<title>use on_hid_hw_open instead of input_dev-&gt;open</title>
<updated>2026-01-04T19:49:58Z</updated>
<author>
<name>Kimplul</name>
<email>kimi.h.kuparinen@gmail.com</email>
</author>
<published>2026-01-04T19:49:58Z</published>
<link rel='alternate' type='text/html' href='https://metanimi.dy.fi/cgit/hid-tmff2/commit/?id=c26573d77369c042dc2b9a881a7f2ff88ddc0dd9'/>
<id>urn:sha1:c26573d77369c042dc2b9a881a7f2ff88ddc0dd9</id>
<content type='text'>
+ Seems some applications can mess with input_dev-&gt;open, still unclear
  how but on_hid_hw_open seems to be a bit more reliable so use it for
  now at least
</content>
</entry>
<entry>
<title>fix maybe uninitialized variable</title>
<updated>2025-12-01T16:56:05Z</updated>
<author>
<name>Kimplul</name>
<email>kimi.h.kuparinen@gmail.com</email>
</author>
<published>2025-12-01T16:56:05Z</published>
<link rel='alternate' type='text/html' href='https://metanimi.dy.fi/cgit/hid-tmff2/commit/?id=c4b70d4ec36404c9454199bec208eaf3116ef453'/>
<id>urn:sha1:c4b70d4ec36404c9454199bec208eaf3116ef453</id>
<content type='text'>
+ Closes #183
</content>
</entry>
<entry>
<title>minimize critical section in work handler</title>
<updated>2025-11-03T18:17:32Z</updated>
<author>
<name>Kimplul</name>
<email>kimi.h.kuparinen@gmail.com</email>
</author>
<published>2025-11-03T18:17:32Z</published>
<link rel='alternate' type='text/html' href='https://metanimi.dy.fi/cgit/hid-tmff2/commit/?id=5095d47320c36e2346d41eb7e35dcbd215886557'/>
<id>urn:sha1:5095d47320c36e2346d41eb7e35dcbd215886557</id>
<content type='text'>
+ Effects handlers were being called in a locked context,
  which in this case happened to work due to how `hid_hw_request`
  is implemented. Now, only the selected state is updated and the heavy
  lifting of making the wheel aware of the requested changes is done
  after the critical section.
</content>
</entry>
<entry>
<title>Merge branch 'refactor-duration' of github.com:MmAaXx500/hid-tmff2 into MmAaXx500-refactor-duration</title>
<updated>2025-07-28T20:30:41Z</updated>
<author>
<name>Kimplul</name>
<email>kimi.h.kuparinen@gmail.com</email>
</author>
<published>2025-07-28T20:30:41Z</published>
<link rel='alternate' type='text/html' href='https://metanimi.dy.fi/cgit/hid-tmff2/commit/?id=303d2d85c471fc2982ca2d15291b06d44d25b425'/>
<id>urn:sha1:303d2d85c471fc2982ca2d15291b06d44d25b425</id>
<content type='text'>
</content>
</entry>
<entry>
<title>refactor effect length calculation</title>
<updated>2025-07-24T20:31:59Z</updated>
<author>
<name>MmAaXx500</name>
<email>viktor.balogh45@gmail.com</email>
</author>
<published>2025-07-24T18:19:52Z</published>
<link rel='alternate' type='text/html' href='https://metanimi.dy.fi/cgit/hid-tmff2/commit/?id=d757f6183c650706b5e98d7c55ce7f4b33b5539d'/>
<id>urn:sha1:d757f6183c650706b5e98d7c55ce7f4b33b5539d</id>
<content type='text'>
- do the calculation in only one place
- avoid losing 1 ms (if it ever matters)
</content>
</entry>
<entry>
<title>fix periodic effect length on update</title>
<updated>2025-07-24T17:14:55Z</updated>
<author>
<name>MmAaXx500</name>
<email>viktor.balogh45@gmail.com</email>
</author>
<published>2025-07-24T16:39:38Z</published>
<link rel='alternate' type='text/html' href='https://metanimi.dy.fi/cgit/hid-tmff2/commit/?id=7388235046b02cff0921fbbfd2b9843a935476fb'/>
<id>urn:sha1:7388235046b02cff0921fbbfd2b9843a935476fb</id>
<content type='text'>
Avoid subtracting twice from the length of the effect
first time in t300rs_calculate_periodic_values
second time in t300rs_update_periodic
</content>
</entry>
<entry>
<title>make firmware check a warning</title>
<updated>2024-12-18T20:06:18Z</updated>
<author>
<name>Kimplul</name>
<email>kimi.h.kuparinen@gmail.com</email>
</author>
<published>2024-12-18T20:06:18Z</published>
<link rel='alternate' type='text/html' href='https://metanimi.dy.fi/cgit/hid-tmff2/commit/?id=9814765860ed49e482481f30ee3fd73102348951'/>
<id>urn:sha1:9814765860ed49e482481f30ee3fd73102348951</id>
<content type='text'>
+ Apparently this allows the T-GT II to work, as it shows up as a PS4
  T300 RS, just that it has a different firmware version.
  Eventually I should maybe look into the firmware response a bit closer
  and check if I can fish out wheel information or something along those
  lines to improve wheel detection.
</content>
</entry>
<entry>
<title>fix style</title>
<updated>2024-09-01T15:32:39Z</updated>
<author>
<name>MmAaXx500</name>
<email>viktor.balogh45@gmail.com</email>
</author>
<published>2024-09-01T14:41:29Z</published>
<link rel='alternate' type='text/html' href='https://metanimi.dy.fi/cgit/hid-tmff2/commit/?id=901b37cd82a002da9112fa2882eb2fdfa2f6729b'/>
<id>urn:sha1:901b37cd82a002da9112fa2882eb2fdfa2f6729b</id>
<content type='text'>
</content>
</entry>
</feed>
