summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2025-04-22Prompt for converter when creating new keymap (#25116)Joel Challis1-1/+55
2025-04-21Add lint warning for empty url (#25182)Joel Challis1-0/+11
2025-04-21Update develop branch to Pico SDK 1.5.1 (#25178)Eric Molitor1-0/+0
2025-04-19Merge remote-tracking branch 'origin/master' into developQMK Bot1-10/+16
2025-04-20Fix 'Would you like to clone the submodules?' prompt under msys (#24958)Joel Challis1-10/+16
2025-04-11Exclude external userspace from lint checking (#24680)Joel Challis2-4/+9
2025-04-09Merge remote-tracking branch 'origin/master' into developQMK Bot3-14/+15
2025-04-09More Windows->Unix style path fixes. (#25119)Nick Brassel3-14/+15
2025-04-05Merge remote-tracking branch 'origin/master' into developQMK Bot1-2/+2
2025-04-06Fix 'qmk lint -kb' argument handling (#25093)Joel Challis1-2/+2
2025-04-01Add "license" field to Community Module JSON schema. (#25085)Pascal Getreuer1-3/+5
Add "license" field to community module schema.
2025-03-26[Modules] Provide access to current path in `rules.mk`. (#25061)Nick Brassel1-0/+2
2025-03-21[Core] use `keycode_string` in unit tests (#25042)Stefan Kerkmann2-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 <karlk90@pm.me> * 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 <karlk90@pm.me>
2025-03-20Align to latest CLI dependencies (#24553)Joel Challis1-1/+1
* Align to latest CLI dependencies * Update docs
2025-03-19Fixup MSYS + unix-style paths in Community Modules. (#25012)Nick Brassel2-3/+25
Fixup MSYS + unix-style paths.
2025-02-26Community modules (#24848)Nick Brassel11-36/+481
2025-02-16Reject readme dummy content (#24913)Joel Challis1-1/+47
2025-02-12Extend lint to reject 'blank' files (#23994)Joel Challis2-34/+84
2025-02-08Merge remote-tracking branch 'origin/master' into developQMK Bot1-1/+1
2025-02-08Avoid WindowsPath errors for 'qmk format-text' (#24905)Joel Challis1-1/+1
2025-02-01`qmk docs`: restore `--port` and `--browser` arguments (#24623)Ryan3-11/+12
* `qmk docs`: restore `--port` and `--browser` arguments * Make docs command args always a list
2025-01-30Resolve keyboard_aliases when processing keyboard make targets (#24834)Joel Challis2-0/+17
2025-01-29Merge remote-tracking branch 'origin/master' into developQMK Bot1-0/+7
2025-01-30Reject keyboard.json next to info.json (#24882)Joel Challis1-0/+7
2025-01-27[Core] Add Chordal Hold, an "opposite hands rule" tap-hold option similar to ↵Pascal Getreuer1-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.
2025-01-20Update via2json layout macro searching (#24640)Joel Challis1-20/+12
2025-01-10Ensure `qmk flash` rejects invalid files for uf2 compatible bootloaders (#24802)Joel Challis1-1/+6
Ensure 'qmk flash' rejects invalid files for uf2 compatible bootloaders
2025-01-09Update ChibiOS-Contrib. (#24803)Nick Brassel1-0/+0
2025-01-01Merge remote-tracking branch 'origin/master' into developQMK Bot1-2/+2
2025-01-01Fix g_led_config parse warning (#24769)Joel Challis1-2/+2
2024-12-27Merge remote-tracking branch 'origin/master' into developQMK Bot1-13/+14
2024-12-28Skip parsing g_led_config when matrix_size is missing (#24739)Joel Challis1-13/+14
2024-12-15default_keyboard.h generation tweaks (#24715)Ryan1-7/+12
2024-12-15Update ChibiOS `stable_21.11.x`. (#24714)Nick Brassel1-0/+0
2024-12-15Merge remote-tracking branch 'origin/master' into developQMK Bot4-6/+6
2024-12-15Resolve `cli.log.warn` warnings (#24551)Joel Challis4-6/+6
2024-12-11Change `new-keymap` keymap name prompt (#24701)jack1-4/+2
2024-11-30Update ChibiOS to latest stable branch. (#24651)Nick Brassel2-0/+0
2024-11-30Improve "feature/encoder config both specified" warnings (#24641)Ryan1-2/+2
2024-11-24Allow codegen of `keymap.json` => `keymap.c` without requiring layers/layout ↵Nick Brassel4-34/+30
etc. (#23451)
2024-11-21`qmk find`: expand operator support (#24468)Ryan2-11/+31
2024-11-21Added MCU support for ArteryTek AT32F415 (#23445)HorrorTroll1-1/+3
2024-11-21Merge remote-tracking branch 'origin/master' into developQMK Bot2-9/+37
2024-11-21`qmk new-keyboard`: separate dev board and MCU selection (#24548)Ryan1-30/+44
2024-11-21`qmk via2json`: Improve macro parsing (#24345)Ryan1-9/+25
2024-11-21`qmk new-keymap`: validate keymap name (#23420)Ryan1-0/+12
2024-11-21[CLI] Refactor painter arguments to table instead of commandline (#24456)Pablo Martínez3-10/+30
Co-authored-by: Nick Brassel <nick@tzarc.org>
2024-11-14Merge remote-tracking branch 'origin/master' into developQMK Bot1-2/+60
2024-11-14Perform test compiles during `qmk doctor`. (#24282)Nick Brassel1-2/+60
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
2024-11-08Merge remote-tracking branch 'origin/master' into developQMK Bot4-9/+38