Gergely Nagy
989f1417ac
Merge pull request #3 from keyboardio/f/plugin-v2
...
Updated to use the new plugin APIs
7 years ago
Gergely Nagy
94b7d13990
Updated to use the new plugin APIs
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Jesse Vincent
50c92bddf7
Update Makefile with OSX fixes and new paths
7 years ago
Gergely Nagy
1b6dc98703
Use `Kaleidoscope.use` instead of `USE_PLUGINS`
...
The latter is being obsoleted, so use the former, newer API.
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago
Jesse Vincent
30ebf9599f
Update Makefile to fix OS X build
7 years ago
Gergely Nagy
583e916590
Fix a typo
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
33a19c3b51
Fix the Focus hooks
...
We need to reference the global `Focus` object, not a local one, to avoid confusion.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
ae8cd514a2
Focus hooks shall follow the style guide more closely
...
Moved them to the a namespace much more fitting, and renamed the hooks too.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
c5980dc5a6
Local variables shall follow the style guide too
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
564b656162
README.md: Minor style adjustment
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
da90c342fb
Some more linter-triggered fixes
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
202860575b
Kaleidoscope Style Guide conformance
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
49887a2805
virtual void begin(void) final is redunant and makes the linter unhappy
8 years ago
Jesse Vincent
a0b2d400db
astyle with current project style guidelines
8 years ago
Jesse Vincent
e3dc58f384
make astyle
8 years ago
Jesse Vincent
59c361e6c8
New build infrastructure
8 years ago
Jesse Vincent
a5a3bb6521
Update to new Keymap
8 years ago
Gergely Nagy
664df896e0
README: Rearrange the methods a bit
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
957866fb84
README: Drop a left over sample from another plugin
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
b811e1f973
Document the Focus hooks too
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
1379094d39
Add some developer-oriented docs to the README
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
e3e6ec9488
README: Change the status images to SVG
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
a83d61e280
Focus: Fix the command list
...
`eeprom.dump` and `eeprom.upload` has been merged into `eeprom.contents`,
reflect that in the command list, too.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
cdd6b811f9
Focus: Allow partial eeprom upload
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
fc59d1f64b
Focus: Merge the eeprom.dump and eeprom.upload commands
...
Fixes #2 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
0bfb773619
Focus: Don't format the eeprom.dump output
...
Fixes #1 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
19b5655770
Add a way to figure out the used & free EEPROM amount
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
26d7af1b96
Fix the `settings.version` Focus command
...
There was a missing `break`, so control flowed through to the CRC case.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
f1e7ab05eb
Instead of full docs, only document the commands
...
Full documentation takes way too much space, and command names are a reasonable
compromise for discoverability.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
7884289e59
README: Add a "Dependencies" section
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
3648c6687c
No need to consume the trailing \n anymore
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
ff46d8eede
Use the new Focus helpers
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
ff29bce43e
Focus: Add an EEPROM dump, and an upload command
...
Fixes keyboardio/Kaleidoscope-Focus#1 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
c0d2c51730
Rework how the whole thing operates
...
Allows other plugins to request a slice of EEPROM, and returns the starting
location of their area. Makes a CRC out of the slice sizes, so that it can
detect when the EEPROM and the Sketch become out of sync. Handling that case is
left up to the user.
As a consequence, we no longer reserve a big chunk of EEPROM for the keymap,
that just becomes another slice of it, which can be anywhere. This makes it a
bit harder to adjust the size of it, but as far as this plugin goes, playing
with the EEPROM layout will usually mean having to update its contents from
scratch, anyway.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
496cff414b
Travis: Remove obsolete workarounds
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
ef832250f0
Add (optional) Focus hooks
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
212861173c
Add a version to the settings struct
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
eca8be7b57
Add a missing #pragma once
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
fcde978862
Initial import
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago