Jesse Vincent
0dabbc6f95
typo
8 years ago
Jesse Vincent
41ddb76fa8
indent error
8 years ago
Jesse Vincent
80c6e1f26c
0 was duplicated
8 years ago
Jesse Vincent
ae8407016b
wrong var name
8 years ago
Jesse Vincent
ea90ca09b0
Add a brightness API for the rainbow effects
8 years ago
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
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
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
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
e8f3495f7c
Kaleidoscope Style Guide conformance
...
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
c20732257b
examples/AppSwitcher: Update to use newest HostOS APIs
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
9e6b7e22f6
Kaleidoscope Style Guide conformance
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 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
6521013ca5
virtual void begin(void) final is redunant and makes the linter unhappy
8 years ago
Jesse Vincent
7da1fe702a
virtual void begin(void) final is redunant and makes the linter unhappy
8 years ago
Jesse Vincent
16ecc25dbe
virtual void begin(void) final is redunant and makes the linter unhappy
8 years ago
Jesse Vincent
49887a2805
virtual void begin(void) final is redunant and makes the linter unhappy
8 years ago
Jesse Vincent
34ea7200ac
Add build infrastructure
8 years ago
Jesse Vincent
4ae6bff15d
astyle to pad operators
8 years ago
Jesse Vincent
d790a01bb2
astyle to pad operators
8 years ago
Jesse Vincent
0c645e957b
astyle to pad operators
8 years ago
Jesse Vincent
0308c89cb4
astyle to pad operators
8 years ago
Jesse Vincent
36a0632d6d
astyle to pad operators
8 years ago