Jesse Vincent
ad36c4c10f
Merge pull request #6 from keyboardio/f/implicit-seal
...
Seal the EEPROM layout automatically
6 years ago
Gergely Nagy
a02cde9c21
Automatically pull in EEPROMSettings, and set up defaults
...
To make it easier to use the plugin, pull in `EEPROMSettings` by default, and
explicitly call its `onSetup` (it is safe to do so), so user sketches don't have
to if they don't use `EEPROMSettings` directly. Also set `Layer.getKey` to
`EEPROMKeymap.getKeyOverride` to provide a sensible default.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
6 years ago
Gergely Nagy
aad0e3a734
Declare layer_count extern, so that plugins outside of core can use it too
...
Without declaring it extern, other plugins will not have access to the symbol.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
6 years ago
Gergely Nagy
47efb47506
Seal the EEPROM layout automatically
...
If `EEPROMSettings.seal()` wasn't explicitly called, seal the layout in
`beforeEachCycle()`. On the flip side, this makes user sketches simpler, because
they don't have to seal explicitly. This is done at the cost of an if check each
cycle.
In the long run, EEPROM layout management will be moving out of this plugin, so
this check will be eventually dropped too.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
6 years ago
Gergely Nagy
ce921d48c5
Merge pull request #5 from martinakcsilla/drop-debugging-println
...
Remove a debugging Serial.print()
6 years ago
Csilla Nagyné Martinák
ba332c1846
Remove a debugging Serial.print()
...
These two lines went in by mistake earlier, they were meant for local
debugging only. As such, having them in the plugin is a bug, easily
squashed by removing them.
Signed-off-by: Csilla Nagyné Martinák <csilla@csillger.hu>
6 years ago
Jesse Vincent
47ce0989ba
Merge pull request #9 from martinakcsilla/travis-by-example
...
Add an example sketch, and a Travis CI control file
6 years ago
Jesse Vincent
1a169fb86f
Merge pull request #31 from keyboardio/f/more-buttons
...
Add prev/next mouse buttons
6 years ago
Gergely Nagy
a180a6784d
Add prev/next mouse buttons
...
KeyboardioHID already supports these keys, so lets expose them!
Fixes #28 .
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
6 years ago
Csilla Nagyné Martinák
a2195357c6
Add an example sketch, and a Travis CI control file
...
Fixes #4 .
Signed-off-by: Csilla Nagyné Martinák <csilla@csillger.hu>
6 years ago
Jesse Vincent
ad59dfec5e
Merge pull request #360 from keyboardio/f/shellcheck-in-makefile
...
.travis.yml: Remove shellcheck from the script step
6 years ago
Jesse Vincent
9005df2486
Merge pull request #8 from keyboardio/f/model01-bound
...
Emit an error when compiling for anything else but the Model01
6 years ago
Gergely Nagy
dc0168216e
.travis.yml: Remove shellcheck from the script step
...
With keyboardio/Kaleidoscope-Build-Tools#2, it is now done by the `travis-test`
target. We still need to install the shellcheck package, however.
Fixes #356 .
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
6 years ago
Gergely Nagy
c482062be4
Emit an error when compiling for anything else but the Model01
...
This fixes #3 .
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
6 years ago
Gergely Nagy
aa6b4c3885
etc/kaleidoscope-builder.conf: Fix ARDUINO_IDE_VERSION
...
We had one zero too much, fix that.
Fixes #287 .
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
6 years ago
Gergely Nagy
a81380a815
Update the README to show how to pull in HostOS correctly
...
Because HostOS is a dependency of this plugin, we need that pulled in. The
example sketch has that, but the README did not.
Fixes #10 .
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
6 years ago
Gergely Nagy
8ad5366850
Merge pull request #20 from Dygmalab/master
...
fix overflow bug on ARM and use millisAtCycleStart
6 years ago
Gergely Nagy
f28f85a4b1
Add a description, and drop OneShot leftovers
...
Fixes #1 .
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
6 years ago
Gergely Nagy
57f3ddd43a
Use Kaleidoscope.millisAtCycleStart()
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
6 years ago
Gergely Nagy
4e8b738521
Coding style fix
...
Our coding style says that private properties should end with an underscore,
lets make it so.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
6 years ago
Gergely Nagy
36a38b23b0
Merge pull request #7 from jamadagni/limit-refresh-rate
...
Limit refresh rate and don't update on every cycle
6 years ago
Jesse Vincent
19b47984f8
Merge pull request #357 from keyboardio/f/builder/max-size-workaround
...
kaleidoscope-builder: Support boards with multiple max sizes
6 years ago
Gergely Nagy
f8d42b72c4
kaleidoscope-builder: Support boards with multiple max sizes
...
With the Atreus, we have a board that has a different max upload size depending
on what MCU is used. Until we figure out how to properly support that in the CLI
builder, default to using the first value. That's a reasonable approximation in
most cases.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
6 years ago
Jesse Vincent
aa6b5f05ac
shellcheck should only be run in the Kaleidoscope repo
6 years ago
Jesse Vincent
9071ede730
shellcheck should only be run in the Kaleidoscope repo
6 years ago
Jesse Vincent
c8c4d1a2dd
shellcheck should only be run in the Kaleidoscope repo
6 years ago
Jesse Vincent
0c7adb68b9
shellcheck should only be run in the Kaleidoscope repo
6 years ago
Jesse Vincent
9320ade74f
shellcheck should only be run in the Kaleidoscope repo
6 years ago
Jesse Vincent
5e672725c5
shellcheck should only be run in the Kaleidoscope repo
6 years ago
Jesse Vincent
6152edc6d1
shellcheck should only be run in the Kaleidoscope repo
6 years ago
Jesse Vincent
c738e6b991
shellcheck should only be run in the Kaleidoscope repo
6 years ago
Jesse Vincent
bb58eee9b8
shellcheck should only be run in the Kaleidoscope repo
6 years ago
Jesse Vincent
cb4d0cbb03
shellcheck should only be run in the Kaleidoscope repo
6 years ago
Jesse Vincent
fd0b519322
shellcheck should only be run in the Kaleidoscope repo
6 years ago
Jesse Vincent
480e644104
shellcheck should only be run in the Kaleidoscope repo
6 years ago
Jesse Vincent
637943c924
shellcheck should only be run in the Kaleidoscope repo
6 years ago
Jesse Vincent
e886a27853
shellcheck should only be run in the Kaleidoscope repo
6 years ago
Jesse Vincent
71cf074578
shellcheck should only be run in the Kaleidoscope repo
6 years ago
Jesse Vincent
788e635dc9
shellcheck should only be run in the Kaleidoscope repo
6 years ago
Jesse Vincent
5233a79439
shellcheck should only be run in the Kaleidoscope repo
6 years ago
Jesse Vincent
df9a99dd11
shellcheck should only be run in the Kaleidoscope repo
6 years ago
Jesse Vincent
755e94a98e
shellcheck should only be run in the Kaleidoscope repo
6 years ago
Jesse Vincent
e525aef803
shellcheck should only be run in the Kaleidoscope repo
6 years ago
Jesse Vincent
fbdc8bdf35
shellcheck should only be run in the Kaleidoscope repo
6 years ago
Jesse Vincent
a643e323e6
shellcheck should only be run in the Kaleidoscope repo
6 years ago
Jesse Vincent
69b05c652a
shellcheck should only be run in the Kaleidoscope repo
6 years ago
Jesse Vincent
9bab4e0bbf
shellcheck should only be run in the Kaleidoscope repo
6 years ago
Jesse Vincent
2ea6ec1956
Update travis.yml to point to new bundle repo
6 years ago
Jesse Vincent
e09c08dd89
Update travis.yml to point to new bundle repo
6 years ago
Jesse Vincent
90f08e0f02
Update travis.yml to point to new bundle repo
6 years ago