121 Commits (051401175d98e777a6633445a0275b54ed36e97a)

Author SHA1 Message Date
Drashna Jaelre 051401175d
[Keymap] Drashna updates for 0.20.0 (#19960) 3 years ago
Joel Challis 961f0b7b2d
Reallocate SAFE_RANGE (#19909) 3 years ago
Joel Challis 11d49d00e7
Remove matrix_init_quantum/matrix_scan_quantum (#19806) 3 years ago
Ryan 043d8e1140
Remove deprecated Quantum keycodes (#19712) 3 years ago
Ryan 1978007fae
Tap Dance: remove `qk_` prefix (#19313) 3 years ago
precondition 515dd18c28
Remove IGNORE_MOD_TAP_INTERRUPT_PER_KEY in favour of HOLD_ON_OTHER_KEY_PRESS_PER_KEY (#15741) 3 years ago
Albert Y cbabc8dbe6
[Core] Replace Tapping Force Hold feature with Quick Tap Term (#17007)
* Replace Tapping Force Hold feature with Quick Tap Term

* Replace keyboard level TAPPING_FORCE_HOLD with QUICK_TAP_TERM 0

* Deprecate force hold in info_config.json

* Before and after quick tap term unit tests

* Quick tap unit tests iteration

* Keymap config.h correction

* Remove TAPPING_FORCE_HOLD_PER_KEY macros that were missed

* Add two more test cases for quick tap

* Replace TAPPING_FORCE_HOLD with QUICK_TAP_TERM in configs #2

* Replace TAPPING_FORCE_HOLD_PER_KEY with QUICK_TAP_TERM_PER_KEY in configs #2

* Add function declaration for get_quick_tap_term

Co-authored-by: Stefan Kerkmann <karlk90@pm.me>
3 years ago
Drashna Jaelre 4a87af0e9a
[Keymap] Drashna updates for 0.19 (#19175)
* Fix up bastardkb boards since blackpill support is officially added.
  * Check for blackpill version, not elite c.
  * Add checks in chibiOS config since multiple ARM controllers supported.
  * Rework rules.mk for keymaps to better handle arm vs avr support
* Start moving away from `matrix_*_*` functions.
  * `housekeeping_task_*` instead of `matrix_scan_*`
  * `keyboard_(pre|post)_init_*` instead of `matrix_init_*` 
* Add ℂℴmⅈℂ unicode input method.
* Clean up unicode code to be more compact and flexible.
* Remove/move Pro Micro LED commands to userspace and better filter them
* Fixup OLED code
  * Use newer quantum keycode functions/preprocessors rather than manual bit manipulation
  * Make unicode mode render much more compact/simple.
* Make qmk secrets more self contained
* Remove custom implementation of split watchdog
3 years ago
Ryan e12ca14af8
Change `RGB_MATRIX_STARTUP_*` defines to `RGB_MATRIX_DEFAULT_*` (#19079) 3 years ago
Ryan 5974d989fe
Normalise Unicode keycodes (#18898)
* `UC_MOD`/`UC_RMOD` -> `UC_NEXT`/`UC_PREV`

* `UNICODE_MODE_*` -> `QK_UNICODE_MODE_*`

* `UC_MAC` -> `UNICODE_MODE_MACOS`

* `UC_LNX` -> `UNICODE_MODE_LINUX`

* `UC_WIN` -> `UNICODE_MODE_WINDOWS`

* `UC_BSD` -> `UNICODE_MODE_BSD`

* `UC_WINC` -> `UNICODE_MODE_WINCOMPOSE`

* `UC_EMACS` -> `UNICODE_MODE_EMACS`

* `UC__COUNT` -> `UNICODE_MODE_COUNT`

* `UC_M_MA` -> `UC_MAC`

* `UC_M_LN` -> `UC_LINX`

* `UC_M_WI` -> `UC_WIN`

* `UC_M_BS` -> `UC_BSD`

* `UC_M_WC` -> `UC_WINC`

* `UC_M_EM` -> `UC_EMAC`

* Docs

* Update quantum/unicode/unicode.h
3 years ago
Ryan 2ff1d85290
Normalise Autocorrect keycodes (#18893) 3 years ago
Ryan 90f6b75873
Remove `KC_DELT` (#18882) 3 years ago
Ryan 74223c34a9
Remove legacy keycodes, part 6 (#18740)
* `KC_RSHIFT` -> `KC_RSFT`

* `KC_RCTRL` -> `KC_RCTL`

* `KC_LSHIFT` -> `KC_LSFT`

* `KC_LCTRL` -> `KC_LCTL`
3 years ago
Drashna Jaelre ad8630bd72
Remove RGBLIGHT_ANIMATION and clean up effect defines for layouts+users (#18729) 3 years ago
Drashna Jaelre 64b1ed4550
Fix Per Key LED Indicator Callbacks (#18450)
Co-authored-by: Dasky <32983009+daskygit@users.noreply.github.com>
Co-authored-by: Nick Brassel <nick@tzarc.org>
3 years ago
Ryan ea2819b2c2
Change `{LED,RGB}_DISABLE_TIMEOUT` to `{LED,RGB}_MATRIX_TIMEOUT` (#18415) 3 years ago
Drashna Jaelre 5abb125b02
[Keymap] develop updates for Drashna Keymaps (#18472) 3 years ago
Ryan 36c410592d
Change `DRIVER_LED_COUNT` to `{LED,RGB}_MATRIX_LED_COUNT` (#18399) 3 years ago
QMK Bot db90919c7a Merge remote-tracking branch 'origin/master' into develop 3 years ago
Drashna Jaelre 90418b371f
[Keymap] Fix bootmagic compilation issue with Drashna keymaps (#18223) 3 years ago
Jeff Epler 9632360caa
Use a macro to compute the size of arrays at compile time (#18044)
* 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>
3 years ago
Drashna Jaelre fa08cb2478
[Keymap] Drashna keymap updates for 0.18.0 (#18184)
Co-authored-by: Ryan <fauxpark@gmail.com>
3 years ago
Stefan Kerkmann f27b617f36
[Core] Process all changed keys in one scan loop, deprecate `QMK_KEYS_PER_SCAN` (#15292) 3 years ago
Drashna Jaelre 1c43410e26
[Keymap] Updates to drashna Keymaps and Userspace (#17543) 3 years ago
Drashna Jaelre cda343acbe
[Keymap] Drashna update for post Q2 merge (#17241) 4 years ago
Drashna Jaelre ff6c70415c
[Keymap] Drashna Mouse keys and oled updates (#16556) 4 years ago
Drashna Jaelre d1cf218b9d
[Keyboard] Overhaul Tractyl Manuform (#16134) 4 years ago
Drashna Jaelre 941b1d35b8
[Keymap] Add oled improvements and cnano keymap for drashna (#16133) 4 years ago
Drashna Jaelre b090ff03ed
[Keymap] Drashna's OLED rewrite (#15981) 4 years ago
Drashna Jaelre c4551d7ef1
[Keymap] Reorganization, cleanup and readmes for drashna code (#15617) 4 years ago
Drashna Jaelre 3fa592a402
[Keymap] Unicode and Pointing Device and Autocorect for drashna keymaps (#15415) 4 years ago
Drashna Jaelre 5b5b36421a
[Keymap] Unicode and cursor sync - drashna keymap (#15328) 4 years ago
QMK Bot b47f3b1853 Merge remote-tracking branch 'origin/master' into develop 4 years ago
Drashna Jaelre 254e26554b
[Keymap] updates for oled, and diablo 2 layer - Drashna (#15194) 4 years ago
Drashna Jaelre 160b0558f5
Require explicit enabling of RGB Matrix modes (#15018) 4 years ago
QMK Bot ed48c0bd8b Merge remote-tracking branch 'origin/master' into develop 4 years ago
Drashna Jaelre 83ab7d41ef
Updates to drashna keymap and minor updates to tractyl manuform (#15101) 4 years ago
Drashna Jaelre 89e5e4e7ad
[Keymap] Fix missing return for oled task in drashna userspace (#15012) 4 years ago
Drashna Jaelre 9d235d4fc5
[Core] Change OLED task function to be boolean (#14864)
* [Core] Add kb level callbacks to OLED driver

* Update keyboards and keymaps

* Update docs

* Update userspace configs

* Add fix for my keymap ...

* update lefty
4 years ago
Drashna Jaelre 9a0addc77e
[Keymap] Drashna Keymap Updates (#14842)
* Fix issues with user split transport code
* Improve OLED (More font stuff, improved keylogger, etc)
* Add `KEYLOCK` macro to disable USB, borrowed from command feature.
* Convert Kyria fully to proton C (no more AVR kyria)
* Add Work Louder Work Board keymap
4 years ago
Drashna Jaelre 1e54796f0c
[Keymap] Update to Drashna Code (#14644) 4 years ago
Drashna Jaelre 37aef4ebe1
[Keymap] Fix Drashna Keymap issues missed before Develop merge (#14271) 4 years ago
Drashna Jaelre bc239cd520
[Keymap] Drashna keymap fixups (#14140) 4 years ago
Xelus22 4e1c5887c5
[Core] Refactor OLED to allow easy addition of other types (#13454)
* add docs

* core changes

* update keyboards to new OLED

* updated users to new OLED

* update layouts to new OLED

* fixup docs

* drashna's suggestion

* fix up docs

* new keyboards with oled

* core split changes

* remaining keyboard files

* Fix The Helix keyboards oled options

* reflect develop

Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: mtei <2170248+mtei@users.noreply.github.com>
4 years ago
Drashna Jaelre 58a5030661
[Keymap] Drashna's Improve OLEDs and custom Split code (#14063)
* Fill the oleds with right mods

* Enable double mods on x32 oleds

* Disable forced NKRO

* Make oleds fancy only on good MCUs

* Overhaul oled display

* Further enhance oled, with kitty!

* Final oled form

* Not working transport

* Transport id of woring

* Add acceleration

* fix button placement for accel macro

* Fix accelartion location and behavior

* Remove OLED sync code

* Fix alignment issue

* Remove audio hack

* Fix up zima keymap

* Add matrix slave scan function and cleanup drashna.h

* Clean up user space

* Allow userspace sync to be disable-able

* Fix weird issue with audio

* Fix alignment issue with user split sync

* Disable second rgb matrix task

* Disable additional animations

* Change dynamic keymap settings

* Hacky fix for borked corne

* Add Blackpill (F411) support to tractyl manuform

* remove manual via eeprom reset

* Remove all references to rgblight twinkle

* Fix issues with config processing
4 years ago
Drashna Jaelre b9dcd5ac38
[Keymap] Drashna split transport improvement (#13905)
* Fix up split stuff

* Fix Split perf issues

* Allow LTO to be disabled

* Fixup WPM and encoders

* Fixup qmk keys per scan

* Add bootloader info

* Change encoder pins

* Fixup corne oled code

* Expand transport sync

* Improve user transport

* Cleanup mouse processing at keymap level

* Improve layer checking for mouse layering
4 years ago
Drashna Jaelre eb46c954dc
[Keymap] Drashna's Defaults cleanup (#13722) 4 years ago
Drashna Jaelre b7cf9a888a
Drashna's split updates (#13350)
Co-authored-by: Ryan <fauxpark@gmail.com>
5 years ago
Drashna Jaelre 6901411bca
Move optical sensor code to drivers folder (#13044) 5 years ago
Drashna Jaelre 7a6e630ffd
Fix RGB/LED Suspend defines (#13146) 5 years ago