Jesse Vincent
3a16fc95fb
Cut down the sketch for the test to remove extraneous stuff
4 years ago
Michael Richters
23a78e119b
Testcase for simultaneous keypresses
...
This test runs multiple keypresses in the same cycle, and checks to see that the
last report generated contains the correct active keycodes (and no others).
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
4 years ago
Michael Richters
39f0bbe159
Add KeyAddr versions of Press() & Release() to the simulator
...
This commit adds versions of `SimHarness::Press()` and `SimHarness::Release()`
functions that use a `KeyAddr` parameter instead of row & column integers.
to build the test.
4 years ago
Jesse Vincent
51d48245ad
Switch ConsumerControlReport and SystemControlReport to use ActiveKeycodes and ActiveKeycode respectively, to match Keyboard.
4 years ago
Jesse Vincent
7a12be25bc
Fix an embarassing typo.
...
This is why we do PRs, even for quick fixes and don't just push to master because we're the project lead and yolo.
4 years ago
Jesse Vincent
de45646c9d
extract out a variable for ARDUINO_BUILDER_TOOLS_PATH to make it easier to
...
get up and running on arch
4 years ago
Gergely Nagy
1d0d2d43d0
Merge pull request #934 from keyboardio/build-cleanup
...
Some more builder cleanups.
4 years ago
Jesse Vincent
34b428c4a9
Simplify conditional building
4 years ago
Jesse Vincent
c98b513636
Revert "missed one"
...
This reverts commit de062ea897
.
4 years ago
Jesse Vincent
5bea41f630
reduce a bit of code duplication
4 years ago
Jesse Vincent
de062ea897
missed one
4 years ago
Jesse Vincent
6e8d1d020a
Switch to a less verbose way to set defaults for environment variables
...
By reducing duplication, we improve readability and reduce errors
4 years ago
Jesse Vincent
a91c6a556e
refactor config file list to all be in one place
4 years ago
Jesse Vincent
dbb4f3b1ae
migrate check-docs from generic makefile
4 years ago
Gergely Nagy
fed3a6d6dc
Merge pull request #932 from keyboardio/builder-cleanup
...
Additional cleanup of kaleidoscope-builder
4 years ago
Jesse Vincent
25c8a8a180
Refactor the "SKETCH" environment variable and friends.
...
Functionality should be the same, but code should be clearer.
4 years ago
Jesse Vincent
e96902a9df
Switch from locally defining a "DIR" for every bin, to setting a global Kaleidoscope bin directory var
4 years ago
Jesse Vincent
660747c916
Rename ROOT to KALEIDOSCOPE_DIR, which is what it appears to actually be.
4 years ago
Jesse Vincent
ea0abc8833
inline a single-use cunction
4 years ago
Jesse Vincent
19f728ca56
lift find_bootloader_path' out of the config file into the program.
...
as it isn't something that's platform specific
'
4 years ago
Jesse Vincent
52a5265b9b
ROOT is defined automatically and not overridable. Remove the lines in the comments and docs
4 years ago
Jesse Vincent
9f846c4905
Lift a bunch more project-specific stuff out of the generic makefile for sketches
4 years ago
Jesse Vincent
12e59b8684
lift up BUILD_FILE_PATH to somewhere reusable.
4 years ago
Jesse Vincent
45bafe9bf5
SOURCEDIR was not actually used or honored. It was always set to pwd
4 years ago
Jesse Vincent
dfadd32400
Removeo outdated and unused 'LIBRARY' env variable
4 years ago
Jesse Vincent
a278efc21e
Absolute path to sized elf
4 years ago
Gergely Nagy
d43f6adddf
Merge pull request #931 from keyboardio/builder-cleanup
...
Doing some cleanup to the makefile and builder
4 years ago
Jesse Vincent
afc8388cd1
Move a bunch of makefile targets from the generic sketch makefile
4 years ago
Jesse Vincent
383a29d3e3
move run-tests out to the Makefile
4 years ago
Jesse Vincent
bbc84f6f33
move build-gtest-gmock into the Makefile
4 years ago
Jesse Vincent
1865e33426
Lift duplication of command to a var
4 years ago
Jesse Vincent
b2a1528419
Merge pull request #930 from graemeg/patch-1
...
Update core-plugins.md - fixes a small spelling mistake
4 years ago
Graeme Geldenhuys
41e11bf473
Update core-plugins.md
...
Fixes a small spelling mistake.
4 years ago
Michael Richters
d5e4cd3ba0
Prevent rollover to a qukey from causing unintended repeats
...
When rollover occurs from a non-modifier key to a qukey, if we delay the release
event of that key until after the qukey's state is resolved, and if the hold
timeout is set to a fairly large value (on the order of 500ms), unintended
repeats would occur for a key that was actually only tapped. To prevent this, if
there's only one event in the queue (the press of the qukey), and we see a
release of a non-modifier key that's not the qukey, it's okay to allow that
release event to skip the queue and simply proceed as if it had been released
before the qukey was pressed.
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
4 years ago
Jesse Vincent
e20357174b
Merge pull request #927 from gedankenexperimenter/qukeys-deprecation-dates
...
Add deprecation dates for old Qukeys functions
4 years ago
Michael Richters
fcd7f25998
Add removal dates to Qukeys deprecation warnings
...
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
4 years ago
Michael Richters
1464afe990
Add notes on Qukeys changes to UPGRADING
...
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
4 years ago
Gergely Nagy
6bc8c4e243
testing/makefiles: Respect the VERBOSE environment variable
...
Instead of unconditionally running the arduino-based build parts in verbose
mode, respect $VERBOSE. This cuts down on the amount of output we generate by
default, while still allowing us to have a verbose mode if need be.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
478b91decb
Merge pull request #926 from keyboardio/docker/tuning
...
Get our docker testing timings to hurt less
4 years ago
Gergely Nagy
ba7b496af5
Rework our Docker config for performance
...
* never try to write anything to the host's disks
* read as little as possible from the host's disks
* keep source in ram
* cache build artifacts and intermediate content persistently
Most of these hacks are only necessary because Docker disk performance on macOS is...not performant
Signed-off-by: Jesse Vincent <jesse@keyboard.io>
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Jesse Vincent
5d59552403
Add a note about how we should offer at least a 60 day deprecation period for APIs
4 years ago
Gergely Nagy
9f07e052ee
Merge pull request #924 from keyboardio/remove-deprecated-key-stuff
...
Remove deprecated direct key access
4 years ago
Jesse Vincent
ed61bb1bea
Remove direct raw key access, as we're passed the removal date
4 years ago
Gergely Nagy
39f6fa6135
Merge pull request #923 from keyboardio/remove-deprecated
...
Remove the deprecated HID Facade
4 years ago
Jesse Vincent
c46df89dcc
Remove the deprecated HID Facade, as we've passed the promise date of 2020-09-16
4 years ago
Jesse Vincent
1d1355a36e
Switch away from some travis-specific targets that were noops
4 years ago
Jesse Vincent
a4e45881ab
Merge pull request #867 from keyboardio/layer/activation-order
...
Switch to activation-order for Layers
4 years ago
Gergely Nagy
7d7615ef6f
tests: Update some of the naming in the layer activation order test
...
Thanks @obra for the new names!
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
60c138d756
docs/UPGRADING.md: Adjust the removal date of the deprecated Layer methods
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
ffcd17ba6e
tests: Greatly simplify and clean up the layer activation-order test
...
The test has been through a major refactor, lifting out common parts, improving
comments, and naming.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago