forked from qmk/qmk_firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commit e7b6e11 Author: Alabastard-64 <[email protected]> Date: Mon Jan 23 23:04:54 2023 -0700 doc cleanup commit 1624f4c Author: Alabastard-64 <[email protected]> Date: Mon Jan 23 23:01:57 2023 -0700 doc cleanup commit 9ac04e9 Author: Alabastard-64 <[email protected]> Date: Mon Jan 23 22:45:11 2023 -0700 linting commit ade01f0 Author: Alabastard-64 <[email protected]> Date: Mon Jan 23 22:25:50 2023 -0700 fix issues commit 3dcf006 Author: Alabastard-64 <[email protected]> Date: Mon Jan 23 16:39:58 2023 -0700 add FASTCALC option and streamline a few things commit 88c62ae Author: Alabastard-64 <[email protected]> Date: Fri Dec 23 14:58:39 2022 -0700 doc update commit 7735757 Author: Alabastard-64 <[email protected]> Date: Fri Dec 23 14:51:37 2022 -0700 linting commit b4d6446 Author: Alabastard-64 <[email protected]> Date: Thu Dec 22 19:13:24 2022 -0700 fixes and doc improvements commit 0243dce Author: Alabastard-64 <[email protected]> Date: Wed Dec 21 23:07:52 2022 -0700 fix previous changes to precision mode now working as intended additional mode fixes commit 02e35b8 Author: Alabastard-64 <[email protected]> Date: Wed Dec 21 20:29:11 2022 -0700 doc update and precision changes commit b6bd521 Author: Alabastard-64 <[email protected]> Date: Tue Dec 13 00:53:47 2022 -0700 more doc updates/code cleanup commit 47337bd Author: Alabastard-64 <[email protected]> Date: Tue Dec 13 00:20:15 2022 -0700 code and doc fixup commit 2633968 Author: Alabastard-64 <[email protected]> Date: Mon Dec 12 23:10:19 2022 -0700 update and linting commit b028e01 Author: Alabastard-64 <[email protected]> Date: Sun Dec 11 21:08:08 2022 -0700 post rebase/squash cleanup commit 612ff48 Author: Alabastard-64 <[email protected]> Date: Tue Aug 30 01:23:41 2022 -0600 parent c6ab70e author Alabastard-64 <[email protected]> 1661844221 -0600 committer Alabastard-64 <[email protected]> 1670816485 -0700 parent c6ab70e author Alabastard-64 <[email protected]> 1661844221 -0600 committer Alabastard-64 <[email protected]> 1670813789 -0700 parent c6ab70e author Alabastard-64 <[email protected]> 1661844221 -0600 committer Alabastard-64 <[email protected]> 1670812067 -0700 Squashed all previous Commits commit 8ca3f0f Author: Stefan Kerkmann <[email protected]> Date: Mon Jan 23 22:24:21 2023 +0100 [Bug] rp2040: fix timer wrap deadlock in ws2812 vendor driver (qmk#19652) Co-authored-by: Sergey Vlasov <[email protected]> commit ea05045 Author: Nick Brassel <[email protected]> Date: Tue Jan 24 07:10:03 2023 +1100 Allow overriding of keymap/encodermap layer count. (qmk#19325) commit aea1194 Author: David Hoelscher <[email protected]> Date: Mon Jan 23 14:05:47 2023 -0600 Corrections to uart driver for Chibios platform (qmk#19075) commit dfb2833 Merge: 0a51ea2 4e658d4 Author: QMK Bot <[email protected]> Date: Mon Jan 23 10:23:39 2023 +0000 Merge remote-tracking branch 'origin/master' into develop commit 4e658d4 Author: youturn45 <[email protected]> Date: Mon Jan 23 05:23:00 2023 -0500 [Keymap] Add youturn/yt keymap for think65 (qmk#19300) Co-authored-by: jack <[email protected]> Co-authored-by: Drashna Jaelre <[email protected]> Co-authored-by: Jue Liu <[email protected]> commit 0a51ea2 Merge: 603c86b 9c7490d Author: QMK Bot <[email protected]> Date: Mon Jan 23 09:39:16 2023 +0000 Merge remote-tracking branch 'origin/master' into develop commit 9c7490d Author: Joe Scotto <[email protected]> Date: Mon Jan 23 04:38:22 2023 -0500 [Keyboard] Add Scotto40 Keyboard (qmk#18453) Co-authored-by: Drashna Jaelre <[email protected]> Co-authored-by: James Young <[email protected]>
- Loading branch information
Showing
19 changed files
with
913 additions
and
234 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* Copyright 2022 Yt Liu | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 2 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
#pragma once | ||
|
||
#define RGBLIGHT_LAYERS |
139 changes: 139 additions & 0 deletions
139
keyboards/gray_studio/think65/solder/keymaps/yt/keymap.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,139 @@ | ||
/* Copyright 2021 Qiaowei Tang | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 2 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
|
||
|
||
/* | ||
* LED ranges for Think6.5v2 2U | ||
* These values were derived from manual testing. Derived from keymaps/rys. | ||
* ┌───────┬───────┬─────────────┬───────────────────────────────────────────┐ | ||
* │ 00 01 │ 02 03 │ 04 05 06 07 │ 08 09 10 11 12 13 14 15 16 17 18 19 20 21 │ | ||
* │ badge │ badge │ (?) │ underglow (?) │ | ||
* │ bar │ icon │ │ │ | ||
* └───────┴───────┴─────────────┴───────────────────────────────────────────┘ | ||
*/ | ||
|
||
|
||
// Setup some layers to control mac/win layouts | ||
#include QMK_KEYBOARD_H | ||
|
||
enum bs_layers { | ||
_WIN, | ||
_MAC, | ||
_FN, | ||
_BLANC | ||
}; | ||
|
||
// Setup some keycodes to control cycling and range toggling | ||
enum bs_keycodes { | ||
WIN = SAFE_RANGE, | ||
MAC | ||
}; | ||
|
||
// Light LEDs 6 to 9 and 12 to 15 red when caps lock is active. Hard to ignore! | ||
const rgblight_segment_t PROGMEM my_capslock_layer[] = RGBLIGHT_LAYER_SEGMENTS( | ||
{0, 4, HSV_WHITE} // Light 4 LEDs, starting with LED 12 | ||
); | ||
|
||
// Now define the array of layers. Later layers take precedence | ||
const rgblight_segment_t* const PROGMEM my_rgb_layers[] = RGBLIGHT_LAYERS_LIST( | ||
my_capslock_layer // Overrides other layers | ||
); | ||
|
||
void keyboard_post_init_user(void) { | ||
// Enable the LED layers | ||
rgblight_layers = my_rgb_layers; | ||
}; | ||
|
||
bool led_update_user(led_t led_state) { | ||
rgblight_set_layer_state(0, led_state.caps_lock); | ||
return true; | ||
}; | ||
|
||
layer_state_t default_layer_state_set_user(layer_state_t state) { | ||
if (get_highest_layer(state) == _MAC) { | ||
rgblight_mode_noeeprom(6); | ||
} else { | ||
rgblight_mode_noeeprom(9); | ||
} | ||
return state; | ||
} | ||
|
||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
/* Win Layer | ||
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┬───┐ | ||
* │Esc│! 1│@ 2│# 3│$ 4│% 5│^ 6│& 7│* 8│( 9│) 0│_ -│+ =│ Bckspc│pup│ | ||
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤ | ||
* │Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │{ [│} ]│| \│pdw│ | ||
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤ | ||
* │lTCap │ A │ S │ D │ F │ G │ H │ J │ K │ L │: ;│" '│ Enter│ │ | ||
* ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┤ │ | ||
* │Shift │ Z │ X │ C │ V │ B │ N │ M │< ,│> .│? /│ Shift│ Up│ │ | ||
* ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┴───┴┬─┬───┼───┼───┤ | ||
* │Ctrl│ win│ alt│ Space │ Func │ │Lef│Dow│Rig│ | ||
* └────┴────┴────┴────────────────────────┴─────────┴─┴───┴───┴───┘ | ||
*/ | ||
[_WIN] = LAYOUT_65_ansi_blocker( | ||
QK_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_PGUP, | ||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGDN, | ||
LT(_FN, KC_CAPS), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, _______, | ||
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, _______, | ||
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_1, MO(_FN), KC_LEFT, KC_DOWN, KC_RGHT | ||
), | ||
/* Mac Layer | ||
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┬───┐ | ||
* │Esc│! 1│@ 2│# 3│$ 4│% 5│^ 6│& 7│* 8│( 9│) 0│_ -│+ =│ Bckspc│pup│ | ||
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤ | ||
* │Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │{ [│} ]│| \│pdw│ | ||
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤ | ||
* │lTCap │ A │ S │ D │ F │ G │ H │ J │ K │ L │: ;│" '│ Enter│ │ | ||
* ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┤ │ | ||
* │Shift │ Z │ X │ C │ V │ B │ N │ M │< ,│> .│? /│ Shift│ Up│ │ | ||
* ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┴───┴┬─┬───┼───┼───┤ | ||
* │Ctrl│ Opt│ Cmd│ Space │ Func │ │Lef│Dow│Rig│ | ||
* └────┴────┴────┴────────────────────────┴─────────┴─┴───┴───┴───┘ | ||
*/ | ||
[_MAC] = LAYOUT_65_ansi_blocker( | ||
QK_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_PGUP, | ||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGDN, | ||
LT(_FN, KC_CAPS), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, _______, | ||
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, _______, | ||
KC_LCTL, KC_LOPT, KC_LCMD, KC_SPC, KC_1, MO(_FN), KC_LEFT, KC_DOWN, KC_RGHT | ||
), | ||
/* Fn Layer | ||
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬────────┬───┐ | ||
* │lck│ F1│ F2│ F3│ F4│ F5│ F6│ F7│ F8│ F9│F10│F11│F12│ delete │mac│ | ||
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬──────┼───┤ | ||
* │ TOG │MB1│MSU│MB2│MDU│ │ │ │UP │ │Hom│pgu│End│ │win│ | ||
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴──────┼───┤ | ||
* │MO(2) │MSL│MSD│MSR│MWD│ │ │Lft│Dwn│rgt│END│pgd│ reset │ │ | ||
* ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬────┤ │ | ||
* │ RGB_mod│F13│F14│F15│F16│F17│F18│F19│F20│F21│F22│F23 │Bri+│ │ | ||
* ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬─┬───┼────┼───┤ | ||
* │Vold│Mute│Volu│ │ │ │ │ │Bri-│ │ | ||
* └────┴────┴────┴────────────────────────┴────┴────┴─┴───┴────┴───┘ | ||
*/ | ||
[_FN] = LAYOUT_65_ansi_blocker( | ||
KC_LOCK, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, MAC, | ||
RGB_TOG, KC_MS_BTN1, KC_MS_UP, KC_MS_BTN2, KC_MS_WH_UP, _______, _______, _______, KC_UP, _______, KC_HOME, KC_PGUP, _______, _______, WIN, | ||
_______, KC_MS_LEFT, KC_MS_DOWN, KC_MS_RIGHT, KC_MS_WH_DOWN, _______, _______, KC_LEFT, KC_DOWN, KC_RIGHT, KC_END, KC_PGDN, QK_BOOT, _______, | ||
RGB_MOD, KC_F13, KC_F14, KC_F15, KC_F16, KC_F17, KC_F18, KC_F19, KC_F20, KC_F21, KC_F22, KC_F23, KC_BRIU, _______, | ||
KC_VOLD, KC_MUTE, KC_VOLU, _______, _______, _______, _______, KC_BRID, _______ | ||
), | ||
|
||
}; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# YT45's Think6.5v2 keymap | ||
|
||
My personal keymap for the Think6.5v2. Using the dangjoeltang as a the base and adding a quick switch from mac to win layouts. also with indication of the current layer with RGB lights. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
LTO_ENABLE = yes | ||
VIA_ENABLE = yes | ||
MOUSEKEY_ENABLE = yes | ||
KEY_LOCK_ENABLE = yes | ||
CONSOLE_ENABLE = no |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,180 @@ | ||
{ | ||
"manufacturer": "Joe Scotto", | ||
"keyboard_name": "Scotto40", | ||
"maintainer": "joe-scotto", | ||
"bootloader": "caterina", | ||
"diode_direction": "COL2ROW", | ||
"features": { | ||
"bootmagic": true, | ||
"command": false, | ||
"console": false, | ||
"extrakey": true, | ||
"mousekey": true, | ||
"nkro": true | ||
}, | ||
"matrix_pins": { | ||
"cols": ["D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5", "F4", "F5"], | ||
"rows": ["B1", "B3", "B2", "B6"] | ||
}, | ||
"processor": "atmega32u4", | ||
"url": "", | ||
"usb": { | ||
"device_version": "1.0.0", | ||
"pid": "0x0000", | ||
"vid": "0xFEED" | ||
}, | ||
"layouts": { | ||
"LAYOUT_ortho_3x10_7": { | ||
"layout": [ | ||
// Row 1 | ||
{ "matrix": [0, 0], "x": 0, "y": 0 }, | ||
{ "matrix": [0, 1], "x": 1, "y": 0 }, | ||
{ "matrix": [0, 2], "x": 2, "y": 0 }, | ||
{ "matrix": [0, 3], "x": 3, "y": 0 }, | ||
{ "matrix": [0, 4], "x": 4, "y": 0 }, | ||
{ "matrix": [0, 5], "x": 5, "y": 0 }, | ||
{ "matrix": [0, 6], "x": 6, "y": 0 }, | ||
{ "matrix": [0, 7], "x": 7, "y": 0 }, | ||
{ "matrix": [0, 8], "x": 8, "y": 0 }, | ||
{ "matrix": [0, 9], "x": 9, "y": 0 }, | ||
|
||
// Row 2 | ||
{ "matrix": [1, 0], "x": 0, "y": 1 }, | ||
{ "matrix": [1, 1], "x": 1, "y": 1 }, | ||
{ "matrix": [1, 2], "x": 2, "y": 1 }, | ||
{ "matrix": [1, 3], "x": 3, "y": 1 }, | ||
{ "matrix": [1, 4], "x": 4, "y": 1 }, | ||
{ "matrix": [1, 5], "x": 5, "y": 1 }, | ||
{ "matrix": [1, 6], "x": 6, "y": 1 }, | ||
{ "matrix": [1, 7], "x": 7, "y": 1 }, | ||
{ "matrix": [1, 8], "x": 8, "y": 1 }, | ||
{ "matrix": [1, 9], "x": 9, "y": 1 }, | ||
|
||
// Row 3 | ||
{ "matrix": [2, 0], "x": 0, "y": 2 }, | ||
{ "matrix": [2, 1], "x": 1, "y": 2 }, | ||
{ "matrix": [2, 2], "x": 2, "y": 2 }, | ||
{ "matrix": [2, 3], "x": 3, "y": 2 }, | ||
{ "matrix": [2, 4], "x": 4, "y": 2 }, | ||
{ "matrix": [2, 5], "x": 5, "y": 2 }, | ||
{ "matrix": [2, 6], "x": 6, "y": 2 }, | ||
{ "matrix": [2, 7], "x": 7, "y": 2 }, | ||
{ "matrix": [2, 8], "x": 8, "y": 2 }, | ||
{ "matrix": [2, 9], "x": 9, "y": 2 }, | ||
|
||
// Row 4 | ||
{ "matrix": [3, 0], "x": 0, "y": 3 }, | ||
|
||
{ "matrix": [3, 2], "x": 2, "y": 3 }, | ||
{ "matrix": [3, 3], "x": 3, "y": 3 }, | ||
{ "matrix": [3, 4], "x": 4, "y": 3, "w": 2 }, | ||
{ "matrix": [3, 6], "x": 6, "y": 3 }, | ||
{ "matrix": [3, 7], "x": 7, "y": 3 }, | ||
|
||
{ "matrix": [3, 9], "x": 9, "y": 3 } | ||
] | ||
}, | ||
"LAYOUT_ortho_3x10_8": { | ||
"layout": [ | ||
// Row 1 | ||
{ "matrix": [0, 0], "x": 0, "y": 0 }, | ||
{ "matrix": [0, 1], "x": 1, "y": 0 }, | ||
{ "matrix": [0, 2], "x": 2, "y": 0 }, | ||
{ "matrix": [0, 3], "x": 3, "y": 0 }, | ||
{ "matrix": [0, 4], "x": 4, "y": 0 }, | ||
{ "matrix": [0, 5], "x": 5, "y": 0 }, | ||
{ "matrix": [0, 6], "x": 6, "y": 0 }, | ||
{ "matrix": [0, 7], "x": 7, "y": 0 }, | ||
{ "matrix": [0, 8], "x": 8, "y": 0 }, | ||
{ "matrix": [0, 9], "x": 9, "y": 0 }, | ||
|
||
// Row 2 | ||
{ "matrix": [1, 0], "x": 0, "y": 1 }, | ||
{ "matrix": [1, 1], "x": 1, "y": 1 }, | ||
{ "matrix": [1, 2], "x": 2, "y": 1 }, | ||
{ "matrix": [1, 3], "x": 3, "y": 1 }, | ||
{ "matrix": [1, 4], "x": 4, "y": 1 }, | ||
{ "matrix": [1, 5], "x": 5, "y": 1 }, | ||
{ "matrix": [1, 6], "x": 6, "y": 1 }, | ||
{ "matrix": [1, 7], "x": 7, "y": 1 }, | ||
{ "matrix": [1, 8], "x": 8, "y": 1 }, | ||
{ "matrix": [1, 9], "x": 9, "y": 1 }, | ||
|
||
// Row 3 | ||
{ "matrix": [2, 0], "x": 0, "y": 2 }, | ||
{ "matrix": [2, 1], "x": 1, "y": 2 }, | ||
{ "matrix": [2, 2], "x": 2, "y": 2 }, | ||
{ "matrix": [2, 3], "x": 3, "y": 2 }, | ||
{ "matrix": [2, 4], "x": 4, "y": 2 }, | ||
{ "matrix": [2, 5], "x": 5, "y": 2 }, | ||
{ "matrix": [2, 6], "x": 6, "y": 2 }, | ||
{ "matrix": [2, 7], "x": 7, "y": 2 }, | ||
{ "matrix": [2, 8], "x": 8, "y": 2 }, | ||
{ "matrix": [2, 9], "x": 9, "y": 2 }, | ||
|
||
// Row 4 | ||
{ "matrix": [3, 0], "x": 0, "y": 3 }, | ||
|
||
{ "matrix": [3, 2], "x": 2, "y": 3 }, | ||
{ "matrix": [3, 3], "x": 3, "y": 3 }, | ||
{ "matrix": [3, 4], "x": 4, "y": 3 }, | ||
{ "matrix": [3, 5], "x": 5, "y": 3 }, | ||
{ "matrix": [3, 6], "x": 6, "y": 3 }, | ||
{ "matrix": [3, 7], "x": 7, "y": 3 }, | ||
|
||
{ "matrix": [3, 9], "x": 9, "y": 3 } | ||
] | ||
}, | ||
"LAYOUT_ortho_4x10": { | ||
"layout": [ | ||
// Row 1 | ||
{ "matrix": [0, 0], "x": 0, "y": 0 }, | ||
{ "matrix": [0, 1], "x": 1, "y": 0 }, | ||
{ "matrix": [0, 2], "x": 2, "y": 0 }, | ||
{ "matrix": [0, 3], "x": 3, "y": 0 }, | ||
{ "matrix": [0, 4], "x": 4, "y": 0 }, | ||
{ "matrix": [0, 5], "x": 5, "y": 0 }, | ||
{ "matrix": [0, 6], "x": 6, "y": 0 }, | ||
{ "matrix": [0, 7], "x": 7, "y": 0 }, | ||
{ "matrix": [0, 8], "x": 8, "y": 0 }, | ||
{ "matrix": [0, 9], "x": 9, "y": 0 }, | ||
|
||
// Row 2 | ||
{ "matrix": [1, 0], "x": 0, "y": 1 }, | ||
{ "matrix": [1, 1], "x": 1, "y": 1 }, | ||
{ "matrix": [1, 2], "x": 2, "y": 1 }, | ||
{ "matrix": [1, 3], "x": 3, "y": 1 }, | ||
{ "matrix": [1, 4], "x": 4, "y": 1 }, | ||
{ "matrix": [1, 5], "x": 5, "y": 1 }, | ||
{ "matrix": [1, 6], "x": 6, "y": 1 }, | ||
{ "matrix": [1, 7], "x": 7, "y": 1 }, | ||
{ "matrix": [1, 8], "x": 8, "y": 1 }, | ||
{ "matrix": [1, 9], "x": 9, "y": 1 }, | ||
|
||
// Row 3 | ||
{ "matrix": [2, 0], "x": 0, "y": 2 }, | ||
{ "matrix": [2, 1], "x": 1, "y": 2 }, | ||
{ "matrix": [2, 2], "x": 2, "y": 2 }, | ||
{ "matrix": [2, 3], "x": 3, "y": 2 }, | ||
{ "matrix": [2, 4], "x": 4, "y": 2 }, | ||
{ "matrix": [2, 5], "x": 5, "y": 2 }, | ||
{ "matrix": [2, 6], "x": 6, "y": 2 }, | ||
{ "matrix": [2, 7], "x": 7, "y": 2 }, | ||
{ "matrix": [2, 8], "x": 8, "y": 2 }, | ||
{ "matrix": [2, 9], "x": 9, "y": 2 }, | ||
|
||
// Row 4 | ||
{ "matrix": [3, 0], "x": 0, "y": 3 }, | ||
{ "matrix": [3, 1], "x": 1, "y": 3 }, | ||
{ "matrix": [3, 2], "x": 2, "y": 3 }, | ||
{ "matrix": [3, 3], "x": 3, "y": 3 }, | ||
{ "matrix": [3, 4], "x": 4, "y": 3 }, | ||
{ "matrix": [3, 5], "x": 5, "y": 3 }, | ||
{ "matrix": [3, 6], "x": 6, "y": 3 }, | ||
{ "matrix": [3, 7], "x": 7, "y": 3 }, | ||
{ "matrix": [3, 8], "x": 8, "y": 3 }, | ||
{ "matrix": [3, 9], "x": 9, "y": 3 } | ||
] | ||
} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
keyboards/handwired/jscotto/scotto40/keymaps/default/config.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* | ||
Copyright 2022 Joe Scotto | ||
This program is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 2 of the License, or | ||
(at your option) any later version. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
#pragma once | ||
|
||
// Define options | ||
#define IGNORE_MOD_TAP_INTERRUPT | ||
#define TAPPING_TERM 135 | ||
#define PERMISSIVE_HOLD | ||
#define TAPPING_TERM_PER_KEY |
Oops, something went wrong.