Jesse Vincent
86ebc8de02
Revert f3094e1538
...
Chatter detection wasn't actually detecting chatter.
We may reinistate similar code in the future
7 years ago
Jesse Vincent
da79e1a91b
Update Makefile with OSX fixes and new paths
7 years ago
Jesse Vincent
146ab40b9d
Merge pull request #2 from algernon/f/hook-interface-update
...
Stop using deprecated interfaces
7 years ago
Gergely Nagy
4aa7dbe0b5
Stop using deprecated interfaces
...
Use `Kaleidoscope.useLoopHook` instead of `loop_hook_use` (which is getting
deprecated).
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago
Jesse Vincent
b431927176
Merge pull request #1 from algernon/f/key-chatter-detection
...
Initial attempt at chatter detection
7 years ago
Gergely Nagy
f3094e1538
Initial attempt at chatter detection
...
For every key we press, we keep a map of its state each cycle (for 8 cycles).
When the key is released, we color it white if we had more than two state
changes (ie, chatter), otherwise we turn it blue (all is well).
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago
Jesse Vincent
243b1ada1a
Update Makefile to fix OS X build
8 years ago
Jesse Vincent
42cabcfa6f
camelCasing wait_for_keypress
8 years ago
Jesse Vincent
d0e85633b8
camelCasing of _matrix functions
8 years ago
Jesse Vincent
978d04625d
CamelCaseifcation of LED related functions
...
s/led_set_crgb_at/setCrgbAt/
s/hsv_to_rgb/hsvToRgb/
s/led_get_crgb_at/getCrgbAt/
s/led_sync/syncLeds/
s/get_led_index/getLedIndex/
s/send_led_data/sendLedData/
s/led_power_fault/ledPowerFault/
8 years ago
Jesse Vincent
ee0ccdd91d
CamelCase of handle_*_key*
8 years ago
Jesse Vincent
51f37933f3
astyle 3.0 caught this style violation
8 years ago
Jesse Vincent
95bd188a54
Make cpplint-noisy happy
8 years ago
Jesse Vincent
c8586985fd
Add toggling on of the on-board green status LEDs.
...
The factory needs this to verify the hardware during build
8 years ago
Jesse Vincent
beb159e860
brighten up the LEDs for testing
8 years ago
Jesse Vincent
bddcc4912b
extract out the key combo
8 years ago
Jesse Vincent
4ae6bff15d
astyle to pad operators
8 years ago
Jesse Vincent
6dadb862e5
Add build infrastructure
8 years ago
Jesse Vincent
a9f59b131e
astyle with current project style guidelines
8 years ago
Jesse Vincent
fbee5854ee
Update to new handle_keyswitch_event API naming
8 years ago
Jesse Vincent
64ac98dcbf
When the key is pressed, turn it green
8 years ago
Jesse Vincent
c1d25174bc
Add a missing paren.
...
Unsure how this ever compiled.
8 years ago
Jesse Vincent
23aba78402
Add some missing prototypes to the class definition
8 years ago
Jesse Vincent
6b0623d3f2
Step two of the rename
8 years ago
Jesse Vincent
d31530d579
start to refactor the code to be a Kaleidoscope plugin
8 years ago
Jesse Vincent
518dda8e57
add a way to get out of test mode
8 years ago
Jesse Vincent
c407c9608b
move matrix test setup to one place
8 years ago
Jesse Vincent
fcd0c8025d
Switch our LED testing to use a helper function that waits for a keypress
8 years ago
Jesse Vincent
0e71744c01
astyle. no code changes
8 years ago
Jesse Vincent
5c59ea650f
Actually jump into the test mode when you tap left prog, left led, left fn.
8 years ago
Jesse Vincent
0ec9767232
reorganziation to remove unused functions from the api
8 years ago
Jesse Vincent
8f0976219a
Remove vestiges of timers from Akela::MagicCombo
8 years ago
Jesse Vincent
82ae004159
Fixes so the code compiles. It doesn't, like, work yet or anything.
8 years ago
Jesse Vincent
eae20c72de
Initial commit
8 years ago