Add support for cypher rev6 (#61)

* add cypher rev6 support

* update manufacturer
This commit is contained in:
Cable Car Designs 2021-09-30 02:14:10 +01:00 committed by GitHub
parent 36d188abfd
commit e23e64cea3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
17 changed files with 804 additions and 0 deletions

View File

@ -0,0 +1,51 @@
#pragma once
#include "config_common.h"
/* USB Device descriptor parameter */
#define VENDOR_ID 0x21FF
#define PRODUCT_ID 0xAA99
#define DEVICE_VER 0x0002
#define MANUFACTURER cablecardesigns
#define PRODUCT cypher
#define DESCRIPTION QMK Firmware for rev6 Cypher PCB
/* key matrix size */
#define MATRIX_ROWS 10
#define MATRIX_COLS 10
#define MATRIX_ROW_PINS { B0, F1, F5, F6, F7, D1, F4, D4, C6, C7 }
#define MATRIX_COL_PINS { D6, D7, B4, B5, B6, B7, B3, B2, B1, F0 }
#define UNUSED_PINS
/* COL2ROW, ROW2COL, or CUSTOM_MATRIX */
#define DIODE_DIRECTION COL2ROW
#define BACKLIGHT_BREATHING
#define BACKLIGHT_LEVELS 5
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
#define DEBOUNCE 5
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
/* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
* This is userful for the Windows task manager shortcut (ctrl+shift+esc).
*/
#define GRAVE_ESC_CTRL_OVERRIDE
#define BACKLIGHT_PIN D0
#define RGB_DI_PIN E6
#ifdef RGB_DI_PIN
#define RGBLED_NUM 10
#define RGBLIGHT_HUE_STEP 12
#define RGBLIGHT_SAT_STEP 25
#define RGBLIGHT_VAL_STEP 12
#define RGBLIGHT_LIMIT_VAL 255
#define RGBLIGHT_SLEEP
#define RGBLIGHT_ANIMATIONS
#endif

View File

@ -0,0 +1,110 @@
{
"keyboard_name": "Cypher Rev6",
"width": 19.5,
"height": 5,
"layouts": {
"LAYOUT_all": {
"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},
{"label":"~","x":14,"y":0},
{"label":"Num Lock","x":15.5,"y":0},
{"label":"/","x":16.5,"y":0},
{"label":"*","x":17.5,"y":0},
{"label":"-","x":18.5,"y":0},
{"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":"7","x":15.5,"y":1},
{"label":"8","x":16.5,"y":1},
{"label":"9","x":17.5,"y":1},
{"label":"+","x":18.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":"NUHS","x":12.75,"y":2},
{"label":"Enter","x":13.75,"y":2,"w":1.25},
{"label":"4","x":15.5,"y":2},
{"label":"5","x":16.5,"y":2},
{"label":"6","x":17.5,"y":2},
{"label":"=","x":18.5,"y":2},
{"label":"Shift","x":0,"y":3,"w":1.25},
{"label":"Shift","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":1.75},
{"label":"Up","x":14.25,"y":3.25},
{"label":"1","x":15.5,"y":3},
{"label":"2","x":16.5,"y":3},
{"label":"3","x":17.5,"y":3},
{"label":"Enter","x":18.5,"y":3},
{"label":"Ctrl","x":0,"y":4,"w":1.25},
{"label":"Win","x":1.25,"y":4},
{"label":"Alt","x":2.25,"y":4,"w":1.25},
{"label":"Space","x":3.5,"y":4,"w":1.5},
{"label":"Space","x":5,"y":4,"w":3},
{"label":"Space","x":8,"y":4,"w":1.5},
{"label":"Alt","x":9.5,"y":4,"w":1.25},
{"label":"Win","x":10.75,"y":4},
{"label":"Ctrl","x":11.75,"y":4,"w":1.25},
{"label":"Left","x":13.25,"y":4.25},
{"label":"Down","x":14.25,"y":4.25},
{"label":"Right","x":15.25,"y":4.25},
{"label":"0","x":16.5,"y":4},
{"label":".","x":17.5,"y":4},
{"label":"Backspace","x":18.5,"y":4}
]
}
}
}

View File

@ -0,0 +1 @@
#pragma once

View File

@ -0,0 +1,22 @@
#include QMK_KEYBOARD_H
#define _MA 0
#define _F1 1
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_MA] = LAYOUT_all( /* Base */
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, KC_NO, KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS,
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_P7, KC_P8, KC_P9, KC_PPLS,
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_NO, KC_ENT, KC_P4, KC_P5, KC_P6, KC_PEQL,
KC_LSFT,KC_NO ,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_P1, KC_P2, KC_P3, KC_PENT,
KC_LCTL, KC_LGUI,KC_LALT, KC_SPC,KC_SPC,KC_SPC, KC_RALT,KC_RALT,MO(_F1), KC_LEFT,KC_DOWN,KC_RGHT, KC_P0, KC_PDOT, KC_BSPC),
[_F1] = LAYOUT_all( /* Function Layer */
RESET, 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 , _______, _______, _______, _______, _______,
_______, BL_TOGG,BL_STEP,BL_ON,BL_OFF,BL_INC,BL_DEC,BL_BRTG,_______,_______,_______,_______, _______, _______, _______, _______, _______, _______,
_______, _______,_______,_______,_______,_______,_______,_______,_______,_______,_______, _______,_______, _______, _______, _______, _______, _______,
_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, _______, _______, _______, _______, _______, _______, _______,
_______, _______,_______, _______,_______,_______, _______,_______,_______, _______,_______,_______, _______, _______, _______),
};

View File

@ -0,0 +1 @@
# The default keymap for cypher

View File

@ -0,0 +1,22 @@
#include QMK_KEYBOARD_H
#define _MA 0
#define _F1 1
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_MA] = LAYOUT_all( /* Base */
KC_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_DEL, KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS,
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_NO, KC_P7, KC_P8, KC_P9, KC_PPLS,
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_NUHS, KC_ENT, KC_P4, KC_P5, KC_P6, KC_PEQL,
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, KC_UP, KC_P1, KC_P2, KC_P3, KC_PENT,
KC_LCTRL, KC_LGUI,KC_LALT, KC_NO,KC_SPC,KC_NO, KC_RALT,KC_RGUI,MO(_F1), KC_LEFT,KC_DOWN,KC_RGHT, KC_P0, KC_PDOT, KC_BSPC),
[_F1] = LAYOUT_all( /* Function Layer */
RESET, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, _______, _______, _______, _______,
_______, BL_TOGG,BL_STEP,BL_ON,BL_OFF,BL_INC,BL_DEC,BL_BRTG,_______,_______,_______,_______, _______,_______, _______, _______, _______, _______,
_______, _______,_______,_______,_______,_______,_______,_______,_______,_______,_______, _______,_______,_______, _______, _______, _______, _______,
_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, _______, _______, _______, _______, _______, _______, _______,
_______, _______,_______, _______,_______,_______, _______,_______,_______, _______,_______,_______, _______, _______, _______),
};

View File

@ -0,0 +1 @@
# The default iso keymap for cypher

View File

@ -0,0 +1,35 @@
/* VIA Layout > http://www.keyboard-layout-editor.com/#/gists/0e8d4957e77f3179aa09bd6e195f7afa */
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_all(
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, KC_DEL, KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS,
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_P7, KC_P8, KC_P9, KC_PPLS,
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_NUHS, KC_ENT, KC_P4, KC_P5, KC_P6, KC_PEQL,
KC_LSFT, KC_BSLS, 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_P1, KC_P2, KC_P3, KC_PENT,
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_RALT, MO(1), KC_LEFT,KC_DOWN,KC_RGHT, KC_P0, KC_PDOT, KC_BSPC),
[1] = LAYOUT_all(
RESET, 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, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, BL_TOGG, BL_STEP, BL_ON, BL_OFF, BL_INC, BL_DEC, BL_BRTG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,KC_TRNS,KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
[2] = LAYOUT_all(
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,KC_TRNS,KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
[3] = LAYOUT_all(
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,KC_TRNS,KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
};

View File

@ -0,0 +1,2 @@
VIA_ENABLE = yes
LTO_ENABLE = yes

View File

@ -0,0 +1,12 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
#pragma once
#define VIAL_KEYBOARD_UID {0xEC, 0x4D, 0xF7, 0xEA, 0x89, 0xFD, 0x64, 0x3E}
#define VIAL_UNLOCK_COMBO_ROWS { 1, 3 }
#define VIAL_UNLOCK_COMBO_COLS { 6, 4 }
// features below are intended to reduce size of final firmware
#define DYNAMIC_KEYMAP_LAYER_COUNT 2
#define VIAL_COMBO_ENTRIES 4

View File

@ -0,0 +1,35 @@
/* VIA Layout > http://www.keyboard-layout-editor.com/#/gists/0e8d4957e77f3179aa09bd6e195f7afa */
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_all(
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, KC_DEL, KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS,
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_P7, KC_P8, KC_P9, KC_PPLS,
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_NUHS, KC_ENT, KC_P4, KC_P5, KC_P6, KC_PEQL,
KC_LSFT, KC_BSLS, 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_P1, KC_P2, KC_P3, KC_PENT,
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_RALT, MO(1), KC_LEFT,KC_DOWN,KC_RGHT, KC_P0, KC_PDOT, KC_BSPC),
[1] = LAYOUT_all(
RESET, 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, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, BL_TOGG, BL_STEP, BL_ON, BL_OFF, BL_INC, BL_DEC, BL_BRTG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,KC_TRNS,KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
[2] = LAYOUT_all(
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,KC_TRNS,KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
[3] = LAYOUT_all(
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,KC_TRNS,KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
};

View File

@ -0,0 +1,6 @@
VIA_ENABLE = yes
VIAL_ENABLE = yes
LTO_ENABLE = yes
# to reduce firmware size
QMK_SETTINGS = no
TAP_DANCE_ENABLE = no

View File

@ -0,0 +1,362 @@
{
"name": "Cypher",
"vendorId": "0x21FF",
"productId": "0xAA99",
"lighting": "qmk_backlight_rgblight",
"matrix": {
"rows": 10,
"cols": 10
},
"layouts": {
"labels": [
"Split Backspace",
["Enter Key", "ANSI", "ISO"],
"Split Left Shift",
"Split Numpad Plus",
"Split Numpad Enter",
["Bottom Row", "6.25U", "6U", "7U", "Split Space"]
],
"keymap": [
[
{
"x": 15.5
},
"5,3\n\n\n0,1",
"5,4\n\n\n0,1"
],
[
{
"y": 0.25,
"x": 2.5,
"c": "#777777"
},
"0,0",
{
"c": "#cccccc"
},
"0,1",
"0,2",
"0,3",
"0,4",
"0,5",
"0,6",
"0,7",
"0,8",
"0,9",
"5,0",
"5,1",
"5,2",
{
"c": "#aaaaaa",
"w": 2
},
"5,3\n\n\n0,0",
{
"x": 0.5,
"c": "#cccccc"
},
"5,5",
"5,6",
"5,7",
"5,8"
],
[
{
"x": 2.5,
"c": "#aaaaaa",
"w": 1.5
},
"1,0",
{
"c": "#cccccc"
},
"1,1",
"1,2",
"1,3",
"1,4",
"1,5",
"1,6",
"1,7",
"1,8",
"1,9",
"6,0",
"6,1",
"6,2",
{
"w": 1.5
},
"6,3\n\n\n1,0",
{
"x": 0.5
},
"6,5",
"6,6",
"6,7",
{
"h": 2
},
"6,8\n\n\n3,0",
{
"x": 0.25
},
"6,8\n\n\n3,1"
],
[
{
"x": 2.5,
"c": "#aaaaaa",
"w": 1.75
},
"2,0",
{
"c": "#cccccc"
},
"2,1",
"2,2",
"2,3",
"2,4",
"2,5",
"2,6",
"2,7",
"2,8",
"2,9",
"7,0",
"7,1",
{
"c": "#777777",
"w": 2.25
},
"7,3\n\n\n1,0",
{
"x": 0.5,
"c": "#cccccc"
},
"7,5",
"7,6",
"7,7",
{
"x": 1.25
},
"7,8\n\n\n3,1"
],
[
{
"c": "#aaaaaa",
"w": 1.25
},
"3,0\n\n\n2,1",
{
"c": "#cccccc"
},
"3,1\n\n\n2,1",
{
"x": 0.25,
"c": "#aaaaaa",
"w": 2.25
},
"3,0\n\n\n2,0",
{
"c": "#cccccc"
},
"3,2",
"3,3",
"3,4",
"3,5",
"3,6",
"3,7",
"3,8",
"3,9",
"8,0",
"8,1",
{
"c": "#aaaaaa",
"w": 1.75
},
"8,2",
{
"x": 1.5,
"c": "#cccccc"
},
"8,5",
"8,6",
"8,7",
{
"c": "#777777",
"h": 2
},
"8,8\n\n\n4,0",
{
"x": 0.25,
"c": "#cccccc"
},
"8,8\n\n\n4,1"
],
[
{
"y": -0.75,
"x": 16.75
},
"8,3"
],
[
{
"y": -0.25,
"x": 2.5,
"c": "#aaaaaa",
"w": 1.25
},
"4,0\n\n\n5,0",
{
"w": 1.25
},
"4,1\n\n\n5,0",
{
"w": 1.25
},
"4,2\n\n\n5,0",
{
"w": 6.25
},
"4,6\n\n\n5,0",
{
"w": 1.5
},
"9,0\n\n\n5,0",
{
"w": 1.5
},
"9,1\n\n\n5,0",
{
"x": 3.5,
"c": "#cccccc"
},
"9,6",
"9,7",
{
"x": 1.25
},
"9,8\n\n\n4,1"
],
[
{
"y": -0.75,
"x": 15.75
},
"9,2",
"9,3",
"9,5"
],
[
{
"x": 2.5,
"c": "#aaaaaa",
"w": 1.25
},
"4,0\n\n\n5,1",
"4,1\n\n\n5,1",
{
"w": 1.25
},
"4,2\n\n\n5,1",
{
"c": "#cccccc",
"w": 6
},
"4,6\n\n\n5,1",
{
"c": "#aaaaaa",
"w": 1.25
},
"4,9\n\n\n5,1",
"9,0\n\n\n5,1",
{
"w": 1.25
},
"9,1\n\n\n5,1"
],
[
{
"y": -0.75,
"x": 16.75,
"c": "#777777",
"w": 1.25,
"h": 2,
"w2": 1.5,
"h2": 1,
"x2": -0.25
},
"7,3\n\n\n1,1"
],
[
{
"y": -0.25,
"x": 2.5,
"c": "#aaaaaa",
"w": 1.5
},
"4,0\n\n\n5,2",
{
"w": 1.5
},
"4,2\n\n\n5,2",
{
"w": 7
},
"4,6\n\n\n5,2",
{
"w": 1.5
},
"9,0\n\n\n5,2",
{
"w": 1.5
},
"9,1\n\n\n5,2"
],
[
{
"y": -0.75,
"x": 15.75,
"c": "#cccccc"
},
"7,2\n\n\n1,1"
],
[
{
"y": -0.25,
"x": 2.5,
"c": "#aaaaaa",
"w": 1.25
},
"4,0\n\n\n5,3",
{
"w": 1.25
},
"4,1\n\n\n5,3",
{
"w": 1.25
},
"4,2\n\n\n5,3",
{
"w": 2.75
},
"4,4\n\n\n5,3",
{
"w": 1.25
},
"4,6\n\n\n5,3",
{
"w": 2.25
},
"4,7\n\n\n5,3",
{
"w": 1.5
},
"9,0\n\n\n5,3",
{
"w": 1.5
},
"9,1\n\n\n5,3"
]
]
}
}

View File

@ -0,0 +1,25 @@
# cypher rev6
PCB for the cypher keyboard, this is rev6 of this PCB
* Keyboard Maintainer: [westfoxtrot](https://github.com/westfoxtrot)
* Hardware Supported: Cypher PCB revisions 6 (Rev # is printed on PCB)
* Hardware Availability: with keyboard release + [Files released here](https://github.com/westfoxtrot/Cypher_PCB)
Make example for this keyboard (after setting up your build environment):
make cablecardesigns/cypher/rev6:default
Flashing example for this keyboard:
make cablecardesigns/cypher/rev6:default:flash
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).
## Bootloader
Enter the bootloader in 3 ways:
* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard
* **Physical reset button**: There are 2 holes underneath the spacebar position that if shorted will enter bootloader
* **Keycode in layout**: Press the key mapped to `RESET` if it is available

View File

@ -0,0 +1,73 @@
#include "rev6.h"
// Indicator color definitions
#ifndef HSV_CAPS
#define HSV_CAPS 96, 255, 120 // Define caps lock color (H, S, V)
#endif
#ifndef HSV_NLCK
#define HSV_NLCK 160, 255, 120 // Define num lock color (H, S, V)
#endif
#ifndef HSV_LYR
#define HSV_LYR 0, 255, 120 // Define layer color (H, S, V)
#endif
#ifndef HSV_BLACK
#define HSV_BLACK 0, 0, 0 // Define 'black' color, more like 'LED off' (H, S, V)
#endif
void eeconfig_init_kb(void) { // EEPROM is getting reset!
rgblight_enable(); // Enable RGB by default
rgblight_sethsv(0, 255, 128); // Set default HSV - red hue, full saturation, medium brightness
rgblight_mode(RGBLIGHT_MODE_RAINBOW_SWIRL + 2); // set to RGB_RAINBOW_SWIRL by default
eeconfig_update_kb(0);
eeconfig_init_user();
}
#ifdef RGBLIGHT_ENABLE
__attribute__ ((weak))
void led_set_user(uint8_t usb_led) {
if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) {
sethsv_raw(HSV_CAPS, (LED_TYPE *)&led[1]);
} else {
sethsv(HSV_BLACK, (LED_TYPE *)&led[1]);
}
if (IS_LED_ON(usb_led, USB_LED_NUM_LOCK)) {
sethsv_raw(HSV_NLCK, (LED_TYPE *)&led[2]);
} else {
sethsv(HSV_BLACK, (LED_TYPE *)&led[2]);
}
rgblight_set();
}
__attribute__ ((weak))
void keyboard_post_init_user(void) {
rgblight_set_effect_range(3, RGBLED_NUM-3);
led_set_user(1 <<(USB_LED_CAPS_LOCK)|1 <<(USB_LED_NUM_LOCK));
wait_ms(300);
led_set_user(0);
}
__attribute__ ((weak))
void cypher_sethsv_range(uint8_t hue, uint8_t sat, uint8_t val, uint8_t start, uint8_t end) {
LED_TYPE tmp_led;
sethsv_raw(hue, sat, val, &tmp_led);
for (uint8_t i = start; i < end; i++) {
led[i] = tmp_led;
}
rgblight_set();
}
__attribute__((weak)) layer_state_t layer_state_set_user(layer_state_t state) {
if (state & (1UL << 1)) {
sethsv_raw(HSV_LYR, (LED_TYPE *)&led[0]);
} else {
sethsv(HSV_BLACK, (LED_TYPE *)&led[0]);
}
return state;
}
#endif

View File

@ -0,0 +1,25 @@
#pragma once
#define ___ KC_NO
#include "quantum.h"
#define LAYOUT_all( \
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K50, K51, K52, K53, K54, K55, K56, K57, K58,\
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K60, K61, K62, K63, K65, K66, K67, K68, \
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K70, K71, K72, K73, K75, K76, K77, K78, \
K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K80, K81, K82, K83, K85, K86, K87, K88, \
K40, K41, K42, K44, K46, K47, K49, K90, K91, K92, K93, K95, K96, K97, K98 \
) \
{ \
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09 }, \
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19 }, \
{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29 }, \
{ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39 }, \
{ K40, K41, K42, ___, K44, ___, K46, K47, ___, K49 }, \
{ K50, K51, K52, K53, K54, K55, K56, K57, K58 }, \
{ K60, K61, K62, K63, ___, K65, K66, K67, K68 }, \
{ K70, K71, K72, K73, ___, K75, K76, K77, K78 }, \
{ K80, K81, K82, K83, ___, K85, K86, K87, K88 }, \
{ K90, K91, K92, K93, ___, K95, K96, K97, K98 } \
}

View File

@ -0,0 +1,21 @@
# MCU name
MCU = atmega32u4
# Bootloader selection
BOOTLOADER = atmel-dfu
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
NKRO_ENABLE = yes # USB Nkey Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output