|
build_all.py (#206)
* Add argparse, add arguments for whitelist, blacklist, and debug mode
* When in debug mode, print a message
* Parse whitelist/blacklist, output filenames and contents if debug enabled
* Add should_include function to determine if a line should be included, apply whitelist/blacklist if enabled
* Add quick build workflow and empty file to hold quickbuild list
* Use blacklist for quick build
* Remove unnecessary parentheses
* Use lowercase filename
* Whitelist is probably better than blacklist for quick build
* Add common testing keyboards to whitelist
* Fix indents
* Still had some messed up indents!
* More formatting fixes
* Change delimiters to semicolon to hopefully appease the py linter
* Delimiter is semicolon, no need to escape slash
* Update build_all.py
Co-authored-by: dexter93 <d3xter93@gmail.com>
|
|
* [Aukey KM-G12] add support
https://github.com/SonixQMK/qmk_firmware/issues/15
status leds:
- fixed LED_PIN_ON_STATE
- fixed LED_SCROLL_LOCK_PIN
Key Matrix:
- using COL2ROW
- adjusted row 5: KC_SPC is on col 6 and have 3 KC_NO before and after
- fixed ISO layout (removed \ under enter and shifted all led config index)
- rgb keymaps aligned to the Aukey km-g12 default
- moved RESET to FN+R (esc is mapped to RGB toggle)
RGB matrix:
Row 4 contains a led under numpad plus, row 6 contains 6 led under the spacebar and 1 under numpad enter. All the other underglow leds are un row 7 and row 8 ( to compile i had to force also keys matrix to 8. I'm not sure why but it seems that g_led_config is inited on MATRIX_ROWS and not LED_MATRIX_ROWS).
- using SN32F24xB
- adjusted KC_SPC led position (col 6)
- underglow: D4 (red), B15 (blue), D3 (green) controls led marked as DL1, DL25 to DL36 and DL43 to DL50 while D5 (red), A15 (blue), D6 (green) controls DL2-24.
- marked underglow with LED_FLAG_UNDERGLOW = 2
- marked modifiers with LED_FLAG_MODIFIER | LED_FLAG_KEYLIGHT = 5
- mapped underglow X and Y in a square (left, top, right, bottom)
Added UNUSED_PINS C13 C14, for reference
* [Aukey KM-G12] fixed underglow square coordinates and indexes
* [Aukey KM-G12] added to build
* updated build_all.py
searched for specific rules.mk containing SN32F2:
git grep -rl 'SN32F2' -- 'keyboards/*.mk'
then filtered the results with a regex, cleaned the string (keyboards, rules.mk):
find keyboards/ -type f -name "rules.mk" | grep -E 'keychron\/c|keychron\/k|redragon\/k|ajazz|aukey|sharkoon|smartduck|spcgear|marvo|womier|flashquark|ffc61|gmmk|akko' | sed -e 's/keyboards\///g' | sed -e 's/\/rules.mk//g'
|