summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-03-26Use pathlib everywhere we can (#7872)skullydazed
* Use pathlib everywhere we can * Update lib/python/qmk/path.py Co-Authored-By: Erovia <Erovia@users.noreply.github.com> * Update lib/python/qmk/path.py Co-Authored-By: Erovia <Erovia@users.noreply.github.com> * Improvements based on @erovia's feedback * rework qmk compile and qmk flash to use pathlib * style * Remove the subcommand_name argument from find_keyboard_keymap() Co-authored-by: Erovia <Erovia@users.noreply.github.com>
2020-03-26Fix os detection in OSX python 3.8 (#8187)Mikkel Jeppesen
* Fix os detection in osx python 3.8 * oops
2020-03-26Convert f072 backlight build error to message (#8177)Joel Challis
2020-03-26CLI: add support for list_keymapsErovia
List all the available keymaps for a given keyboard Add bs4 to requirements.txt UnicodeDammit is needed from bs4 for reading files. Major update to work better with revisions Find the community keymaps supported by each revision. Get all buildable keymaps for each revision The command now return all keymaps that's buildable for a keyboard/revision. If the base directory of a keyboard does not contain a 'rules.mk' file, nothing is returned. If the base directory contains a 'keymaps' directory, those keycaps will be returned for every revision. Fix help message. Try to figure out revision, drop -rv/--revision argument Fix output format Another major refactoring, add documentation Move all useful functions to the qmk module and use the cli subcommand as a wrapper around it. Add both inline comments and documentation. Add test for list_keymaps Fix regex for parsing rules.mk files I don't know why it couldn't put it together before... ¯\_(ツ)_/¯ Drop bs4 dependency, update docs, minor improvements Return only the unique keymaps Fix merging community and base keymaps Major rework, no regex/globbing, more walking Instead of using regexes and globbing to find the rules.mk and keymap.c files, walk the directory tree to find them. Also, do away with the concept of revision. Fix commandline parsing and flake8 findings, rebase Fixed commandline and config parsing. Thx @xplusplus. Rebased on master and fixed merge conflicts. Code cleanup, use pathlib, use pytest keyboard Clean up checks and logics that are unnecessary due to MILC updates. Use pathlib instead of os.path for readability. Use the 'pytest' keyboard for the tests. Add community layout for 'handwired/onekey/pytest' so we can test community layouts. Pathlib-ify qmk.keymap.list_keymaps() fix list_keymaps for python 3.5
2020-03-26Fix RESET keycode on some STM32F072 keyboards (#8134)Joel Challis
* Add f072 board files with 'enter_bootloader_mode_if_requested' support * rename default f072 board file to GENERIC_STM32_F072XB * Remove board files * Add bootloader def * Update generic f072 board paths * Revert wrong deletion format code according to conventions [skip ci]
2020-03-26Align split_common/matrix.c with matrix.c (#8153)Joel Challis
2020-03-26Run clang-format manually to fix recently changed files (#7934)Joel Challis
* Run clang-format manually to fix recently changed files * Run clang-format manually to fix recently changed files - revert template files * Run clang-format manually to fix recently changed files - format off for ascii_to_keycode_lut
2020-03-26Align VUSB HID descriptors with LUFA/ChibiOS (#7675)fauxpark
* Align VUSB HID descriptors with LUFA/ChibiOS * Wrap send_system and send_consumer in ifdefs too * Offset system usages to match LUFA/ChibiOS format code according to conventions [skip ci]
2020-03-26use replace() over rename() to have cross-platform overwriting (#8148)Mikkel Jeppesen
2020-03-26fix: prefix norwegian keycodes with NRW_ (#295)Florian Didron
2020-03-24Add Irish keymap (#8528)Ryan
2020-03-24Add Czech keymap (#8526)Ryan
2020-03-24Add US International keymap (#8493)Ryan
* Add US International keymap * Add extra spacing to UK AltGr keycode comments
2020-03-24Add Icelandic keymap and sendstring LUT (#8494)Ryan
2020-03-24Add Finnish keymap and sendstring LUT (#8495)Ryan
2020-03-24Update JIS keymap and sendstring LUT (#8457)Ryan
2020-03-24Fix missing deprecated keycodes for keymap_swedish (#8483)Ryan
2020-03-24Update Programmer Dvorak keymap and add sendstring LUT (#8456)Ryan
* Update Programmer Dvorak keymap and add sendstring LUT * Include quantum.h
2020-03-24Update UK keymap and sendstring LUT (#8458)Ryan
2020-03-24Update Italian keymap and add sendstring LUT (#8438)Ryan
2020-03-24Update German keymap and sendstring LUT (#8437)Ryan
2020-03-24Update French keymap and sendstring LUT (#8436)Ryan
2020-03-24Update Brazilian keymap and add sendstring LUT (#8435)Ryan
2020-03-24Update Belgian keymap and sendstring LUT (#8349)Ryan
2020-03-24Update Slovenian keymap and add sendstring LUT (#8350)Ryan
2020-03-24Update Norman keymap and sendstring LUT (#8404)Ryan
2020-03-24Update Plover keymap (#8405)Ryan
2020-03-24Add Portuguese keymap and sendstring lookup tables (#8390)Luís Oliveira
* Add Portuguese keymap and sendstring lookup tables * Update quantum/keymap_extras/keymap_portuguese.h Co-Authored-By: Ryan <fauxpark@gmail.com> * Update quantum/keymap_extras/keymap_portuguese.h Co-Authored-By: Ryan <fauxpark@gmail.com> * Update quantum/keymap_extras/keymap_portuguese.h Co-Authored-By: Ryan <fauxpark@gmail.com> * Update quantum/keymap_extras/keymap_portuguese.h Co-Authored-By: Ryan <fauxpark@gmail.com> * Update quantum/keymap_extras/keymap_portuguese.h Co-Authored-By: Ryan <fauxpark@gmail.com> * Update quantum/keymap_extras/keymap_portuguese.h Co-Authored-By: Ryan <fauxpark@gmail.com> Co-authored-by: Ryan <fauxpark@gmail.com>
2020-03-24Update Swedish keymap and add sendstring LUT (#8365)Ryan
2020-03-24Update Spanish keymap and sendstring LUT (#8364)Ryan
2020-03-24Update Dvorak, Colemak and Workman keycode aliases (#8217)Ryan
* Update Dvorak, Colemak and Workman keycode aliases * Add missing shifted keycode aliases for Workman
2020-03-24Update Norwegian keymap and add sendstring LUT (#8300)Ryan
2020-03-24Update Hungarian keymap and add sendstring LUT (#8220)Ryan
2020-03-24Reduce PROGMEM usage for sendstring LUT (#8109)Ted M Lin
* Reduce PROGMEM usage for keycode map Bit-pack the keycode bool array to gain back a small amount of flash space. The trade-off is an increase in runtime instructions when running macros. It does make the code a bit harder to read, as well as maintain. For configs that use send_string() et al, it saves ~100 bytes. * Switch to macro and common definition Rewrite the array declarations so both the unpacked (original) and packed LUT arrays can use the same value definitions. This is done by defining a macro that "knows what to do". This makes the code much easier to read and maintain. * Fix macro typos and improve perf Pack the bits in a more efficient order for extraction. And also fix the copy/paste error in the macro... * Switch fully to packed LUT Some minor reformatting. Compile tested all sendstring_xyz.h to make sure they were converted properly. Also checked that an unconverted version would generate a compile error. * Apply whitespace suggestions from code review Co-Authored-By: Ryan <fauxpark@gmail.com> Co-authored-by: Ryan <fauxpark@gmail.com>
2020-03-24Add support for delays in send_string. (#8244)Nick Brassel
2020-03-24`send_unicode_string()`: Add support for code points > 0xFFFF (#8236)Ryan
2020-03-24A proper `send_string()` for the Unicode feature (#8155)Ryan
2020-03-24Add mouse support to SEND_STRING (#8223)Joel Challis
* Add mouse support to SEND_STRING * add short forms
2020-03-24Add Danish keymap and sendstring LUT (#8218)Ryan
2020-03-24Add Turkish keymap aliases and sendstring LUT (#7676)Ryan
* Add Turkish keymap aliases and sendstring LUT * Split into F and Q layouts
2020-03-03fix: adjust layer not being sent properly over webusbFlorian
2020-02-26fix: remove cli testsFlorian
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-26fix: remove oryx live training boolean assignmentFlorian
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-26Fix Live Training bugDrashna Jael're
Forget to check if the firmware is actually paired
2020-02-26Run clang-format manually to fix recently changed files (#7934)Joel Challis
* Run clang-format manually to fix recently changed files * Run clang-format manually to fix recently changed files - revert template files * Run clang-format manually to fix recently changed files - format off for ascii_to_keycode_lut