Jesse Vincent
593d0884f5
Merge pull request #255 from gedankenexperimenter/qukeys
...
A method for finding the active layer for a given key(switch)
7 years ago
Jesse Vincent
e07cf70d4d
Merge pull request #256 from SjB/HorizontalMouseScrolling
...
Horizontal Mouse Scrolling Support in Kaleidoscope.
7 years ago
Michael Richters
904bdd37bf
Removed spurious line deletion
7 years ago
Michael Richters
b51d679939
Ignore output/ directory
7 years ago
Michael Richters
87c98b15af
Direct manipulation of `Keyboard.keyReport` & `.lastKeyReport`
...
KeyboardioHID isn't going to get a function to copy the previous
report to the current one, but it is now making the current and
previous HID reports public. This is a much better solution all
around, as it allows us to save and restore the current report in the
midst of a scan, while still sending a modified version of the old
report.
7 years ago
Michael Richters
7fb0c96931
Why was .gitignore in a .gitignore/ directory?
...
GitHub screwed that up, I think.
7 years ago
SjB
3005d9534e
Horizontal Mouse Scrolling Support in Kaleidoscope-Mousekeys
...
using the new moveMouse function in kaleidoscope::hid we can have
horizontal mouse scrolling.
7 years ago
SjB
df3d791165
Horizontal Mouse Scrolling Support in Kaleidoscope.
7 years ago
Gergely Nagy
31f494eae9
Drop an unnecessary handleKeyswitchEvent call
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Gergely Nagy
ea09f0d347
Merge pull request #8 from pdcawley/patch-1
...
Eliminate unnecessary `sendKeyboardReport`
7 years ago
Michael Richters
1f7d9ed2e8
Wrong capitalization of `DefaultLayer` variable
7 years ago
Michael Richters
34cea2623d
This iterator should count down, not up
7 years ago
Michael Richters
154f0f3267
Moved definition of MAX_LAYERS next to LayerState declaration
...
Also redefined it in terms of the size of LayerState
7 years ago
Michael Richters
e822c6afad
In case defaultLayer isn't zero, stop counting down there
...
`updateActiveLayers()` makes it impossible to turn off the default
layer, so there's no point searching past it for the highest layer,
and `defaultLayer` can be set to numbers higher than zero.
7 years ago
Michael Richters
f90891dc1c
Added function to return the active layer of a given key
...
New function `lookupActiveLayer()` returns the number of the layer
that a given key (`row`, `col`) is currently mapped from.
7 years ago
Michael Richters
00df66d30a
Make updateHighestLayer() use layer_count if it's set
...
Now that `layer_count` is (potentially) available, we can start
looking for active layers at the top _defined_ layer instead of the
top _possible_ layer. This ought to be more efficient, especially for
sketches that don't have lots of layers defined.
Also introduced the `MAX_LAYERS` constant (#define).
7 years ago
Gergely Nagy
bd35b9fe4e
Merge pull request #253 from gedankenexperimenter/doc/keymaps
...
Fixed reference to "CREATE_KEYMAP" (should have been "KEYMAPS")
7 years ago
Michael Richters
918f25b623
Fixed reference to "CREATE_KEYMAP" (should have been "KEYMAPS")
...
The macro for defining the keymap (and also storing its size (in
layers)) isn't named `CREATE_KEYMAP()`; it's `KEYMAPS()`.
7 years ago
Michael Richters
2fba5c4541
First working version
...
Too many bug fixes to list them all. Luckily, at this early stage,
that doesn't matter.
7 years ago
Gergely Nagy
2bc62cb8b9
hid: Wrap Mouse.releaseAll() and Mouse.sendReport()
...
Built on top of keyboardio/KeyboardioHID#14 , required for
keyboardio/Kaleidoscope-MouseKeys#10 .
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago
Michael Richters
75a16eeb96
Brief description of Layer.on() & Layer.off()
7 years ago
Jesse Vincent
0a41083881
Merge pull request #244 from gedankenexperimenter/bug/layer-next
...
Prevent reading past the end of the keymaps[] array
7 years ago
Jesse Vincent
8e03280e36
Merge pull request #251 from keyboardio/h/consumercontrol/repeat-fix
...
Fix ConsumerControl repeating
7 years ago
Michael Richters
eff16ded81
Not functional yet, but doesn't seem to break anything else
7 years ago
Michael Richters
721baeca78
Fixed lots of compilation errors
7 years ago
Michael Richters
5bfe5c07eb
Version 1 of the Qukeys implementation
...
I think everything is there. This probably doesn't even compile yet,
and it certainly hasn't been debugged.
7 years ago
Michael Richters
29c243eda5
Added addr.h with helper functions
...
This contains helper functions for converting (row,col) coordinates to
single-byte addresses, assuming the keyboard has fewer than 256 keys.
7 years ago
Michael Richters
bba6cf878f
Empty example sketch
7 years ago
Michael Richters
195d6bc413
Better compliance with coding style guide
...
* s/LayerCount/layer_count/
* s/CREATE_KEYMAP/KEYMAPS/
7 years ago
Jesse Vincent
4bcbab2c09
Merge pull request #247 from gedankenexperimenter/bug/shift-layer-release
...
Only call updateLiveCompositeKeymap() on key press; not release
7 years ago
Jesse Vincent
8c250fe028
Merge pull request #242 from SjB/10bitConsumerCodeSupport
...
Support all 10bit HID Consumer code.
7 years ago
Michael Richters
ac354318d3
Basic skeleton code
7 years ago
Gergely Nagy
df72fb710f
Fix mouse keys getting occasionally stuck
...
Instead of discrete press & release tracking, press the mousekey when the
physical key is pressed, and like `Keyboard`, send & clear the report once per
cycle, instead on every action.
This fixes #10 .
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago
Michael Richters
ecc52c86de
Pluralized library name
7 years ago
Michael Richters
d6d56cbd81
Basic design overview
7 years ago
Michael Richters
cf48742d7c
Create README.md
7 years ago
Michael Richters
ff89e4ec87
Create LICENSE
7 years ago
Michael Richters
5f0619caa5
Update .gitignore
7 years ago
Gergely Nagy
be49df2806
Fix ConsumerControl repeating
...
Instead of sending a press & release for the consumer key when the physical key
is released, send a press each cycle it is held, a report along with the
keyboard report, and clear the consumer report each cycle too.
This will prevent these keys getting stuck, or sending multiple presses in the
same report.
Fixes #176 .
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago
Gergely Nagy
64dff51199
Merge pull request #7 from jamesnvc/get-key-override-fix
...
If layer is greater than max_layer, always fall back to PROGMEM
7 years ago
Gergely Nagy
8949536491
Merge pull request #9 from gedankenexperimenter/bug/defaults
...
Changed idle_time_limit to 5 minutes
7 years ago
Michael Richters
b1e69bdb77
Changed default idle time in README
7 years ago
Gergely Nagy
462af972ae
Merge pull request #216 from nornagon/patch-1
...
Link to the example firmware sketch from the README
7 years ago
Gergely Nagy
d8f37dcb2e
Merge pull request #10 from gedankenexperimenter/f/smarter-lock-start-time
...
Set lock_start_time to last_key_time when locking the keyboard
7 years ago
Michael Richters
06525bc91d
Set lock_start_time to last_key_time when locking the keyboard
...
By starting the lockout end timer at the moment of the last keypress
instead of the current time, the effective time of the lockout is
reduced by the amount of time the user has already been idle at the
time the lockout begins. Basically, the user gets credit for time
already spent not typing.
7 years ago
Michael Richters
05dfe5be7e
Changed idle_time_limit to 5 minutes
7 years ago
Gergely Nagy
1d4834115b
Merge pull request #4 from TheBaronHimself/master
...
Mask escape key when pressed to cancel one shot
7 years ago
TheBaronHimself
8f4a34d4b9
Mask escape key when pressed to cancel one shot
7 years ago
Gergely Nagy
b9a429f9b0
Merge pull request #248 from dignati/fix-sed-command
...
Use a safer sed command to avoid locale issues
7 years ago
Ole Krüger
b729a2e291
Use a safer sed command to avoid locale issues
...
On some locales awk will generate commas instead of dots in the percentage. This will mess up the sed command. Instead of forcing awk to always generate dots we can simply cange the sed command to treat commas as regular text.
7 years ago