Initial state where I have working typing, LEDs and a tiny bit of working serial

pull/1109/head
Jesse Vincent 3 years ago
parent 4584210cda
commit 26a3034578
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

@ -21,10 +21,10 @@
#include "Kaleidoscope-EEPROM-Keymap.h" #include "Kaleidoscope-EEPROM-Keymap.h"
// Support for communicating with the host via a simple Serial protocol // Support for communicating with the host via a simple Serial protocol
//#include "Kaleidoscope-FocusSerial.h" #include "Kaleidoscope-FocusSerial.h"
// Support for keys that move the mouse // Support for keys that move the mouse
#include "Kaleidoscope-MouseKeys.h" //#include "Kaleidoscope-MouseKeys.h"
// Support for macros // Support for macros
#include "Kaleidoscope-Macros.h" #include "Kaleidoscope-Macros.h"
@ -264,9 +264,9 @@ KEYMAPS(
[FUNCTION] = KEYMAP_STACKED [FUNCTION] = KEYMAP_STACKED
(___, Key_F1, Key_F2, Key_F3, Key_F4, Key_F5, Key_CapsLock, (___, Key_F1, Key_F2, Key_F3, Key_F4, Key_F5, Key_CapsLock,
Key_Tab, ___, Key_mouseUp, ___, Key_mouseBtnR, Key_mouseWarpEnd, Key_mouseWarpNE, Key_Tab, ___, ___, ___, ___, ___, ___,
Key_Home, Key_mouseL, Key_mouseDn, Key_mouseR, Key_mouseBtnL, Key_mouseWarpNW, Key_Home, ___, ___, ___, ___, ___,
Key_End, Key_PrintScreen, Key_Insert, ___, Key_mouseBtnM, Key_mouseWarpSW, Key_mouseWarpSE, Key_End, Key_PrintScreen, Key_Insert, ___, ___, ___, ___,
___, Key_Delete, ___, ___, ___, Key_Delete, ___, ___,
___, ___,
@ -430,16 +430,16 @@ KALEIDOSCOPE_INIT_PLUGINS(
// Focus allows bi-directional communication with the host, and is the // Focus allows bi-directional communication with the host, and is the
// interface through which the keymap in EEPROM can be edited. // interface through which the keymap in EEPROM can be edited.
//Focus, Focus,
// FocusSettingsCommand adds a few Focus commands, intended to aid in // FocusSettingsCommand adds a few Focus commands, intended to aid in
// changing some settings of the keyboard, such as the default layer (via the // changing some settings of the keyboard, such as the default layer (via the
// `settings.defaultLayer` command) // `settings.defaultLayer` command)
//FocusSettingsCommand, FocusSettingsCommand,
// FocusEEPROMCommand adds a set of Focus commands, which are very helpful in // FocusEEPROMCommand adds a set of Focus commands, which are very helpful in
// both debugging, and in backing up one's EEPROM contents. // both debugging, and in backing up one's EEPROM contents.
// FocusEEPROMCommand, FocusEEPROMCommand,
// The boot greeting effect pulses the LED button for 10 seconds after the // The boot greeting effect pulses the LED button for 10 seconds after the
// keyboard is first connected // keyboard is first connected
@ -495,7 +495,6 @@ KALEIDOSCOPE_INIT_PLUGINS(
Macros, Macros,
// The MouseKeys plugin lets you add keys to your keymap which move the mouse. // The MouseKeys plugin lets you add keys to your keymap which move the mouse.
MouseKeys,
// The HostPowerManagement plugin allows us to turn LEDs off when then host // The HostPowerManagement plugin allows us to turn LEDs off when then host
// goes to sleep, and resume them when it wakes up. // goes to sleep, and resume them when it wakes up.
@ -551,12 +550,12 @@ void setup() {
// one wants to use these layers, just set the default layer to one in EEPROM, // one wants to use these layers, just set the default layer to one in EEPROM,
// by using the `settings.defaultLayer` Focus command, or by using the // by using the `settings.defaultLayer` Focus command, or by using the
// `keymap.onlyCustom` command to use EEPROM layers only. // `keymap.onlyCustom` command to use EEPROM layers only.
//EEPROMKeymap.setup(5); EEPROMKeymap.setup(5);
// We need to tell the Colormap plugin how many layers we want to have custom // We need to tell the Colormap plugin how many layers we want to have custom
// maps for. To make things simple, we set it to five layers, which is how // maps for. To make things simple, we set it to five layers, which is how
// many editable layers we have (see above). // many editable layers we have (see above).
//ColormapEffect.max_layers(5); ColormapEffect.max_layers(5);
} }
/** loop is the second of the standard Arduino sketch functions. /** loop is the second of the standard Arduino sketch functions.

Loading…
Cancel
Save