Romain Heller
4df0c5f86f
[Typo] Page is about Model 01, not the Atreus
...
... And the link too :-)
Signed-off-by: Romain Heller <Rom1deTroyes@users.noreply.github.com>
4 years ago
Jesse Vincent
2870a0b8ec
Whitespace issues found by astyle
4 years ago
Jesse Vincent
ceecd5d71b
Clang requires these be explicitly marked as templates
4 years ago
Jesse Vincent
614bc41a14
Clang doesn't like delete getting called on virtual classes without destructors.
4 years ago
Jesse Vincent
309ac5339c
describeState needs to be marked override for clang
4 years ago
Gergely Nagy
7d991b7544
Revert "travis: Run the simulator tests too"
...
This reverts commit 0c846006fb
.
This needs a bit more setup and tweaking to work....
4 years ago
Gergely Nagy
0c846006fb
travis: Run the simulator tests too
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
bd44b458ee
astyle
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
6cc56403ec
wip: Add an all_actions test sketch
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
59aa18aca8
wip: Executor -> Simulator
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
8bd2efb9c7
wip: Simulator.h->macros.h
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
cbcb9c1586
wip: Add a dummy test
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
0454f8b66e
wip: simulator: guard GenerateHostEvent
...
This feature is currently only available on Linux, but we don't want a
platform-specific guard - not in itself, anyway - so guard it with
`KALEIDOSCOPE_VIRTUAL_HOST_EVENTS`, _and_ a linux-guard within.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
8f7be391e5
wip: AglaisInterface => LogProtocolInterface
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
507bf61b26
wip: Include AglaisInterface from Kaleidoscope-Simulator.h
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
85dc500bbb
wip: SimulatorCore: stop using deprecated interfaces
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
0fa406c5d1
wip: drop the executor namespace
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
ff06775608
wip: simulator/Executor.h => simulator/Simulator.h
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
5d83ac6ad3
wip: drop the vendors dir from simulator/interface
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
5d69c4f5c0
wip: interface::Simulator => interface::Simulator_
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
145d926510
wip: framework->interface
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
df73da9b80
wip: header cleanups
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
59540c8d2d
wip: version.h: Only do the check if building for AVR
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
4db7189ce9
wip: Fix COMPILER_PATH for virtual builds
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
ab12556f8b
wip: log protocol collapse v1
...
we do not currently plan to have a v2 anytime soon. Lets just merge the v1
namespace into the main one.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
3716ea4ab2
wip
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
917ed4184c
wip: Simulator
...
This is the same code as the previous branch, but without history to make
rebasing easier.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
902a60ab7f
Merge pull request #883 from Rom1deTroyes/patch-1
...
[Typo] The Plugin name is WavepoolEffect
4 years ago
Romain
c9b9281d21
[Typo] The Plugin name is WavepoolEffect
...
Just a little typo here.
Signed-off-by: Romain <Rom1deTroyes@users.noreply.github.com>
4 years ago
Jesse Vincent
0d50c846f2
Merge pull request #881 from tokencoder/patch-5
...
Additional methods for installing Arduino
4 years ago
tokencoder
771ba09add
Additional methods for installing Arduino
4 years ago
Jesse Vincent
0c16678050
Merge pull request #880 from tokencoder/patch-4
...
Arch distro command differs
4 years ago
tokencoder
5ca3183aab
Arch distro command differs
...
as referenced in: https://unix.stackexchange.com/questions/39370/how-to-reload-udev-rules-without-reboot
4 years ago
Jesse Vincent
c85233b7c0
Astyle.
4 years ago
Jesse Vincent
45ffbd9118
ADd some docs for the scan cycle timer
4 years ago
Jesse Vincent
ad83388ef9
Set our default debounce cycle time to bottom out at approximately 1500uS instead of 17000us. Measured, this gets us a 5ms debounce pretty reliably.
4 years ago
Jesse Vincent
a6e5c0a6f8
Merge pull request #877 from keyboardio/debouncer-cleanup
...
ATmega debouncer cleanup
4 years ago
Gergely Nagy
8157580b52
keyscanner::ATmega: Rename a few internal things again
...
To make their purpose clearer, rearrange our state: we now have the row-based
array on the top level, instead of every member being an array on its own. The
name of the state variable was changed to `matrix_state_`, to reflect its
purpose. This also allowed us to have its members be named `current`,
`previous`, `debouncer` and `masks`.
All devices using these APIs, and the documentation were updated accordingly.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Jesse Vincent
281594029e
Switch back to a slightly less efficient, but more trivial way to toggle pins
4 years ago
Gergely Nagy
0216ce8587
keyscanner::ATmega: Pull out readCols from readMatrix again
...
We want `readCols` as a separate function, so we can tell the compiler to apply
different optimizations to it.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
89ea860bfa
Update all devices & docs with regards to the keyscanner::ATmega API change
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
7c040b355c
keyscanner::ATmega: Rename a few things
...
state.db -> state.debounce
state.previousKeyState -> state.previous_matrix
state.keyState -> state.matrix
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
0436a50563
keyscanner::ATmega: Introduce BaseProps::RowState
...
This is a typedef that defines what type we need to use for storing row states.
Defaults to uint16_t. For boards with 8 columns or less, we can use `uint8_t`,
but the default is 16 bits.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
adb93ed152
keyscanner::ATmega: Merge the static props into a struct
...
This makes it easier to initialize them in the cpp (shorter too!), and reduces
code size as well. It's also a bit simpler to understand the initialization
part, because it's no different from the props init.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Jesse Vincent
985facf111
keyscanner::ATmega: Switch to a different debouncer
...
Use one of the debouncers from keyboardio/avr_keyscanner instead of the - much
harder to understand - variant we had in keyscanner::ATmega.
4 years ago
Jesse Vincent
1678acaba3
Merge pull request #876 from keyboardio/twi/explicit-fallthrough
...
device/keyboardio/twi.c: Adjust a comment to help GCC
4 years ago
Gergely Nagy
6779e0d8e7
device/keyboardio/twi.c: Adjust a comment to help GCC
...
Adjust a comment that signals explicit fall through, to help GCC recognise it.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
87048be5f2
Initial support for g Heavy Industries' FaunchPad
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
c8e6a99c5f
Initial support for g Heavy Industries' ButterStick
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
61e3913fe5
Merge pull request #873 from keyboardio/configurable-keyscan-prop
...
Make the keyscan_interval prop of the keyscanner configurable.
4 years ago