Jesse Vincent
ecc113ad7f
Added a note about how this isn't the right place to start for Model01 firmware
8 years ago
Jesse Vincent
8bb9bb37ca
make consumercontrol and systemcontrol events only fire on key release
...
rather than send key down events for a while before sending a key
release event as we did with the old scheme, this sends the events
paired together as "one shot". This is closer to the spec and what OSX
needs to accept these events
8 years ago
Jesse Vincent
b6d552f9c0
Update Makefile to fix OS X build
8 years ago
Jesse Vincent
ceaded3eb4
Update Makefile to fix OS X build
8 years ago
Jesse Vincent
30ebf9599f
Update Makefile to fix OS X build
8 years ago
Jesse Vincent
7919922036
Move the hid facade out into its own namespace
8 years ago
Jesse Vincent
7e73341772
Move our hid facade into kaleidoscope::hid
8 years ago
Jesse Vincent
c9734385c5
press/releaseKeyRaw -> press/releaseRawKey
8 years ago
Jesse Vincent
4ee9ca4e63
pressConsumer/releaseConsumer -> pressConsumerControl / releaseConsumerControl
...
ditto for SystemControl
8 years ago
Jesse Vincent
f5aaedffd5
add an "isModifierActive" to the hid facade
8 years ago
Jesse Vincent
02695b8cea
Add a facde for KeyboardioHID's *.begin()
8 years ago
Jesse Vincent
8b187366c7
Create an abstraction on top of the KeyboardioHID interface
...
so that user code doesn't need to know anything about it.
(This also paves the way for @wez' EventDispatcher)
8 years ago
Jesse Vincent
178dd0a5f1
Merge pull request #141 from cdisselkoen/update-for-new-Macros-API
...
Update for changes to Kaleidoscope-Macros no longer requiring END
8 years ago
Craig Disselkoen
1cf8d9afdb
Update for changes to Kaleidoscope-Macros no longer requiring END
8 years ago
Jesse Vincent
9434d7b2bf
Update function naming from CamelCase to camelCase,
...
to match what actually happens in the Arduino Universe
8 years ago
Jesse Vincent
cb3a6d78c8
press_key-> pressKey
8 years ago
Jesse Vincent
396ae22a67
release_key->releaseKey
8 years ago
Jesse Vincent
e29e220416
camelCasing of _matrix functions
8 years ago
Jesse Vincent
210287684f
CamelCase of handle_*_key*
8 years ago
Jesse Vincent
2582441523
CamelCase of KeyIsPressed and KeyWasPressed
8 years ago
Jesse Vincent
0f2bae7db7
keyToggledO* camelcasing
8 years ago
Jesse Vincent
3154f7c997
Add "correct" camelCase versions of the keyswitch state macros to ease transition to the new API
...
We'll remove the deprecated versions after the core greps clean
8 years ago
Jesse Vincent
72cd5f7db8
Update to work with new simpler Nulock API
8 years ago
Jesse Vincent
4a9ce76915
Merge pull request #139 from cdisselkoen/for-upstream
...
Fix paths in README.md to match Makefile
8 years ago
Craig Disselkoen
43af3eff08
Fix paths in README.md to match Makefile
8 years ago
Jesse Vincent
8d85120f96
Merge pull request #138 from keyboardio/f/coding-style-markdown
...
doc/CODING_STYLE: Convert the style guide to Markdown
8 years ago
Gergely Nagy
568903b1da
doc/CODING_STYLE: Convert the style guide to Markdown
...
This converts the Style Guide to Markdown. Some small changes were
applied, mostly in the beginning, up until "Local Variables", roughly. After
that, only striked through sections were removed, and the wording was kept.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
98b389411b
Use Kaleidoscope.use instead of USE_PLUGINS
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
feda651170
Mark the plugin stable
...
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
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
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
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
36a0632d6d
astyle to pad operators
8 years ago
Jesse Vincent
a0b2d400db
astyle with current project style guidelines
8 years ago
Jesse Vincent
8c6b8433cc
astyle pass
8 years ago
Jesse Vincent
57ebb17d8f
Revert "switch from one space indent to two space indent before public: and private:"
...
This reverts commit 502bc0b59f
.
Now that we have two space indent, astyle does the right thing
8 years ago
Gergely Nagy
8782cea7c1
Focus: When printing the keymap, use the effective layout
...
Instead of printing the keymap from EEPROM, print the effective layout.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
ba6128dddc
Kaleidoscope Style Guide conformance
...
Updated the code to conform to the latest style guide. And added a bit of
documentation too, while there.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago