~ruther/qmk_firmware

8ce946b5 — Stefan Kerkmann 3 years ago
[Bug] Add key event check to `is_tap_record` and remove `is_tap_key` (#18063)

Fixup gmmk/pro/rev2 USB Data (#18056)

1ccfed48 — QMK Bot 3 years ago
Merge remote-tracking branch 'origin/master' into develop
ADB to USB converter: split into rev1 and rev2 (#18052)

c2026029 — fauxpark 3 years ago
Merge remote-tracking branch 'upstream/master' into develop
8e9ee29f — precondition 3 years ago
Remove duplicate COMBINING HORN in keymap_us_extended.h (#18045)

ed3b4bb6 — Joel Challis 3 years ago
Fix missing development_board schema entry (#18050)

Move keyboard USB IDs and strings to data driven, pass 2: D-E (#17956)

Move keyboard USB IDs and strings to data driven, pass 2: F-I (#17958)

5334614e — QMK Bot 3 years ago
Merge remote-tracking branch 'origin/master' into develop
4c91e5be — PeterFalken 3 years ago
Allow disabling RGB_MATRIX_ANIMATIONS system76 keyboards (#17478)

630de240 — QMK Bot 3 years ago
Merge remote-tracking branch 'origin/master' into develop
93fb69fb — Joel Challis 3 years ago
Migrate more F4x1 board files (#18046)

463fb72d — Joel Challis 3 years ago
Partially revert some WB32 specific changes (#18038)

74b4bcb6 — QMK Bot 3 years ago
Merge remote-tracking branch 'origin/master' into develop
3d3e4635 — Alberto 3 years ago
Feat/port ft mars 65 (#17994)

* by wonderbeel
e6a52241 — QMK Bot 3 years ago
Merge remote-tracking branch 'origin/master' into develop
Improve Drop Alt compatibility with VIA (#18041)

by slycedix
95c43a27 — Pascal Getreuer 3 years ago
Fix Caps Word to treat mod-taps more consistently. (#17463)

* Fix Caps Word to treat mod-taps more consistently.

Previously, holding any mod-tap key while Caps Word is active stops Caps
Word, and this happens regardless of `caps_word_press_user()`. Yet for
regular mod keys, AltGr (KC_RALT) is ignored, Shift keys are passed to
`caps_word_press_user()` to determine whether to continue, and
similarly, a key `RSFT(KC_RALT)` representing Right Shift + Alt is
passed to `caps_word_press_user()` to determine whether to continue.

This commit makes held mod-tap keys consistent with regular mod keys:

* Holding a `RALT_T` mod-tap is ignored.
* When holding a shift mod-tap key, `KC_LSFT` or `KC_RSFT` is passed to
  `caps_word_press_user()` to determine whether to continue.
* When holding a Right Shift + Alt (`RSA_T`) mod-tap, `RSFT(KC_RALT)` is
  passed to `caps_word_press_user()`.

Particularly, with this fix a user may choose to continue Caps Word when
a shift mod-tap key is held by adding `KC_LSFT` and `KC_RSFT` cases in
`caps_word_press_user()`. For instance as

```
bool caps_word_press_user(uint16_t keycode) {
  switch (keycode) {
    // Keycodes that continue Caps Word, with shift applied.
    case KC_A ... KC_Z:
    case KC_MINS:
      add_weak_mods(MOD_BIT(KC_LSFT));  // Apply shift to the next key.
      return true;

    // Keycodes that continue Caps Word, without shifting.
    case KC_1 ... KC_0:
    case KC_BSPC:
    case KC_DEL:
    case KC_UNDS:
    case KC_LSFT:  // <<< Added here.
    case KC_RSFT:
      return true;

    default:
      return false;  // Deactivate Caps Word.
  }
}
```

* Fix Caps Word to treat mod-taps more consistently.

Previously, holding any mod-tap key while Caps Word is active stops Caps
Word, and this happens regardless of `caps_word_press_user()`. Yet for
regular mod keys, AltGr (KC_RALT) is ignored, Shift keys are passed to
`caps_word_press_user()` to determine whether to continue, and
similarly, a key `RSFT(KC_RALT)` representing Right Shift + Alt is
passed to `caps_word_press_user()` to determine whether to continue.

This commit makes held mod-tap keys consistent with regular mod keys:

* Holding a `RALT_T` mod-tap is ignored.
* When holding a shift mod-tap key, `KC_LSFT` or `KC_RSFT` is passed to
  `caps_word_press_user()` to determine whether to continue.
* When holding a Right Shift + Alt (`RSA_T`) mod-tap, `RSFT(KC_RALT)` is
  passed to `caps_word_press_user()`.

Particularly, with this fix a user may choose to continue Caps Word when
a shift mod-tap key is held by adding `KC_LSFT` and `KC_RSFT` cases in
`caps_word_press_user()`. For instance as

```
bool caps_word_press_user(uint16_t keycode) {
  switch (keycode) {
    // Keycodes that continue Caps Word, with shift applied.
    case KC_A ... KC_Z:
    case KC_MINS:
      add_weak_mods(MOD_BIT(KC_LSFT));  // Apply shift to the next key.
      return true;

    // Keycodes that continue Caps Word, without shifting.
    case KC_1 ... KC_0:
    case KC_BSPC:
    case KC_DEL:
    case KC_UNDS:
    case KC_LSFT:  // <<< Added here.
    case KC_RSFT:
      return true;

    default:
      return false;  // Deactivate Caps Word.
  }
}
```

* Update quantum/process_keycode/process_caps_word.c

Co-authored-by: Joel Challis <git@zvecr.com>
6fc7c03e — Chewxy 3 years ago
Added emacs as an "operating system" for input mode.  (#16949)

Next