<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qmk/drivers/haptic, branch master</title>
<subtitle>Custom split ortholinear mechanical keyboard with rollerball mouse. Firmware. https://blog.node5.net/custom-keyboard
</subtitle>
<id>http://git.node5.net/firmware/qmk/atom?h=master</id>
<link rel='self' href='http://git.node5.net/firmware/qmk/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.node5.net/firmware/qmk/'/>
<updated>2023-08-04T00:16:16+00:00</updated>
<entry>
<title>haptic: further naming cleanups (#21682)</title>
<updated>2023-08-04T00:16:16+00:00</updated>
<author>
<name>Ryan</name>
<email>fauxpark@gmail.com</email>
</author>
<published>2023-08-04T00:16:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.node5.net/firmware/qmk/commit/?id=0b802defd4ad81f38bdd3ae0192e2a834f7d99be'/>
<id>urn:sha1:0b802defd4ad81f38bdd3ae0192e2a834f7d99be</id>
<content type='text'>
</content>
</entry>
<entry>
<title>haptic: naming cleanups (#21551)</title>
<updated>2023-07-20T23:17:39+00:00</updated>
<author>
<name>Ryan</name>
<email>fauxpark@gmail.com</email>
</author>
<published>2023-07-20T23:17:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.node5.net/firmware/qmk/commit/?id=b090354143612d2c0f5c8629510542de5bd4e29e'/>
<id>urn:sha1:b090354143612d2c0f5c8629510542de5bd4e29e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix typo in solenoid.h (#18635)</title>
<updated>2022-10-07T21:16:31+00:00</updated>
<author>
<name>Giuseppe Rota</name>
<email>403432+grota@users.noreply.github.com</email>
</author>
<published>2022-10-07T21:16:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.node5.net/firmware/qmk/commit/?id=9e1ff0e6b95820d6cbe21f9bf3cc2a4f8633114a'/>
<id>urn:sha1:9e1ff0e6b95820d6cbe21f9bf3cc2a4f8633114a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use a macro to compute the size of arrays at compile time (#18044)</title>
<updated>2022-08-30T08:20:04+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2022-08-30T08:20:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.node5.net/firmware/qmk/commit/?id=9632360caa5e6511b0ec13cb4c55eb64408232b5'/>
<id>urn:sha1:9632360caa5e6511b0ec13cb4c55eb64408232b5</id>
<content type='text'>
* Add ARRAY_SIZE and CEILING utility macros

* Apply a coccinelle patch to use ARRAY_SIZE

* fix up some straggling items

* Fix 'make test:secure'

* Enhance ARRAY_SIZE macro to reject acting on pointers

The previous definition would not produce a diagnostic for
```
int *p;
size_t num_elem = ARRAY_SIZE(p)
```
but the new one will.

* explicitly get definition of ARRAY_SIZE

* Convert to ARRAY_SIZE when const is involved

The following spatch finds additional instances where the array is
const and the division is by the size of the type, not the size of
the first element:
```
@ rule5a using "empty.iso" @
type T;
const T[] E;
@@

- (sizeof(E)/sizeof(T))
+ ARRAY_SIZE(E)

@ rule6a using "empty.iso" @
type T;
const T[] E;
@@

- sizeof(E)/sizeof(T)
+ ARRAY_SIZE(E)
```

* New instances of ARRAY_SIZE added since initial spatch run

* Use `ARRAY_SIZE` in docs (found by grep)

* Manually use ARRAY_SIZE

hs_set is expected to be the same size as uint16_t, though it's made
of two 8-bit integers

* Just like char, sizeof(uint8_t) is guaranteed to be 1

This is at least true on any plausible system where qmk is actually used.

Per my understanding it's universally true, assuming that uint8_t exists:
https://stackoverflow.com/questions/48655310/can-i-assume-that-sizeofuint8-t-1

* Run qmk-format on core C files touched in this branch

Co-authored-by: Stefan Kerkmann &lt;karlk90@pm.me&gt;</content>
</entry>
<entry>
<title>[Feature] Add support for multiple switchs/solenoids to Haptic Feedback engine (#15657)</title>
<updated>2022-05-15T11:24:35+00:00</updated>
<author>
<name>Drashna Jaelre</name>
<email>drashna@live.com</email>
</author>
<published>2022-05-15T11:24:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.node5.net/firmware/qmk/commit/?id=f090881aebbd7af74294b53fabdf55a35004f190'/>
<id>urn:sha1:f090881aebbd7af74294b53fabdf55a35004f190</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Format code according to conventions (#16322)</title>
<updated>2022-02-12T18:29:31+00:00</updated>
<author>
<name>QMK Bot</name>
<email>hello@qmk.fm</email>
</author>
<published>2022-02-12T18:29:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.node5.net/firmware/qmk/commit/?id=63646e8906e062d1c1de3925cba70c4e3426a855'/>
<id>urn:sha1:63646e8906e062d1c1de3925cba70c4e3426a855</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>
<email>andrei@purdea.ro</email>
</author>
<published>2021-11-02T05:54:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.node5.net/firmware/qmk/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>[Bug] Include gpio.h in solenoid driver for GPIO Control functions (#13716)</title>
<updated>2021-07-26T04:24:47+00:00</updated>
<author>
<name>Drashna Jaelre</name>
<email>drashna@live.com</email>
</author>
<published>2021-07-26T04:24:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.node5.net/firmware/qmk/commit/?id=9e782e4f1415e25b0f8349d51400fdfe29ebb0c1'/>
<id>urn:sha1:9e782e4f1415e25b0f8349d51400fdfe29ebb0c1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Haptic: driver-&gt; feature (#13713)</title>
<updated>2021-07-26T02:14:58+00:00</updated>
<author>
<name>Joel Challis</name>
<email>git@zvecr.com</email>
</author>
<published>2021-07-26T02:14:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.node5.net/firmware/qmk/commit/?id=f945c352e7db3fedb16c90f9f176b3df6e0b62ae'/>
<id>urn:sha1:f945c352e7db3fedb16c90f9f176b3df6e0b62ae</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add Per Key exclusions for Haptic Feedback (#12386)</title>
<updated>2021-06-20T02:28:54+00:00</updated>
<author>
<name>Roland Huber</name>
<email>36362570+darkcruix@users.noreply.github.com</email>
</author>
<published>2021-06-20T02:28:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.node5.net/firmware/qmk/commit/?id=e4c5b1bbbb3d76a7632c8a9d5c19c5eb8a9a4e1f'/>
<id>urn:sha1:e4c5b1bbbb3d76a7632c8a9d5c19c5eb8a9a4e1f</id>
<content type='text'>
Co-authored-by: Drashna Jaelre &lt;drashna@live.com&gt;</content>
</entry>
</feed>
