summaryrefslogtreecommitdiff
path: root/keyboards/lazydesigners
diff options
context:
space:
mode:
authortominabox1 <tom.campie@gmail.com>2019-10-18 20:15:57 -0500
committerDrashna Jaelre <drashna@live.com>2019-10-18 18:15:57 -0700
commitc26faed2b60e59293f631e041619567f23a93406 (patch)
tree4c51f318dafe4e2345adcebf2ce4c94ba8f8a6be /keyboards/lazydesigners
parentb23f6011c34dcb471c312655f7af37c0a0f5f779 (diff)
[Keymap] Tominabox1 userspace creation (#7014)
* rebaselined the whole fork and added cool matrix animations * Updated dfu bootloader rules, oleds working on test map * Moving test branch into main moving my _test branch files into the main since the repo is now in the dev branch, don't see any reason to keep separate folders. * Update keymap.c Adding DOT to number layer * added LED sleeping * working on getting matrix rgb to sleep upon usb suspend uploading to github for qmk staff help * Added master sleep on usb suspend Unfortunately the sleep function does not work on the slave side so will probably revert this change later * bringing hhkb config up to current with other tominabox1 configs * Update config.h since master side is the only one that sleeps, going to disable this for now. * testing oled stuff * Update rules.mk * tinkering with oled still * Finally fixed custom image with corne doug * Adding keymap to dimple instead of screwing up the upstream references. * Changed oled image to peepo ggers * working on oled sleep * Update keymap.c * fixes oled wake/sleep issues * Adding :b: and BEPIS macros * Update .gitignore * Cleaning up and improving documentation * Update keymap.c * Adding my minivan keymap * Fixed error on keymap * fixed OLEDs not turning on and moved tapping term to the keymap file * Changed tapping term from 200 to 250 * Revised Fkey layers, arrows, question mark locations * Update keymap.c * tweaked tapping term and types on CRKBD, revised layout on HHKB * Update keymap.c * general code cleanup, keymap displays * Set up userspace for common keymap elements * tapping term stuff for shift * testing * Fixed new tapdance for accessing number and fkey layers * Update tominabox1.h * stuff * fixing function calls for userspace * cleaning up crkbd config and moving stuff to userspace * finally fixed oled lightup issues * cleaning up a few maps and rules * Removing permissive hold and returning spacefn to all boards. * Settting up wrapper keymaps for Dimple, Minivan, and Corne Wrappers * small tweaks * Update wrappers.h * finishing wrappers on Minivan and Dimple * Revised tapping term definition Providing additional tapping term config for CRKBD only. * Code cleanup and documentation * Update readme.md * Update readme.md * Wrapers and continued code cleanup and documentation * moved oled py scripts to user folder * completed wrapper implementation of CRKBD * added matrix startup mode - not working yet pending upstream changes * removed unused code in tominabox1.c * Fixing custom keycodes and tap dance indices fixed custom keycodes and tap dance indices Adding beginning of dimple RGB matrix definition changed oled on corne to scrolling matrix thing Added copy pasta * Secondary layer tweaks Swapping hands of numbers and symbols as well as tweaking tapping terms accordingly * Update tominabox1.c Continued refinement of tapping term to support better right hand symbol access. * Fixes from pr 7014 Removed gitignore data from qmk master Reverted changes to Drashna's crkbd keymap Accepted changes to crkbd keymap Added ignore to hhkb keymap - I think I need this because Teensy. Will revisit another time * Removing hhkb keymap for rework * Adding back hhkb keymap Re-adding hhkb folder with ignores * Reverting changes to Dimple default totally did not intend to modify these * Update keymap.c Reverting changes to Drashna's corne map * Accepting recommended changes * Reduced tap hold caps delay moved bootmagic enable to general usage Revised tapping terms Removed unused keycode defs * bootmagic * Update rules.mk * Fixed permissions (support 7014) and bootmagic addition Fixed permissions on Drashna's keymap and Dimple default keymap files. Adding bootmagic to my crkbd config. * Fixing permissions
Diffstat (limited to 'keyboards/lazydesigners')
-rw-r--r--keyboards/lazydesigners/dimple/keymaps/tominabox1/keymap.c109
1 files changed, 109 insertions, 0 deletions
diff --git a/keyboards/lazydesigners/dimple/keymaps/tominabox1/keymap.c b/keyboards/lazydesigners/dimple/keymaps/tominabox1/keymap.c
new file mode 100644
index 0000000000..cdaade987f
--- /dev/null
+++ b/keyboards/lazydesigners/dimple/keymaps/tominabox1/keymap.c
@@ -0,0 +1,109 @@
+#include QMK_KEYBOARD_H
+#include "tominabox1.h"
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+
+/* Base COLEMAK layer
+ * ,---------------------------------------------------------------.
+ * |GEsc| Q | W | F | P | G | J | L | U | Y | : | Bspc |
+ * |---------------------------------------------------------------|
+ * |Tab-Ctl| A | R | S | T | D | H | N | E | I | O |Quote|
+ * |---------------------------------------------------------------|
+ * |Shft/Cap| Z | X | C | V | B | K | M | , | Up | . |
+ * |---------------------------------------------------------------|
+ * |Ctrl|Gui |Alt | Spc/Lwr | Spc/Rse |Left|Down|Rght|
+ * `-----------------------------------------------------'
+ */
+
+ [_BASE] = LAYOUT_wrapper(
+ __________________DIMPLE1__________________,
+ __________________DIMPLE2__________________,
+ __________________DIMPLE3L_________________,__________________DIMPLE3R_________________,
+ __________________DIMPLE4__________________
+ ),
+
+/* Lower Symbol Layer
+ * ,---------------------------------------------------------------.
+ * | ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) | Del |
+ * |---------------------------------------------------------------|
+ * | Del | | | | | | | _ | + | { | } | | |
+ * |---------------------------------------------------------------|
+ * | | | | | | | | | ; |PgUp| ? |
+ * |---------------------------------------------------------------|
+ * | | | | | |Home|PgDn|End |
+ * `-----------------------------------------------------'
+ */
+
+ [_LOWER] = LAYOUT_wrapper(
+ _________________LOWER_1___________________,
+ _________________LOWER_2___________________,
+ _________________LOWER_3___________________,
+ _________________LOWER_4___________________
+ ),
+
+/* Raise Number Layer
+ * ,---------------------------------------------------------------.
+ * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Bspc |
+ * |---------------------------------------------------------------|
+ * | Ins | | | | | | | - | = | [ | ] | \ |
+ * |---------------------------------------------------------------|
+ * | | | | | | | | | | . | / |
+ * |---------------------------------------------------------------|
+ * |VolD|Mute|VolU| | | | | |
+ * `-----------------------------------------------------'
+ */
+
+ [_RAISE] = LAYOUT_wrapper(
+ ___________________RAISE1__________________,
+ ___________________RAISE2__________________,
+ ___________________RAISE3__________________,
+ ___________________RAISE4__________________
+
+ ),
+
+/* Adjust Layer
+ * ,---------------------------------------------------------------.
+ * |RST |EEP | | | | | | | | | | |
+ * |---------------------------------------------------------------|
+ * | MP | | | | | | | | | | | |
+ * |---------------------------------------------------------------|
+ * | MODE | HUI| HUD|M_SN| | | | | | | |
+ * |---------------------------------------------------------------|
+ * |RGB-|RGB |RGB+| | | | | |
+ * `-----------------------------------------------------'
+ */
+
+ [_ADJUST] = LAYOUT_wrapper(
+ ___________________ADJST1__________________,
+ ___________________ADJST2__________________,
+ ___________________ADJST3__________________,
+ ___________________ADJST4__________________
+
+ ),
+/* Fkey Layer
+* ,---------------------------------------------------------------.
+* | | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10| |
+* |---------------------------------------------------------------|
+* | | | | | | | | | | F11| F12| |
+* |---------------------------------------------------------------|
+* | | | | | | | | | | | |
+* |---------------------------------------------------------------|
+* | | | | | |FKEY| | |
+* `-----------------------------------------------------'
+*/
+
+ [_FKEY] = LAYOUT_wrapper(
+ ___________________FKEY1___________________,
+ ___________________FKEY2___________________,
+ ___________________FKEY3___________________,
+ ___________________FKEY4___________________
+ ),
+};
+
+void led_set_user(uint8_t usb_led) {
+if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) {
+ writePinLow(E6);
+ } else {
+ writePinHigh(E6);
+ }
+}