Jesse Vincent
d119dcd105
remove a vestigal reloading of the sketch's settings file
8 years ago
Jesse Vincent
6b868de066
Also search for a settings file in the root of the source directory without a leading .
8 years ago
Jesse Vincent
e7b186c597
Rename the settings file for the builder to give a hint as to what it's a settings file for
8 years ago
Jesse Vincent
cd843688ae
reorganize settings and add section headings for clarity
8 years ago
Jesse Vincent
62b556c23a
Lift the macOS overrides up to before the definitions that use them
8 years ago
Gergely Nagy
80178956e4
Travis: Remove obsolete workarounds
...
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
Jesse Vincent
a0a5604c27
Merge pull request #116 from algernon/h/tools/builder/cwd-in-library-path
...
kaleidoscope-builder: Add . to the library path
8 years ago
Jesse Vincent
634dca4a2c
Merge pull request #2 from keyboardio/f/always-trigger
...
Instead of calling macroAction only on keydown, call it every time
8 years ago
Gergely Nagy
807d18ab31
Nicer dump output
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
45391388db
Move the Focus hook into a separate file
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
00b836d0ac
Code optimalization
...
Lift out the key updating code into a private method.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
73c0f86d37
Add a missing #pragma once
...
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
03ab5f1a47
Updated to support newest Focus
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
db09b35be3
Initial import
...
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
Gergely Nagy
8be09348a0
Instead of calling macroAction only on keydown, call it every time
...
Call `macroAction` for all `keyState`s, not only when a key toggled on. This
lets the macro itself decide when to act, and makes it possible to have macro
effects on the other states.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
66e8d74a32
Merge branch 'master' of ssh://github.com/keyboardio/KeyboardioFirmware
8 years ago
Gergely Nagy
546f6ea218
kaleidoscope-builder: Add . to the library path
...
Fixes #111 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
8b229b4b09
Test the plugin with Travis CI
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
b695e4269d
Test the plugin with Travis CI
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
e073402547
Test the plugin with Travis CI
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
d11a7829fa
Test the plugin with Travis CI
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
20a6ec4913
Test the plugin with Travis CI
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
70c106fc7d
Test the plugin with Travis CI
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
459b40eebc
Test the plugin with Travis CI
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
b203ce754a
Test the plugin with Travis CI
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
1dcccb0e37
Test the plugin with Travis CI
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
c0d947b1e9
Test the plugin with Travis CI
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
69cad076bc
Test the plugin with Travis CI
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
79b791d6e7
Test the plugin with Travis CI
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
a1af698eb6
Test the plugin with Travis CI
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
b488434d4a
Test the plugin with Travis CI
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
f1e8f93f39
Test the plugin with Travis CI
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
7c362a0709
Test the plugin with Travis CI
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
46677e91e1
Test the plugin with Travis CI
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
f479458b8c
Test the plugin with Travis CI
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
f2773e1444
Mark the class a descendant of public LEDMode
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
7686f58715
Mark the class a descendant of public LEDMode
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
69a8a8830f
Mark the classes descendants of public LEDMode
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
d77b051e8f
Mark the class a descendant of public LEDMode
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
5ba8fe34bb
Mark the class a descendant of public LEDMode
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
3e70f5f181
Merge pull request #1 from keyboardio/f/led-sync/isChanged
...
Only sync the LEDs, if there is a change
8 years ago
Jesse Vincent
bb18b8e9b5
Merge pull request #2 from keyboardio/f/no-eeprom
...
Drop the layer save/load methods
8 years ago
Jesse Vincent
b2fd8d148a
Merge pull request #114 from algernon/f/no-layer-restore
...
Don't try to load the saved layer on setup()
8 years ago
Jesse Vincent
8fadf27e2f
Merge pull request #115 from algernon/f/layers/pluggable-lookup
...
Make the lookup of a key pluggable
8 years ago
Gergely Nagy
6d641e7fc5
Make the lookup of a key pluggable
...
We want to allow plugins to change how keys are looked up - or where they are
looked up from -, and for this, the way we do that final lookup from `keymaps`
or elsewhere, must be overrideable.
We do this by having a `getKey` function pointer in the `Layer_` class, which
defaults to `getKeyFromPROGMEM`. Any plugin, or sketch, can change where
`getKey` points to, and thereby change the way keys are looked up.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago