Joel Spadin
440d09fd45
feat(endpoints): simplify behavior constants
4 years ago
Joel Spadin
2fe1fbb526
feat(endpoints): rename behavior to outputs
...
"Outputs" is probably easier for most people to understand than "endpoints".
4 years ago
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
4 years ago
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.
4 years ago
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.
4 years ago
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.
4 years ago
Pete Johanson
dfb69d8727
Merge pull request #309 from innovaker/netlify-node-version
...
docs: Set netlify node version to lts/*
4 years ago
Carey
c5172e4337
move initialization priorities to advanced menu
4 years ago
Carey
99ad9cbdef
Merge https://github.com/zmkfirmware/zmk into refactor_kconfig
4 years ago
Pete Johanson
cb922fd8a2
feat(docs): Add Boardsource 3x4 to hardware list.
4 years ago
Pete Johanson
73c83e81ce
Merge pull request #296 from neegool/add_boardsource3x4
...
Add Boardsource 3x4 shield
4 years ago
innovaker
c402e953f6
feat(hid): Make keypad report boot friendly
...
Add missing byte to make keypad report boot friendly.
4 years ago
Nigel Rodriguez
75b7f2a7c5
Remove bt unpair combo + fix keymap
4 years ago
innovaker
8ce7d8de01
refactor(hid): Refactor consumer report to a configurable size
4 years ago
innovaker
f4596fc784
refactor(hid): Refactor keypad report to use a configurable integer array
...
Replace NKRO bit array with configurable integer (DV) array.
4 years ago
Pete Johanson
f3153b17d2
Merge pull request #292 from nullbitsco/nullbitsco_nibble
...
Add zmk_kscan_gpio_demux kscan driver & NIBBLE keyboard
4 years ago
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
4 years ago
Jay Greco
1a6fe846e4
Update NIBBLE keyboard name as per PR feedback
...
- Revert accidental VS code settings change
4 years ago
Jay Greco
d90592aac5
Add NIBBLE shield
...
+ Added required files for nullbits NIBBLE
4 years ago
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
4 years ago
Pete Johanson
3b9caaaf90
Merge pull request #304 from petejohanson/docs/cc-license-details
...
Explicitly license documentation as CC-BY-NC-SA.
4 years ago
Pete Johanson
2f09957ae2
Merge pull request #301 from innovaker/docs-eslint-prettier
...
docs: Add eslint, prettier and eslint-mdx support
4 years ago
Pete Johanson
c707ab45ef
Merge pull request #297 from Nicell/boards/reviung41
...
Add Reviung41 Shield Definitions
4 years ago
Pete Johanson
07cf103747
Merge pull request #303 from innovaker/kscan-mock-32
...
feat(kscan_mock): Increase max number of events
4 years ago
Pete Johanson
7aca8c3d35
Merge pull request #263 from joelspadin/nested-zmk-config
...
fix: allow nested zmk-config for dev container
4 years ago
Pete Johanson
571d045c75
fix(docs): Explicit CC-BY-NC-SA license for docs.
4 years ago
Pete Johanson
2c9737ad14
fix: Typo in the toplevel README.
4 years ago
Pete Johanson
8c6862f4ba
Merge pull request #293 from Nicell/bluetooth/battery-reporting
...
Add Battery Voltage Divider Driver
4 years ago
Pete Johanson
85d1a10490
Merge pull request #302 from innovaker/docs-docusaurus-scripts
...
docs: Add missing docusaurus scripts
4 years ago
innovaker
806ea545f8
docs: Set netlify node version to lts/*
...
Prerequisite of #218 and PR #308 .
4 years ago
Nick
a008731103
Implement Kconfig and enhance error checks
4 years ago
Nick
1ac78498eb
docs: Set prettier endOfLine to auto
...
As discussed in PR #301 .
4 years ago
Pete Johanson
b1bfff5b5a
Merge pull request #264 from careyk007/setup_sh__curl_always_required
...
Add support for wget to setup.sh
4 years ago
Nick
fd892d53cd
fix: eslint proptype errors
4 years ago
innovaker
288e60ea97
docs: Format docs with prettier
...
npx prettier --write .
4 years ago
innovaker
aefcc592f2
docs: Add eslint-mdx support
...
Official guidelines:
https://github.com/mdx-js/eslint-mdx
Steps taken:
npm i -D eslint-plugin-mdx
Edit .eslintrc.js
4 years ago
innovaker
18d4d619e4
docs: Add prettier support
...
Official guidelines:
https://prettier.io/docs/en/install.html
https://prettier.io/docs/en/integrating-with-linters.html
https://github.com/prettier/eslint-config-prettier
Steps taken:
npm install --save-dev --save-exact prettier
Create .prettierignore
Create .prettierrc.js
npm install --save-dev eslint-config-prettier
Edit .eslintrc.js
4 years ago
innovaker
ab65bf49db
docs: Add eslint support
...
Official guidelines:
https://eslint.org/docs/user-guide/getting-started
Steps taken:
npm install eslint --save-dev
npx eslint --init
Create .eslintignore
Edit .eslintrc.js (tweaks)
4 years ago
innovaker
9c4b766bc6
feat(kscan_mock): Increase max number of events
...
This is necessary for testing a large number of events (e.g. every key code) within a single build/pass.
The u8_t limitation became apparent during end-to-end testing of #21 .
4 years ago
innovaker
ca0bcc0ae4
docs: Add missing docusaurus scripts
...
Add:
- docusaurus serve
- docusaurus clear
4 years ago
Nick
7296b96797
Add Reviung41 Shield Definitions
4 years ago
Nick
63007fb6c1
fix: clang-format
4 years ago
Nick
adb07926b1
Remove newlib dep
4 years ago
Nigel Rodriguez
9d624740d9
Fix wrong comment tokens
4 years ago
Nigel Rodriguez
6a9a6e6d8e
Add Boardsource 3x4 shield
4 years ago
Nick
a67a8cd3b8
Check if fetch channel is supported
4 years ago
Pete Johanson
518bcacba1
Merge pull request #280 from Tsquash/txpowerdocs
...
DocumentedTX Power Config in Troubleshooting
4 years ago
Nick
6047415b1c
Fix build for boards without voltage divider
4 years ago
Nick
8efcd80f3a
Add missing ADC and fix formatting
4 years ago
Nick Winans
70ffcca3b4
Merge branch 'main' into bluetooth/battery-reporting
4 years ago