Jesse Vincent
af3cfba124
astyle didn't catch this whitespace issue
8 years ago
Jesse Vincent
ee4265ad77
fixes for cpplint, including a really embarssing mistake
8 years ago
Jesse Vincent
a7622eff04
Correct the description of 3x4 font
8 years ago
Jesse Vincent
23a890dd7f
Add a first pass at a 3x4 font.
8 years ago
Jesse Vincent
891bab11ec
Extract the typeface out into its own file
8 years ago
Jesse Vincent
bddcc4912b
extract out the key combo
8 years ago
Jesse Vincent
2d63a2e21a
Merge pull request #6 from keyboardio/f/macros.type
...
Add a way to type ASCII strings, as if pressing keys
8 years ago
Gergely Nagy
74ccc848a8
Add the TopsyTurvy ranges.
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
4c2b9e8e55
Add a way to type ASCII strings, as if pressing keys
...
Adds a `Macros.type()` method, which expects a string in PROGMEM, iterates
through it, and simulates key presses. It converts ASCII codes to Key codes
during the process.
Assumes an US QWERTY layout on the host, supports all printable chars, and a few
control codes too.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
6df2e5644a
Merge pull request #136 from algernon/f/compile-time-use
...
Rework Kaleidoscope.use to be a compile-time recursive function
8 years ago
Gergely Nagy
636dfc3ba6
Rework Kaleidoscope.use to be a compile-time recursive function
...
Based on suggestions from Wez Furlong (@wez) in #135 , this replaces the
`Kaleidoscope.use` function with one that does its thing at compile time.
The net result is that we save a considerable amount of code, while still having
all of the benefits, and being 100% backwards compatible, no code needs to
change.
We may want to adjust existing code to use `Kaleidoscope.use` directly, and drop
any trailing NULLs we may have had. But there is no rush to do so.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
415e42a57b
Document the Focus hooks
...
Fixes #3 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
0b4fb8dc6f
updateHandler should look up from the theme, not from base
...
The `updateHandler` method was looking up colors starting at `theme_base`,
instead of `map_base`. The former is the first theme in our set, the last is the
one we should be working with.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
5bc7f49dce
dump the body of the arduino api style guide here.
8 years ago
Jesse Vincent
c3ad5a322f
Fix a misspelled tag
8 years ago
Gergely Nagy
ac1b302ea0
README.md: Properties are not methods
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
a6a2288c20
README.md: Properties are not methods
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
28a3c82ae8
README.md: Properties are not methods
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
4d1a73f0b7
README.md: Properties are not methods
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
751ce314fe
README.md: Properties are not methods
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
f3e615ba80
README.md: Properties are not methods
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
cfbb587710
README.md: Properties are not methods
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
c3eb1af9da
reboot_bootloader: Use reinterpret_cast<> instead of C-style casting
...
Makes the linter happy, and produces exactly the same code.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
82a7ceb75a
Augment a TODO item to make the linter happier
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
c05573ea40
Guard the key_is_pressed/key_was_pressed arguments better
...
Instead of using the argument as-is, which could be misinterpreted as a
reference (at least by linkers), wrap them in parens to make it clear they are
not.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
c564d298c7
Make the linter happy
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
07d919069d
Make the linter happy
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
2c569de478
Make the linter happy
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
ea3ec5b19a
Make the linter happy
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
8d071acde2
Update to work with the latest Ranges APIs
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
53435e0556
Update to work with the latest OneShot APIs
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
6cf2b82dd3
README.md: Minor documentation updates
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
9d9ef489be
Kaleidoscope Style Guide conformance
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
184e705b3a
Kaleidoscope Style Guide conformance
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
f79b3b5f7d
Kaleidoscope Style Guide conformance
...
Also updated to use the new Ranges APIs, while there.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
6be3cc0010
README.md: Update the documentation
...
Refer to modifiers with their new names, and to Kaleidoscope as such (as opposed
to KaleidoscopeFirmware, a remnant of KeyboardioFirmware, I suppose).
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
e8f3495f7c
Kaleidoscope Style Guide conformance
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
853712eec1
Use the newest Ranges APIs
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
e6543b2011
Updated to use the newest Ranges APIs
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
22088a6546
Kaleidoscope Style Guide conformance
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
fbd21c0462
Updated the example to use the newest Stalker APIs
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
7ddb1130b4
Kaleidoscope Style Guide conformance
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
0965d9f07e
Merge pull request #7 from keyboardio/f/bootAnimation-EEPROM-less
...
bootAnimation: Just do it
8 years ago
Gergely Nagy
3b5363fea1
bootAnimation: Just do it
...
A while ago, we added a bit of code to `bootAnimation()` that only did the
animation on first boot - this is not a desirable thing anymore, not in
`bootAnimation()` itself.
These days, one would use `Kaleidoscope-EEPROM-Settings`, and decide whether to
do the boot animation there. Since `bootAnimation()` is an optional thing, just
do the animation whenever the function is called, and remove the obsolete EEPROM
bits.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
477c426385
remove the kaleidoscope-builder from the Kaleidoscope core,
...
since it's now in the build tools repo
8 years ago
Gergely Nagy
aea3f224b6
Updated to use the latest LEDPaletteTheme APIs
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
e6ff4ed151
Updated to use the latest LEDPaletteTheme APIs
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
c20732257b
examples/AppSwitcher: Update to use newest HostOS APIs
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
e54dc2a4fd
Make the linter happy
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
b6d0197bb4
Minor documentation update
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago