aboutsummaryrefslogtreecommitdiff
path: root/lib/python/qmk/cli
Commit message (Collapse)AuthorAgeFilesLines
* Fix 'Would you like to clone the submodules?' prompt under msys (#24958)0.28.6Joel Challis2 days1-10/+16
|
* More Windows->Unix style path fixes. (#25119)0.28.5Nick Brassel13 days1-2/+2
|
* Fix 'qmk lint -kb' argument handling (#25093)0.28.3Joel Challis2025-04-061-2/+2
|
* Fixup MSYS + unix-style paths in Community Modules. (#25012)Nick Brassel2025-03-191-2/+2
| | | Fixup MSYS + unix-style paths.
* Community modules (#24848)Nick Brassel2025-02-266-8/+322
|
* Reject readme dummy content (#24913)Joel Challis2025-02-161-1/+47
|
* Extend lint to reject 'blank' files (#23994)Joel Challis2025-02-121-31/+81
|
* 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-012-7/+8
| | | | | | | | | | * `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
| |
* | [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
| |
* | default_keyboard.h generation tweaks (#24715)Ryan2024-12-151-7/+12
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2024-12-153-5/+5
|\|
| * Resolve `cli.log.warn` warnings (#24551)Joel Challis2024-12-153-5/+5
| |
* | Change `new-keymap` keymap name prompt (#24701)jack2024-12-111-4/+2
|/
* Merge remote-tracking branch 'origin/master' into developQMK Bot2024-11-212-9/+37
|\
| * `qmk via2json`: Improve macro parsing (#24345)Ryan2024-11-211-9/+25
| |
| * `qmk new-keymap`: validate keymap name (#23420)Ryan2024-11-211-0/+12
| |
* | `qmk new-keyboard`: separate dev board and MCU selection (#24548)Ryan2024-11-211-30/+44
| |
* | [CLI] Refactor painter arguments to table instead of commandline (#24456)Pablo Martínez2024-11-212-6/+2
| | | | | | | | Co-authored-by: Nick Brassel <[email protected]>
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2024-11-141-2/+60
|\|
| * Perform test compiles during `qmk doctor`. (#24282)Nick Brassel2024-11-141-2/+60
| | | | | | | | Co-authored-by: James Young <[email protected]>
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2024-11-082-0/+4
|\|
| * Speed improvements to `qmk find`. (#24385)Nick Brassel2024-11-082-0/+4
| |
* | Bump minimum required Python version (#24554)Joel Challis2024-10-311-2/+2
|/
* Reject via keymaps in lint (#24325)Joel Challis2024-08-261-2/+8
|
* Merge remote-tracking branch 'origin/master' into developQMK Bot2024-08-151-1/+1
|\
| * Update Discord URL (#24283)Joel Challis2024-08-151-1/+1
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2024-08-126-21/+65
|\|
| * Userspace: add support for adding environment variables during build (#22887)0.25.19Nick Brassel2024-08-126-21/+65
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2024-07-281-5/+0
|\|
| * Remove AVR GCC version warning (#24206)Dasky2024-07-281-5/+0
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2024-07-031-13/+15
|\|
| * Minimum python version listing. (#23989)Nick Brassel2024-07-031-13/+15
| |
* | Rename encoder pins defines (#24003)Ryan2024-07-031-2/+2
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2024-06-301-22/+12
|\|
| * Fix 'qmk new-keyboard' processing of development_board (#23996)Joel Challis2024-06-301-22/+12
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2024-06-261-1/+1
|\|
| * Fix docker_cmd.sh when userspace is not configured (#23997)Joel Challis2024-06-261-1/+1
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2024-06-242-0/+9
|\|
| * Add support for userspace to docker build commands. (#23988)0.25.9Nick Brassel2024-06-242-0/+9
| |
* | Implement data driven joysticks (#22947)Joel Challis2024-06-181-1/+37
| |
* | Generate keymap dd keycodes to header (#20273)Joel Challis2024-06-172-0/+52
|/
* [CLI] Don't `exit()` when certain exceptions occur. (#23442)Nick Brassel2024-06-156-8/+26
|
* Vitepress conversion of docs. (#23795)0.25.2Nick Brassel2024-05-303-55/+30
|
* Merge remote-tracking branch 'origin/master' into developQMK Bot2024-05-151-1/+1
|\
| * [CLI] Fixup return code for `qmk userspace-compile`. (#23720)Nick Brassel2024-05-151-1/+1
| |
* | Merge remote-tracking branch 'upstream/master' into developNick Brassel2024-05-021-4/+30
|\|