Pete Johanson
0d3cfa8596
Merge pull request #99 from petejohanson/core/bluetooth-unpair-magic-combo
...
Add magic combo for unpairing BT devices on start.
2020-08-18 19:21:43 -04:00
Pete Johanson
66c4b7ebb0
fix(usb): Restore write semaphore, release it on write failures.
2020-08-18 17:13:32 -04:00
Pete Johanson
05235ca96d
fix(bluetooth): Stop peripheral half advertising once connected.
2020-08-18 16:18:16 -04:00
Pete Johanson
c054feb3c9
Merge pull request #100 from petejohanson/behaviors/add-none
...
Add `&none` behavior.
2020-08-18 14:31:20 -04:00
Pete Johanson
63e02d60dc
feat(behaviors): Add &none behavior
2020-08-18 14:28:11 -04:00
Cody McGinnis
50643b2c56
fix(keymap): add brackets around if statement body
2020-08-18 14:21:39 -04:00
Cody McGinnis
7facb6eee8
fix(keymap): move the toggle layer logic to keymap.c
2020-08-18 14:02:25 -04:00
Cody McGinnis
a82f990d4c
feat(keymap): allow users to toggle layers
2020-08-18 14:02:24 -04:00
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.
2020-08-18 13:17:10 -04:00
Pete Johanson
d7dee20e8d
Add missing license header.
2020-08-18 09:56:25 -04:00
Pete Johanson
e5ba03f088
Revert "Merge pull request #93 from careyk007/main"
...
This reverts commit 8cd8933c87
, reversing
changes made to 3f1dfbaad1
.
2020-08-17 23:23:30 -04:00
Pete Johanson
24836cdde8
Merge pull request #94 from Nicell/split/default-conn-fix
...
Create proper fix for split default connection bug
2020-08-16 23:00:19 -04:00
Nick
087574f607
Create proper fix for split default conn bug
2020-08-16 15:36:43 -05:00
Kellen Carey
5b4e5a30c4
remove unnecessary include
2020-08-16 12:51:06 -07:00
Kellen Carey
25c8a26998
wait before sending HID report
2020-08-16 12:49:08 -07:00
Pete Johanson
7e8a07e693
Remove use of printk.
2020-08-14 16:45:05 -04:00
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 .
2020-08-09 12:30:47 -04:00
Pete Johanson
01b8b724c1
Remove debugging line that snuck in.
2020-08-06 23:54:18 -04:00
Pete Johanson
0460631729
Refactor to simpler keymaps.
2020-08-06 23:28:34 -04:00
Pete Johanson
fd381e8117
Merge pull request #70 from Nicell/split/2m-phy
...
Split connection parameter adjustments and 2M PHY added
2020-08-06 11:11:48 -04:00
Nick
370cfcc59f
Add if block and param req callback comment
2020-08-05 22:38:40 -05:00
Nick
cfea5cceb1
Remove updated callback
2020-08-03 17:22:11 -05:00
Nick
f23ca9d7ee
Add two solutions to param updates
2020-08-02 15:51:38 -05:00
Nick
880c6e0601
Fix variable name in peripheral PHY update
2020-08-02 15:01:32 -05:00
Nick
f26bd495ea
Fix interval update, add PHY update
2020-08-02 14:51:42 -05:00
Pete Johanson
cd30f440d9
Fix for the right start index for event releases.
2020-08-02 14:10:56 -04:00
Pete Johanson
8a07938d9b
Minor cleanup.
2020-07-31 23:29:32 -04:00
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.
2020-07-31 14:38:10 -04:00
Pete Johanson
f548f2a87c
Initial stab at mod-tap improvements.
...
* Not working: Roll over + mod-tap with multiple
mod-tap bindings!
2020-07-31 00:07:16 -04:00
Pete Johanson
cf8c7856ff
Add the ability to capture event and release later
2020-07-30 00:13:32 -04:00
Pete Johanson
4e5a819f3a
Merge pull request #64 from Nicell/feature/rgb_underglow
...
Initial RGB Underglow implementation
2020-07-26 21:43:43 -04:00
Nick
dc8c7011b1
If LED strip can't be found, behaviors return err
2020-07-26 12:49:43 -05:00
Pete Johanson
d1cb3969f0
Remove extra '#'.
2020-07-25 23:17:19 -04:00
Pete Johanson
c34472bf3f
Fixes for loading without encoder drivers.
...
* Build fixes.
2020-07-25 23:10:40 -04:00
Pete Johanson
d80063ff51
Initial display support.
2020-07-25 23:10:40 -04:00
Nick
6956094ac0
Add missing return To brightness up
2020-07-25 15:39:01 -05:00
Nick
564f787280
Add suggested changes
2020-07-25 14:53:42 -05:00
Nick
ca569c8143
Initial RGB Underglow implementation
2020-07-24 22:37:00 -05:00
Nick
bb09707bd2
Add base files and configuration for RGB underglow
2020-07-24 01:06:56 -05:00
Pete Johanson
b1bc5b4c82
Switch printk to LOG_DBG.
2020-07-23 22:21:38 -04:00
Pete Johanson
34ff6190bd
Initial behavior for key presses on encoder rotate
2020-07-22 14:54:18 -04:00
Pete Johanson
4d73938cb5
More sensor keymap work.
2020-07-22 10:10:04 -04:00
Pete Johanson
adfa1b5443
Initial work on sensor bindings.
2020-07-22 02:13:52 -04:00
Pete Johanson
5896c3032b
Fixes for BLE host connections w/ split support.
2020-07-21 22:10:37 -04:00
Pete Johanson
c4d3c03eb0
Improved function naming for central functions.
2020-07-20 23:02:27 -04:00
Pete Johanson
542a9de48a
Replace magic 16 with sane constant.
2020-07-20 22:52:37 -04:00
Pete Johanson
fd407c4876
Update connectin params once we're connected to.
2020-07-19 22:40:49 -04:00
Pete Johanson
2a6b9ec86e
Fixed min/max.
2020-07-19 22:33:15 -04:00
Pete Johanson
879fd5b8e7
Connection params tweaks.
2020-07-19 22:20:42 -04:00
Pete Johanson
6701b7babc
Working BT settings.
2020-07-17 22:43:40 -04:00