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
c65a1b89bf
kaleidoscope-builder: Do not reset the device if NO_RESET is set
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Gergely Nagy
7a4f0bac85
kaleidoscope-builder: Do not hardcode the max program size
...
Instead of hardcoding the max program size, pick it out of boards.txt, like we
pick the device VID and PID.
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
Jesse Vincent
7f92a9086a
Merge pull request #324 from MaxG87/constexpr
...
Minor improvements on Key union
7 years ago
Max Görner
2889f1c301
Remove `inline' for improved readability
7 years ago
Gergely Nagy
9fdabe5e02
Merge pull request #326 from jamesnvc/patch-2
...
Minor typo/grammar corrections
7 years ago
James Cash
08a0af045f
Minor typo/grammar corrections
7 years ago
Max Görner
b2254e1c7f
Slightly improve function signatures
...
The member functions of the union now take all arguments const, meaning
that it is not possible to modify this value somehow. This reduces the
chance of subtle bugs and widens the contexts in which these member
functions can be used.
Furthermore, one signature took a `Key' by value while all functions
take `Key' by reference. For the sake of consistency, this was adapted
to.
7 years ago
Max Görner
066d00d117
Add const and constexpr specifiers to Key union
...
Making the member functions of Key `const' explicitly flags that they
will not change the union. This will allow to use Key in const contexts.
Adding the `constexpr' specifier to the function makes it possible to
rely on the results at compile time. This puts some kind of restrictions
on the function, especially when using C++11 and not a newer standard,
but these restrictions were already fulfilled, so this seems to be safe.
7 years ago
Gergely Nagy
65526a1df6
doc/glossary.md: A small update
...
Updates the formatting a bit, and adds a few entries too. Still much to be done,
but... small steps!
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Gergely Nagy
48927e5ccf
Merge pull request #4 from keyboardio/h/timer-based-update
...
Use timers instead of ticks to time when to update the effects
7 years ago
Gergely Nagy
8546814b98
Merge pull request #314 from algernon/f/builder/flash-hooks
...
kaleidoscope-builder: add `preFlash_HOOKS` and `postFlash_HOOKS`
7 years ago
Gergely Nagy
0f8db1cf88
Merge pull request #43 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
1fabb870b1
Merge pull request #6 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
900dba831f
Merge pull request #8 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
42f43e94f6
Merge pull request #9 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
30bbd49058
Merge pull request #8 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
73f69c1787
Merge pull request #23 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
1434839aa0
Merge pull request #7 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
75cb920de6
Merge pull request #2 from keyboardio/f/plugin-v2
...
Updated the README to use the new plugin APIs
7 years ago
Gergely Nagy
a7fae41a3e
Merge pull request #6 from keyboardio/f/plugin-v2
...
Updated the README to use the new plugin APIs
7 years ago
Gergely Nagy
f2384054c0
Merge pull request #5 from keyboardio/f/plugin-v2
...
Updated the README to use the new plugin APIs
7 years ago
Gergely Nagy
7fb2973e7b
Merge pull request #2 from keyboardio/f/plugin-v2
...
Updated the README and the example to use the new plugin APIs
7 years ago
Gergely Nagy
ace0ba7a6e
Merge pull request #5 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
0e5c00b357
Merge pull request #9 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
f2c4fd77fa
Merge pull request #11 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
48063dbd5c
Merge pull request #8 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
a32abc28d8
Merge pull request #14 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
b1c4db4a61
Merge pull request #4 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
33d03eace3
Merge pull request #4 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
45dcb7e8bc
Merge pull request #11 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
bd471d444c
Merge pull request #4 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
0c9c66f617
Merge pull request #2 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
ceaee8a74c
Merge pull request #31 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
2bdc07b7bd
Merge pull request #8 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
6efbc3b780
Merge pull request #19 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
eb691a143e
Merge pull request #5 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
58376f486d
Merge pull request #4 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
082400184b
Merge pull request #21 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
fb4bff72bd
Merge pull request #17 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
3904cf00a6
Merge pull request #5 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
fb787d59ac
Merge pull request #7 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago