From 5a26f39492eb7215897d71da0e2cf0360e80d052 Mon Sep 17 00:00:00 2001 From: Luca Mazzilli Date: Fri, 14 Jan 2022 20:13:44 +0100 Subject: Aukey KM-G12 (#194) * [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' --- lib/python/build_all.py | 83 +++++++++++++++++++++++++++---------------------- 1 file changed, 46 insertions(+), 37 deletions(-) (limited to 'lib/python') diff --git a/lib/python/build_all.py b/lib/python/build_all.py index ebe07ebcb..81112132b 100755 --- a/lib/python/build_all.py +++ b/lib/python/build_all.py @@ -3,66 +3,75 @@ import os import sys BOARDS = [ - 'redragon/k552/rev1', - 'redragon/k552/rev2', - 'redragon/k530', - 'redragon/k556', - 'redragon/k580', - 'redragon/k630', + 'ajazz/ak33/rev1', + 'ajazz/ak33/rev2', + 'akko/3061_rgb', + 'aukey/kmg12', + 'ffc/ffc61', + 'flashquark/horizon_z', + 'gmmk/compact/rev2', + 'gmmk/compact/rev3', + 'gmmk/compact', + 'gmmk/full/rev2', + 'gmmk/full/rev3', + 'gmmk/full', + 'gmmk/pro/ansi', + 'gmmk/pro/iso', + 'gmmk/tkl/rev2', + 'gmmk/tkl/rev3', + 'gmmk/tkl', 'keychron/c1/plain', 'keychron/c1/rgb', 'keychron/c1/white', 'keychron/c2/white', - 'keychron/k2/rgb', - 'keychron/k2/rgb/via', + 'keychron/k14/rgb/optical', + 'keychron/k14/rgb/optical_via', + 'keychron/k14/rgb', + 'keychron/k14/rgb/via', 'keychron/k2/rgb/optical', 'keychron/k2/rgb/optical_via', - 'keychron/k3/rgb', - 'keychron/k3/rgb/via', + 'keychron/k2/rgb', + 'keychron/k2/rgb/via', 'keychron/k3/rgb/optical', 'keychron/k3/rgb/optical_via', - 'keychron/k4/rgb/v1', - 'keychron/k4/rgb/v1/via', + 'keychron/k3/rgb', + 'keychron/k3/rgb/via', + 'keychron/k4/rgb', 'keychron/k4/rgb/v1/optical', 'keychron/k4/rgb/v1/optical_via', - 'keychron/k4/rgb/v2', - 'keychron/k4/rgb/v2/via', + 'keychron/k4/rgb/v1', + 'keychron/k4/rgb/v1/via', 'keychron/k4/rgb/v2/optical', 'keychron/k4/rgb/v2/optical_via', - 'keychron/k6/rgb', - 'keychron/k6/rgb/via', + 'keychron/k4/rgb/v2', + 'keychron/k4/rgb/v2/via', 'keychron/k6/rgb/optical', 'keychron/k6/rgb/optical_via', + 'keychron/k6/rgb', + 'keychron/k6/rgb/via', 'keychron/k6/white', - 'keychron/k7/rgb', - 'keychron/k7/rgb/via', 'keychron/k7/rgb/optical', 'keychron/k7/rgb/optical_via', - 'keychron/k8/rgb', - 'keychron/k8/rgb/via', + 'keychron/k7/rgb', + 'keychron/k7/rgb/via', 'keychron/k8/rgb/optical', 'keychron/k8/rgb/optical_via', - 'keychron/k14/rgb', - 'keychron/k14/rgb/via', - 'keychron/k14/rgb/optical', - 'keychron/k14/rgb/optical_via', - 'ajazz/ak33/rev1', - 'ajazz/ak33/rev2', + 'keychron/k8/rgb', + 'keychron/k8/rgb/via', + 'marvo/kg938', + 'redragon/k530', + 'redragon/k552/rev1', + 'redragon/k552/rev2', + 'redragon/k556', + 'redragon/k580', + 'redragon/k582', + 'redragon/k630', 'sharkoon/sgk3', 'smartduck/xs61', 'spcgear/gk530', 'spcgear/gk540', - 'marvo/kg938', - 'womier/k87', - 'flashquark/horizon_z', - 'ffc/ffc61', - 'gmmk/full/rev2', - 'gmmk/full/rev3', - 'gmmk/tkl/rev2', - 'gmmk/tkl/rev3', - 'gmmk/compact/rev2', - 'gmmk/compact/rev3', - 'akko/3061_rgb'] + 'womier/k87' +] error = False for kb in BOARDS: -- cgit v1.2.3