Jesse Vincent
1a626ee1e8
Merge pull request #13 from keyboardio/f/auto-settings
...
Automatically pull in EEPROMSettings, and set up defaults
6 years ago
Jesse Vincent
1c7f9f6ae1
Merge pull request #361 from keyboardio/h/make-layer_count-public
...
Declare layer_count extern, so that plugins outside of core can use it too
6 years ago
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
737781a162
Merge pull request #51 from jamadagni/patch-1
...
Document the methods provided by the plugin
6 years ago
Gergely Nagy
eaa0ce111d
Merge branch 'master' into patch-1
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
e28e129033
Lower the debounce time to 3 cycles instead of 5.
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
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
Gergely Nagy
d927627a07
Rearranged the columns
...
Rearranged the columns so we can do some bit shifting and OR-ing magic instead
of manually picking bits from various pins.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
6 years ago
Gergely Nagy
e5ad4c0649
Initial import
...
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
65c936fb80
shellcheck should only be run in the Kaleidoscope repo
6 years ago
Jesse Vincent
bd6c2be89b
shellcheck should only be run in the Kaleidoscope repo
6 years ago
Jesse Vincent
bf5606d975
shellcheck should only be run in the Kaleidoscope repo
6 years ago
Jesse Vincent
baae802a85
shellcheck should only be run in the Kaleidoscope repo
6 years ago
Jesse Vincent
18bd216830
shellcheck should only be run in the Kaleidoscope repo
6 years ago
Jesse Vincent
36702b3448
shellcheck should only be run in the Kaleidoscope repo
6 years ago
Jesse Vincent
015db51007
shellcheck should only be run in the Kaleidoscope repo
6 years ago
Jesse Vincent
a101213662
shellcheck should only be run in the Kaleidoscope repo
6 years ago
Jesse Vincent
04ba857e53
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
2d3eeebbea
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
d34335667b
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