Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-02-24 | refactor(hold-tap): create press_binding and release_binding functions | Okke Formsma | |
2021-02-24 | refactor(hold-tap): split hold state into interrupt and timer | Okke Formsma | |
2021-02-24 | refactor(hold-tap): use enum for hold-tap status | Okke Formsma | |
2021-02-24 | refactor(hold-tap): simplify flavor enum | Okke Formsma | |
2021-02-10 | style(hold-tap)!: Write hold-tap params with dashes | Okke Formsma | |
tapping_term_ms -> tapping-term-ms quick_tap_ms -> quick-tap-ms The old style works, although it's deprecated. | |||
2021-02-09 | feat(underglow): Convert HSB changes to absolute. | Pete Johanson | |
* Public type for HSB led color. * New API for calculating "next" HSB based on current state. * Update behavior to convert the increment/decrement commands to absolute command as well. | |||
2021-02-09 | refactor(behaviors): Convert state dependent params. | Pete Johanson | |
* Allow each behavior to map a relative binding, e.g. "toggle", to an absolute one, e.g. "on", before being invoked. | |||
2021-02-09 | refactor(rgb): Expose explicit on/off command/API. | Pete Johanson | |
2021-02-04 | refactor(core): Use /omit-if-no-ref/ for behaviors. | Pete Johanson | |
* Use lesser-known DT features to skip behaviors not referenced in the user keymap * Update the behaviors to skip code if no nodes found. * Remove some empty config/data structs where unused in behaviors. | |||
2021-02-02 | behaviors(hold-tap): Implement quick_tap_ms (TAPPING_FORCE_HOLD) | Okke Formsma | |
Tap-and-hold a hold-tap to hold the tap behavior so it can repeat. After a tap, if the same key is pressed within `quick_tap_ms`, the tap behavior is always picked. This is useful for things like `&ht LSHFT BACKSPACE` where holding the backspace is required. Implements #288. | |||
2021-02-02 | refactor(behaviors): simplify hold-taps by not using _TRANSFORM_ENTRY | Okke Formsma | |
2021-02-02 | refactor(behaviors): factor out multiple uses of _TRANSFORM_ENTRY | Okke Formsma | |
2021-01-28 | feature(sticky_keys): add quick-release | Okke Formsma | |
when quick-release is enabled, the sticky key is released immediately after another key is pressed | |||
2021-01-24 | refactor(modifiers): define is_mods function | Okke Formsma | |
2021-01-22 | feat(grave-escape): implement grave-escape | Okke Formsma | |
closes #85 | |||
2021-01-20 | refactor(core): Combine `is_` and `cast_` event functions. | Pete Johanson | |
* Use a single `as_foo` generated function to conditionally return a certain event type from a generic `zmk_event_t*` pointer. | |||
2021-01-20 | refactor(core): Extra event payloads to own types, refactor API. | Pete Johanson | |
* Make it easier to use *just* event payloads by defining the data, and then having event manager macros generate "wrapper structs" * Improve is_*/cast_* APIs to hide details of full event struct. * Create `zmk_event_t` typedef to pass to event handlers. * Bring event names inline w/ consistent `zmk_` prefix. | |||
2021-01-20 | refactor(core): Extra position state change data struct. | Pete Johanson | |
* Separate header and data struct for the event. * Remove duplicate struct in split code. | |||
2021-01-08 | (feat) Allow setting underglow color by key press | KemoNine | |
2021-01-02 | chore(behavior): use ZMK_BEHAVIOR_OPAQUE in to-layer behavior | Okke Formsma | |
2021-01-01 | refactor(behaviors): use ZMK_BEHAVIOR_OPAQUE and ZMK_BEHAVIOR_TRANSPARENT | Okke Formsma | |
Use these instead of the magic return values 0 and 1 for behavior_driver_api return values. | |||
2021-01-01 | refactor(events): return 'ZMK_EV_EVENT_BUBBLE' instead of magic number 0 | Okke Formsma | |
2020-12-29 | (feature) Add &to keycode/behavior (#489) | KemoNine | |
feat(behaviors): Add `&to` behavior to switch to a layer. | |||
2020-12-28 | refactor: replace filename hyphens with underscores | innovaker | |
Aligns *.h and *.c to underscore naming convention. These were kept (with warnings) for backwards compatibility with external boards/shields: - kscan-mock.h - matrix-transform.h They should be removed in the future. PR: #523 | |||
2020-12-17 | fix(sticky keys): add 0xFF mask to usage_page | innovaker | |
Aligns unpacking of usage_page with its equivalent line in keycode-state-changed.h PR: #520 | |||
2020-12-15 | refactor(sticky keys): use DT_HAS_COMPAT_STATUS_OKAY(DT_DRV_COMPAT) instead ↵ | Okke Formsma | |
of DT_NODE_EXISTS(DT_DRV_INST(0)) | |||
2020-12-15 | refactor(sticky keys): use pointer to avoid repetition in store_sticky_key | Okke Formsma | |
2020-12-15 | refactor(sticky keys): rename ZMK_BHV_STICKY_KEY_POSITION_NOT_USED to ↵ | Okke Formsma | |
ZMK_BHV_STICKY_KEY_POSITION_FREE | |||
2020-12-15 | refactor(sticky keys): rename timer_is_started to timer_started | Okke Formsma | |
2020-12-14 | refactor(app): replace `struct device *` with `const struct device *` | innovaker | |
Replaced with RegExp: /(?<!const )(struct device \*)/g See: https://docs.zephyrproject.org/latest/releases/release-notes-2.4.html PR: #467 | |||
2020-12-14 | refactor(app): replace `config_info` with `config` | innovaker | |
See: https://docs.zephyrproject.org/latest/releases/release-notes-2.4.html PR: #467 | |||
2020-12-14 | refactor(app): replace Zephyr integer types with C99 integer types | innovaker | |
u8_t → uint8_t u16_t → uint16_t u32_t → uint32_t u64_t → uint64_t s8_t → int8_t s16_t → int16_t s32_t → int32_t s64_t → int64_t Prerequisite for #223 See: https://github.com/zephyrproject-rtos/zephyr/releases/tag/zephyr-v2.4.0 PR: #467 | |||
2020-12-06 | fix(sticky keys): fix tapping-sticky-keys bug. | Okke Formsma | |
Sticky keys should be cleared when they were tapped in rapid succession before the timer runs out. | |||
2020-12-06 | fix(sticky keys): always clear sticky key when releasing the behavior | Okke Formsma | |
2020-12-06 | fix(sticky keys): use correct timestamp when clearing sticky key in timer | Okke Formsma | |
2020-12-06 | fix(sticky keys): simplify timer management | Okke Formsma | |
2020-11-29 | bugfix(sticky keys): release active sticky keys properly | Okke Formsma | |
see https://github.com/zmkfirmware/zmk/issues/445 | |||
2020-11-28 | feat(sticky keys): initial implementation | Okke Formsma | |
2020-11-28 | feat(events): add timestamp to keycode_state_changed and sensor_event | Okke Formsma | |
These timestamps are necessary to correctly deal with delayed events due to hold-tap shenanigans. | |||
2020-11-22 | fix(underglow): Fix error on release of rgb_ug | Nick | |
2020-11-05 | refactor(keys): Unify usage page. | Pete Johanson | |
* Remove need for separate `&cp` behavior, but keep it for now for backward compat. * Refactor sensor inc/dec as well. | |||
2020-11-03 | refactor: Replace superseded key names | innovaker | |
Replace deprecated key names (LCTL, NUM_0, NUM_1). Replace abbreviated names with fully qualified names (LCTL, RGUI, NUM_0, NUM_1). Follow-up to #21. | |||
2020-11-03 | refactor(hid): Replace deprecated HID usage page references | innovaker | |
Deprecate `USAGE_KEYPAD` and replace with `HID_USAGE_KEY`. Deprecate `USAGE_CONSUMER` and replace with `HID_USAGE_CONSUMER`. Closes #217. | |||
2020-11-03 | initial implementation for modifiers | Okke Formsma | |
https://github.com/zmkfirmware/zmk/issues/86 | |||
2020-10-28 | feat(endpoints): simplify behavior constants | Joel Spadin | |
2020-10-28 | feat(endpoints): rename behavior to outputs | Joel Spadin | |
"Outputs" is probably easier for most people to understand than "endpoints". | |||
2020-10-28 | feat(endpoints): add preferred endpoint setting | Joel Spadin | |
Added a new setting to remember the user's preferred endpoint. When both USB and BLE are connected, the preferred endpoint will be used. Added a new behavior to control this setting. It supports commands: &end END_USB - Prefer USB output &end END_BLE - Prefer BLE output &end END_TOG - Toggle between USB and BLE | |||
2020-10-13 | Merge pull request #258 from megamind4089/dev/ext-power-behavior | Pete Johanson | |
New behavior for ext power control | |||
2020-10-12 | fix: Updated copyright headers to single author file. | Pete Johanson | |
2020-10-13 | Fix compilation errors and minor tweaks | Mega Mind | |