diff options
| -rwxr-xr-x | keyboards/gskt00/config.h | 39 | ||||
| -rwxr-xr-x | keyboards/gskt00/gskt00.c | 2 | ||||
| -rwxr-xr-x | keyboards/gskt00/gskt00.h | 57 | ||||
| -rw-r--r-- | keyboards/gskt00/info.json | 16 | ||||
| -rwxr-xr-x | keyboards/gskt00/keymaps/default/keymap.c | 82 | ||||
| -rwxr-xr-x | keyboards/gskt00/keymaps/nachie/keymap.c | 82 | ||||
| -rw-r--r-- | keyboards/gskt00/readme.md | 17 | ||||
| -rwxr-xr-x | keyboards/gskt00/rules.mk | 55 | ||||
| -rw-r--r-- | layouts/default/60_ansi_tsangan/default_60_ansi_tsangan/keymap.c | 11 | ||||
| -rw-r--r-- | layouts/default/60_ansi_tsangan/layout.json | 5 | ||||
| -rw-r--r-- | layouts/default/60_ansi_tsangan/readme.md | 3 | ||||
| -rw-r--r-- | layouts/default/60_iso_tsangan/default_60_iso_tsangan/keymap.c | 11 | ||||
| -rw-r--r-- | layouts/default/60_iso_tsangan/layout.json | 5 | ||||
| -rw-r--r-- | layouts/default/60_iso_tsangan/readme.md | 3 |
14 files changed, 388 insertions, 0 deletions
diff --git a/keyboards/gskt00/config.h b/keyboards/gskt00/config.h new file mode 100755 index 000000000..f36493f28 --- /dev/null +++ b/keyboards/gskt00/config.h | |||
| @@ -0,0 +1,39 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include "config_common.h" | ||
| 4 | |||
| 5 | /* USB Device descriptor parameter */ | ||
| 6 | #define VENDOR_ID 0xFEED | ||
| 7 | #define PRODUCT_ID 0x6061 | ||
| 8 | #define DEVICE_VER 0x0001 | ||
| 9 | #define MANUFACTURER inachie | ||
| 10 | #define PRODUCT GSKT00 | ||
| 11 | #define DESCRIPTION GSKT00 Gasket 60 keyboard | ||
| 12 | |||
| 13 | /* key matrix size */ | ||
| 14 | #define MATRIX_ROWS 8 | ||
| 15 | #define MATRIX_COLS 8 | ||
| 16 | |||
| 17 | /* key matrix pins */ | ||
| 18 | #define MATRIX_ROW_PINS { F1, D1, D2, D4, D6, F7, B0, F4 } | ||
| 19 | #define MATRIX_COL_PINS { F6, D7, F5, C7, B4, C6, B6, B5 } | ||
| 20 | #define UNUSED_PINS | ||
| 21 | |||
| 22 | /* COL2ROW or ROW2COL */ | ||
| 23 | #define DIODE_DIRECTION COL2ROW | ||
| 24 | |||
| 25 | /* Set 0 if debouncing isn't needed */ | ||
| 26 | #define DEBOUNCING_DELAY 5 | ||
| 27 | |||
| 28 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 29 | #define LOCKING_SUPPORT_ENABLE | ||
| 30 | |||
| 31 | /* Locking resynchronize hack */ | ||
| 32 | #define LOCKING_RESYNC_ENABLE | ||
| 33 | |||
| 34 | /* key combination for command */ | ||
| 35 | #define IS_COMMAND() ( \ | ||
| 36 | keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \ | ||
| 37 | ) | ||
| 38 | |||
| 39 | |||
diff --git a/keyboards/gskt00/gskt00.c b/keyboards/gskt00/gskt00.c new file mode 100755 index 000000000..89a0040ff --- /dev/null +++ b/keyboards/gskt00/gskt00.c | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | #include "gskt00.h" | ||
| 2 | |||
diff --git a/keyboards/gskt00/gskt00.h b/keyboards/gskt00/gskt00.h new file mode 100755 index 000000000..90e9a1ad5 --- /dev/null +++ b/keyboards/gskt00/gskt00.h | |||
| @@ -0,0 +1,57 @@ | |||
| 1 | #ifndef GSKT00_H | ||
| 2 | #define GSKT00_H | ||
| 3 | |||
| 4 | #include "quantum.h" | ||
| 5 | |||
| 6 | #define LAYOUT_all( \ | ||
| 7 | K36, K37, K46, K47, K56, K57, K66, K67, K76, K77, K06, K07, K17, K26, K27, \ | ||
| 8 | K34, K35, K44, K45, K54, K55, K64, K65, K75, K05, K15, K16, K25, K24, \ | ||
| 9 | K32, K33, K43, K52, K53, K63, K73, K74, K03, K04, K13, K14, K23, \ | ||
| 10 | K31, K41, K42, K51, K61, K62, K71, K72, K01, K02, K11, K12, K21, K22, \ | ||
| 11 | K30, K40, K50, K60, K00, K10, K20 \ | ||
| 12 | ) { \ | ||
| 13 | { K00, K01, K02, K03, K04, K05, K06, K07 }, \ | ||
| 14 | { K10, K11, K12, K13, K14, K15, K16, K17 }, \ | ||
| 15 | { K20, K21, K22, K23, K24, K25, K26, K27 }, \ | ||
| 16 | { K30, K31, K32, K33, K34, K35, K36, K37 }, \ | ||
| 17 | { K40, K41, K42, K43, K44, K45, K46, K47 }, \ | ||
| 18 | { K50, K51, K52, K53, K54, K55, K56, K57 }, \ | ||
| 19 | { K60, K61, K62, K63, K64, K65, K66, K67 }, \ | ||
| 20 | { KC_NO, K71, K72, K73, K74, K75, K76, K77 } \ | ||
| 21 | } | ||
| 22 | |||
| 23 | #define LAYOUT_60_iso_tsangan( \ | ||
| 24 | K36, K37, K46, K47, K56, K57, K66, K67, K76, K77, K06, K07, K17, K27, \ | ||
| 25 | K34, K35, K44, K45, K54, K55, K64, K65, K75, K05, K15, K16, K25, \ | ||
| 26 | K32, K33, K43, K52, K53, K63, K73, K74, K03, K04, K13, K14, K24, K23, /* enter */ \ | ||
| 27 | K31, K41, K42, K51, K61, K62, K71, K72, K01, K02, K11, K12, K21, \ | ||
| 28 | K30, K40, K50, K60, K00, K10, K20 \ | ||
| 29 | ) { \ | ||
| 30 | { K00, K01, K02, K03, K04, K05, K06, K07 }, \ | ||
| 31 | { KC_NO, K11, K12, K13, K14, K15, K16, K17 }, \ | ||
| 32 | { K20, K21, KC_NO, K23, K24, K25, KC_NO, K27 }, \ | ||
| 33 | { K30, K31, K32, K33, K34, K35, K36, K37 }, \ | ||
| 34 | { K40, K41, K42, K43, K44, K45, K46, K47 }, \ | ||
| 35 | { K50, K51, K52, K53, K54, K55, K56, K57 }, \ | ||
| 36 | { K60, K61, K62, K63, K64, K65, K66, K67 }, \ | ||
| 37 | { KC_NO, K71, K72, K73, K74, K75, K76, K77 } \ | ||
| 38 | } | ||
| 39 | |||
| 40 | #define LAYOUT_60_ansi_tsangan( \ | ||
| 41 | K36, K37, K46, K47, K56, K57, K66, K67, K76, K77, K06, K07, K17, K27, \ | ||
| 42 | K34, K35, K44, K45, K54, K55, K64, K65, K75, K05, K15, K16, K25, K24, \ | ||
| 43 | K32, K33, K43, K52, K53, K63, K73, K74, K03, K04, K13, K14, K23, \ | ||
| 44 | K31, K42, K51, K61, K62, K71, K72, K01, K02, K11, K12, K21, \ | ||
| 45 | K30, K40, K50, K60, K00, K10, K20 \ | ||
| 46 | ) { \ | ||
| 47 | { K00, K01, K02, K03, K04, K05, K06, K07 }, \ | ||
| 48 | { K10, K11, K12, K13, K14, K15, K16, K17 }, \ | ||
| 49 | { K20, K21, KC_NO, K23, K24, K25, KC_NO, K27 }, \ | ||
| 50 | { K30, K31, K32, K33, K34, K35, K36, K37 }, \ | ||
| 51 | { K40, KC_NO, K42, K43, K44, K45, K46, K47 }, \ | ||
| 52 | { K50, K51, K52, K53, K54, K55, K56, K57 }, \ | ||
| 53 | { K60, K61, K62, K63, K64, K65, K66, K67 }, \ | ||
| 54 | { KC_NO, K71, K72, K73, K74, K75, K76, K77 } \ | ||
| 55 | } | ||
| 56 | |||
| 57 | #endif | ||
diff --git a/keyboards/gskt00/info.json b/keyboards/gskt00/info.json new file mode 100644 index 000000000..88191240b --- /dev/null +++ b/keyboards/gskt00/info.json | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "gskt00", | ||
| 3 | "url": "", | ||
| 4 | "maintainer": "nachie", | ||
| 5 | "width": 15, | ||
| 6 | "height": 5, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT_60_ansi_tsangan": { | ||
| 9 | "layout": [{"label":"~", "x":0, "y":0}, {"label":"!", "x":1, "y":0}, {"label":"@", "x":2, "y":0}, {"label":"#", "x":3, "y":0}, {"label":"$", "x":4, "y":0}, {"label":"%", "x":5, "y":0}, {"label":"^", "x":6, "y":0}, {"label":"&", "x":7, "y":0}, {"label":"*", "x":8, "y":0}, {"label":"(", "x":9, "y":0}, {"label":")", "x":10, "y":0}, {"label":"_", "x":11, "y":0}, {"label":"+", "x":12, "y":0}, {"label":"Backspace", "x":13, "y":0, "w":2}, {"label":"Tab", "x":0, "y":1, "w":1.5}, {"label":"Q", "x":1.5, "y":1}, {"label":"W", "x":2.5, "y":1}, {"label":"E", "x":3.5, "y":1}, {"label":"R", "x":4.5, "y":1}, {"label":"T", "x":5.5, "y":1}, {"label":"Y", "x":6.5, "y":1}, {"label":"U", "x":7.5, "y":1}, {"label":"I", "x":8.5, "y":1}, {"label":"O", "x":9.5, "y":1}, {"label":"P", "x":10.5, "y":1}, {"label":"{", "x":11.5, "y":1}, {"label":"}", "x":12.5, "y":1}, {"label":"|", "x":13.5, "y":1, "w":1.5}, {"label":"Caps Lock", "x":0, "y":2, "w":1.75}, {"label":"A", "x":1.75, "y":2}, {"label":"S", "x":2.75, "y":2}, {"label":"D", "x":3.75, "y":2}, {"label":"F", "x":4.75, "y":2}, {"label":"G", "x":5.75, "y":2}, {"label":"H", "x":6.75, "y":2}, {"label":"J", "x":7.75, "y":2}, {"label":"K", "x":8.75, "y":2}, {"label":"L", "x":9.75, "y":2}, {"label":":", "x":10.75, "y":2}, {"label":"\"", "x":11.75, "y":2}, {"label":"Enter", "x":12.75, "y":2, "w":2.25}, {"label":"Shift", "x":0, "y":3, "w":2.25}, {"label":"Z", "x":2.25, "y":3}, {"label":"X", "x":3.25, "y":3}, {"label":"C", "x":4.25, "y":3}, {"label":"V", "x":5.25, "y":3}, {"label":"B", "x":6.25, "y":3}, {"label":"N", "x":7.25, "y":3}, {"label":"M", "x":8.25, "y":3}, {"label":"<", "x":9.25, "y":3}, {"label":">", "x":10.25, "y":3}, {"label":"?", "x":11.25, "y":3}, {"label":"Shift", "x":12.25, "y":3, "w":2.75}, {"label":"Ctrl", "x":0, "y":4, "w":1.5}, {"label":"Win", "x":1.5, "y":4}, {"label":"Alt", "x":2.5, "y":4, "w":1.5}, {"x":4, "y":4, "w":7}, {"label":"Alt", "x":11, "y":4, "w":1.5}, {"label":"Win", "x":12.5, "y":4}, {"label":"Ctrl", "x":13.5, "y":4, "w":1.5}] | ||
| 10 | }, | ||
| 11 | |||
| 12 | "LAYOUT_60_iso_tsangan": { | ||
| 13 | "layout": [{"label":"\u00ac", "x":0, "y":0}, {"label":"!", "x":1, "y":0}, {"label":"\"", "x":2, "y":0}, {"label":"\u00a3", "x":3, "y":0}, {"label":"$", "x":4, "y":0}, {"label":"%", "x":5, "y":0}, {"label":"^", "x":6, "y":0}, {"label":"&", "x":7, "y":0}, {"label":"*", "x":8, "y":0}, {"label":"(", "x":9, "y":0}, {"label":")", "x":10, "y":0}, {"label":"_", "x":11, "y":0}, {"label":"+", "x":12, "y":0}, {"label":"Backspace", "x":13, "y":0, "w":2}, {"label":"Tab", "x":0, "y":1, "w":1.5}, {"label":"Q", "x":1.5, "y":1}, {"label":"W", "x":2.5, "y":1}, {"label":"E", "x":3.5, "y":1}, {"label":"R", "x":4.5, "y":1}, {"label":"T", "x":5.5, "y":1}, {"label":"Y", "x":6.5, "y":1}, {"label":"U", "x":7.5, "y":1}, {"label":"I", "x":8.5, "y":1}, {"label":"O", "x":9.5, "y":1}, {"label":"P", "x":10.5, "y":1}, {"label":"{", "x":11.5, "y":1}, {"label":"}", "x":12.5, "y":1}, {"label":"Caps Lock", "x":0, "y":2, "w":1.75}, {"label":"A", "x":1.75, "y":2}, {"label":"S", "x":2.75, "y":2}, {"label":"D", "x":3.75, "y":2}, {"label":"F", "x":4.75, "y":2}, {"label":"G", "x":5.75, "y":2}, {"label":"H", "x":6.75, "y":2}, {"label":"J", "x":7.75, "y":2}, {"label":"K", "x":8.75, "y":2}, {"label":"L", "x":9.75, "y":2}, {"label":":", "x":10.75, "y":2}, {"label":"@", "x":11.75, "y":2}, {"label":"~", "x":12.75, "y":2}, {"label":"Enter", "x":13.75, "y":2, "w":1.25}, {"label":"Shift", "x":0, "y":3, "w":1.25}, {"label":"|", "x":1.25, "y":3}, {"label":"Z", "x":2.25, "y":3}, {"label":"X", "x":3.25, "y":3}, {"label":"C", "x":4.25, "y":3}, {"label":"V", "x":5.25, "y":3}, {"label":"B", "x":6.25, "y":3}, {"label":"N", "x":7.25, "y":3}, {"label":"M", "x":8.25, "y":3}, {"label":"<", "x":9.25, "y":3}, {"label":">", "x":10.25, "y":3}, {"label":"?", "x":11.25, "y":3}, {"label":"Shift", "x":12.25, "y":3, "w":2.75}, {"label":"Ctrl", "x":0, "y":4, "w":1.5}, {"label":"Win", "x":1.5, "y":4}, {"label":"Alt", "x":2.5, "y":4, "w":1.5}, {"x":4, "y":4, "w":7}, {"label":"AltGr", "x":11, "y":4, "w":1.5}, {"label":"Menu", "x":12.5, "y":4}, {"label":"Ctrl", "x":13.5, "y":4, "w":1.5}] | ||
| 14 | } | ||
| 15 | } | ||
| 16 | } | ||
diff --git a/keyboards/gskt00/keymaps/default/keymap.c b/keyboards/gskt00/keymaps/default/keymap.c new file mode 100755 index 000000000..792ba2f41 --- /dev/null +++ b/keyboards/gskt00/keymaps/default/keymap.c | |||
| @@ -0,0 +1,82 @@ | |||
| 1 | #include QMK_KEYBOARD_H | ||
| 2 | |||
| 3 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 4 | |||
| 5 | /* QWERTY */ | ||
| 6 | LAYOUT_all( | ||
| 7 | KC_ESC, 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_GRV, KC_BSPC, | ||
| 8 | 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, | ||
| 9 | KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, | ||
| 10 | KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_LSFT, MO(3), | ||
| 11 | KC_LGUI, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, MO(3)), | ||
| 12 | |||
| 13 | /* DVORAK */ | ||
| 14 | LAYOUT_all( | ||
| 15 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_LBRC, KC_RBRC, KC_GRV, KC_BSLS, | ||
| 16 | KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_SLSH, KC_EQL, KC_BSPC, | ||
| 17 | MO(3), KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_MINS, KC_ENT, | ||
| 18 | KC_LSFT, KC_NUBS, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_LSFT, MO(3), | ||
| 19 | KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_RGUI, KC_RALT, KC_RCTL), | ||
| 20 | |||
| 21 | /* COLEMAK */ | ||
| 22 | LAYOUT_all( | ||
| 23 | KC_ESC, 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_GRV, KC_BSLS, | ||
| 24 | KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_LBRC, KC_RBRC, KC_BSPC, | ||
| 25 | MO(3), KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, KC_ENT, | ||
| 26 | KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_LSFT, MO(3), | ||
| 27 | KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_RGUI, KC_RALT, KC_RCTL), | ||
| 28 | |||
| 29 | /* FUNCTION */ | ||
| 30 | LAYOUT_all( | ||
| 31 | KC_GRV, 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_INS, KC_DEL, | ||
| 32 | KC_CAPS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_SLCK, KC_PAUS, KC_UP, KC_PAUS, KC_DEL, | ||
| 33 | KC_TRNS, KC_VOLD, KC_VOLU, KC_MUTE, KC_EJCT, KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, KC_PGUP, KC_LEFT, KC_RGHT, KC_TRNS, | ||
| 34 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_END, KC_PGDN, KC_DOWN, KC_TRNS, KC_TRNS, | ||
| 35 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RGB_MOD, KC_TRNS, RGB_TOG) | ||
| 36 | |||
| 37 | }; | ||
| 38 | |||
| 39 | void matrix_init_user(void) { | ||
| 40 | } | ||
| 41 | |||
| 42 | void matrix_scan_user(void) { | ||
| 43 | } | ||
| 44 | |||
| 45 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | ||
| 46 | return true; | ||
| 47 | } | ||
| 48 | |||
| 49 | void led_set_user(uint8_t usb_led) { | ||
| 50 | |||
| 51 | if (usb_led & (1 << USB_LED_NUM_LOCK)) { | ||
| 52 | |||
| 53 | } else { | ||
| 54 | |||
| 55 | } | ||
| 56 | |||
| 57 | if (usb_led & (1 << USB_LED_CAPS_LOCK)) { | ||
| 58 | |||
| 59 | } else { | ||
| 60 | |||
| 61 | } | ||
| 62 | |||
| 63 | if (usb_led & (1 << USB_LED_SCROLL_LOCK)) { | ||
| 64 | |||
| 65 | } else { | ||
| 66 | |||
| 67 | } | ||
| 68 | |||
| 69 | if (usb_led & (1 << USB_LED_COMPOSE)) { | ||
| 70 | |||
| 71 | } else { | ||
| 72 | |||
| 73 | } | ||
| 74 | |||
| 75 | if (usb_led & (1 << USB_LED_KANA)) { | ||
| 76 | |||
| 77 | } else { | ||
| 78 | |||
| 79 | } | ||
| 80 | |||
| 81 | } | ||
| 82 | |||
diff --git a/keyboards/gskt00/keymaps/nachie/keymap.c b/keyboards/gskt00/keymaps/nachie/keymap.c new file mode 100755 index 000000000..8606d2484 --- /dev/null +++ b/keyboards/gskt00/keymaps/nachie/keymap.c | |||
| @@ -0,0 +1,82 @@ | |||
| 1 | #include QMK_KEYBOARD_H | ||
| 2 | |||
| 3 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 4 | |||
| 5 | /* QWERTY */ | ||
| 6 | LAYOUT_all( | ||
| 7 | KC_ESC, 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_GRV, KC_BSLS, | ||
| 8 | 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_BSPC, | ||
| 9 | MO(3), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, | ||
| 10 | KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_LSFT, MO(3), | ||
| 11 | KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_RGUI, KC_RALT, KC_LCTL), | ||
| 12 | |||
| 13 | /* DVORAK */ | ||
| 14 | LAYOUT_all( | ||
| 15 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_LBRC, KC_RBRC, KC_GRV, KC_BSLS, | ||
| 16 | KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_SLSH, KC_EQL, KC_BSPC, | ||
| 17 | MO(3), KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_MINS, KC_ENT, | ||
| 18 | KC_LSFT, KC_NUBS, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_LSFT, MO(3), | ||
| 19 | KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_RGUI, KC_RALT, KC_RCTL), | ||
| 20 | |||
| 21 | /* COLEMAK */ | ||
| 22 | LAYOUT_all( | ||
| 23 | KC_ESC, 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_GRV, KC_BSLS, | ||
| 24 | KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_LBRC, KC_RBRC, KC_BSPC, | ||
| 25 | MO(3), KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, KC_ENT, | ||
| 26 | KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_LSFT, MO(3), | ||
| 27 | KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_RGUI, KC_RALT, KC_RCTL), | ||
| 28 | |||
| 29 | /* FUNCTION */ | ||
| 30 | LAYOUT_all( | ||
| 31 | KC_GRV, 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_TRNS, KC_TRNS, | ||
| 32 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RESET, KC_TRNS, KC_TRNS, KC_PGUP, KC_UP, KC_PGDN, KC_PSCR, KC_SLCK, KC_PAUS, KC_BSPC, | ||
| 33 | KC_TRNS, KC_TRNS, KC_MPRV, KC_MPLY, KC_MNXT, KC_TRNS, KC_HOME, KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 34 | KC_CAPS, KC_TRNS, KC_TRNS, KC_MUTE, KC_VOLD, KC_VOLU, KC_TRNS, KC_END, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 35 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RGB_MOD, KC_TRNS, RGB_TOG) | ||
| 36 | |||
| 37 | }; | ||
| 38 | |||
| 39 | void matrix_init_user(void) { | ||
| 40 | } | ||
| 41 | |||
| 42 | void matrix_scan_user(void) { | ||
| 43 | } | ||
| 44 | |||
| 45 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | ||
| 46 | return true; | ||
| 47 | } | ||
| 48 | |||
| 49 | void led_set_user(uint8_t usb_led) { | ||
| 50 | |||
| 51 | if (usb_led & (1 << USB_LED_NUM_LOCK)) { | ||
| 52 | |||
| 53 | } else { | ||
| 54 | |||
| 55 | } | ||
| 56 | |||
| 57 | if (usb_led & (1 << USB_LED_CAPS_LOCK)) { | ||
| 58 | |||
| 59 | } else { | ||
| 60 | |||
| 61 | } | ||
| 62 | |||
| 63 | if (usb_led & (1 << USB_LED_SCROLL_LOCK)) { | ||
| 64 | |||
| 65 | } else { | ||
| 66 | |||
| 67 | } | ||
| 68 | |||
| 69 | if (usb_led & (1 << USB_LED_COMPOSE)) { | ||
| 70 | |||
| 71 | } else { | ||
| 72 | |||
| 73 | } | ||
| 74 | |||
| 75 | if (usb_led & (1 << USB_LED_KANA)) { | ||
| 76 | |||
| 77 | } else { | ||
| 78 | |||
| 79 | } | ||
| 80 | |||
| 81 | } | ||
| 82 | |||
diff --git a/keyboards/gskt00/readme.md b/keyboards/gskt00/readme.md new file mode 100644 index 000000000..ad03ac819 --- /dev/null +++ b/keyboards/gskt00/readme.md | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | # GSKT-00 PCB | ||
| 2 | |||
| 3 | Firmware for the GSKT-00 PCB | ||
| 4 | |||
| 5 | Keyboard Maintainer: [/u/iNachie](https://github.com/nachie) | ||
| 6 | Hardware Supported: GSKT-00 PCB | ||
| 7 | Hardware Availability: [/u/iNachie](https://www.reddit.com/user/inachie/) | ||
| 8 | |||
| 9 | Make example for this keyboard (after setting up your build environment): | ||
| 10 | |||
| 11 | make gskt00:default | ||
| 12 | |||
| 13 | Or to make and flash: | ||
| 14 | |||
| 15 | make gskt00:default:dfu | ||
| 16 | |||
| 17 | See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). | ||
diff --git a/keyboards/gskt00/rules.mk b/keyboards/gskt00/rules.mk new file mode 100755 index 000000000..338384e3e --- /dev/null +++ b/keyboards/gskt00/rules.mk | |||
| @@ -0,0 +1,55 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # Processor frequency. | ||
| 5 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 6 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 7 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 8 | # automatically to create a 32-bit value in your source code. | ||
| 9 | # | ||
| 10 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 11 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 12 | # does not *change* the processor frequency - it should merely be updated to | ||
| 13 | # reflect the processor speed set externally so that the code can use accurate | ||
| 14 | # software delays. | ||
| 15 | F_CPU = 16000000 | ||
| 16 | |||
| 17 | # | ||
| 18 | # LUFA specific | ||
| 19 | # | ||
| 20 | # Target architecture (see library "Board Types" documentation). | ||
| 21 | ARCH = AVR8 | ||
| 22 | |||
| 23 | # Input clock frequency. | ||
| 24 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 25 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 26 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 27 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 28 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 29 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 30 | # source code. | ||
| 31 | # | ||
| 32 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 33 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 34 | F_USB = $(F_CPU) | ||
| 35 | |||
| 36 | # Interrupt driven control endpoint task(+60) | ||
| 37 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 38 | |||
| 39 | BOOTLOADER = atmel-dfu | ||
| 40 | |||
| 41 | # Build Options | ||
| 42 | # comment out to disable the options. | ||
| 43 | # | ||
| 44 | BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000) | ||
| 45 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700) | ||
| 46 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
| 47 | CONSOLE_ENABLE = yes # Console for debug(+400) | ||
| 48 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 49 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 50 | NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 51 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 52 | AUDIO_ENABLE = no | ||
| 53 | RGBLIGHT_ENABLE = no | ||
| 54 | |||
| 55 | LAYOUTS = 60_ansi_tsangan 60_iso_tsangan | ||
diff --git a/layouts/default/60_ansi_tsangan/default_60_ansi_tsangan/keymap.c b/layouts/default/60_ansi_tsangan/default_60_ansi_tsangan/keymap.c new file mode 100644 index 000000000..8f7f5f8c6 --- /dev/null +++ b/layouts/default/60_ansi_tsangan/default_60_ansi_tsangan/keymap.c | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | #include QMK_KEYBOARD_H | ||
| 2 | |||
| 3 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 4 | [0] = LAYOUT_60_ansi( | ||
| 5 | KC_GRV, 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 , | ||
| 6 | 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 , | ||
| 7 | 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 , | ||
| 8 | KC_LSFT , KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM,KC_DOT, KC_SLSH, KC_RSFT , | ||
| 9 | KC_LCTL , KC_LGUI , KC_LALT , KC_SPC , KC_RALT , KC_RGUI , KC_RCTL | ||
| 10 | ) | ||
| 11 | }; | ||
diff --git a/layouts/default/60_ansi_tsangan/layout.json b/layouts/default/60_ansi_tsangan/layout.json new file mode 100644 index 000000000..f6a65beb3 --- /dev/null +++ b/layouts/default/60_ansi_tsangan/layout.json | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | [{a:7},"","","","","","","","","","","","","",{w:2},""], | ||
| 2 | [{w:1.5},"","","","","","","","","","","","","",{w:1.5},""], | ||
| 3 | [{w:1.75},"","","","","","","","","","","","",{w:2.25},""], | ||
| 4 | [{w:2.25},"","","","","","","","","","","",{w:2.75},""], | ||
| 5 | [{w:1.5},"",{w:1},"",{w:1.5},"",{w:7},"",{w:1.5},"",{w:1},"",{w:1.5},""] | ||
diff --git a/layouts/default/60_ansi_tsangan/readme.md b/layouts/default/60_ansi_tsangan/readme.md new file mode 100644 index 000000000..76b451403 --- /dev/null +++ b/layouts/default/60_ansi_tsangan/readme.md | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | # 60_ansi_tsangan | ||
| 2 | |||
| 3 | LAYOUT_60_ansi_tsangan | ||
diff --git a/layouts/default/60_iso_tsangan/default_60_iso_tsangan/keymap.c b/layouts/default/60_iso_tsangan/default_60_iso_tsangan/keymap.c new file mode 100644 index 000000000..204a12d33 --- /dev/null +++ b/layouts/default/60_iso_tsangan/default_60_iso_tsangan/keymap.c | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | #include QMK_KEYBOARD_H | ||
| 2 | |||
| 3 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 4 | [0] = LAYOUT_60_iso( | ||
| 5 | KC_ESC, 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, | ||
| 6 | 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, | ||
| 7 | KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, | ||
| 8 | KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, | ||
| 9 | KC_LCTRL, KC_LALT, KC_LGUI, KC_SPACE, KC_RGUI, KC_RALT, KC_RCTL | ||
| 10 | ) | ||
| 11 | }; | ||
diff --git a/layouts/default/60_iso_tsangan/layout.json b/layouts/default/60_iso_tsangan/layout.json new file mode 100644 index 000000000..e23185935 --- /dev/null +++ b/layouts/default/60_iso_tsangan/layout.json | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | [{a:7},"","","","","","","","","","","","","",{w:2},""], | ||
| 2 | [{w:1.5},"","","","","","","","","","","","","",{x:0.25,w:1.25,h:2,w2:1.5,h2:1,x2:-0.25},""], | ||
| 3 | [{w:1.75},"","","","","","","","","","","","",""], | ||
| 4 | [{w:1.25},"","","","","","","","","","","","",{w:2.75},""], | ||
| 5 | [{w:1.5},"",{w:1},"",{w:1.5},"",{w:7},"",{w:1.5},"",{w:1},"",{w:1.5},""] | ||
diff --git a/layouts/default/60_iso_tsangan/readme.md b/layouts/default/60_iso_tsangan/readme.md new file mode 100644 index 000000000..edb7f9242 --- /dev/null +++ b/layouts/default/60_iso_tsangan/readme.md | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | # 60_iso_tsangan | ||
| 2 | |||
| 3 | LAYOUT_60_iso_tsangan | ||
