summaryrefslogtreecommitdiffstats
path: root/keyboards/mitosis/keymaps/datagrok/config.h
diff options
context:
space:
mode:
authorMichael F. Lamb <mike@datagrok.org>2017-11-03 16:56:06 +0100
committerJack Humbert <jack.humb@gmail.com>2017-11-03 16:56:06 +0100
commite899cb8940da04fa2610604f0aab417db7fac119 (patch)
tree315c8b4b4ed73bc582af672740a64ccf2baa09fe /keyboards/mitosis/keymaps/datagrok/config.h
parent80e489e122962abbfa63ff3383ff303144bfe6f2 (diff)
downloadqmk_firmware-e899cb8940da04fa2610604f0aab417db7fac119.tar.gz
qmk_firmware-e899cb8940da04fa2610604f0aab417db7fac119.tar.xz
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
Diffstat (limited to 'keyboards/mitosis/keymaps/datagrok/config.h')
-rw-r--r--keyboards/mitosis/keymaps/datagrok/config.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/keyboards/mitosis/keymaps/datagrok/config.h b/keyboards/mitosis/keymaps/datagrok/config.h
new file mode 100644
index 000000000..3f303e04a
--- /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