From e899cb8940da04fa2610604f0aab417db7fac119 Mon Sep 17 00:00:00 2001 From: "Michael F. Lamb" Date: Fri, 3 Nov 2017 08:56:06 -0700 Subject: several improvements for mitosis:datagrok (#1960) * mitosis/datagrok: reduce features from rules.mk * mitosis/datagrok: make both layer keys neighbor shift * mitosis/datagrok: (no-op) tweak some comments * mitosis/datagrok: set baudrate to 250k This requires a corresponding change to the mitosis wireless firmware: https://github.com/reversebias/mitosis/pull/10 * mitosis/datagrok: move design description from code comment to a readme * mitosis/datagrok: new layout, new shifted keys, efficient LED code This is experimental, but compiles and seems to work correctly. * mitosis/datagrok: whoops, move readme.md * mitosis/datagrok: a minor layout improvement simplifies custom-shifted code instead of [, .] [? !], using [, ?] [. !] greatly simplifies the code needed to perform the shifted-key switching. (And keeps , and . on the same keys that they are under qwerty.) also: layout improvements for symbols * mitosis/datagrok: make my code conform to QMK style guidelines * mitosis/datagrok: TODO note for layout table in README * mitosis/datagrok: remove led_set_user until i figure out other changes need to see if the corresponding changes needed in the keyboard-level code is okay. * mitosis/datagrok: simpler layer indicator * mitosis/datagrok: undo change to keyboard baud; make it in my layout dir. * mitosis/datagrok: apply same punctuation hack to qwerty layer * mitosis/datagrok: enable qwerty layer toggle * mitosis/datagrok: update readme --- keyboards/mitosis/keymaps/datagrok/config.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 keyboards/mitosis/keymaps/datagrok/config.h (limited to 'keyboards/mitosis/keymaps/datagrok/config.h') diff --git a/keyboards/mitosis/keymaps/datagrok/config.h b/keyboards/mitosis/keymaps/datagrok/config.h new file mode 100644 index 0000000000..3f303e04a4 --- /dev/null +++ b/keyboards/mitosis/keymaps/datagrok/config.h @@ -0,0 +1,22 @@ +#ifndef CONFIG_USER_H +#define CONFIG_USER_H + +#include "../../config.h" + +// I use a pro micro clocked at 8Mhz. It can't reach 1M baud, so this is the +// next fastest possible baud without errors. I don't notice any difference in +// behavior at this slower speed. (So I think it should maybe be the default, +// to allow a single codebase to support both available flavors of pro micro.) +// This requires a corresponding change to the wireless module firmware; see +// https://github.com/reversebias/mitosis/pull/10 +#undef SERIAL_UART_BAUD // avoids redefinition warning +#define SERIAL_UART_BAUD 250000 + +// TODO: figure out which of these I can safely enable to reduce firmware size. +//#define NO_ACTION_LAYER +//#define NO_ACTION_TAPPING +//#define NO_ACTION_ONESHOT // can't; errors +//#define NO_ACTION_MACRO +//#define NO_ACTION_FUNCTION + +#endif -- cgit v1.2.3