<feed xmlns='http://www.w3.org/2005/Atom'>
<title>hid-tmff2/src/hid-tmff2.h, 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:00Z</updated>
<entry>
<title>use an unsigned 16-bit type for gain</title>
<updated>2026-08-08T22:20:00Z</updated>
<author>
<name>Kai Krakow</name>
<email>kai@kaishome.de</email>
</author>
<published>2026-08-08T20:36:04Z</published>
<link rel='alternate' type='text/html' href='https://metanimi.dy.fi/cgit/hid-tmff2/commit/?id=f014217288927246f92ee876afbbf9de8ba707be'/>
<id>urn:sha1:f014217288927246f92ee876afbbf9de8ba707be</id>
<content type='text'>
+ Gain is documented and sent to the hardware as a value in the range 0 to
  65535, but the module parameter and sysfs attribute accept wider integer
  values. Store gain as a u16 and parse sysfs writes with kstrtou16 so
  out-of-range values are rejected instead of being silently changed.

+ This constrains only the configured value. Calculations combining gain
  values still require a wider intermediate to cover the product of two
  full-range 16-bit values.
</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>remove extra whitespace</title>
<updated>2025-11-23T12:41:43Z</updated>
<author>
<name>Kimplul</name>
<email>kimi.h.kuparinen@gmail.com</email>
</author>
<published>2025-11-23T12:41:43Z</published>
<link rel='alternate' type='text/html' href='https://metanimi.dy.fi/cgit/hid-tmff2/commit/?id=75292f71752197a4f03b0c44ba5558230012e448'/>
<id>urn:sha1:75292f71752197a4f03b0c44ba5558230012e448</id>
<content type='text'>
</content>
</entry>
<entry>
<title>apply initial tspc patches</title>
<updated>2025-11-23T12:37:44Z</updated>
<author>
<name>Kimplul</name>
<email>kimi.h.kuparinen@gmail.com</email>
</author>
<published>2024-09-29T14:14:10Z</published>
<link rel='alternate' type='text/html' href='https://metanimi.dy.fi/cgit/hid-tmff2/commit/?id=f1b2b85a4920d8c78b5b2b51b8cf5ddb1e8e03fd'/>
<id>urn:sha1:f1b2b85a4920d8c78b5b2b51b8cf5ddb1e8e03fd</id>
<content type='text'>
+ Courtesy of @BDave95
</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>Add support for TS-XW Racer</title>
<updated>2024-04-21T07:02:23Z</updated>
<author>
<name>yassine</name>
<email>yassine@DESKTOP-JKNQ10K.lan</email>
</author>
<published>2024-04-21T07:02:23Z</published>
<link rel='alternate' type='text/html' href='https://metanimi.dy.fi/cgit/hid-tmff2/commit/?id=39fd37ab2ac974dc664378c92ebb576f39d085bb'/>
<id>urn:sha1:39fd37ab2ac974dc664378c92ebb576f39d085bb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>docs: general tidbits</title>
<updated>2023-10-08T18:46:49Z</updated>
<author>
<name>Kimplul</name>
<email>kimi.h.kuparinen@gmail.com</email>
</author>
<published>2023-10-08T18:46:49Z</published>
<link rel='alternate' type='text/html' href='https://metanimi.dy.fi/cgit/hid-tmff2/commit/?id=29400ff75b47ef4320c3fccef5860e44fd8f3a62'/>
<id>urn:sha1:29400ff75b47ef4320c3fccef5860e44fd8f3a62</id>
<content type='text'>
</content>
</entry>
<entry>
<title>src: initial refactoring</title>
<updated>2023-10-02T12:14:57Z</updated>
<author>
<name>RaySlash</name>
<email>stevemathewjoy@gmail.com</email>
</author>
<published>2023-10-02T03:08:52Z</published>
<link rel='alternate' type='text/html' href='https://metanimi.dy.fi/cgit/hid-tmff2/commit/?id=75006183d0a379a2b0fa844fc32b3e27d229f368'/>
<id>urn:sha1:75006183d0a379a2b0fa844fc32b3e27d229f368</id>
<content type='text'>
</content>
</entry>
</feed>
