Gergely Nagy
e3c90512e9
Merge pull request #133 from keyboardio/lazy-version-calc
...
Only calculate version and filenames as we're building.
8 years ago
Jesse Vincent
da2adaf96d
Remove "Key_" prefix from ConsumerCtl and Sysctl key defs.
...
It was redundant, made things less readable and lest clear
8 years ago
Jesse Vincent
5babb70498
Move a pre-build check to somewhere it won't break on build-all
8 years ago
Jesse Vincent
0025d44f34
Only calculate version and filenames as we're building.
...
This helps unbreak build-all and out of tree builds
8 years ago
Jesse Vincent
e4ecd42d11
Traditional capitialization of PrintScreen
...
Words should be InterCapped
8 years ago
Jesse Vincent
6209290164
Looks like we _do_ have to define this yere to get Keyboard included correctly
8 years ago
Jesse Vincent
6b75519501
Fixing a number of other key definitions in the example
8 years ago
Jesse Vincent
b0e1554af8
Remove unused key layouts from example
8 years ago
Jesse Vincent
a19f9d1b29
Fix Key definitions in Macro example
8 years ago
Jesse Vincent
944a15aa1c
Fixed a couple places where we were using the old key names
8 years ago
Jesse Vincent
ad93cc0a83
Fix spelling of "Control" keys
8 years ago
Jesse Vincent
40a597c9e6
Second attempt at disambiguating key definitions
8 years ago
Jesse Vincent
2418b6a3c3
Prefix Sysctl key definitions to avoid duplicate definitions
8 years ago
Jesse Vincent
a6de8467b8
Embarassing naming issue
8 years ago
Jesse Vincent
c726326c8c
First pass at updating key definitions in examples
8 years ago
Jesse Vincent
1577bd6cec
remove some backcompat key definition names
8 years ago
Jesse Vincent
4293ac533d
Lift HID Tables to Kaleidoscope to make it easier for implementations
...
Not all implementations will use KeyboardioHID. This should make their
lives a bit easier.
8 years ago
Jesse Vincent
af3aeaff4f
First pass at mapping full HID key tables, including back-compat for
...
everything except sysctl
8 years ago
Jesse Vincent
b5a776c341
Add "Menu" key definintiojn
8 years ago
Jesse Vincent
66bf02cb45
Add a print screen macro.
...
(This is the only missing macro for the default keymap. We should be
regenerating the whole list from the hid tables in KeyboardioHID)
8 years ago
Jesse Vincent
58e169df8b
Code of conduct
8 years ago
Jesse Vincent
aa274edd43
Revert "add header with rgb struct definition"
...
This reverts commit f2c5e3ae9d
.
Algernon pointed out that we can't depend on the ordering of the struct
at the Kaleidoscope level
8 years ago
Jesse Vincent
338c5c6551
Merge pull request #131 from wez/rgb
...
add header with rgb struct definition
8 years ago
Wez Furlong
f2c5e3ae9d
add header with rgb struct definition
...
refs: https://github.com/keyboardio/Kaleidoscope-Focus/issues/3
8 years ago
Jesse Vincent
0fae7952b6
Merge pull request #130 from algernon/f/wdt-to-hardware
...
Move the WDT calls to the hardware plugins
8 years ago
Gergely Nagy
3ee483b2cb
Move the WDT calls to the hardware plugins
...
WDT is AVR specific, so it has a much better place in the hardware plugins. Move
it there, and call `KeyboardHardware.setup()` earlier, so it can call
`wdt_disable()` before all the other things it needs.
The delay after WDT disabling moves to the hardware plugin too.
Thanks to @wez and @obra for figuring out what to move where (see
keyboardio/Kaleidoscope#129 ).
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
b5ffa280a3
Merge pull request #129 from wez/master
...
basic support for non-avr, non-usb boards
8 years ago
Wez Furlong
4e5259f424
and this is needed to allow building with the Teensy USB core
8 years ago
Wez Furlong
173a422439
basic support for non-avr, non-usb boards
...
This is the smallest change to make Kaleidoscope compile for
nRF52 BLE boards.
https://github.com/wez/KaleidoscopeKeyboards
has more code and build machinery for my proof of concept for using
Kaleidoscope as the driver for a keyboard using the new nRF52 based
board from Adafruit.
8 years ago
Jesse Vincent
9884e54f9d
The "NOTICE" file caused some user confusion
8 years ago
Jesse Vincent
19c63e6a8b
Merge pull request #122 from algernon/f/focus-layer-hook
...
Add an optional Focus hook
8 years ago
Jesse Vincent
826194a269
change "handle_key_event" to "handle_keyswitch_event" to make it clear that we're talking about something on the physical layer, rather than, say, a HID event
8 years ago
Jesse Vincent
a492d3182e
Add some doc for UNKNOWN_KEYSWITCH_LOCATION
8 years ago
Jesse Vincent
7f4d14a6f9
Merge pull request #125 from algernon/f/UNKNOWN_KEYSWITCH_LOCATION
...
Add an UNKNOWN_KEYSWITCH_LOCATION helper
8 years ago
Gergely Nagy
b66c17c77d
Add an optional Focus hook
...
Implements the `layer.on`, `layer.off`, and `layer.getState` commands, which can
be used to control the active layers from the host.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
69bc303828
Add an UNKNOWN_KEYSWITCH_LOCATION helper
...
To be used in places where we have absolutely, positively no clue where a key
event came from, coordinate-wise.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
1c468752c8
Merge pull request #123 from algernon/h/appswitcher-fix
...
Update AppSwitcher, following up on HostOS changes
8 years ago
Gergely Nagy
06131ed468
Update AppSwitcher, following up on HostOS changes
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
ea98957499
Merge pull request #121 from algernon/h/x-control/explicit-press-release
...
Support for holding Consumer/SystemControl keys
8 years ago
Gergely Nagy
ff4dfad195
Support for holding Consumer/SystemControl keys
...
Instead of calling the `.write` method of `ConsumerControl`/`SystemControl`,
which registers the key, sends a report, then unregisters, and reports again,
just `.press` it when the key is pressed, as we did before.
However, since `.press` always sends a report, and so does `.releaseAll`, we
can't have it the same way we do for `Keyboard`. We need to explicitly release
the consumer/system key, when the triggering key is released too. Not doing so
makes the key stuck, as we never release it, and that will upset the operating
system very much.
With this patch, we do an explicit release when the key toggles off, and thus,
we support both holding the key, and allowing the OS to trigger repeat, and, the
key won't be stuck, either!
Fixes #120 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
976b835441
standardize -latest ordering and remove a stray .hex
8 years ago
Jesse Vincent
16bfa9e771
add a -latest alias for the "with-bootloader" version of the hex file
8 years ago
Jesse Vincent
2dbed0027d
Make the bootloader path overridable
8 years ago
Jesse Vincent
fa56858695
Add the cwd to the searchpath for kaleidoscope builder. This lets you build a sketch with the traditional arduino sketch code layout
8 years ago
Jesse Vincent
d119dcd105
remove a vestigal reloading of the sketch's settings file
8 years ago
Jesse Vincent
6b868de066
Also search for a settings file in the root of the source directory without a leading .
8 years ago
Jesse Vincent
e7b186c597
Rename the settings file for the builder to give a hint as to what it's a settings file for
8 years ago
Jesse Vincent
cd843688ae
reorganize settings and add section headings for clarity
8 years ago
Jesse Vincent
62b556c23a
Lift the macOS overrides up to before the definitions that use them
8 years ago
Jesse Vincent
a0a5604c27
Merge pull request #116 from algernon/h/tools/builder/cwd-in-library-path
...
kaleidoscope-builder: Add . to the library path
8 years ago