Jesse Vincent
59c361e6c8
New build infrastructure
8 years ago
Jesse Vincent
c5c361cb3c
"build-all" now works for a top-level sketch
8 years ago
Jesse Vincent
532696abb5
remove recursion into 'the global set of libraries'
8 years ago
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
07b3f9a9cd
Update example to new keymap
8 years ago
Jesse Vincent
543c3b09f2
Update example to match new keymap
8 years ago
Jesse Vincent
a5a3bb6521
Update to new Keymap
8 years ago
Jesse Vincent
c7eb22c3ec
Update example to match the new Keymap
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
59aaa0cc6f
Add KeyboardioHID to the Model 01 hardware definition
...
So we can try to remove it from the Kaleidoscope core
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
3bf563e167
Merge pull request #6 from keyboardio/f/led-gamma-to-scanner
...
Do gamma correction elsewhere
8 years ago
Gergely Nagy
ca74d9b6b7
Do gamma correction elsewhere
...
Instead of doing gamma correction when setting a LED color, do it elsewhere,
when talking to the LED hardware. This way, both the programmer, and the
end-user will deal with the unaltered, raw RGB values, and neither has to care
about when and how gamma correction is applied.
The counterpart of this will be in KeyboardioScanner, that re-introduces gamma
correction on that end.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
63835fa1bd
Update to use new Focus.printColor API
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
12603e09b6
Merge pull request #4 from keyboardio/f/wdt
...
Moved the wdt_disable() call to the hardware plugins
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
da4c057fba
Moved the wdt_disable() call to the hardware plugins
...
See keyboardio/Kaleidoscope#129 for a discussion why.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
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
Gergely Nagy
2f7c38a15d
Focus: Fix the `keymap.transfer` docs
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
55c42928f9
Add a `led.theme` Focus command
...
Allows setting all of the LEDs to custom, distinct colors (as opposed to
`led.setAll`, which sets them all to the same color). This allows one to
upload a theme in one go, without having to set each LED one by one.
Fixes #5 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
664df896e0
README: Rearrange the methods a bit
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
957866fb84
README: Drop a left over sample from another plugin
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
b811e1f973
Document the Focus hooks too
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
1379094d39
Add some developer-oriented docs to the README
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
e3e6ec9488
README: Change the status images to SVG
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
e07f00e947
Focus: keymap.map should work with raw keycodes
...
Instead of separating `flags` and `keyCode`, just use the `raw` combination.
Easier for higher level tools to work with.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago