summaryrefslogtreecommitdiffstats
path: root/quantum
Commit message (Collapse)AuthorAgeFilesLines
...
* | Format code according to conventions (#18466)QMK Bot2022-09-241-1/+1
| |
* | [Core] Pointing Device Automatic Mouse Layer (#17962)Alabastard-642022-09-236-0/+495
| | | | | | | | Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Stefan Kerkmann <karlk90@pm.me>
* | Change `DRIVER_LED_COUNT` to `{LED,RGB}_MATRIX_LED_COUNT` (#18399)Ryan2022-09-2312-37/+37
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2022-09-191-1/+1
|\|
| * Fix int8_t overflow in RGB heatmap effect (#18410)Marius Renner2022-09-191-1/+1
| |
* | [Core] remove busy waiting from rgblight functions (#18418)Stefan Kerkmann2022-09-191-4/+0
| |
* | [QP] Add RGB565 surface. Docs clarification, cleanup, tabsification, and ↵Nick Brassel2022-09-196-61/+116
| | | | | | | | reordering. (#18396)
* | Work around WinCompose issue for U+Axxx or U+Exxx (#18260)Joshua Diamond2022-09-181-10/+17
| | | | | | | | | | | | | | * Work around WinCompose issue for U+Axxx or U+Exxx * tzarc's more efficient version Co-authored-by: Thomas <mail@tpreisner.de>
* | Fix EECONFIG_KEYMAP_UPPER_BYTE init (#18394)Dasky2022-09-171-1/+2
| | | | | | Co-authored-by: Drashna Jaelre <drashna@live.com>
* | [Core] Add getreuer's Autocorrect feature to core (#15699)Drashna Jaelre2022-09-178-1/+406
| | | | | | Co-authored-by: Albert Y <76888457+filterpaper@users.noreply.github.com>
* | Move mousekey keycodes into newly freed up keycode block (#16076)Drashna Jaelre2022-09-171-3/+3
| |
* | Chromeos keycodes (#18212)Joshua Diamond2022-09-173-3/+9
| |
* | Move fake EE_HANDS (#18352)Dasky2022-09-162-10/+14
| |
* | Fix cirque tap from secondary side (#18351)Dasky2022-09-141-1/+4
| |
* | Remove deprecated RESET keycode alias (#18271)Joel Challis2022-09-142-24/+3
| |
* | Refactor Unicode feature (#18333)Ryan2022-09-1214-505/+588
| |
* | Move Bluetooth-related function calls up to host/keyboard level (#18274)Ryan2022-09-071-3/+12
| | | | | | | | | | | | | | | | | | | | | | * Move Bluetooth-related function calls up to host/keyboard level * Remove pointless set_output() call * Move bluetooth (rn42) init to end of keyboard_init() * Enable SPI/UART for ChibiOS targets * Some more slight tweaks
* | Remove `UNICODE_KEY_OSX` and `UC_OSX` (#18290)Ryan2022-09-061-9/+0
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2022-09-061-1/+1
|\|
| * Remove use of legacy keycode (#18281)Joel Challis2022-09-061-1/+1
| |
* | Better handle EEPROM reset keycode (#18244)Drashna Jaelre2022-09-011-1/+3
| |
* | Add unicode mode change callbacks (#18235)Joshua Diamond2022-08-312-0/+20
| |
* | Use a macro to compute the size of arrays at compile time (#18044)Jeff Epler2022-08-309-28/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add ARRAY_SIZE and CEILING utility macros * Apply a coccinelle patch to use ARRAY_SIZE * fix up some straggling items * Fix 'make test:secure' * Enhance ARRAY_SIZE macro to reject acting on pointers The previous definition would not produce a diagnostic for ``` int *p; size_t num_elem = ARRAY_SIZE(p) ``` but the new one will. * explicitly get definition of ARRAY_SIZE * Convert to ARRAY_SIZE when const is involved The following spatch finds additional instances where the array is const and the division is by the size of the type, not the size of the first element: ``` @ rule5a using "empty.iso" @ type T; const T[] E; @@ - (sizeof(E)/sizeof(T)) + ARRAY_SIZE(E) @ rule6a using "empty.iso" @ type T; const T[] E; @@ - sizeof(E)/sizeof(T) + ARRAY_SIZE(E) ``` * New instances of ARRAY_SIZE added since initial spatch run * Use `ARRAY_SIZE` in docs (found by grep) * Manually use ARRAY_SIZE hs_set is expected to be the same size as uint16_t, though it's made of two 8-bit integers * Just like char, sizeof(uint8_t) is guaranteed to be 1 This is at least true on any plausible system where qmk is actually used. Per my understanding it's universally true, assuming that uint8_t exists: https://stackoverflow.com/questions/48655310/can-i-assume-that-sizeofuint8-t-1 * Run qmk-format on core C files touched in this branch Co-authored-by: Stefan Kerkmann <karlk90@pm.me>
* | [Core] Introduce pointing device specific debug messages (#17663)Stefan Kerkmann2022-08-292-15/+21
| |
* | Use `TAP_CODE_DELAY` for encoder mapping by default (#18098)Nick Brassel2022-08-281-1/+7
| |
* | Fix mouse report comparison failing on shared EP (#18060)Drzony2022-08-281-5/+3
| | | | | | Co-authored-by: Dasky <32983009+daskygit@users.noreply.github.com>
* | Switch over MANUFACTURER and PRODUCT to string literals (#18183)Ryan2022-08-281-3/+0
|/
* Clean-up of `#define _ADJUST 16` instances (#18182)James Young2022-08-271-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * enum layer_names: 40percentclub/nori default keymap * enum layer_names: ergotravel default keymap * enum layer_names: handwired/atreus50 default keymap * enum layer_names: handwired/ortho5x13 default keymap * enum layer_names: keebio/levinson default keymap * enum layer_names: keebio/nyquist default keymap * enum layer_names: keebio/rorschach default keymap * enum layer_names: keebio/viterbi default keymap * enum layer_names: keebio/wavelet default keymap * enum layer_names: lets_split default keymap * enum layer_names: maple_computing/launchpad reference keymaps Update `default` and `default_rgb` keymaps. * enum layer_names: maple_computing/minidox default keymap * enum layer_names: miniaxe reference keymaps Update `default` and `underglow` keymaps. * enum layer_names: omkbd/ergodash/mini default keymap * enum layer_names: omkbd/ergodash/rev1 default keymap * enum layer_names: orthodox default keymap * enum layer_names: unikeyboard/divergetm2 default keymap * enum layer_names: woodkeys/scarletbandana default keymap * add _Static_assert to keymap_introspection.c
* Add missing SS_LOPT and SS_ROPT defines (#18175)Joel Challis2022-08-271-0/+2
|
* Fix DV_SCLN and DV_COLN in keymap_spanish_dvorak.h (#18043)precondition2022-08-151-2/+2
|
* [Bug] Add key event check to `is_tap_record` and remove `is_tap_key` (#18063)Stefan Kerkmann2022-08-152-10/+4
|
* Remove duplicate COMBINING HORN in keymap_us_extended.h (#18045)precondition2022-08-141-1/+1
|
* Fix Caps Word to treat mod-taps more consistently. (#17463)Pascal Getreuer2022-08-141-6/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Added emacs as an "operating system" for input mode. (#16949)Chewxy2022-08-143-6/+38
|
* Replace ; by : in the shifted symbols ASCII art of keymap_norman (#18029)precondition2022-08-141-1/+1
| | | Thanks!
* Align TO() max layers with other keycodes (#17989)Joel Challis2022-08-143-14/+6
|
* Use ANSI ASCII art and fix comments for LT_COLN and LT_UNDS in ↵precondition2022-08-131-17/+17
| | | | keymap_lithuanian_qwerty.h (#18028)
* Fix LV_CCAR and LV_NCED (#18025)precondition2022-08-131-2/+2
|
* Fix Caps Word capitalization when used with Combos + Auto Shift. (#17549)Pascal Getreuer2022-08-133-1/+19
|
* Add led matrix support for CKLED2001 (#17643)lokher2022-08-132-1/+53
|
* KR_DQUO S(KR_COLN) → KR_DQUO S(KR_QUOT) (#18011)precondition2022-08-121-1/+1
|
* define CZ_PERC S(CZ_PLUS) → define CZ_PERC S(CZ_EQL) (#18008)precondition2022-08-121-1/+1
|
* Remove invisible variation selector-15 from keymap_japanese.h (#18007)precondition2022-08-121-2/+2
|
* Use LT_ZCAR in place of LT_PLUS for modded kc definitions (#18000)precondition2022-08-121-2/+2
|
* Fix Bépo's BP_NNBS (narrow non-breaking space) (#17999)precondition2022-08-121-1/+1
| | | Co-authored-by: Ryan <fauxpark@gmail.com>
* Merge remote-tracking branch 'origin/master' into developQMK Bot2022-08-121-1/+1
|\
| * Remove legacy keycode use from command (#18002)Joel Challis2022-08-121-1/+1
| |
* | Refactor Pixel Fractal effect (#17602)Albert Y2022-08-111-50/+28
| | | | | | | | | | | | | | | | | | | | | | * Refactor effect with smaller array * Add RGB_MATRIX_USE_LIMITS call * Remove spaces Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Drashna Jaelre <drashna@live.com>
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2022-08-071-1/+1
|\|
| * fix comment space code in quantum/matrix_common.c (#17942)Takeshi ISHII2022-08-071-1/+1
| |