<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qmk_sweep_skeletyl/quantum/os_detection/tests/os_detection.cpp, branch master</title>
<subtitle>my qmk configs</subtitle>
<id>http://archive.git.mgrote.net/qmk_sweep_skeletyl/atom?h=master</id>
<link rel='self' href='http://archive.git.mgrote.net/qmk_sweep_skeletyl/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://archive.git.mgrote.net/qmk_sweep_skeletyl/'/>
<updated>2025-01-29T19:25:21+00:00</updated>
<entry>
<title>[OS Detection] Improve MacOS detection (#24708)</title>
<updated>2025-01-29T19:25:21+00:00</updated>
<author>
<name>Drashna Jaelre</name>
</author>
<published>2025-01-29T19:25:21+00:00</published>
<link rel='alternate' type='text/html' href='http://archive.git.mgrote.net/qmk_sweep_skeletyl/commit/?id=8bf01dd7966c9d556a7931be47f97bafe9a32ff9'/>
<id>urn:sha1:8bf01dd7966c9d556a7931be47f97bafe9a32ff9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[Core] `usb_device_state`: consolidate usb state handling across implementations (#24258)</title>
<updated>2024-10-18T07:57:08+00:00</updated>
<author>
<name>Stefan Kerkmann</name>
</author>
<published>2024-10-18T07:57:08+00:00</published>
<link rel='alternate' type='text/html' href='http://archive.git.mgrote.net/qmk_sweep_skeletyl/commit/?id=3f9d4644126483bbd937f2be75a8878a1c986630'/>
<id>urn:sha1:3f9d4644126483bbd937f2be75a8878a1c986630</id>
<content type='text'>
* usb_device_state: add idle_rate, led and protocol

Previously all usb drivers and platform implementations (expect for our
oddball atsam) tracked the same two global variables:

- keyboard_protocol: to indicate if we are in report or boot protocol
- keyboard_idle: for the idle_rate of the keyboard endpoint

And a local variable that was exposed trough some indirection:

- keyboard_led_state: for the currently set indicator leds (caps lock etc.)

These have all been moved into the usb_device_state struct wich is
accessible by getters and setters.

This reduces code duplication and centralizes the state management
across platforms and drivers.

Signed-off-by: Stefan Kerkmann &lt;karlk90@pm.me&gt;

* usb_device_state: reset protocol on reset

The usb hid specification section 7.2.6 states:

When initialized, all devices default to report protocol. However the
host should not make any assumptions about the device’s state and should
set the desired protocol whenever initializing a device.

Thus on reset we should always do exactly that.

Signed-off-by: Stefan Kerkmann &lt;karlk90@pm.me&gt;

* keyboards: fix oversize warnings

Signed-off-by: Stefan Kerkmann &lt;karlk90@pm.me&gt;

---------

Signed-off-by: Stefan Kerkmann &lt;karlk90@pm.me&gt;</content>
</entry>
<entry>
<title>Fix make clean test:os_detection (#23112)</title>
<updated>2024-02-19T19:48:59+00:00</updated>
<author>
<name>Joel Challis</name>
</author>
<published>2024-02-19T19:48:59+00:00</published>
<link rel='alternate' type='text/html' href='http://archive.git.mgrote.net/qmk_sweep_skeletyl/commit/?id=2f3383a11e0b459a1e89fea04914bce983eed2fe'/>
<id>urn:sha1:2f3383a11e0b459a1e89fea04914bce983eed2fe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[Core] Add OS detection callbacks (#21777)</title>
<updated>2024-02-16T14:19:02+00:00</updated>
<author>
<name>Andre Brait</name>
</author>
<published>2024-02-16T14:19:02+00:00</published>
<link rel='alternate' type='text/html' href='http://archive.git.mgrote.net/qmk_sweep_skeletyl/commit/?id=80f3da36e571fa702b1d3df693fd545801250eca'/>
<id>urn:sha1:80f3da36e571fa702b1d3df693fd545801250eca</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Detect host OS based on USB fingerprint (#18463)</title>
<updated>2022-12-08T16:45:30+00:00</updated>
<author>
<name>Ruslan Sayfutdinov</name>
</author>
<published>2022-12-08T16:45:30+00:00</published>
<link rel='alternate' type='text/html' href='http://archive.git.mgrote.net/qmk_sweep_skeletyl/commit/?id=85ee55ff3becd29e1590376c3462c6a99c976fa0'/>
<id>urn:sha1:85ee55ff3becd29e1590376c3462c6a99c976fa0</id>
<content type='text'>
Co-authored-by: Drashna Jaelre &lt;drashna@live.com&gt;
Co-authored-by: Nick Brassel &lt;nick@tzarc.org&gt;</content>
</entry>
</feed>
