Jason Chestnut
53425aa3c4
Rename kscan direct wired driver polling kscan flag in preparationfor addition of new matrix driver flag that enables polling.
4 years ago
Jason Chestnut
31af9646e6
Adding kconfig flag for enabling matrix polling (vs interrupts) on the matrix gpio driver.
4 years ago
Pete Johanson
191a2d755a
chore: clang-format the codebase.
...
* Use the LLVM style
* Override indent width (8) and column limit (100)
* Fixes #142 .
4 years ago
Pete Johanson
68e72f9275
fix: Switch to single AUTHORS file.* Closes #164
4 years ago
Pete Johanson
01db53b46a
fix(kscan): Avoid sending duplicate kscan events.
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
78059bbbdb
Fix up some incorrect license headers.
4 years ago
Pete Johanson
fd3ce4ba1c
Encoder Kconfig fixes.
4 years ago
Pete Johanson
ac802bedb1
Bump delay in scanning while held to 5ms.
4 years ago
Pete Johanson
25d0664b58
Tweaks for EC11 config.
4 years ago
Pete Johanson
adfa1b5443
Initial work on sensor bindings.
4 years ago
Pete Johanson
f3267e6030
Tweaks for orientation and A/B pins for Kyria left
4 years ago
Pete Johanson
c619d36294
Support multiple instances of the encoder.
4 years ago
Pete Johanson
ac9ba3ae7d
Code cleanup for non-trigger mode.
4 years ago
Pete Johanson
aa7c74fe07
Filename fix for EN11 -> EC11.
4 years ago
Pete Johanson
7da9a1039f
Working encoder detection.
4 years ago
Pete Johanson
b6b982fcef
Code clean up
4 years ago
Pete Johanson
c058757252
Fetch/get implementation work.
4 years ago
Pete Johanson
109c69cbab
EN11 is actually EC11, some sample work.
4 years ago
Pete Johanson
331bfa7052
Interrupt fixes.
4 years ago
Pete Johanson
893b99d907
Initial en11 exploration.
4 years ago
Pete Johanson
e448f2d32b
kscan: matrix: Remove verbose logging in read.
4 years ago
Pete Johanson
497049ff68
Detect additional key presses on the same output.
...
* Interrupts won't follow on additional keys
pressed on an already "held" output pin,
so queue additional reads while any keys are held.
4 years ago
Pete Johanson
c32c25d3c0
Properly allocate input/output arrays statically.
4 years ago
Pete Johanson
a6a364725d
Fix .gitignore, add missing changes.
4 years ago
Pete Johanson
d35a95c7af
Initial working Clueboard California Macropad w/ proton-c fixes
...
* Basic Clueboard Californai Macropad shield definition.
* New "direct" KSCAN driver that supports non-matrix direct
wiring for switches, needed for macropad that doesn't have
a matrix at all.
* Some renames for existing KSCAN GPIO driver to make the implied
"matrix" part explicit.
4 years ago
Pete Johanson
297e457dd5
Fix remaining Apache header lines.
4 years ago
Pete Johanson
38f1dbd984
Move Zephyr app into subdirectory.
4 years ago