summaryrefslogtreecommitdiffstats
path: root/keyboards/mitosis/keymaps/datagrok/config.h
diff options
context:
space:
mode:
authorMichael F. Lamb <mike@datagrok.org>2018-07-14 22:31:17 +0200
committerDrashna Jaelre <drashna@live.com>2018-07-14 22:31:17 +0200
commit2fe2c323c6dd564200ee43a9e424a4b56332e4f7 (patch)
tree0ddd3d96445bc8071f12dba03e88c335ff7e5a22 /keyboards/mitosis/keymaps/datagrok/config.h
parent72fa2cf2fc809a99ff7b9b8a7c6941d9d3932c95 (diff)
downloadqmk_firmware-2fe2c323c6dd564200ee43a9e424a4b56332e4f7.tar.gz
qmk_firmware-2fe2c323c6dd564200ee43a9e424a4b56332e4f7.tar.xz
mitosis:datagrok layout and readme improvements (#3400)
* mitosis:datagrok: improved tenkey layout; changelog + more in README * mitosis:datagrok enable audio! * mitosis:datagrok: underscore on right shift, rearrange some symbols * mitosis:datagrok: add more descriptions to readme * mitosis:datagrok: abuse space cadet to get equivalent of RSFT_T(KC_UNDS)
Diffstat (limited to 'keyboards/mitosis/keymaps/datagrok/config.h')
-rw-r--r--keyboards/mitosis/keymaps/datagrok/config.h26
1 files changed, 18 insertions, 8 deletions
diff --git a/keyboards/mitosis/keymaps/datagrok/config.h b/keyboards/mitosis/keymaps/datagrok/config.h
index 3f303e04a..9edb950cf 100644
--- a/keyboards/mitosis/keymaps/datagrok/config.h
+++ b/keyboards/mitosis/keymaps/datagrok/config.h
@@ -3,14 +3,12 @@
#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
+// I want to place an underscore as tap behavior on the right shift key. But
+// RSFT_T(KC_UNDS) doesn't work; mod-tap doesn't work with pre-shifted keys. So
+// instead we take advantage of Space Cadet Shift that does something similar
+// and just tweak it to use the -_ key instead of 0) See
+// https://github.com/qmk/qmk_firmware/pull/2055
+#define RSPC_KEY KC_MINS
// TODO: figure out which of these I can safely enable to reduce firmware size.
//#define NO_ACTION_LAYER
@@ -19,4 +17,16 @@
//#define NO_ACTION_MACRO
//#define NO_ACTION_FUNCTION
+#ifdef AUDIO_ENABLE
+#define STARTUP_SONG SONG(PLANCK_SOUND)
+// #define STARTUP_SONG SONG(NO_SOUND)
+#define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND), \
+ SONG(COLEMAK_SOUND), \
+ SONG(DVORAK_SOUND) \
+ }
+#define AUDIO_VOICES
+#define AUDIO_CLICKY
+#define C6_AUDIO
+#endif
+
#endif