~ruther/qmk_firmware

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)

4da34828 — Drashna Jaelre 3 years ago
Fix Emulated EEPROM issue with F466 (#18039)

0a6327d2 — precondition 3 years ago
Replace ; by : in the shifted symbols ASCII art of keymap_norman (#18029)

Thanks!
9f31fcac — Drashna Jaelre 3 years ago
[Keyboard] Fix compilation issues for Boardsource Microdox (#18037)

fce99f38 — Mega Mind 3 years ago
[Controller] Added board config for custom controller STeMCell (#16287)

Co-authored-by: Mariappan Ramasamy <947300+Mariappan@users.noreply.github.com>
Co-authored-by: Mariappan Ramasamy <maari@basis-ai.com>
Co-authored-by: Sadek Baroudi <sadekbaroudi@gmail.com>
ba04ecfa — Joel Challis 3 years ago
Align TO() max layers with other keycodes (#17989)

ac31e429 — Drashna Jael're 3 years ago
Merge remote-tracking branch 'origin/master' into develop
4195eb8f — Xelus22 3 years ago
[Keyboard] Add Valor FRL TKL rev2.0 and 2.1 (#17992)

* add valor frl tkl rev2 by xelus22
e948fa6f — Joy Lee 3 years ago
Added support for gmmk pro rev2 keyboard. (#17655)

Co-authored-by: Joy <chang.li@westberrytech.com>
Move keyboard USB IDs and strings to data driven, pass 2: B-C (#17945)

dfc92d8f — yiancar 3 years ago
Fix buffer size for WS2812 PWM driver (#17046)

Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
Co-authored-by: yiancar <yiancar@gmail.com>
c02d7ae8 — Joy Lee 3 years ago
Added ws2812_pwm support for WB32 MCU. (#17142)

Co-authored-by: Joy <chang.li@westberrytech.com>
6b1c7d20 — Joy Lee 3 years ago
Added ws2812_spi support for WB32 MCU (#17143)

Co-authored-by: Joy <chang.li@westberrytech.com>
5c805e4c — QMK Bot 3 years ago
Merge remote-tracking branch 'origin/master' into develop
28b05d15 — Gary Kong 3 years ago
[Keyboard] add bajjak keyboard (#12377)

Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: peepeetee <43021794+peepeetee@users.noreply.github.com>
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
Add Gentleman 65 SE Solderd PCB support (#16992)

2d407135 — QMK Bot 3 years ago
Merge remote-tracking branch 'origin/master' into develop
Next