Gergely Nagy
31f494eae9
Drop an unnecessary handleKeyswitchEvent call
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Piers Cawley
8f625b97ff
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
Ben Gemperline
e4a00f2a33
Fixed issue with default constructor and no map resulting in failing to initialize keyboard
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
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
fff8179587
Updated documentation and removed debug statements and unnecessary header files.
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
271aba9373
port to new hid facade
8 years ago
Jesse Vincent
63e616099e
CamelCase of handle_*_key*
8 years ago
Jesse Vincent
45f14d77da
CamelCase of KeyIsPressed and KeyWasPressed
8 years ago
Jesse Vincent
6d2af8cdac
keyToggledO* camelcasing
8 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
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
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
47906e7f49
Initial import
...
Lifted out of the monolithic Akela library.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago