Pete Johanson
e88d0833c5
fix(bluetooth): Log when clearing on start.
4 years ago
Pete Johanson
b103eb4b05
fix(bluetooth): Delete any previously stored name.
4 years ago
Pete Johanson
13842a8a1e
fix(bluetooth): Kconfig to clear bonds on start
4 years ago
Pete Johanson
fc0812bd2e
fix(bluetooth): Remove identity, minimal `bt`.
...
* Simplify the `bt` behavior to one current command
`BT_CLEAR_BONDS_CMD`.
* Simplify BLE code for split and non-split keyboards.
* Remove keymap processing from split peripheral side.
4 years ago
Pete Johanson
cf970efb98
feat(bluetooth): Proper bond management, identity support for non-splits
...
* Add `bt` behavior that can be used to perform certain actions,
such as next/prev identity, reset identity, etc.
NOTE: Multiple identities is only supported for non-split shields,
due to missing Zephyr identity functionality for dual
central/peripheral devices.
* Proper bond reset tied to action, that honors peripheral bonds,
so folks can reset and pair to other hosts, without breaking
bonds between splt halves.
4 years ago
Pete Johanson
68e72f9275
fix: Switch to single AUTHORS file.* Closes #164
4 years ago
Okke Formsma
c9a82d71d0
fixes for feedback round 2
4 years ago
Okke Formsma
c5ca664411
some fixes based on feedback
4 years ago
Okke Formsma
c33931c72c
Initial implementation of hold-tap
4 years ago
Cody McGinnis
639a338c2d
fix(core): track layer state with keypress
4 years ago
Cody McGinnis
033bb7bfc4
fix(behavior): add logging to toggle layer for tests
4 years ago
Cody McGinnis
5b21f15a0a
fix(test): off by one error with kscan processing
4 years ago
Cody McGinnis
f02fa01e9a
fix(test): change the layout
4 years ago
Cody McGinnis
cbea2d5bed
fix(behavior): none should not be transparent
4 years ago
Nick
979a5bffff
fix(rgb): check if settings enabled
4 years ago
Nick
c5c21022a2
Move settings load
4 years ago
Okke Formsma
ebc3542aa6
fix bug in modtap bahavior which cleared the wrong keycode events
4 years ago
Pete Johanson
805ea77005
feat(behaviors): Add `&bootloader` behavior.
...
* Allow reset behavior to have a type property.
* Add `bootloader` node that triggers DFU UF2
bootloader mode using the AdaFruit nrf52
bootloader.
4 years ago
Nick
74fd4fc997
fix(rgb): fix underglow settings location
4 years ago
Nick
3ee2d1196b
feat(rgb): underglow state Kconfig and settings
4 years ago
Pete Johanson
6ca8e673ac
fix(bluetooth): Typo for closed conditional.
4 years ago
Pete Johanson
a65b746a86
fix(bluetooth): Add unpair combo if DT node exists
4 years ago
Pete Johanson
66c4b7ebb0
fix(usb): Restore write semaphore, release it on write failures.
4 years ago
Pete Johanson
05235ca96d
fix(bluetooth): Stop peripheral half advertising once connected.
4 years ago
Pete Johanson
63e02d60dc
feat(behaviors): Add &none behavior
4 years ago
Cody McGinnis
50643b2c56
fix(keymap): add brackets around if statement body
4 years ago
Cody McGinnis
7facb6eee8
fix(keymap): move the toggle layer logic to keymap.c
4 years ago
Cody McGinnis
a82f990d4c
feat(keymap): allow users to toggle layers
4 years ago
Pete Johanson
4402e4fbc7
feeature(bt): Add "unpair combo" on startup.
...
* Especially for splits, we need the ability to
unpair all paired devices as sledgehammer
if we need to "reset things", and doing so via
keymaps isn't suitable.
* Allows shields to define a collection of key
positions that if all held 2 seconds after
startup, will unpair all existing pairs for the
device.
4 years ago
Pete Johanson
d7dee20e8d
Add missing license header.
4 years ago
Pete Johanson
e5ba03f088
Revert "Merge pull request #93 from careyk007/main"
...
This reverts commit 8cd8933c87
, reversing
changes made to 3f1dfbaad1
.
4 years ago
Nick
087574f607
Create proper fix for split default conn bug
4 years ago
Kellen Carey
5b4e5a30c4
remove unnecessary include
4 years ago
Kellen Carey
25c8a26998
wait before sending HID report
4 years ago
Pete Johanson
7e8a07e693
Remove use of printk.
4 years ago
Pete Johanson
3127192720
Invoke called behavior after layer change.
...
* If you press a key with a layer active, then
deactivate the layer (e.g. releasing a `&mo`,
then release the key, we currently may send
the wrong key release event.
* Fixes #67 .
4 years ago
Pete Johanson
01b8b724c1
Remove debugging line that snuck in.
4 years ago
Pete Johanson
0460631729
Refactor to simpler keymaps.
4 years ago
Nick
370cfcc59f
Add if block and param req callback comment
4 years ago
Nick
cfea5cceb1
Remove updated callback
4 years ago
Nick
f23ca9d7ee
Add two solutions to param updates
4 years ago
Nick
880c6e0601
Fix variable name in peripheral PHY update
4 years ago
Nick
f26bd495ea
Fix interval update, add PHY update
4 years ago
Pete Johanson
cd30f440d9
Fix for the right start index for event releases.
4 years ago
Pete Johanson
8a07938d9b
Minor cleanup.
4 years ago
Pete Johanson
8bba1fb738
Major mod-tap improvements.
...
* Track active mods when mods or keycode
events occur.
* Use the tracked mods when releasing or
generating keycode events.
* Track pending/used status in one array, for
improved storage efficency.
4 years ago
Pete Johanson
f548f2a87c
Initial stab at mod-tap improvements.
...
* Not working: Roll over + mod-tap with multiple
mod-tap bindings!
4 years ago
Pete Johanson
cf8c7856ff
Add the ability to capture event and release later
4 years ago
Nick
dc8c7011b1
If LED strip can't be found, behaviors return err
4 years ago
Pete Johanson
d1cb3969f0
Remove extra '#'.
4 years ago