<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qmk_firmware/quantum/os_detection.h, 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>Non-volatile memory data repository pattern (#24356)</title>
<updated>2025-03-21T12:38:34+00:00</updated>
<author>
<name>Nick Brassel</name>
<email>nick@tzarc.org</email>
</author>
<published>2025-03-21T12:38:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/qmk_firmware/commit/?id=2b00b846dce1d1267dfdb2a3c2972a367cc0dd44'/>
<id>2b00b846dce1d1267dfdb2a3c2972a367cc0dd44</id>
<content type='text'>
* First batch of eeconfig conversions.

* Offset and length for datablocks.

* `via`, `dynamic_keymap`.

* Fix filename.

* Commentary.

* wilba leds

* satisfaction75

* satisfaction75

* more keyboard whack-a-mole

* satisfaction75

* omnikeyish

* more whack-a-mole

* `generic_features.mk` to automatically pick up nvm repositories

* thievery

* deferred variable resolve

* whitespace

* convert api to structs/unions

* convert api to structs/unions

* convert api to structs/unions

* fixups

* code-side docs

* code size fix

* rollback

* nvm_xxxxx_erase

* Updated location of eeconfig magic numbers so non-EEPROM nvm drivers can use them too.

* Fixup build.

* Fixup compilation error with encoders.

* Build fixes.

* Add `via_ci` keymap to onekey to exercise VIA bindings (and thus dynamic keymap et.al.), fixup compilation errors based on preprocessor+sizeof.

* Build failure rectification.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* First batch of eeconfig conversions.

* Offset and length for datablocks.

* `via`, `dynamic_keymap`.

* Fix filename.

* Commentary.

* wilba leds

* satisfaction75

* satisfaction75

* more keyboard whack-a-mole

* satisfaction75

* omnikeyish

* more whack-a-mole

* `generic_features.mk` to automatically pick up nvm repositories

* thievery

* deferred variable resolve

* whitespace

* convert api to structs/unions

* convert api to structs/unions

* convert api to structs/unions

* fixups

* code-side docs

* code size fix

* rollback

* nvm_xxxxx_erase

* Updated location of eeconfig magic numbers so non-EEPROM nvm drivers can use them too.

* Fixup build.

* Fixup compilation error with encoders.

* Build fixes.

* Add `via_ci` keymap to onekey to exercise VIA bindings (and thus dynamic keymap et.al.), fixup compilation errors based on preprocessor+sizeof.

* Build failure rectification.</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>OS Detection - Entire file should not be wrapped with ifdef (#23108)</title>
<updated>2024-02-19T15:37:51+00:00</updated>
<author>
<name>Joel Challis</name>
<email>git@zvecr.com</email>
</author>
<published>2024-02-19T15:37:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/qmk_firmware/commit/?id=9f95577ef2bfff55bf4f5d19c3dc58ea0f09e014'/>
<id>9f95577ef2bfff55bf4f5d19c3dc58ea0f09e014</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>Make "detected_host_os()" available on the SLAVE side of the split keyboard (#19854)</title>
<updated>2023-04-03T22:48:51+00:00</updated>
<author>
<name>ngs-ch</name>
<email>125195794+ngs-ch@users.noreply.github.com</email>
</author>
<published>2023-04-03T22:48:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/qmk_firmware/commit/?id=ccda5d2d2f0b2e71e16d72636622743a68757b50'/>
<id>ccda5d2d2f0b2e71e16d72636622743a68757b50</id>
<content type='text'>
Co-authored-by: ngs.ch &lt;ngs.ch&gt;
Co-authored-by: Drashna Jaelre &lt;drashna@drashna.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: ngs.ch &lt;ngs.ch&gt;
Co-authored-by: Drashna Jaelre &lt;drashna@drashna.net&gt;
</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>
