1
0

186 Commits

Author SHA1 Message Date
Gergely Nagy
8f193dfdff
Use the new LEDControl.disable/LEDControl.enable methods
To toggle LEDs on suspend/resume, use the new LEDControl methods instead of the
old `LEDControl.paused` property.

Signed-off-by: Gergely Nagy <algernon@keyboard.io>
2020-01-08 19:44:31 +01:00
Gergely Nagy
d10ad2a9c2
Use the new HID driver instead of the old facade
While the old facade is still available, it is not included by default anymore.
Instead of adding then include, just use the new APIs.

Signed-off-by: Gergely Nagy <algernon@keyboard.io>
2020-01-08 19:43:34 +01:00
Gergely Nagy
2f9d140ba9
Merge pull request #92 from CapeLeidokos/pr_key_API
Adapted the sketch to changes in the Key API
2019-11-29 13:18:38 +01:00
Florian Fleissner
25d21b6386 Adapted the sketch to changes in the Key API
Signed-off-by: Florian Fleissner <florian.fleissner@inpartik.de>
2019-11-12 18:15:37 +01:00
Jesse Vincent
4299824b11 A full implementation of the new HardwareTestMode.
Signed-off-by: Jesse Vincent <jesse@keyboard.io>
2019-07-29 20:39:47 -07:00
Jesse Vincent
36e7028be8 Revert "Replaced Kaleidoscope-Model01-TestMode"
This reverts commit ccf992aa09ccc50539523015a91505743fb97116, which was
an incomplete implementation
2019-07-29 20:36:11 -07:00
Jesse Vincent
60d6881243
Merge pull request #88 from keyboardio/colormap/led-palette-theme
Include and initalize LEDPaletteTheme too
2019-07-12 21:55:18 -07:00
Gergely Nagy
bcff391145
Include and initalize LEDPaletteTheme too
Without the `LEDPaletteTheme` plugin, `Colormap` doesn't work either, since the
palette is not initialized. Lets include and initialize the palette plugin too.

Fixes #86.

Signed-off-by: Gergely Nagy <algernon@keyboard.io>
2019-07-09 12:56:53 +02:00
Jesse Vincent
c41e95179c
Merge pull request #85 from CapeLeidokos/pr_virtual_build_fix
Replaced Kaleidoscope-Model01-TestMode
2019-06-10 15:02:28 -07:00
Florian Fleissner
ccf992aa09 Replaced Kaleidoscope-Model01-TestMode
... with the more general Kaleidoscope-HardwareTestMode.
By this means, the stock firmware can be build
with the virtual hardware.

Signed-off-by: Florian Fleissner <florian.fleissner@inpartik.de>
2019-06-06 16:41:33 +02:00
Jesse Vincent
5c77a3731e
Merge pull request #83 from afreakk/unused
remove unused enum
2019-03-27 15:07:22 -07:00
Hans Øyvind Laderud
d392c641fc remove unused enum
Signed-off-by: Hans Øyvind Laderud <hans@dx.no>
2019-03-27 16:43:25 +01:00
Gergely Nagy
5b48f32b1c
Merge pull request #79 from numist/numist/numrow-keys-for-numpad
Use numrow keys for numpad
2019-03-15 11:18:19 +01:00
Jesse Vincent
65839e5683
Merge pull request #81 from noseglasses/pr_quick_builds
Fallback settings for BOARD_HARDWARE_PATH
2019-03-05 16:55:28 -08:00
Florian Fleissner
0e865cfc34 Makefile now checks for rules.mk when autodetecting BOARD_HARDWARE_PATH
Signed-off-by: Florian Fleissner <florian.fleissner@inpartik.de>
2019-02-28 12:47:46 +01:00
Jesse Vincent
0ebf5f3b7f
Merge pull request #80 from keyboardio/colormap
Enable the Colormap plugin too
2019-02-27 10:44:24 -08:00
Florian Fleissner
063908a90e Fallback settings for BOARD_HARDWARE_PATH
This commit allows the Makefile to check if the BOARD_HARDWARE_PATH
it tried to determine based on the system specific Arduino installation
is correct. This is done by checking for the Kaleidoscope library's existence.
If Kaleidoscope is not found, the Makefile falls back to determining
the hardware path relative to its own location. This even enables
building from any location where a *.ino file lives without
the requirement to checkout the kaleidoscope libraries into
Arduino installation's hardware path or to symlink them there.

The following now is possible

> SOURCE_DIR=<place where the sources live>
> cd $SOURCE_DIR
> mkdir hardware
> git clone --recursive <URL of the Kaleidoscope bundle> hardware/keyboardio
> BUILD_DIR=<location where a *.ino file lives>
> cd $BUILD_DIR
> make -f $SOURCE_DIR/hardware/keyboardio/avr/libraries/Model01-Firmware/Makefile

for quick builds

> SOURCE_DIR=<place where the sources live>
> cd $SOURCE_DIR
> mkdir hardware
> git clone --recursive <URL of the Kaleidoscope bundle> hardware/keyboardio
> cd hardware/keyboardio/avr/libraries/Model01-Firmware make

Signed-off-by: Florian Fleissner <florian.fleissner@inpartik.de>
2019-02-27 18:26:30 +01:00
Gergely Nagy
a03b964459
Enable the Colormap plugin too
This is primarily so that one doesn't have to flash the "experimental" firmware
from Chrysalis to be able to use the colormap editor there.

Signed-off-by: Gergely Nagy <algernon@keyboard.io>
2019-02-27 17:21:13 +01:00
Jesse Vincent
c700ee2381 First pass fix for our Makefile pulling the right shared makefile on an
unknown os.
2019-02-22 12:12:22 -08:00
Scott Perry
04dd094034 Use numrow keys for numpad
Signed-off-by: Scott Perry <dev@numist.net>
2019-02-15 23:41:59 -08:00
Jesse Vincent
f2729e515c
Merge pull request #77 from keyboardio/eeprom-keymap-deprecation-fix
Update the EEPROMKeymap.setup() call to remove an obsolete argument
2019-02-03 17:04:14 -08:00
Gergely Nagy
2532b79aa8
Update the EEPROMKeymap.setup() call to remove an obsolete argument
EEPROM-Keymap was recently changed to work differently, and thus the mode
argument became obsolete. This removes it from the call, and updates the comment
above it to match current reality.

Signed-off-by: Gergely Nagy <algernon@keyboard.io>
2019-02-03 10:45:43 +01:00
Jesse Vincent
f3f687ed63
Merge pull request #76 from keyboardio/suspend-ledoff-fix
Fix turning LEDs off on suspend
2019-01-20 09:46:34 -08:00
Gergely Nagy
0095044dd4
Fix turning LEDs off on suspend
When suspending, we want to set all LEDs off & sync first, and only then pause
LED operations. When the code was originally written, `LEDControl.syncLeds()`
synced LEDs even when `LEDControl.paused` was set - it no longer does so, so we
need to pause after we synced.

This addresses keyboardio/Kaleidoscope#516, at least partially.

Signed-off-by: Gergely Nagy <algernon@keyboard.io>
2019-01-20 17:17:11 +01:00
Jesse Vincent
cf6234b77e
Merge pull request #75 from keyboardio/no-deprecated-apis
Stop using deprecated (and now removed) APIs
2019-01-19 23:41:38 -08:00
Gergely Nagy
0b00f27cba
Stop using deprecated (and now removed) APIs
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
2019-01-20 08:39:58 +01:00
Jesse Vincent
383c5ff1df
Merge pull request #74 from jimt/patch-1
Correct location of Makefile for library updates
2018-12-24 19:53:47 -08:00
Jim Tittsler
7d674afe66
Correct location of Makefile for library updates
The `Makefile` is one directory higher than was indicated in the README.
2018-12-25 11:52:47 +09:00
Jesse Vincent
e56f0a3007
Merge pull request #72 from tych0/doc-fixups
Doc fixups
2018-12-09 12:30:16 -08:00
Tycho Andersen
852566ee1c add a blurb about binding the PROG key to things
Signed-off-by: Tycho Andersen <tycho@tycho.ws>
2018-12-09 11:04:58 -07:00
Tycho Andersen
d9363b3781 wrap the *super* long lines
I hate to be that guy, but I was reading these on github's page when
deciding whether or not to order a keyboard.io, and the extra long lines
here are not automatically wrapped when browsing the repo on github.

Signed-off-by: Tycho Andersen <tycho@tycho.ws>
2018-12-09 10:57:35 -07:00
Jesse Vincent
0175207ea7
Merge pull request #71 from keyboardio/doc/link-updates
Update the URL of LED-Stalker, to point to the new docs
2018-12-05 08:55:59 -08:00
Gergely Nagy
f4855c9279
Update the URL of LED-Stalker, to point to the new docs
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
2018-12-05 07:59:10 +01:00
Gergely Nagy
ab471273bc
Merge pull request #68 from hustvedt/fix-any
Fix anyKeyMacro for new hid API
2018-10-30 07:03:06 +01:00
Anders Hustvedt
ab57ab8468 Fix anyKeyMacro for new hid API
Signed-off-by: Anders Hustvedt <anders@computerfire.net>
2018-10-29 06:31:08 -06:00
Jesse Vincent
a963b8074e
Merge pull request #67 from keyboardio/h/warning-fixes
Two small warning fixes
2018-10-21 20:27:44 -07:00
Gergely Nagy
479f992271
src/Model01-Firmware.h: Add a #pragma once to make cpplint happy
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
2018-10-22 00:28:39 +02:00
Gergely Nagy
5343f4306e
Drop the LED-Off.h include, the header is deprecated
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
2018-10-22 00:27:34 +02:00
Gergely Nagy
56a90f702e Travis cleanup
Remove the IRC notifications from Travis (we're not using IRC anymore).

Signed-off-by: Gergely Nagy <algernon@keyboard.io>
2018-10-10 07:20:03 +02:00
Jesse Vincent
7277753004
Merge pull request #65 from keyboardio/f/focus
Support an EEPROM-based keymap overlay & Focus
2018-10-08 16:09:42 -07:00
Gergely Nagy
718aba9a43 Support an EEPROM-based keymap overlay & Focus
This adds the necessary code to support having five additional layers in EEPROM.
Also adds support for Focus, so these layers can be changed, and the default
layer set, too.

We also enable the EEPROM commands, which can be helpful in debugging and
backing up one's EEPROM contents.

Signed-off-by: Gergely Nagy <algernon@keyboard.io>
2018-10-09 00:57:05 +02:00
Jesse Vincent
c24497f0e6
Merge pull request #63 from wesQ3/whitespace-fix
Fix trailing whitespace and stray tab
2018-09-21 15:16:45 -07:00
Wes Malone
7bb88bd5a5 Fix trailing whitespace and stray tab
Signed-off-by: Wes Malone <wes@mitsi.com>
2018-09-21 17:09:24 -05:00
Jesse Vincent
d99fdbd15b shellcheck should only be run in the Kaleidoscope repo 2018-09-04 18:42:31 -07:00
Jesse Vincent
0ac41faab3 Update travis.yml to point to new bundle repo 2018-09-04 18:24:02 -07:00
Jesse Vincent
226b5a22d8 Update README pointers to new keyboardio Kaleidoscope bundle. 2018-09-04 18:04:22 -07:00
Jesse Vincent
29c80e38c8
Merge pull request #59 from keyboardio/more-featureful-defaults
More featureful defaults
2018-07-19 23:24:16 -07:00
Jesse Vincent
87b7497f25 astyle 2018-07-19 22:39:54 -07:00
Jesse Vincent
8526858c38 Make it easier to switch to COLEMAK/DVORAK/CUSTOM layouts 2018-07-19 22:12:36 -07:00
Jesse Vincent
a5b86bea5a Add a Caps lock key on Fn-Let by default.
Enough customers want a caps lock that we ought to give them -something-
in the default firmware
2018-07-19 21:19:47 -07:00