Gergely Nagy
380f09f127
Drop an unnecessary handleKeyswitchEvent call
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Piers Cawley
6dcb15474e
Eliminate unnecessary `sendKeyboardReport`
...
It seems that if we inject the release of the mapped modifier key before injecting the press of the alternate key, we avoid the need to call `hid::sendKeyboardReport`, which in turn fixes #7 . Which is nice.
Closes #7
7 years ago
Jesse Vincent
526a583620
Update Makefile with OSX fixes and new paths
7 years ago
Ben Gemperline
e4a00f2a33
Fixed issue with default constructor and no map resulting in failing to initialize keyboard
7 years ago
Ben Gemperline
f5cb8760dd
formatting in README
7 years ago
Ben Gemperline
a2feb2f780
Updated examples and documentation
7 years ago
Ben Gemperline
5d4d7820ae
astyle
7 years ago
Ben Gemperline
1a73d22da7
Updated sources to use newer method and remove map_size variable requirement
7 years ago
Ben Gemperline
90c1f7cc13
Updated spacing in the comments
7 years ago
Ben Gemperline
9655f2254c
First try at converting to get rid of the map_size variable
7 years ago
Ben Gemperline
0597bb2a1d
Added macro to the header file and rearranged definitions.
7 years ago
Ben Gemperline
6b948dcb46
Updated ambiguous paragraph on additional mappings
7 years ago
Ben Gemperline
3d19d9544e
Removed variable that was set but not used in SpaceCadet.cpp:158
7 years ago
Ben Gemperline
51f0acbb94
Ran astyle on code
7 years ago
Ben Gemperline
4ca7664442
Updated variable naming to fit style guide and fixed compilation error in example file
7 years ago
Ben Gemperline
7808eba436
Added .DS_Store to .gitignore
7 years ago
Ben Gemperline
6806fd9720
Updated readme file
7 years ago
Ben Gemperline
fff8179587
Updated documentation and removed debug statements and unnecessary header files.
7 years ago
Ben Gemperline
f3969ba614
Updated example file with new keymap
7 years ago
Ben Gemperline
c3348eb096
Initial commit after changes to support multiple keys
7 years ago
Gergely Nagy
a74169961c
Stop using deprecated interfaces
...
Use `Kaleidoscope.use` and `Kaleidoscope.useEventHandlerHook` instead of the
deprecated `USE_PLUGINS` and `event_handler_hook_use` interfaces.
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago
Jesse Vincent
b58bb19ea3
Update Makefile to fix OS X build
7 years ago
Jesse Vincent
271aba9373
port to new hid facade
7 years ago
Jesse Vincent
63e616099e
CamelCase of handle_*_key*
7 years ago
Jesse Vincent
45f14d77da
CamelCase of KeyIsPressed and KeyWasPressed
7 years ago
Jesse Vincent
6d2af8cdac
keyToggledO* camelcasing
7 years ago
Gergely Nagy
184e705b3a
Kaleidoscope Style Guide conformance
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
f23ce58644
Fixes to make cpplint happy
8 years ago
Jesse Vincent
798fb5e0f0
astyle with current project style guidelines
8 years ago
Jesse Vincent
fcff6f3d20
Make the linter happy
8 years ago
Jesse Vincent
b661511a1a
make astyle
8 years ago
Jesse Vincent
9cb5eca50d
New build infrastructure
8 years ago
Jesse Vincent
381d1460f4
missed one
8 years ago
Jesse Vincent
0238bd29ed
Bring Space Cadet up to new Key API
8 years ago
Jesse Vincent
e008887261
Update to new handle_keyswitch_event API naming
8 years ago
Gergely Nagy
9d71850535
Drop the on/off functions
...
There are - and will be - better ways to turn a plugin on and off, than
having to implement on/off methods on the plugin itself. As such, remove
them.
Fixes #3 .
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
fec26a9413
The Big Rename
...
Rename the library to Kaleidoscope-SpaceCadet, and follow up with other renames.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
8a4a4e79c5
Use a timer instead of a loop counter
...
Loop counters are not a reliable way to track time, use a proper timer instead.
Fixes #2 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
014d7f69be
Expose the timeOut
...
Fixes #1 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
9a2f79e42d
Use the new, double-add protected hook functions
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
5352be64fd
Don't use Key_LEDEffectNext in the example
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
0904f597b9
Move from Akela-Plugins to keyboardio
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
0798e48364
Add a status icon.
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
47906e7f49
Initial import
...
Lifted out of the monolithic Akela library.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago