Gergely Nagy
0e57322903
Implement getKeyswitchStateAtPosition
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Gergely Nagy
9b6cf1ce14
Use the Kaleidoscope naming convention for KEYMAP_STACKED
...
In Kaleidoscope, we use the rxcy naming scheme, so lets use that for the ErgoDox
port too.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Gergely Nagy
9aae109305
Merge pull request #7 from keyboardio/f/detach-attach
...
Implement detachFromHost() and attachToHost()
7 years ago
Gergely Nagy
e706ffaa89
Implement detachFromHost() and attachToHost()
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Gergely Nagy
c6be3cf804
ErgoDoxScanner: We need that delay in initExpander
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Gergely Nagy
2b19388f6c
ErgoDoxScanner: Try re-attaching every 5 seconds only
...
Not doing so destroys the latency of the still functional right half.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Gergely Nagy
f8726905ea
Support detaching & re-attaching the expander
...
Partly addresses #5 . We still need to gracefully handle when the expander is not
coming back.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Gergely Nagy
bbc38e7120
Use Timer1 for scan timing
...
Instead of running `scanMatrix` whenever we get there, use Timer1 to set a
consistent period. This does not mean we'll run every time the timer is up, but
we will run at consistent intervals.
Fixes #6 .
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Gergely Nagy
d869a8dace
Drop the extras
...
We are going into Arduino-Boards (at least for now).
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Gergely Nagy
d76987edff
Renamed the library to Kaleidoscope-Hardware-EZ-ErgoDox
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Gergely Nagy
51f3d94cff
Another copyright & credits update
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Gergely Nagy
e8c0ea7247
Add flashing functions to .kaleidoscope-builder.conf
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Gergely Nagy
831d1df057
Credit QMK, where a big part of this comes from
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Gergely Nagy
02ae51de6e
extras/boards.txt: Disable the V1 plugin API by default
...
As this is a new port, there is little sense in supporting the legacy API.
Disable it for some nice space savings!
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Gergely Nagy
596d3cf12e
Implement debouncing
...
This adds a very simple debouncing algorithm for debouncing. It works by making
sure a key is not changing state more than a configurable amount of cycles.
Defaults to five cycles for now.
Fixes #1 .
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Gergely Nagy
12ed823c2d
Don't call the keyswitch event handler when idle
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Gergely Nagy
39763abbb5
Implement ErgoDox.resetDevice()
...
Can be used to reset the device, and put it into programmable mode, from within
the firmware.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Gergely Nagy
bd913cde2b
Add support for the status LEDs
...
Fixes #2 .
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Gergely Nagy
afa32312e0
Make the ErgoDox symbol available
...
The global `ErgoDox` symbol should be a shortcut, an alias, to KeyboardHardware.
When using ErgoDox-specific functionality, `ErgoDox.someMethod()` is much
clearer about that than `KeyboardHardware.someMethod()` would be.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Gergely Nagy
499d4e8b37
Initial import
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago