<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qmk_sweep_skeletyl/quantum/process_keycode/process_haptic.c, 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>2024-10-18T07:57:08+00:00</updated>
<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>Align haptic feedback keycode names (#18964)</title>
<updated>2022-11-07T02:43:53+00:00</updated>
<author>
<name>Joel Challis</name>
</author>
<published>2022-11-07T02:43:53+00:00</published>
<link rel='alternate' type='text/html' href='http://archive.git.mgrote.net/qmk_sweep_skeletyl/commit/?id=e4d2ba9a4d98a8ff7327156ff45cc6339cb40c95'/>
<id>urn:sha1:e4d2ba9a4d98a8ff7327156ff45cc6339cb40c95</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rip out old macro and action_function system (#16025)</title>
<updated>2022-01-24T21:22:20+00:00</updated>
<author>
<name>Ryan</name>
</author>
<published>2022-01-24T21:22:20+00:00</published>
<link rel='alternate' type='text/html' href='http://archive.git.mgrote.net/qmk_sweep_skeletyl/commit/?id=1d11ae3087f583c4f4756169802b33adea71ed94'/>
<id>urn:sha1:1d11ae3087f583c4f4756169802b33adea71ed94</id>
<content type='text'>
* Rip out old macro and action_function system

* Update quantum/action_util.c

Co-authored-by: Joel Challis &lt;git@zvecr.com&gt;</content>
</entry>
<entry>
<title>Basic keycode overhaul (#14726)</title>
<updated>2021-11-04T05:22:17+00:00</updated>
<author>
<name>Ryan</name>
</author>
<published>2021-11-04T05:22:17+00:00</published>
<link rel='alternate' type='text/html' href='http://archive.git.mgrote.net/qmk_sweep_skeletyl/commit/?id=f529580860cf5a1de4afc10432f218a45daae17a'/>
<id>urn:sha1:f529580860cf5a1de4afc10432f218a45daae17a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>haptic: Feature to disable it when usb port is not configured or suspended. (#12692)</title>
<updated>2021-11-02T05:54:29+00:00</updated>
<author>
<name>Purdea Andrei</name>
</author>
<published>2021-11-02T05:54:29+00:00</published>
<link rel='alternate' type='text/html' href='http://archive.git.mgrote.net/qmk_sweep_skeletyl/commit/?id=76fb54403ccd3ebaf1ca49c5172335e3593c5c5c'/>
<id>urn:sha1:76fb54403ccd3ebaf1ca49c5172335e3593c5c5c</id>
<content type='text'>
This also add support for specifying a LED pin to indicate haptic status,
and also adds support for a haptic-enable pin, which is useful to turn off
the boost converter on the solenoid driver.</content>
</entry>
<entry>
<title>Add LM() keys to the list of keys disabled by NO_HAPTIC_MOD (#14181)</title>
<updated>2021-10-03T19:02:05+00:00</updated>
<author>
<name>Purdea Andrei</name>
</author>
<published>2021-10-03T19:02:05+00:00</published>
<link rel='alternate' type='text/html' href='http://archive.git.mgrote.net/qmk_sweep_skeletyl/commit/?id=eb5b24f97c8ab5f9ca85a5bbb60b3b806e1507e6'/>
<id>urn:sha1:eb5b24f97c8ab5f9ca85a5bbb60b3b806e1507e6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[Bug] Fix build error when enabling NO_HAPTIC_MOD (#14178)</title>
<updated>2021-08-30T18:22:53+00:00</updated>
<author>
<name>Purdea Andrei</name>
</author>
<published>2021-08-30T18:22:53+00:00</published>
<link rel='alternate' type='text/html' href='http://archive.git.mgrote.net/qmk_sweep_skeletyl/commit/?id=9583f9f589ec4ecaafd3c8f9c709ce981dc684af'/>
<id>urn:sha1:9583f9f589ec4ecaafd3c8f9c709ce981dc684af</id>
<content type='text'>
Without this build would fail, if a keyboard had haptic feedback enabled,
TAPPING_TOGGLE was not overridden in a config.h, and if NO_HAPTIC_MOD was
defined in config.h.</content>
</entry>
<entry>
<title>Haptic: driver-&gt; feature (#13713)</title>
<updated>2021-07-26T02:14:58+00:00</updated>
<author>
<name>Joel Challis</name>
</author>
<published>2021-07-26T02:14:58+00:00</published>
<link rel='alternate' type='text/html' href='http://archive.git.mgrote.net/qmk_sweep_skeletyl/commit/?id=f945c352e7db3fedb16c90f9f176b3df6e0b62ae'/>
<id>urn:sha1:f945c352e7db3fedb16c90f9f176b3df6e0b62ae</id>
<content type='text'>
</content>
</entry>
</feed>
