Johannes Becker
230d8e3c9b
Use shift state to invert next/prev LED effect key direction
...
Handling of the respective keys is moved to `beforeReportingState`
as the state of shift is only then available. Usage together with
OneShot requires OneShot to be initialized before LEDControl.
Signed-off-by: Johannes Becker <alfalfasprossen@gmail.com>
5 years ago
Jesse Vincent
47d12f39e2
Add a test to the Makefile to complain if it can't find the Kaleidoscope bundle with a hint as to what the user might do to resolve things
...
Signed-off-by: Jesse Vincent <jesse@keyboard.io>
5 years ago
Jesse Vincent
d7541e1b7d
Add a test to the Makefile to complain if it can't find the Kaleidoscope bundle with a hint as to what the user might do to resolve things
...
Signed-off-by: Jesse Vincent <jesse@keyboard.io>
5 years ago
Jesse Vincent
97d4f4e991
Add a note about symlinks on Windows, thanks to Johannes Becker.
...
Fixes #766
5 years ago
Gergely Nagy
d6868bf2ae
Revert "plugin/FlashHelper: New plugin for firmware-assisted flashing"
...
This reverts commit c917acb8a1
, because that
introduced breaking changes, and we want to address the problem in a different
way instead.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
5 years ago
Gergely Nagy
a0153f2422
Merge pull request #841 from keyboardio/manual-reset
...
Manual reset feature from WildlyManifest,, rebased and tweaked
5 years ago
Jason Koh
43526c4d92
Slightly updated probing logic based on Jason's code.
...
Signed-off-by: Jesse Vincent <jesse@keyboard.io>
5 years ago
Jason Koh
430b159913
Tweak location-based detection logic
...
Signed-off-by: Jesse Vincent <jesse@keyboard.io>
5 years ago
Jason Koh
b675ff2902
Make our hail-mary logic a little more flexible.
...
(Jason's original implementation just truncated the $sn, no matter
what. I modified it slightly.)
Signed-off-by: Jesse Vincent <jesse@keyboard.io>
5 years ago
Jason Koh
94790f8db9
Make sure the macOS device prober only runs if you've supplied the required args
...
Signed-off-by: Jesse Vincent <jesse@keyboard.io>
5 years ago
Jason Koh
476cbe1785
Add a new MANUAL_RESET feature to Kaleidoscope builder
...
Some devices, like those coming from QMK don't have an automated reset
feature
Signed-off-by: Jesse Vincent <jesse@keyboard.io>
5 years ago
Jesse Vincent
14a85fb864
Merge pull request #837 from keyboardio/plugin/flash-helper
...
plugin/FlashHelper: New plugin for firmware-assisted flashing
5 years ago
Gergely Nagy
c917acb8a1
plugin/FlashHelper: New plugin for firmware-assisted flashing
...
This introduces a new plugin - `FlashHelper` - to aid with firmware-assisted
flashing. During the flashing process, this plugin can temporarily disable the
`Prog` key.
Addresses the firmware part of keyboardio/Chrysalis#509 .
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
5 years ago
Jesse Vincent
ca33599092
Merge pull request #839 from tnorthcutt/patch-1
...
Update Macros docs with example of Macros.play()
5 years ago
Travis Northcutt
b9c88b0bc0
Update Macros docs with example of Macros.play()
...
Closes https://github.com/keyboardio/Kaleidoscope/issues/836
5 years ago
Jesse Vincent
c097a21bfd
Merge pull request #834 from keyboardio/system-control-keys-on-mac
...
System control keys on mac
5 years ago
Jesse Vincent
d803f4731a
Windows path confirmed thanks to guitarjorge24.
...
Signed-off-by: Jesse Vincent <jesse@keyboard.io>
5 years ago
Jesse Vincent
04f67a6504
Merge branch 'master' of ssh://github.com/keyboardio/Kaleidoscope
5 years ago
Jesse Vincent
201ea3abab
Merge pull request #833 from keyboardio/boot-keyboard-key-repeat-fix
...
Boot Keyboard keys were never being released.
5 years ago
Jesse Vincent
496029eeb2
Merge branch 'boot-keyboard-key-repeat-fix' of https://github.com/keyboardio/Kaleidoscope into boot-keyboard-key-repeat-fix
...
Signed-off-by: Jesse Vincent <jesse@keyboard.io>
5 years ago
Jesse Vincent
37a3d44f99
Boot Keyboard keys were never being released.
...
Fixes #825
Signed-off-by: Jesse Vincent <jesse@keyboard.io>
5 years ago
Jesse Vincent
12fe5919db
Merge branch 'system-control-keys-on-mac' of https://github.com/keyboardio/Kaleidoscope into system-control-keys-on-mac
5 years ago
Jesse Vincent
86ea894767
Switch SystemControl keys to send press events when toggled on and release events when toggled off.
...
This fixes the ability to trigger suspend on a mac.
Fixes #607
Signed-off-by: Jesse Vincent <jesse@keyboard.io>
5 years ago
Jesse Vincent
e65044fd64
Switch SystemControl keys to send press events when toggled on and release events when toggled off.
...
This fixes the ability to trigger suspend on a mac.
Fixes #607
5 years ago
Jesse Vincent
9caad1d818
Boot Keyboard keys were never being released.
...
Fixes #825
5 years ago
Jesse Vincent
d0be5ab8e0
Merge pull request #831 from cxw42/consumer-10bit
...
ConsumerControl: allow 10-bit keycodes
5 years ago
Chris White
429059139e
ConsumerControl: allow 10-bit keycodes
...
In ConsumerControlWrapper, accept a 10-bit value for the keycode.
Use uint16_t since that is the type KeyboardioHID uses.
Signed-off-by: Chris White <cxwembedded@gmail.com>
5 years ago
Jesse Vincent
bcff3b97fb
Merge pull request #827 from akerl/feature/optional-filename-paths
...
Feature/optional filename paths
5 years ago
Les Aker
e997d8c495
allow overriding filename paths
...
Signed-off-by: Les Aker <me@lesaker.org>
5 years ago
Jesse Vincent
d68d18bdc7
Merge pull request #826 from technomancy/atreus-classic-upper
...
Fix Atreus Classic layout to allow returning from upper layer.
5 years ago
Phil Hagelberg
70d7930e53
Fix Atreus Classic layout to allow returning from upper layer.
...
Previously tapping the fn key in the upper layer had no effect; now it
returns it to the base layer.
This also removes the RESET macro, which also had no effect. At this
time the Classic Atreus running Kaleidoscope must use the hardware
reset since both the firmware-based reset button and `make flash` are
ineffective.
Signed-off-by: Phil Hagelberg <phil@hagelb.org>
5 years ago
Jesse Vincent
919d8736d5
Merge pull request #822 from keyboardio/device/dygma-raise/rgb-component-correction
...
dygma/Raise: Adjust the red component of LED colors
5 years ago
Gergely Nagy
7e608314dc
dygma/Raise: Adjust the red component of LED colors
...
It seems the red component in the LEDs is a tiny bit stronger than the others,
so lets adjust the component's value a little on the firmware side to make
colors come out right.
This is not the best solution, it should eventually be configurable, but until
then, this is the best workaround we could come up with.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
5 years ago
Jesse Vincent
fd58a7ea5b
Update our preferences logic to get the first returned matching
...
preference and to allow submenu preferences, like the program size for
teensy variants.
I -believe- this will work on macOS, but need to test.
5 years ago
Jesse Vincent
08ee5fbfe4
Merge pull request #818 from indirect/macos-device-cleanup
...
macOS device cleanup
5 years ago
Andre Arko
a4e99b8a34
hide the inevitable SystemProfiler warning
...
for some reason, this line shows up on stderr anytime I (or the
find-device-port script) run `system_profiler SPUSBDataType`
2020-02-24 23:19:14.656 system_profiler[23932:4118769] SPUSBDevice:
IOCreatePlugInInterfaceForService failed 0xe00002be
I got annoyed enough to suppress it, so I could see the other output
that I actually care about.
5 years ago
Andre Arko
c0163c83f2
make sure SKETCH_DIR is set before we use it
5 years ago
Andre Arko
0264e77396
bash warns on -gt, demanding two brackets
5 years ago
Andre Arko
bb00c27de1
maybe_bulid depends on filling the hex path first
5 years ago
Jesse Vincent
bb83186214
Get the device prober on macOS to pass in the vid and pid we want
5 years ago
Jesse Vincent
e5558eaf90
First pass at a device-independent find-device-port-macos
5 years ago
Jesse Vincent
9417e0bc31
Merge pull request #815 from keyboardio/atmega/un-interrupt-keyscanner
...
driver::keyscanner::ATmega: Revert scanning during the interrupt
5 years ago
Jesse Vincent
680aac9818
refactor kaleidoscope-builder to make shellcheck happy
5 years ago
Gergely Nagy
dd686ee1d8
driver::keyscanner::ATmega: Revert scanning during the interrupt
...
Instead of scanning during the interrupt, do so in the main context, and only
use the interrupt for signaling that we need to scan. This resolves a problem
where scanning took too long, and we ended up missing events.
Fixes #812 .
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
5 years ago
Jesse Vincent
16b2404ab9
Attempt to simplify output of the build and flash process, along with
...
more verbose verbose output
5 years ago
Jesse Vincent
559d210eed
slightly tweak sleep times and reformat our avrdude command to flash the
...
keyboard
5 years ago
Jesse Vincent
9a41d1cfa9
Make avrdude more verbose to help make sure customers can tell whether
...
their keyboards got flashed
5 years ago
Jesse Vincent
56a9b60d27
On linux (and possibly other operating systems), detect when the
...
keyboard is in bootloader mode already and skip the prompt to get to
bootloader mode.
5 years ago
Jesse Vincent
1b117b9eb0
Extract the compilation step from the flashing preparation step
5 years ago
Jesse Vincent
010f4b466c
Switch more of kaleidoscope-builder to use our new preferences loader
5 years ago