Jesse Vincent
75dfcf8ccb
First pass at a new chatter detection mode
7 years ago
Michael Richters
7ddc0249bb
Added `LayerCount` variable to the example sketches
...
This took some trial and error to figure out, but once I determined
that the example sketches were being built, I made this change to keep
the build working. Hopefully this will satisfy Travis-CI.
7 years ago
Jesse Vincent
c126e1b27b
astyle
7 years ago
Jesse Vincent
2e91dd4a82
Disable hardware debouncing in testmode
7 years ago
Jesse Vincent
dbb1b95d5c
Add a public API for a device-specific feature (configurable debounce
...
time)
7 years ago
Jesse Vincent
b3ea050595
Reorder definitions and add a clarifying comment
7 years ago
Michael Richters
9db5036a5c
Make `LayerCount` available in layers.cpp
7 years ago
Michael Richters
e7f9edba2d
Added a check to prevent reading past the end of the keymaps[] array
...
This relys on the 'LayerCount' variable being correct and defined in
the firmware sketch file (along with 'keymaps')
7 years ago
SjB
f57aab5f71
Support all 10bit HID Consumer code.
...
By moving the IS_CONSUMER flag to B00001000 instead of
B00000010 (swap with IS_INTERNAL) we can detect the if the key is a
consumer key and strip out the flags and use the full 10bit to send to
the hid report. This enable us to use all the Consumer_* keys
7 years ago
Jesse Vincent
3f1c80366a
Merge pull request #224 from algernon/f/getKeyboardLEDs
...
Add kaleidoscope::hid::getKeyboardLEDs()
7 years ago
ejinks4
263f9a59c3
Update key_events.cpp (IS_INTERNAL Handling)
...
Reordered if chain in handleSyntheticKeyswitchEvent to fix a bug preventing some Consumer and System Control HID functions from being sent due to bit overload/collision with the IS_INTERNAL flag.
7 years ago
Jesse Vincent
e9e709fb74
Merge pull request #14 from Javaru/master
...
Defined LED constants for thumb keys and fn keys have wrong values.
7 years ago
Javaru
802dcb1e35
Fix for issue that defined LED constants for thumb keys and fn keys have wrong values. Renamed some LED thumb variables for consistency (none are used elsewhere at this time).
7 years ago
Gergely Nagy
e2e9ea063b
Merge pull request #14 from milkypostman/patch-1
...
stepLength -> step_length in README.md
7 years ago
Donald Curtis
34f9848b8a
stepLength -> step_length in README.md
...
There is a typo in the README.md file.
7 years ago
Jesse Vincent
89dea00e10
Merge pull request #3 from glasser/glasser/refresh
...
Turn off light when done
7 years ago
Jesse Vincent
45a71751e8
Merge pull request #12 from keyboardio/f/numlock-sync
...
Sync the NUMPAD layer state with the host
7 years ago
David Glasser
4342080621
Turn off light when done
...
Fixes #2 .
7 years ago
Bart Nagel
a3a5cfbc6a
Fix code typo in blazing trail decay
...
A number was given as 0xf0 instead of 0xff, leading to a noticeable
sudden snap from blood-orange to orange.
7 years ago
Jesse Vincent
67aa56022d
Merge pull request #226 from gedankenexperimenter/bug/key-defs
...
Fixed a typo in key def aliases (s/Key_LGuy/Key_LGui/)
7 years ago
Michael Richters
b607c667cb
Fixed a typo in key def aliases (s/Key_LGuy/Key_LGui/)
7 years ago
Gergely Nagy
604e64fb91
Merge pull request #6 from jamesnvc/addressing-issues
...
Fix very bad bug in layerwise implementation
7 years ago
James N. V. Cash
c298d22827
Only need keysPerLayer in the updating branch of the conditional
7 years ago
James N. V. Cash
0073be9a74
Fix error in storing keys by layer
7 years ago
Gergely Nagy
0943911786
Use kaleidoscope::hid instead of Keyboard directly
...
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago
Gergely Nagy
4f1d7a5670
Add kaleidoscope::hid::getKeyboardLEDs()
...
This wraps Keyboard.getLEDs().
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago
Gergely Nagy
a1c0fdfb42
Sync the NUMPAD layer state with the host
...
Instead of trying to track numlock ourselves, rely on the host telling us what
it thinks the state is. This is much more reliable than what we were doing, and
hopefully fixes most of - if not all - the issues we were having with NumLock.
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago
Jesse Vincent
6d3828c134
Merge pull request #222 from genehack/nicer-error
...
Don't flash the device unless we successfully detected the device
7 years ago
John SJ Anderson
5c7eb2427a
Don't flash the device unless we successfully detected the device
...
Nicer error messages are nicer.
7 years ago
Jesse Vincent
754783c269
Merge pull request #221 from genehack/correct-stty
...
Specify full path to `stty`
7 years ago
John SJ Anderson
e22ed95606
Specify full path to `stty`
...
I install GNU coreutils on my Macs, to get GNU `ls`. It also installs
a GNU-flavored `stty`, which wants `-F` instead of `-f`. Giving the
full path to the OS `stty` avoids issues in this case, and should be
consequence-free for folks that _don't_ have GNU coreutils installed.
7 years ago
James N. V. Cash
480bfbd021
Guard against out-of-bounds layer
7 years ago
Gergely Nagy
b7d27a8997
Merge pull request #5 from jamesnvc/print-layer
...
Make keymap layer hook able to print map as well
7 years ago
James N. V. Cash
e4cf2e4c75
Add documentation about new hook to readme
7 years ago
James N. V. Cash
6dcc6a9277
Teach plugin to print out the contents of a given layer
7 years ago
Gergely Nagy
b62f7494b2
Merge pull request #3 from jamesnvc/receive-by-layer
...
Add method to allow upload of keymap for individual layer
7 years ago
James N. V. Cash
0f00b4a9a9
Add method to allow upload of keymap for individual layer
7 years ago
Jesse Vincent
e3aa727825
Merge pull request #9 from cdisselkoen/master
...
Update for compatibility with Kaleidoscope-Hardware-Virtual
7 years ago
Craig Disselkoen
c2a51487c6
Remove no-longer-used KeyboardioHID.h include
7 years ago
Jeremy Apthorp
460caabd56
Link to the example firmware sketch from the README
...
more hypertext is more good, right?
7 years ago
Gergely Nagy
3693c564b3
Merge pull request #3 from jamesnvc/master
...
Add a diagram showing where RxCy coordinates are to README
7 years ago
James N. V. Cash
a2509992c6
Remove extra lines from keyboard diagram
7 years ago
James N. V. Cash
741cafd6ec
Change wording to make it clear that Model 01 is one possible layout
...
Don't want to rule out other units running Kaleidoscope
7 years ago
James N. V. Cash
926ff623b6
Try to remember how markdown images work
7 years ago
James N. V. Cash
7a5f52c299
Include a diagram showing what the RxCy coordinates mean
7 years ago
Jesse Vincent
393bba00ba
Fix for a deprecated API
7 years ago
Gergely Nagy
8741c68f7b
The first half of https://github.com/keyboardio/Kaleidoscope/pull/196
...
Make Kaleidoscope_ a friend class, so that it can access .begin. The
reason behind this is that .begin is an interface towards
Kaleidoscope.use(), and that function should be the only user. To
discourage its use, make it protected.
This does not break any existing - and valid - code, but allows us to
slowly migrate the plugins to a protected begin() method.
Fixes #177 .
7 years ago
Jesse Vincent
b591c887cd
Merge pull request #212 from keyboardio/revert-196-f/protected-KaleidoscopePlugin.begin
...
Revert "Make KaleidoscopePlugin.begin protected by default"
7 years ago
Jesse Vincent
ec642fc955
Revert "Make KaleidoscopePlugin.begin protected by default"
7 years ago
Jesse Vincent
2b7e10cdbb
Merge pull request #196 from keyboardio/f/protected-KaleidoscopePlugin.begin
...
Make KaleidoscopePlugin.begin protected by default
7 years ago