summaryrefslogtreecommitdiffstats
path: root/keyboards/gboards
Commit message (Collapse)AuthorAgeFilesLines
* Use a macro to compute the size of arrays at compile time (#18044)Jeff Epler2022-08-3010-19/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Remove `UNUSED_PINS` (#17931)Nick Brassel2022-08-062-2/+0
|
* Merge remote-tracking branch 'origin/master' into developQMK Bot2022-07-2710-35/+31
|\
| * Move keyboard USB IDs and strings to data driven: G (#17818)Ryan2022-07-2710-35/+31
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2022-07-268-169/+57
|\|
| * gboards/georgi: cleanup & fix (#17753)Ryan2022-07-268-169/+57
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2022-07-022-2/+0
|\|
| * [Keymap] Update Miryoku (#16482)Manna Harbour2022-07-022-2/+0
| |
* | Make default layer size 16-bit (#15286)Drashna Jaelre2022-06-191-3/+2
| | | | | | Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
* | tap-dance: Restructure code and document in more detail (#16394)Jouke Witteveen2022-06-132-1/+12
|/
* [Keymap] Drashna update for post Q2 merge (#17241)Drashna Jaelre2022-05-301-2/+2
|
* gboards/gergoplex: move `COMBO_ENABLE` to keymap level (#16667)Ryan2022-05-0710-3/+18
|
* gergoplex: small cleanup (#16928)Ryan2022-04-242-22/+29
|
* gboards/butterstick: move steno rules config to keymap level (#16666)Ryan2022-03-162-4/+4
|
* Remove `NO_ACTION_MACRO` and `NO_ACTION_FUNCTION` from keyboard config.h ↵Ryan2022-03-151-2/+0
| | | | (#16655)
* Remove `matrix_key_count()` (#16603)Ryan2022-03-104-33/+0
| | | | | * Remove `matrix_key_count()` * Remove `matrix_bitpop()`
* Add Gergoplex keymap for tgrosinger (#15148)Tony Grosinger2022-03-095-0/+343
| | | | | | | * Add Gergoplex keymap for tgrosinger * Add improved shortcuts for PopOS * Add license
* [Keyboard] move g heavy industry boards into /gboards (#16040)peepeetee2022-02-1188-3/+9898
| | | Co-authored-by: zvecr <git@zvecr.com>
* Merge remote-tracking branch 'origin/master' into developQMK Bot2022-01-301-0/+50
|\
| * gergoplex: add QMK Configurator data (#16138)James Young2022-01-301-0/+50
| |
* | Merge remote-tracking branch 'upstream/master' into developfauxpark2021-12-091-1/+1
|\|
| * Tidy up NKRO_ENABLE rules (#15382)Ryan2021-12-091-1/+1
| |
* | [Core] Remove matrix_is_modified() and debounce_is_active() (#15349)Stefan Kerkmann2021-11-291-5/+0
|/
* Merge remote-tracking branch 'origin/master' into developQMK Bot2021-11-114-13/+110
|\
| * Update Gergoplex keymap (#15111)George Petri2021-11-114-13/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | * fix wrong config * start work on gaming layer * mod tap per key * tap dance to game layer * impl game layer * add double quotes and underline
* | Remove `BOOTMAGIC_ENABLE = lite` option (#15002)James Young2021-11-051-1/+1
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * remove BOOTMAGIC_ENABLE=lite setting * change keyboard BOOTMAGIC_ENABLE rules Edits keyboard-level instances of `BOOTMAGIC_ENABLE = lite` to `BOOTMAGIC_ENABLE = yes`. * change keyboard BOOTMAGIC_ENABLE inline comments Edits keyboard-level BOOTMAGIC_ENABLE inline comments to "Enable Bootmagic Lite". * change keymap BOOTMAGIC_ENABLE rules Edits keymap-level instances of `BOOTMAGIC_ENABLE = lite` to `BOOTMAGIC_ENABLE = yes`. * change keymap BOOTMAGIC_ENABLE inline comments Edits/adds keymap-level BOOTMAGIC_ENABLE inline comments to read "Enable Bootmagic Lite". * change layout/user BOOTMAGIC_ENABLE rules/comments Edits instances of `BOOTMAGIC_ENABLE = lite` to `BOOTMAGIC_ENABLE = yes`. Edits/adds keymap-level BOOTMAGIC_ENABLE inline comments to read "Enable Bootmagic Lite". * update non-rules.mk BOOTMAGIC_ENABLE references in keyboards/ * remove docs references to Full Bootmagic * convert data-driven Bootmagic Lite instances * remove Bootmagic Lite bodge from data-driven generation * Merge remote-tracking branch 'upstream/develop' into rm/bootmagic-full_q4a * update docs/ja/config_options.md per mtei * update docs/faq_misc.md per mtei Remove remaining Full Bootmagic reference.
* [Keymap] Add Gergoplex keymap (#14768)George Petri2021-10-226-0/+176
|
* [Keyboard] gBoards GergoPlex (#13027)Phil Pirozhkov2021-09-2115-0/+775
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Moved gergoplex to seperate PR * vendor + cformat * Update keyboards/gboards/k/gergoplex/matrix.c Co-Authored-By: Drashna Jaelre <drashna@live.com> * lifiting keyboards up * Update readme.md * Update keyboards/gboards/gergoplex/config.h Co-authored-by: Drashna Jaelre <drashna@live.com> * remove English dicts * cformatted * Prettify keymap * Remove via keymaps Via doesn't support chords/combos, and this makes the keymap on such a small keyboard quite uncomfortable and incomplete. * Address QMK pull code review notes * Cleanup (tabs, excessive comments) * Fix keymap typos * Use enum to define layers * Multiple changes - got rid of LAYOUT_kc in favour of LAYOUT_split_3x5_3 - fixed matrix custom C code to build with updated external dependencies (gcc) - fixed used combo docs keyboards/gboards/gergoplex/matrix.c:189:9: error: implicit declaration of function 'phex' [-Werror=implicit-function-declaration] phex(row); ^~~~ keyboards/gboards/gergoplex/matrix.c:191:9: error: implicit declaration of function 'pbin_reverse16'; did you mean 'print_bin_reverse16'? [-Werror=implicit-function-declaration] pbin_reverse16(matrix_get_row(row)); * Remove apparently redundant macros * Replace direct pin control with IO functions * config mouse enable and combo delay fix The default delay is 200: #define COMBO_TERM 200 how long for the Combo keys to be detected. Defaults to TAPPING_TERM if not defined. tmk_core/common/action_tapping.h|22| 13:# define TAPPING_TERM 200 * Remove redundant defines * Unambiguously refer to the Special layer * Fix formatting * gboards/gergoplex set IGNORE_MOD_TAP_INTERRUPT This solves my issue was with KC_CTL_A working correctly and it was set in @germ's repo https://github.com/germ/qmk_firmware/blob/39c86e080dc04b68ee08387dcb5144c88cb44855/keyboards/gboards/k/gergoplex/config.h#L49 https://beta.docs.qmk.fm/using-qmk/software-features/tap_hold#ignore-mod-tap-interrupt * Name change See commit 581368596ed * Wording change * Update keyboards/gboards/gergoplex/keymaps/default/keymap.c Co-authored-by: Drashna Jaelre <drashna@live.com> * Add copyright headers * Fix debounce type | avr-gcc: error: .build/obj_gboards_gergoplex_default/quantum/debounce/eager_pr.o: No such file or directory * Implement colemak-dhm keymap Co-authored-by: Germ <jeremythegeek@gmail.com> Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Brian Tannous <Brian@BrianTannous.com>
* Process combos earlier & overlapping combos (#8591)Pete Sevander2021-08-061-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Combo processing improvements. Now it is possible to use ModTap and LayerTap keys as part of combos. Overlapping combos also don't trigger all the combos, just exactly the one that you press. New settings: - COMBO_MUST_HOLD_MODS - COMBO_MOD_TERM - COMBO_TERM_PER_COMBO - COMBO_MUST_HOLD_PER_COMBO - COMBO_STRICT_TIMER - COMBO_NO_TIMER * Remove the size flags from combo_t struct boolean members. This in the end actually saves space as the members are accessed so many times. The amount of operations needed to access the bits uses more memory than setting the size saves. * Fix `process_combo_key_release` not called correctly with tap-only combos * Fix not passing a pointer when NO_ACTION_TAPPING is defined. * Docs for `COMBO_ONLY_FROM_LAYER` * Update docs/feature_combo.md Co-authored-by: precondition <57645186+precondition@users.noreply.github.com> * Update quantum/process_keycode/process_combo.c Co-authored-by: precondition <57645186+precondition@users.noreply.github.com> * Add `EXTRA_SHORT_COMBOS` option. Stuff combo's `disabled` and `active` flags into `state`. Possibly can save some space. * Add more examples and clarify things with dict management system. - Simple examples now has a combo that has modifiers included. - The slightly more advanced examples now are actually more advanced instead of just `tap_code16(<modded-keycode>)`. - Added a note that `COMBO_ACTION`s are not needed anymore as you can just use custom keycodes. - Added a note that the `g/keymap_combo.h` macros use the `process_combo_event` function and that it is not usable in one's keymap afterwards. * Update docs/feature_combo.md Co-authored-by: precondition <57645186+precondition@users.noreply.github.com> * Update docs/feature_combo.md Co-authored-by: precondition <57645186+precondition@users.noreply.github.com> * Update docs/feature_combo.md Co-authored-by: precondition <57645186+precondition@users.noreply.github.com> * Update docs/feature_combo.md Co-authored-by: precondition <57645186+precondition@users.noreply.github.com> * Update docs/feature_combo.md Co-authored-by: precondition <57645186+precondition@users.noreply.github.com> * Change "the" combo action example to "email" example. * Update docs/feature_combo.md Co-authored-by: precondition <57645186+precondition@users.noreply.github.com> * Fix sneaky infinite loop with `combo_disable()` No need to call `dump_key_buffer` when disabling combos because the buffer is either being dumped if a combo-key was pressed, or the buffer is empty if a non-combo-key is pressed. * Update docs/feature_combo.md Co-authored-by: precondition <57645186+precondition@users.noreply.github.com> * Update docs/feature_combo.md Co-authored-by: precondition <57645186+precondition@users.noreply.github.com> Co-authored-by: precondition <57645186+precondition@users.noreply.github.com> Co-authored-by: Drashna Jaelre <drashna@live.com>
* Bigger combo index (#9318)Pete Sevander2020-08-291-1/+1
| | | | | * Add change log * Change combo index from uint8_t to uint16_t
* Remove rules.mk for gboards/engine and gboards/g (#9444)Ryan2020-06-192-2/+0
|
* [Keyboard] Gboards common - TOGG()/inject.h (#9236)Jeremy Bernhardt2020-06-051-1/+20
|
* gBoards Common (#8921)Jeremy Bernhardt2020-05-0457-0/+11774
Co-Authored-By: Drashna Jaelre <drashna@live.com>