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
Gergely Nagy
1432015235
Focus: Merge keymap.dump and keymap.upload into keymap.map
...
Fixes #2 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
a83d61e280
Focus: Fix the command list
...
`eeprom.dump` and `eeprom.upload` has been merged into `eeprom.contents`,
reflect that in the command list, too.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
78836fd091
Focus: Less formatting in the dump output
...
Fixes #1 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
cdd6b811f9
Focus: Allow partial eeprom upload
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
fc59d1f64b
Focus: Merge the eeprom.dump and eeprom.upload commands
...
Fixes #2 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
0bfb773619
Focus: Don't format the eeprom.dump output
...
Fixes #1 .
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
19b5655770
Add a way to figure out the used & free EEPROM amount
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
26d7af1b96
Fix the `settings.version` Focus command
...
There was a missing `break`, so control flowed through to the CRC case.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
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
fbee5854ee
Update to new handle_keyswitch_event API naming
8 years ago
Jesse Vincent
7d6225f724
Update to new handle_keyswitch_event API naming
8 years ago
Jesse Vincent
5d4fef2f66
Update to new handle_keyswitch_event API naming
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