<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qmk_firmware/quantum/os_detection/tests, branch master</title>
<subtitle>QMK firmware for my keyboards (Corne, Sweep Ferris) and trackball (Ploopy Adept)</subtitle>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/qmk_firmware/'/>
<entry>
<title>Merge remote-tracking branch 'origin/master' into develop</title>
<updated>2025-01-29T19:28:06+00:00</updated>
<author>
<name>QMK Bot</name>
<email>hello@qmk.fm</email>
</author>
<published>2025-01-29T19:28:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/qmk_firmware/commit/?id=ae01f1b63e6c48af462311ae75dc7201e552e34e'/>
<id>ae01f1b63e6c48af462311ae75dc7201e552e34e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[OS Detection] Improve MacOS detection (#24708)</title>
<updated>2025-01-29T19:25:21+00:00</updated>
<author>
<name>Drashna Jaelre</name>
<email>drashna@live.com</email>
</author>
<published>2025-01-29T19:25:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/qmk_firmware/commit/?id=8bf01dd7966c9d556a7931be47f97bafe9a32ff9'/>
<id>8bf01dd7966c9d556a7931be47f97bafe9a32ff9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Consolidate timer_elapsed implementations (#24830)</title>
<updated>2025-01-19T17:07:11+00:00</updated>
<author>
<name>Joel Challis</name>
<email>git@zvecr.com</email>
</author>
<published>2025-01-19T17:07:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/qmk_firmware/commit/?id=cedd49c59b5a822b6879485cdd412c7d803ae14a'/>
<id>cedd49c59b5a822b6879485cdd412c7d803ae14a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</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>
<email>karlk90@pm.me</email>
</author>
<published>2024-10-18T07:57:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/qmk_firmware/commit/?id=3f9d4644126483bbd937f2be75a8878a1c986630'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* 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;</pre>
</div>
</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>
<email>git@zvecr.com</email>
</author>
<published>2024-02-19T19:48:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/qmk_firmware/commit/?id=2f3383a11e0b459a1e89fea04914bce983eed2fe'/>
<id>2f3383a11e0b459a1e89fea04914bce983eed2fe</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</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>
<email>andrebrait@gmail.com</email>
</author>
<published>2024-02-16T14:19:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/qmk_firmware/commit/?id=80f3da36e571fa702b1d3df693fd545801250eca'/>
<id>80f3da36e571fa702b1d3df693fd545801250eca</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</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>
<email>ruslan@sayfutdinov.com</email>
</author>
<published>2022-12-08T16:45:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/qmk_firmware/commit/?id=85ee55ff3becd29e1590376c3462c6a99c976fa0'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Drashna Jaelre &lt;drashna@live.com&gt;
Co-authored-by: Nick Brassel &lt;nick@tzarc.org&gt;</pre>
</div>
</content>
</entry>
</feed>
