aboutsummaryrefslogtreecommitdiffstats
path: root/Model01-Firmware.ino
Commit message (Collapse)AuthorAgeFilesLines
* Update the EEPROMKeymap.setup() call to remove an obsolete argumentGergely Nagy2019-02-031-2/+3
| | | | | | | | 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>
* Fix turning LEDs off on suspendGergely Nagy2019-01-201-1/+1
| | | | | | | | | | | 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>
* Stop using deprecated (and now removed) APIsGergely Nagy2019-01-201-12/+12
| | | | Signed-off-by: Gergely Nagy <algernon@keyboard.io>
* add a blurb about binding the PROG key to thingsTycho Andersen2018-12-091-1/+7
| | | | Signed-off-by: Tycho Andersen <tycho@tycho.ws>
* wrap the *super* long linesTycho Andersen2018-12-091-3/+7
| | | | | | | | 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>
* Update the URL of LED-Stalker, to point to the new docsGergely Nagy2018-12-051-3/+3
| | | | Signed-off-by: Gergely Nagy <algernon@keyboard.io>
* Fix anyKeyMacro for new hid APIAnders Hustvedt2018-10-291-2/+5
| | | | Signed-off-by: Anders Hustvedt <anders@computerfire.net>
* Drop the LED-Off.h include, the header is deprecatedGergely Nagy2018-10-221-3/+0
| | | | Signed-off-by: Gergely Nagy <algernon@keyboard.io>
* Support an EEPROM-based keymap overlay & FocusGergely Nagy2018-10-091-0/+29
| | | | | | | | | | | 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>
* Fix trailing whitespace and stray tabWes Malone2018-09-211-5/+5
| | | | Signed-off-by: Wes Malone <wes@mitsi.com>
* astyleJesse Vincent2018-07-191-4/+4
|
* Make it easier to switch to COLEMAK/DVORAK/CUSTOM layoutsJesse Vincent2018-07-191-3/+82
|
* Add a Caps lock key on Fn-Let by default.Jesse Vincent2018-07-191-1/+1
| | | | | Enough customers want a caps lock that we ought to give them -something- in the default firmware
* Fix typo in commentsTré Ammatuna2018-07-101-1/+1
|
* Don't use an enum for MagicCombo.Gergely Nagy2018-07-021-4/+8
| | | | | | | | | | Since we use a dedicated function for the single magic combo we have, using an enum in this case is just more confusing than if we didn't. For this reason, drop the use of enum, and just specify the array directly. Thanks @obra for the suggestion! Signed-off-by: Gergely Nagy <algernon@keyboard.io>
* Documentation fixupsGergely Nagy2018-07-011-9/+15
| | | | | | | Fixed up some of the USBQuirks and MagicCombo-related documentation, based on feedback from @obra. Signed-off-by: Gergely Nagy <algernon@keyboard.io>
* Updated to use the new MagicCombo APIsGergely Nagy2018-06-091-38/+12
| | | | Signed-off-by: Gergely Nagy <algernon@keyboard.io>
* Add a way to toggle between Boot and NKRO mode manuallyGergely Nagy2018-06-081-1/+62
| | | | | | | | Make use of the MagicCombo and USB-Quirks plugins in order to allow one to toggle between Boot and NKRO mode of the keyboard, simply by pressing Left Fn + Shift + Esc. Signed-off-by: Gergely Nagy <algernon@keyboard.io>
* Drop the use of HostPowerManagement.enableWakeup()Gergely Nagy2018-06-041-5/+2
| | | | | | | | It is not necessary anymore, as BootKeyboard supports wakeup itself now. As such, also updated the comments regarding the plugin in KALEIDOSCOPE_INIT_PLUGINS. Signed-off-by: Gergely Nagy <algernon@keyboard.io>
* Updated to use the new plugin APIsGergely Nagy2018-05-081-49/+48
| | | | Signed-off-by: Gergely Nagy <algernon@keyboard.io>
* Merge pull request #39 from gedankenexperimenter/f/keymapsGergely Nagy2018-04-051-2/+2
|\ | | | | Updated definition of keymaps[] to use KEYMAPS() macro
| * Updated definition of keymaps[] to use KEYMAPS() macroMichael Richters2017-11-301-2/+2
| | | | | | | | | | This change will enable the `layer_count` variable for preventing reading past the end of the `keymaps[]` array.
* | Make the Quote transparent on the NUMPAD layer.Gergely Nagy2018-03-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Because the key two rows below `NumLock` is `Key_Quote` on the base layer too, and is not a numpad-specific key either, make it transparent, so it does not get highlighted erroneously. Thanks to @ImmaculatePotato and Eddie Jinks for reporting the issue, and proposing the fix. Fixes #48. Signed-off-by: Gergely Nagy <algernon@keyboard.io>
* | Use CRGB type for AlphaSquare color, so ints are in common orderDan Bernier2018-03-081-1/+1
| |
* | Add support for host power management (suspend & wakeup)Gergely Nagy2017-12-161-1/+36
|/ | | | Signed-off-by: Gergely Nagy <algernon@keyboard.io>
* Now that 'Consumer_Mute' is no longer blocked by 'is_internal', we canv1.22Jesse Vincent2017-11-131-1/+1
| | | | | switch back to using it, to get a working mute toggle on linux, windows and osx.
* astyle fixesJesse Vincent2017-11-131-1/+1
|
* Swap the order of the Numpad and Fn layers, so it's possible to get toJesse Vincent2017-11-131-16/+18
| | | | arrow keys if you have the numpad on.
* Switch from the NumLock library to the NumPad library.Jesse Vincent2017-11-121-7/+7
| | | | | | This new plugin lets us use a more standard layer lock to get into the numpad mode and doesn't depend on the system numlock feature quite as much
* Added a couple "to be documented" itemsJennifer Leigh2017-10-041-0/+2
| | | | | | | I added a couple items to the list of things that should be documented. I also realize I have no idea what the ANY key does, but I'm intrigued. I don't understand from these code comments, and don't have time to puzzle it out now. Otherwise, though, this is so much better than the file I've been poking at for weeks! It's clear and clean and much more welcoming. Thanks for all the behind the scenes work that made this possible, and thank you Jesse for the work writing up comments!
* Make the sketch use backslash lessCsilla Nagyné Martinák2017-10-041-36/+36
| | | | | | | This lass is not fond of backslash, so she made the sketch use backslash less, so much so that it is now backslash-less. Signed-off-by: Csilla Nagyné Martinák <csilla@csillger.hu>
* Fix misleading indentation in all three layers' keymapsCraig Disselkoen2017-10-031-3/+10
| | | | plus add astyle directives to make astyle not complain about it
* update to shifttolayer and instead of the old keymap_n_momentary macros;Jesse Vincent2017-10-031-9/+15
| | | | update doc
* Remove the NULL from the end of Kaleidoscope.useCsilla Nagyné Martinák2017-10-031-2/+2
| | | | | | | | For a while now, `Kaleidoscope.use` does not require a NULL sentinel at the end. This drops the sentinel instead of adding documentation that would explain why that NULL is there. Signed-off-by: Csilla Nagyné Martinák <csilla@csillger.hu>
* clean up indentation of keymapsJesse Vincent2017-10-021-46/+45
|
* remove the special NUMPAD_ID definition; move the keymap definitions into ↵Jesse Vincent2017-10-021-72/+60
| | | | | | the variable declaration. This has the advantage of having one fewer construct to explain
* Doc updates as suggested by @cdisselkoen++Jesse Vincent2017-10-021-6/+7
|
* Slightly simplify the default keymaps, removing some duplicationJesse Vincent2017-10-021-5/+5
|
* Close a commentf/refactor-for-clarityJesse Vincent2017-10-021-1/+1
|
* astyleJesse Vincent2017-10-021-35/+35
|
* First pass at comments on the rest of the default sketchJesse Vincent2017-10-021-16/+54
|
* comment much of the default sketchJesse Vincent2017-10-021-3/+140
|
* We're not actually exposing BootKeyboard yet.Jesse Vincent2017-10-021-1/+0
|
* Move some LED color definitions to after the macro defnitions.Jesse Vincent2017-10-021-8/+14
| | | | It seems a little clearer.
* move the hopefully-going-away numpad keymap id definition closer toJesse Vincent2017-10-021-1/+1
| | | | where one can intuit why it's that number
* reorganize imports for a little more clarityJesse Vincent2017-10-021-2/+5
|
* whitespaceJesse Vincent2017-10-021-1/+1
|
* Refactor macro code to remove hand-coded numbers and make code a bit more ↵Jesse Vincent2017-10-021-14/+32
| | | | readable
* astyleJesse Vincent2017-10-021-2/+2
|
* Remove a couple of C preprocessor macros involved in the definition ofJesse Vincent2017-10-021-4/+3
| | | | keyboard macros, in the hope of making the code clearer