Joel Spadin
c3e7742f9c
fix(docs): remove incorrect defines for outputs
...
The output selection behaviors page still referenced defines that were
removed while reviewing the PR. Updated the docs to match the code.
2020-11-03 19:38:56 -05:00
Nick
274fdec783
Add blog post about #322
2020-11-03 15:56:20 -05:00
Pete Johanson
698c27ba3b
feat(ci): Only build firmware when app/ changes.
2020-11-03 15:08:04 -05:00
Pete Johanson
fe62929af8
feat(docs): Add eslint and prettier GH Actions.
2020-11-03 15:02:41 -05:00
innovaker
a1dd216519
docs: formatted with prettier
2020-11-03 08:19:00 -05:00
Pete Johanson
a29e041b1f
fix: Formatting fix.
2020-11-03 00:30:42 -05:00
Pete Johanson
32e7159373
refactor(hid): Mod defines in dedicated header.
2020-11-03 00:21:20 -05:00
Okke Formsma
55b5936d00
clang-format
2020-11-03 00:19:37 -05:00
Okke Formsma
4f258efbf1
initial implementation for modifiers
...
https://github.com/zmkfirmware/zmk/issues/86
2020-11-03 00:19:37 -05:00
Chiyuan Zhang
a9e729b427
make note about keyboard name more explicit
2020-11-02 23:30:03 -05:00
Chiyuan Zhang
9b941b7509
tweak doc according to PR feedback
2020-11-02 23:30:03 -05:00
Chiyuan Zhang
e7cb863a41
update doc for new shield in user repo
2020-11-02 23:30:03 -05:00
Nick
82a5736d08
fix(boards): Remap flash to account for bootloader
2020-11-02 23:07:23 -05:00
Evan
a32d14cc19
Add Github.com personal token to prerequisites.
2020-11-02 16:50:27 -05:00
Nick Winans
89b8bfc95d
fix(battery): Only log if finding battery device failed
...
Co-authored-by: Pete Johanson <peter@peterjohanson.com>
2020-11-01 23:00:54 -05:00
Nick
953de71646
feat(battery): Add BAS GATT reporting
2020-11-01 23:00:54 -05:00
Nick
74fa113d88
fix(boards): Rename BVD labels
2020-11-01 23:00:54 -05:00
Nick
8779563896
fix(bvd): Add SENSOR_CHAN_ALL support
2020-11-01 23:00:54 -05:00
innovaker
4672a0cbb5
docs(outputs): run prettier on outputs.md ( #317 )
...
Fixes #269
2020-10-31 12:00:02 -04:00
Pete Johanson
1766b090ee
feat(docs): Warn of battery life impact of logging
2020-10-31 00:30:19 -04:00
Pete Johanson
7e0924107c
feat(docs): Link to outputs behavior docs.
2020-10-31 00:23:16 -04:00
Pete Johanson
2d31e1d05f
Merge pull request #269 from joelspadin/endpoint-selection
...
feat: only send HID reports to one endpoint
2020-10-31 00:09:47 -04:00
Pete Johanson
3c958e6207
Merge pull request #313 from innovaker/hid-nkro-boot
...
refactor(hid): configurable NKRO integer arrays & boot friendly
2020-10-30 23:16:58 -04:00
Joel Spadin
821f054071
feat(endpoints): remove redundant connection check
2020-10-28 18:15:05 -05:00
Joel Spadin
440d09fd45
feat(endpoints): simplify behavior constants
2020-10-28 18:15:05 -05:00
Joel Spadin
2fe1fbb526
feat(endpoints): rename behavior to outputs
...
"Outputs" is probably easier for most people to understand than "endpoints".
2020-10-28 18:15:05 -05:00
Joel Spadin
600bba25f0
feat(endpoints): add preferred endpoint setting
...
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-28 18:15:05 -05:00
Joel Spadin
b538e60532
feat(endpoints): update on BLE profile change
...
Added zmk_ble_active_profile_is_connected() to allow code outside ble.c to check
the status of the active profile, and changed the ble_active_profile_changed
event to also notify when the active profile connects or disconnects.
Changed endpoint selection to to also update when the active profile changes,
connects, or disconnects.
2020-10-28 18:15:05 -05:00
Joel Spadin
8f666cecc9
feat(endpoints): clear HID report on endpoint change
...
This prevents stuck keys when switching endpoints by clearing
everything in the HID report and sending one last report before
switching to the new endpoint.
2020-10-28 18:15:05 -05:00
Joel Spadin
1d369ffa73
feat: only send HID reports to one endpoint
...
Added some utility functions and an event for tracking the state of the
USB connection.
Updated endpoints.c to select a single endpoint to send HID reports to
based on the status of the USB and BLE connections. Partially fixes #206 .
Future commits will add a user setting to control which endpoint is used if
both USB and BLE are ready.
2020-10-28 18:15:05 -05:00
Pete Johanson
dfb69d8727
Merge pull request #309 from innovaker/netlify-node-version
...
docs: Set netlify node version to lts/*
2020-10-28 18:41:06 -04:00
Pete Johanson
cb922fd8a2
feat(docs): Add Boardsource 3x4 to hardware list.
2020-10-27 23:32:44 -04:00
Pete Johanson
73c83e81ce
Merge pull request #296 from neegool/add_boardsource3x4
...
Add Boardsource 3x4 shield
2020-10-27 23:24:10 -04:00
innovaker
c402e953f6
feat(hid): Make keypad report boot friendly
...
Add missing byte to make keypad report boot friendly.
2020-10-27 22:55:40 +00:00
Nigel Rodriguez
75b7f2a7c5
Remove bt unpair combo + fix keymap
2020-10-28 06:55:00 +08:00
innovaker
8ce7d8de01
refactor(hid): Refactor consumer report to a configurable size
2020-10-27 22:36:26 +00:00
innovaker
f4596fc784
refactor(hid): Refactor keypad report to use a configurable integer array
...
Replace NKRO bit array with configurable integer (DV) array.
2020-10-27 22:36:26 +00:00
Pete Johanson
f3153b17d2
Merge pull request #292 from nullbitsco/nullbitsco_nibble
...
Add zmk_kscan_gpio_demux kscan driver & NIBBLE keyboard
2020-10-27 15:57:28 -04:00
Jay Greco
8a98212a02
Update demux kscan driver as per PR feedback
...
- Remove kscan_gpio_irq_callback
- Remove kscan_gpio_irq_callback_handler
- Remove irq_callbacks
+ Add TODO noting timer and sleep state interactions
2020-10-27 12:44:59 -07:00
Jay Greco
1a6fe846e4
Update NIBBLE keyboard name as per PR feedback
...
- Revert accidental VS code settings change
2020-10-27 12:44:59 -07:00
Jay Greco
d90592aac5
Add NIBBLE shield
...
+ Added required files for nullbits NIBBLE
2020-10-27 12:44:59 -07:00
Jay Greco
1522c91d73
Add new kscan_gpio_demux driver
...
+ zmk,kscan_gpio_demux is now a compatible kscan option
+ kscan_gpio_demux is based heavily off of the implementation of
kscan_gpio_matrix, modified to address cols using an n-to-1
demultiplexer chip instead of discrete IO
+ Added zmk,kscan_gpio_demux.yaml file
* modified CMakeLists to include new source files
2020-10-27 18:58:58 +00:00
Pete Johanson
3b9caaaf90
Merge pull request #304 from petejohanson/docs/cc-license-details
...
Explicitly license documentation as CC-BY-NC-SA.
2020-10-27 14:10:47 -04:00
Pete Johanson
2f09957ae2
Merge pull request #301 from innovaker/docs-eslint-prettier
...
docs: Add eslint, prettier and eslint-mdx support
2020-10-27 12:56:44 -04:00
Pete Johanson
c707ab45ef
Merge pull request #297 from Nicell/boards/reviung41
...
Add Reviung41 Shield Definitions
2020-10-27 00:27:17 -04:00
Pete Johanson
07cf103747
Merge pull request #303 from innovaker/kscan-mock-32
...
feat(kscan_mock): Increase max number of events
2020-10-27 00:03:23 -04:00
Pete Johanson
7aca8c3d35
Merge pull request #263 from joelspadin/nested-zmk-config
...
fix: allow nested zmk-config for dev container
2020-10-26 23:46:53 -04:00
Pete Johanson
571d045c75
fix(docs): Explicit CC-BY-NC-SA license for docs.
2020-10-26 23:15:48 -04:00
Pete Johanson
2c9737ad14
fix: Typo in the toplevel README.
2020-10-26 23:14:34 -04:00
Pete Johanson
8c6862f4ba
Merge pull request #293 from Nicell/bluetooth/battery-reporting
...
Add Battery Voltage Divider Driver
2020-10-26 22:56:54 -04:00