aboutsummaryrefslogtreecommitdiff
path: root/lib/python
Commit message (Collapse)AuthorAgeFilesLines
* More compiledb fixes. (#25355)Nick Brassel2025-06-151-5/+8
|
* Specify language standard when generating compilation database. (#25354)Nick Brassel2025-06-111-2/+2
|
* Add `compiler_support.h` (#25274)Pablo Martínez2025-05-221-2/+4
|
* Use relative paths for schemas, instead of $id. Enables VScode validation. ↵Nick Brassel2025-05-191-0/+5
| | | | (#25251)
* [Core] STM32G0x1 support (#24301)Stefan Kerkmann2025-05-191-1/+2
|
* Enable community modules to define LED matrix and RGB matrix effects. (#25187)Pascal Getreuer2025-05-121-36/+39
| | | | Co-authored-by: Joel Challis <[email protected]>
* Deprecate `qmk generate-compilation-database`. (#25237)Nick Brassel2025-05-063-168/+145
|
* Ensure `qmk_userspace_paths` maintains detected order (#25204)Joel Challis2025-05-051-5/+6
|
* Resolve alias for `qmk new-keymap` keyboard prompts (#25210)Joel Challis2025-05-051-1/+3
|
* Generate versions to keycode headers (#25219)Joel Challis2025-05-052-0/+17
|
* Merge remote-tracking branch 'origin/master' into developQMK Bot2025-05-051-1/+6
|\
| * Workaround for resolving keyboard alias for config file values (#25228)Joel Challis2025-05-051-1/+6
| |
* | Add additional hooks for Community modules (#25050)Drashna Jaelre2025-05-051-0/+10
| |
* | Extend lint checks to reject duplication of defaults (#25149)Joel Challis2025-04-241-0/+31
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2025-04-231-0/+5
|\|
| * Update 'qmk generate-api' to only publish pure DD keymaps (#24782)Joel Challis2025-04-231-0/+5
| |
* | Avoid duplication in generated community modules `rules.mk` (#25135)Joel Challis2025-04-233-48/+69
| |
* | Prompt for converter when creating new keymap (#25116)Joel Challis2025-04-221-1/+55
| |
* | Add lint warning for empty url (#25182)Joel Challis2025-04-211-0/+11
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2025-04-191-10/+16
|\|
| * Fix 'Would you like to clone the submodules?' prompt under msys (#24958)0.28.6Joel Challis2025-04-201-10/+16
| |
* | Exclude external userspace from lint checking (#24680)Joel Challis2025-04-112-4/+9
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2025-04-093-14/+15
|\|
| * More Windows->Unix style path fixes. (#25119)0.28.5Nick Brassel2025-04-093-14/+15
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2025-04-051-2/+2
|\|
| * Fix 'qmk lint -kb' argument handling (#25093)0.28.3Joel Challis2025-04-061-2/+2
| |
* | Add "license" field to Community Module JSON schema. (#25085)Pascal Getreuer2025-04-011-3/+5
| | | | | | Add "license" field to community module schema.
* | [Modules] Provide access to current path in `rules.mk`. (#25061)Nick Brassel2025-03-261-0/+2
| |
* | [Core] use `keycode_string` in unit tests (#25042)Stefan Kerkmann2025-03-212-40/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests: use keycode_string feature With a proper keycode to string implementation in qmk there is no need to use the unit tests only implementation anymore. Signed-off-by: Stefan Kerkmann <[email protected]> * tests: remove keycode_util feature This feature is no longer used as we switched the tests to the keycode string implementation. Signed-off-by: Stefan Kerkmann <[email protected]>
* | Align to latest CLI dependencies (#24553)Joel Challis2025-03-201-1/+1
|/ | | | | * Align to latest CLI dependencies * Update docs
* Fixup MSYS + unix-style paths in Community Modules. (#25012)Nick Brassel2025-03-192-3/+25
| | | Fixup MSYS + unix-style paths.
* Community modules (#24848)Nick Brassel2025-02-2611-36/+481
|
* Reject readme dummy content (#24913)Joel Challis2025-02-161-1/+47
|
* Extend lint to reject 'blank' files (#23994)Joel Challis2025-02-122-34/+84
|
* Merge remote-tracking branch 'origin/master' into developQMK Bot2025-02-081-1/+1
|\
| * Avoid WindowsPath errors for 'qmk format-text' (#24905)Joel Challis2025-02-081-1/+1
| |
* | `qmk docs`: restore `--port` and `--browser` arguments (#24623)Ryan2025-02-013-11/+12
| | | | | | | | | | * `qmk docs`: restore `--port` and `--browser` arguments * Make docs command args always a list
* | Resolve keyboard_aliases when processing keyboard make targets (#24834)Joel Challis2025-01-302-0/+17
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2025-01-291-0/+7
|\|
| * Reject keyboard.json next to info.json (#24882)Joel Challis2025-01-301-0/+7
| |
* | [Core] Add Chordal Hold, an "opposite hands rule" tap-hold option similar to ↵Pascal Getreuer2025-01-271-5/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Achordion, Bilateral Combinations. (#24560) * Chordal Hold: restrict what chords settle as hold * Chordal Hold: docs and further improvements * Fix formatting. * Doc rewording and minor edit. * Support Chordal Hold of multiple tap-hold keys. * Fix formatting. * Simplification and additional test. * Fix formatting. * Tighten tests. * Add test two_mod_taps_same_hand_hold_til_timeout. * Revise handing of pairs of tap-hold keys. * Generate a default chordal_hold_layout. * Document chordal_hold_handedness(). * Add license notice to new and branched files in PR. * Add `tapping.chordal_hold` property for info.json. * Update docs/reference_info_json.md * Revise "hand" jsonschema. * Chordal Hold: Improved layout handedness heuristic. This commit improves the heuristic used in generate-keyboard-c for inferring key handedness from keyboard.json geometry data. Heuristic summary: 1. If the layout is symmetric (e.g. most split keyboards), guess the handedness based on the sign of (x - layout_x_midpoint). 2. Otherwise, if the layout has a key of >=6u width, it is probably the spacebar. Form a dividing line through the spacebar, nearly vertical but with a slight angle to follow typical row stagger. 3. Otherwise, assume handedness based on the widest horizontal separation. I have tested this strategy on a couple dozen keyboards and found it to work reliably. * Use Optional instead of `| None`. * Refactor to avoid lambdas. * Remove trailing comma in chordal_hold_layout. * Minor docs edits. * Revise to allow combining multiple same-hand mods. This commit revises Chordal Hold as described in discussion in https://github.com/qmk/qmk_firmware/pull/24560#discussion_r1894655238 1. In "RCTL_T(KC_A)↓, RSFT_T(KC_C)↓, RCTL_T(KC_A)↑" before the tapping term, RCTL_T(KC_A) is settled as tapped. 2. In "RCTL_T(KC_A)↓, RSFT_T(KC_C)↓, RSFT_T(KC_C)↑", both RCTL_T(KC_A) and RSFT_T(KC_C) are settled as tapped. 3. In "RCTL_T(KC_A)↓, RSFT_T(KC_C)↓, KC_U↓" (all keys on the same side), both RCTL_T(KC_A) and RSFT_T(KC_C) are settled as tapped. 4. In "RCTL_T(KC_A)↓, RSFT_T(KC_C)↓, LSFT_T(KC_T)↓", with the third key on the other side, we allow Permissive Hold or Hold On Other Keypress to decide how/when to settle the keys. 5. In "RCTL_T(KC_A)↓, RSFT_T(KC_C)↓" held until the tapping term, the keys are settled as held. 1–3 provide same-hand roll protection. 4–5 are for combining multiple same-hand modifiers. I've updated the unit tests and have been running it on my keyboard, for a few hours so far, and all seems good. I really like this scheme. It allows combining same-side mods, yet it also has roll protection on streaks. For me, this feels like Achordion, but clearly better streak handling and improved responsiveness. * Fix formatting. * Add a couple tests with LT keys. * Remove stale use of CHORDAL_HOLD_LAYOUT. * Fix misspelling lastest -> latest * Handling tweak for LTs and tests. * Fix formatting. * More tests with LT keys. * Fix formatting.
* | Update via2json layout macro searching (#24640)Joel Challis2025-01-201-20/+12
| |
* | Ensure `qmk flash` rejects invalid files for uf2 compatible bootloaders (#24802)Joel Challis2025-01-101-1/+6
| | | | | | Ensure 'qmk flash' rejects invalid files for uf2 compatible bootloaders
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2025-01-011-2/+2
|\|
| * Fix g_led_config parse warning (#24769)Joel Challis2025-01-011-2/+2
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2024-12-271-13/+14
|\|
| * Skip parsing g_led_config when matrix_size is missing (#24739)Joel Challis2024-12-281-13/+14
| |
* | default_keyboard.h generation tweaks (#24715)Ryan2024-12-151-7/+12
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2024-12-154-6/+6
|\|
| * Resolve `cli.log.warn` warnings (#24551)Joel Challis2024-12-154-6/+6
| |