summaryrefslogtreecommitdiff
path: root/keyboards
AgeCommit message (Collapse)Author
2021-01-12hotfix: fix double mouse report sending on shared EPDrashna Jael're
2021-01-12Add brightness level API to OLED driver (#10772)Ryan
* Add brightness level API to OLED driver * Set default brightness to 255
2021-01-12[CLI] Add c2json (#8817)Erovia
* Basic keymap parsing finally works * Add 'keymap.json' creation to the qmk.keymap module * Add tests and fix formatting * Fix/exclude flake8 errors * Convert keymap.c to valid keymap.json * Fix some errors * Add tests * Finalize keymap.json creation, add json template * Add docs * Move pygments to the standard requirements * Add support for nameless layers, fix tests * Fix things after rebase * Add missing 'keymap' value. * Fix missing layer numbers from advanced keycodes Buckwich noticed that if the advanced keycode / layer toggling key contains a number, it goes missing. Now we properly handle them. Thx for noticing! * Apply suggestions from code review * fixup tests Co-authored-by: Zach White <skullydazed@drpepper.org> Co-authored-by: skullY <skullydazed@gmail.com>
2021-01-12[Keyboard] Disable Console on Planck EZ and MoonlanderDrashna Jael're
Console on ARM boards can cause some weird issues, and because they're not needed, lets disable.
2020-10-17Fix/moonlander leds (#318)Florian Didron
* Additionall fixes * fix spelling errors * Remove bad matrix wake code Co-authored-by: Drashna Jael're <drashna@live.com>
2020-10-14Merge branch 'firmware19' of github.com:zsa/qmk_firmware into firmware19Florian Didron
2020-10-14fix issues with keyboard sleep (#316)Florian Didron
Co-authored-by: Drashna Jael're <drashna@live.com>
2020-10-13Revert "Revert "Convert ErgoDox EZ to Matrix Lite (qmk#10189)""Florian Didron
This reverts commit edd58256f58b44b00f8ae811941c63862693e4c4.
2020-10-13Revert "Convert ErgoDox EZ to Matrix Lite (qmk#10189)"Florian Didron
This reverts commit 396b86b92d8010ac929f30768cc98643ea019986.
2020-09-30[Keyboard] Update to ZSA Boards (qmk#10119)Drashna Jael're
2020-09-30Convert ErgoDox EZ to Matrix Lite (qmk#10189)Drashna Jael're
2020-09-30Remove unused CORTEX_VTOR_INIT (#10053)Ryan
2020-09-30Fix joystick compile issues (#9949)Ryan
2020-09-30Hid joystick interface (#4226)a-chol
* add support for hid gamepad interface add documentation for HID joystick Add joystick_task to read analog axes values even when no key is pressed or release. update doc Update docs/feature_joystick.md Manage pin setup and read to maintain matrix scan after analog read * Incorporates patches and changes to HID reporting There are some patches provided by @a-chol incorporated on this commit, and also some changes I made to the HID Report structure. The most interesting is the one dealing with number of buttons: Linux doesn't seem to care, but Windows requires the HID structure to be byte aligned (that's in the spec). So if one declares 8/16/32... buttons they should not have any issues, but this is what happens when you have 9 buttons: ``` bits |0|1|2|3|4|5|6|7| |*|*|*|*|*|*|*|*| axis 0 (report size 8) |*|*|*|*|*|*|*|*| ... |*|*|*|*|*|*|*|*| |*|*|*|*|*|*|*|*| |*|*|*|*|*|*|*|*| |*|*|*|*|*|*|*|*| |*|*|*|*|*|*|*|*| axis 6 |*|*|*|*|*|*|*|*| first 8 buttons (report size 1) |*| | | | | | | | last of 9 buttons, not aligned ``` So for that I added a conditonal that will add a number of reports with size 1 to make sure it aligns to the next multiple of 8. Those reports send dummy inputs that don't do anything aside from aligning the data. Tested on Linux, Windows 10 and Street Fighter (where the joystick is recognized as direct-input) * Add save and restore of each pin used in reading joystick (AVR). Allow output pin to be JS_VIRTUAL_AXIS if the axis is connected to Vcc instead of an output pin from the MCU. Fix joystick report id Fix broken v-usb hid joystick interface. Make it more resilient to unusual settings (none multiple of eight button count, 0 buttons or 0 axes) Correct adc reading for multiple axes. Piecewise range conversion for uncentered raw value range. Input, output and ground pin configuration per axis. Documentation fixes * Fix port addressing for joystick analog read * The other required set of changes As per the PR, the changes still holding it up. Add onekey for testing. Fix ARM builds. Fix device descriptor when either axes or buttons is zero. Add compile-time check for at least one axis or button. Move definition to try to fix conflict. PR review comments. qmk cformat * avoid float functions to compute range mapping for axis adc reading * Remove V-USB support for now. Updated docs accordingly. * Update tmk_core/protocol/lufa/lufa.c Co-Authored-By: Ryan <fauxpark@gmail.com> * Update tmk_core/protocol/usb_descriptor.c Co-Authored-By: Ryan <fauxpark@gmail.com> * Update tmk_core/protocol/usb_descriptor.c Co-Authored-By: Ryan <fauxpark@gmail.com> * Update tmk_core/protocol/usb_descriptor.c Co-Authored-By: Ryan <fauxpark@gmail.com> * Add support for joystick adc reading for stm32 MCUs. Fix joystick hid report sending for chibios * Fix HID joystick report sending for ChibiOS. Add one analog axis to the onekey:joystick keymap. Fix pin state save and restore during joystick analog read for STM32 MCUs. * Update tmk_core/protocol/chibios/usb_main.c Co-Authored-By: Ryan <fauxpark@gmail.com> * Update tmk_core/protocol/lufa/lufa.c Co-Authored-By: Ryan <fauxpark@gmail.com> * Add missing mcuconf.h and halconf.h to onekey:joystick keymap. Add suggested fixes from PR. * Switch saveState and restoreState signature to use pin_t type. onekey:joystick : add a second axis, virtual and programmatically animated. * Update docs/feature_joystick.md Co-Authored-By: Ryan <fauxpark@gmail.com> * Update docs/feature_joystick.md Co-Authored-By: Ryan <fauxpark@gmail.com> * Add PR corrections * Remove halconf.h and mcuconf.h from onekey keymaps * Change ADC_PIN to A0 Co-authored-by: achol <allecooll@hotmail.com> Co-authored-by: José Júnior <jose.junior@gmail.com> Co-authored-by: a-chol <achol@notamail.com> Co-authored-by: Nick Brassel <nick@tzarc.org> Co-authored-by: Ryan <fauxpark@gmail.com>
2020-08-27fix: layer3 indicator leds (#305)Florian Didron
2020-08-27fix: remove mx lock on ergodox_ez (#306)Florian Didron
2020-08-17Set defaults for Mousekey Wheel movement (#303)Drashna Jaelre
* fix: italian keymap it quot is redefined * fix: missing deprecated swedish key code * Adds Moonlander to the list of supported keyboards * Sorts list and adds EZ suffix to Planck in Readme * Update Mouse Wheel config Co-authored-by: Florian Didron <0x6664@hey.com> Co-authored-by: Erez Zukerman <1092548+ezuk@users.noreply.github.com>
2020-07-28Fix Moonlander InitializationDrashna Jael're
Launching!
2020-07-28Remove Handwired folderDrashna Jaelre
2020-06-12fix: HoustonFlorian Didron
2020-06-12Add SPI 25xx EEPROM support. (#8780)Nick Brassel
2020-06-12Convert clipping variables in rgblight.c to a structure (#7720)Drashna Jaelre
2020-06-12Fix AVR ws2812 when ADDRESS_BASE is non zero (#8646)Joel Challis
* Fix AVR ws2812 when ADDRESS_BASE is non zero * fix port * remove unused function defs
2020-06-12V-USB: Use manufacturer and product strings from config.h (#7797)Ryan
* V-USB: Use manufacturer and product strings from config.h * Update board configs
2020-06-12ARM - ADC cleanup (#8385)Joel Challis
* Update switch to array to allow custom values * Add adc keymap * update docs to reflect alignment of default 10 bit * start conversion to USE_ADCVn * samplerate is hella wrong...stub out for now * basic f1 and f4 functionality * Tidy up current changes * Restore old pinToMux function * Add back sample rate for supported platforms * F0 compile fixes * wordsmithery Co-Authored-By: Ryan <fauxpark@gmail.com> * Remove reference to avr only function Co-authored-by: Ryan <fauxpark@gmail.com>
2020-06-02Enable LED Blinking for Dynamic Macro Recording status for MoonlanderDrashna Jael're
2020-06-02Enable LED Blinking for Dynamic Macro Recording status for Planck EZDrashna Jael're
2020-06-02Enable LED Blinking for Dynamic Macro Recording status for Ergodox EZDrashna Jael're
2020-03-26Set Dynamic Keymap max size for MoonlanderDrashna Jael're
2020-02-26revert: change ergodox default debounce valueFlorian
2020-02-26Revert "[Keyboard] Remove i2c write command when reading columns on Ergodox ↵Drashna Jaelre
EZ (#8092)" This reverts commit 737d2793a6ecd6ca9355a92019c8e47cc3f0c4c5.
2020-02-26fix: change ergodox default valueFlorian
2020-02-26Fixes for MoonlanderDrashna Jael're
Removed i2c_start, as it's no longer needed and causes deadlocks now. Also fixed numbering of default keymap.
2020-02-26[Keyboard] Remove i2c write command when reading columns on Ergodox EZ (#8092)esinlayo
* Remove i2c write command when reading cols on Ergodox EZ * Comment on mcp23018 address state during read_cols
2020-02-26Cleanup magic number and functionsDrashna Jael're
2020-02-26Forgot preprocessor for moonlanderDrashna Jael're
2020-02-26Tweak moonlanderDrashna Jael're
2020-02-26Add Oryx Keymap with dynamic keymaps enabledDrashna Jael're
2020-02-26Remove webusb code from moonlanderDrashna Jael're
2020-02-26Limit number of layers due to eeprom size contstraintsDrashna Jael're
2020-02-26Implement core communicationDrashna Jael're
2020-02-26Add Oryx keymap, etcDrashna Jael're
2020-02-26Add toggle for live trainingDrashna Jael're
2020-02-26Apollo (#246)Florian Didron
* Add External EEPROM driver * Add keyboard * Fix i2c address * Revert i2c address for eeprom * Reduce page size for 24LC128 * Disable External EEPROM for now * Fix up RGB Matrix and layout * Cleanup moonlander.c file * Fix led array center * Disable External EEPROM for now * Cleanup and optimization of files * Add and clean up mappings * Enable "ZSA" defaults for Moonlander * Update matrix to use i2c_readReg * Disable render limit for rgb matrix * Update pin controls to GPIO Commands * Add proper changed mechanism * Additional cleanup * Run clang-format on moonlander files * Align keymap * Limit brightness for rgb matrix to 200 To prevent power draw issues * Add USB-IF VID/PID * Add RGB Matrix Sleep code * Enable External EEPROM on Moonlander * Port over Ergodox Expander error handling and retry code * Re-init RGB Matrix drivers when half is reconnected * Add threaded LED display * Correct layer state settings after moonlander_led_task * Update Moonlander to include Oryx configuration * Add webUSB Stuff * Update default keymap * fix: merge conflict Co-authored-by: Drashna Jaelre <drashna@live.com>
2020-01-09Move webusb.h includes to quantum.h (#244)Drashna Jaelre
Co-authored-by: Florian Didron <fdidron@users.noreply.github.com>
2020-01-09Re-init rgb matrix on left half reconnectDrashna Jaelre
2020-01-09[Core] Cleanup rules.mk for F303 keyboards (#7306)fauxpark
* Cleanup rules.mk for F303 keyboards * Fix small typo
2020-01-09WS2812 Overhaul (#210)Drashna Jaelre
* ARM - ws2812 bitbang (#7173) * Initial ARM bitbang ws2812 driver * Unify chibios platform to run rgblight_task * Remove 'avr only' comments from ws2812 docs * Remove 'avr only' comments from ws2812 docs * Unify chibios platform to run rgblight_task - review comments * Remove debug flags from keymap * Add comments from review * Add defines for STM32L0XX * Attempt to get arm ws2812 working on multiple gcc versions * Support RGBLIGHT_SLEEP when ChibiOS boards suspend (#7280) Copypasta from the AVR suspend implementation with a Teensy-specific hack removed * Unify RGB and RGBW commands (#7297) * Fix unicode in comments Co-Authored-By: fauxpark <fauxpark@gmail.com> * Remove separate RGBW implementation for a unified function * Set White to 0 in RGBW LEDs This is just to get this working, later, proper brightness can be handled elsewhere. * Use us instead of nanoseconds(?) since it renders correctly on web * Remove RGBW function from arm/ws2812.h * Remove RGBW function from arm/ws2812.c * Formatting changes * Add doc info * Remove force of debug on within rgblight - causes lockups waiting for hid_listen (#7330) * Move Ergodox EZ RGB Light code to custom driver (#7309) * Move Ergodox EZ RGB code to custom driver Also implements full addressing of Ergodox EZ's LED Strip, as written by seebs Co-authored-by: Seebs <seebs@seebs.net> * Make Clipping range accessible for custom drivers * Remove RGBW_BB_TWI from driver and docs * Revert changes to clipping range support * Use just rgblight_set instead of full custom driver * Convert to i2c_master commands * Rename rgblight driver and clean up includes * Use White channel on RGBW LEDs * SPI DMA based RGB Underglow for STM32 (#7674) * Initial stash of ws2812 spi driver * Update comment, add sync backup plan * Add testing notes to spi ws2812 driver * Align RGBW error messages Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Jonathan Rascher <jon@bcat.name> Co-authored-by: Florian Didron <fdidron@users.noreply.github.com>
2019-12-06feat: update examples + pairing processFlorian Didron
2019-12-06fix: adds webusb include on test keymapsFlorian Didron