1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/keyboards/handwired/onekey
Aldehir Rojas 4f2f21dc05
Rewrite APA102 support (#10894)
* Rewrite APA102 support

The APA102 source was broken by commit 16a15c1cfc as it did not include the
quantum header. This commit addresses that, as well as other issues with
transferring bytes over the SPI interface, i.e. it was not setting the
clock pin back to low after sending a bit.

The deviation when sending the end frame is kept, but updated to the
latest from the referenced project.

Finally, these changes expose the global LED brightness parameter
of the APA102. Brightness values are configurable through
`APA102_DEFAULT_BRIGHTNESS` and `APA102_MAX_BRIGHTNESS`.

* Fix typo in led brightness extern

* Move driver out of AVR directory and add delay for ARM

* Experimental APA102 support on AVR and ARM

Co-authored-by: Alde Rojas <hello@alde.io>

* Refactor apa102_send_byte() calls to a loop

* Implement io_wait function for ARM

* Move APA102 drivers to own directory, fix copyright notice

* Add APA102 keymap to handwired/onekey

* Simplify RGBLIGHT_ENABLE/DRIVER option handling

Co-authored-by: Mikkel Jeppesen <2756925+Duckle29@users.noreply.github.com>
2020-12-30 00:28:49 +00:00
..
blackpill_f401 Merge remote-tracking branch 'origin/master' into develop 2020-12-21 14:39:10 +00:00
blackpill_f411 Merge remote-tracking branch 'origin/master' into develop 2020-12-21 14:39:10 +00:00
bluepill Merge remote-tracking branch 'origin/master' into develop 2020-12-21 14:39:10 +00:00
elite_c Rewrite APA102 support (#10894) 2020-12-30 00:28:49 +00:00
keymaps Rewrite APA102 support (#10894) 2020-12-30 00:28:49 +00:00
promicro Rewrite APA102 support (#10894) 2020-12-30 00:28:49 +00:00
proton_c Rewrite APA102 support (#10894) 2020-12-30 00:28:49 +00:00
pytest Merge remote-tracking branch 'origin/master' into develop 2020-12-21 14:39:10 +00:00
stm32f0_disco Merge remote-tracking branch 'origin/master' into develop 2020-12-21 14:39:10 +00:00
teensy_2 Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
teensy_2pp Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
teensy_32 Merge remote-tracking branch 'origin/master' into develop 2020-12-21 14:39:10 +00:00
teensy_lc Merge remote-tracking branch 'origin/master' into develop 2020-12-21 14:39:10 +00:00
.noci Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
config.h Enforce definition of DIODE_DIRECTION for non-custom matrix boards (#7915) 2020-01-19 14:11:57 +11:00
onekey.c adds handwire and onekey example 2016-06-29 20:21:05 -04:00
onekey.h [Keyboard] Fix error_log complaint about handwired/onekey layout macro (#9263) 2020-06-07 22:49:18 -07:00
readme.md [Keyboard] Refactor of onekey to support multiple development boards (#6017) 2019-06-26 10:52:09 -07:00
rules.mk Disable the command feature for onekeys (#10366) 2020-09-20 20:50:52 +01:00

onekey handwired

Custom handwired one key keyboard.

Keyboard Maintainer: QMK Community
Hardware Supported: bluepill, Elite-C, Pro Micro, Proton C, Teensy 2.0, Teensy++ 2.0, Teensy LC, Teensy 3.2
Hardware Availability:

See each individual board for pin infomation

Make example for this keyboard (after setting up your build environment):

make handwired/onekey:default

See the build environment setup and the make instructions for more information. Brand new to QMK? Start with our Complete Newbs Guide.