diff options
| -rw-r--r-- | keyboards/diverge3/config.h | 14 | ||||
| -rwxr-xr-x | keyboards/diverge3/keymaps/iso_uk/config.h | 24 | ||||
| -rw-r--r-- | keyboards/diverge3/keymaps/iso_uk/keymap.c | 45 | ||||
| -rwxr-xr-x | keyboards/diverge3/keymaps/iso_uk/readme.md | 1 | ||||
| -rwxr-xr-x | keyboards/diverge3/keymaps/iso_uk/rules.mk | 1 | ||||
| -rw-r--r-- | keyboards/diverge3/rules.mk | 10 |
6 files changed, 79 insertions, 16 deletions
diff --git a/keyboards/diverge3/config.h b/keyboards/diverge3/config.h index f3ed06739..262be7b75 100644 --- a/keyboards/diverge3/config.h +++ b/keyboards/diverge3/config.h | |||
| @@ -31,10 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 31 | /* key matrix size */ | 31 | /* key matrix size */ |
| 32 | #define MATRIX_ROWS 10 | 32 | #define MATRIX_ROWS 10 |
| 33 | #define MATRIX_COLS 8 | 33 | #define MATRIX_COLS 8 |
| 34 | // Only SERIAL is currently supported | ||
| 35 | // By converting this to use I2C, backlight | ||
| 36 | // would/should be fully functional as well | ||
| 37 | #define USE_SERIAL | ||
| 38 | 34 | ||
| 39 | /* | 35 | /* |
| 40 | * Keyboard Matrix Assignments | 36 | * Keyboard Matrix Assignments |
| @@ -53,9 +49,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 53 | /* COL2ROW, ROW2COL, or CUSTOM_MATRIX */ | 49 | /* COL2ROW, ROW2COL, or CUSTOM_MATRIX */ |
| 54 | #define DIODE_DIRECTION ROW2COL | 50 | #define DIODE_DIRECTION ROW2COL |
| 55 | 51 | ||
| 56 | // #define BACKLIGHT_PIN C6 | 52 | #define BACKLIGHT_PIN C6 |
| 57 | // #define BACKLIGHT_BREATHING | 53 | #define BACKLIGHT_BREATHING |
| 58 | // #define BACKLIGHT_LEVELS 3 | 54 | #define BACKLIGHT_LEVELS 5 |
| 59 | 55 | ||
| 60 | 56 | ||
| 61 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | 57 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ |
| @@ -63,7 +59,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 63 | 59 | ||
| 64 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | 60 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ |
| 65 | //#define MATRIX_HAS_GHOST | 61 | //#define MATRIX_HAS_GHOST |
| 66 | 62 | ||
| 67 | 63 | ||
| 68 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 64 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 69 | #define LOCKING_SUPPORT_ENABLE | 65 | #define LOCKING_SUPPORT_ENABLE |
| @@ -73,7 +69,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 73 | /* If defined, GRAVE_ESC will always act as ESC when CTRL is held. | 69 | /* If defined, GRAVE_ESC will always act as ESC when CTRL is held. |
| 74 | * This is userful for the Windows task manager shortcut (ctrl+shift+esc). | 70 | * This is userful for the Windows task manager shortcut (ctrl+shift+esc). |
| 75 | */ | 71 | */ |
| 76 | // #define GRAVE_ESC_CTRL_OVERRIDE | 72 | #define GRAVE_ESC_CTRL_OVERRIDE |
| 77 | 73 | ||
| 78 | /* | 74 | /* |
| 79 | * Force NKRO | 75 | * Force NKRO |
diff --git a/keyboards/diverge3/keymaps/iso_uk/config.h b/keyboards/diverge3/keymaps/iso_uk/config.h new file mode 100755 index 000000000..83f65979c --- /dev/null +++ b/keyboards/diverge3/keymaps/iso_uk/config.h | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | /* Copyright 2017 IslandMan93 | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #pragma once | ||
| 18 | |||
| 19 | |||
| 20 | // place overrides here | ||
| 21 | #define MASTER_LEFT | ||
| 22 | #define PERMISSIVE_HOLD | ||
| 23 | #define TAPPING_TERM 150 | ||
| 24 | |||
diff --git a/keyboards/diverge3/keymaps/iso_uk/keymap.c b/keyboards/diverge3/keymaps/iso_uk/keymap.c new file mode 100644 index 000000000..804334785 --- /dev/null +++ b/keyboards/diverge3/keymaps/iso_uk/keymap.c | |||
| @@ -0,0 +1,45 @@ | |||
| 1 | /* Copyright 2017 IslandMan93 | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | #include QMK_KEYBOARD_H | ||
| 17 | |||
| 18 | |||
| 19 | enum layers { | ||
| 20 | _QWERTY, | ||
| 21 | _LOWER, | ||
| 22 | }; | ||
| 23 | |||
| 24 | #define LOWER MO(_LOWER) | ||
| 25 | |||
| 26 | |||
| 27 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 28 | |||
| 29 | [_QWERTY] = LAYOUT( \ | ||
| 30 | KC_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_MINS, KC_EQL, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, | ||
| 31 | KC_CAPS, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_LCBR, KC_RCBR, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, | ||
| 32 | KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_PSCR, KC_PGUP, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_NUHS, | ||
| 33 | KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_INS, KC_PGDN, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_ENT, | ||
| 34 | KC_LCTL, KC_LGUI, KC_LALT, KC_HOME, KC_END, KC_SPC, KC_SPC, LOWER, KC_QUOT, KC_SPC, KC_SPC, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT,KC_SLASH | ||
| 35 | ), | ||
| 36 | |||
| 37 | [_LOWER] = LAYOUT( | ||
| 38 | RESET, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F11, KC_F12, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, _______, | ||
| 39 | BL_TOGG, KC_ASTG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 40 | BL_INC, KC_ASUP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 41 | BL_DEC, KC_ASDN, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 42 | _______, KC_ASRP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 43 | ) | ||
| 44 | |||
| 45 | }; | ||
diff --git a/keyboards/diverge3/keymaps/iso_uk/readme.md b/keyboards/diverge3/keymaps/iso_uk/readme.md new file mode 100755 index 000000000..ff4971754 --- /dev/null +++ b/keyboards/diverge3/keymaps/iso_uk/readme.md | |||
| @@ -0,0 +1 @@ | |||
| # My UK based diverge 3 layout | |||
diff --git a/keyboards/diverge3/keymaps/iso_uk/rules.mk b/keyboards/diverge3/keymaps/iso_uk/rules.mk new file mode 100755 index 000000000..c9383ab8d --- /dev/null +++ b/keyboards/diverge3/keymaps/iso_uk/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| AUTO_SHIFT_ENABLE = yes | |||
diff --git a/keyboards/diverge3/rules.mk b/keyboards/diverge3/rules.mk index 38f3ee4e6..36e8ccb47 100644 --- a/keyboards/diverge3/rules.mk +++ b/keyboards/diverge3/rules.mk | |||
| @@ -1,6 +1,3 @@ | |||
| 1 | SRC += ../lets_split/matrix.c \ | ||
| 2 | ../lets_split/serial.c \ | ||
| 3 | ../lets_split/split_util.c | ||
| 4 | 1 | ||
| 5 | # MCU name | 2 | # MCU name |
| 6 | #MCU = at90usb1286 | 3 | #MCU = at90usb1286 |
| @@ -61,13 +58,12 @@ EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | |||
| 61 | CONSOLE_ENABLE = no # Console for debug(+400) | 58 | CONSOLE_ENABLE = no # Console for debug(+400) |
| 62 | COMMAND_ENABLE = yes # Commands for debug and configuration | 59 | COMMAND_ENABLE = yes # Commands for debug and configuration |
| 63 | NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | 60 | NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work |
| 64 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | 61 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality |
| 65 | MIDI_ENABLE = no # MIDI controls | 62 | MIDI_ENABLE = no # MIDI controls |
| 66 | AUDIO_ENABLE = no # Audio output on port C6 | 63 | AUDIO_ENABLE = no # Audio output on port C6 |
| 67 | UNICODE_ENABLE = no # Unicode | 64 | UNICODE_ENABLE = no # Unicode |
| 68 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | 65 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID |
| 69 | RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. | 66 | RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. |
| 70 | 67 | SPLIT_KEYBOARD = yes | |
| 71 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | 68 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE |
| 72 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | 69 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
| 73 | CUSTOM_MATRIX = yes | ||
