Skip to content

Commit

Permalink
Trashcatt dev (#19)
Browse files Browse the repository at this point in the history
* Create rules.mk

* Create vial.json

* added Frosty_Flake

* added Frosty_Flake

* added unlock combo

* added unlock combo
  • Loading branch information
trashcatt committed Jun 16, 2021
1 parent 09a5b3c commit 7f5e25d
Show file tree
Hide file tree
Showing 4 changed files with 222 additions and 0 deletions.
5 changes: 5 additions & 0 deletions keyboards/bpiphany/frosty_flake/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ 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/>.
*/
#define VIAL_KEYBOARD_UID {0x13, 0xBB, 0x91, 0xC2, 0x05, 0x96, 0xF0, 0x30}

#ifndef CONFIG_H
#define CONFIG_H
Expand Down Expand Up @@ -137,5 +138,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//#define NO_ACTION_ONESHOT
//#define NO_ACTION_MACRO
//#define NO_ACTION_FUNCTION
#define DYNAMIC_KEYMAP_LAYER_COUNT 3

// Unlock Combo
#define VIAL_UNLOCK_COMBO_ROWS { 9, 1 }
#define VIAL_UNLOCK_COMBO_COLS { 6, 1 }
#endif
29 changes: 29 additions & 0 deletions keyboards/bpiphany/frosty_flake/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_tkl(\
KC_ESC, 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_PSCR, KC_SLCK, KC_PAUS, \
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, KC_INS, KC_HOME, 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_DEL, KC_END, KC_PGDN, \
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_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_LCTL,KC_LGUI,KC_LALT, KC_SPC, KC_RALT,KC_RGUI, KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT ),

[1] = LAYOUT_tkl(\
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
_______,_______, _______, _______, _______, _______, _______, _______, _______, _______, _______,_______, _______, \
_______,_______,_______, _______, _______, _______, _______, _______, _______, _______,_______, _______, _______, _______, \
_______,_______,_______, _______, _______, _______ , _______, _______, _______, _______, _______
),

[2] = LAYOUT_tkl(\
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
_______,_______, _______, _______, _______, _______, _______, _______, _______, _______, _______,_______, _______, \
_______,_______,_______, _______, _______, _______, _______, _______, _______, _______,_______, _______, _______, _______, \
_______,_______,_______, _______, _______, _______ , _______, _______, _______, _______, _______
),
};
3 changes: 3 additions & 0 deletions keyboards/bpiphany/frosty_flake/keymaps/via/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
VIA_ENABLE = yes
LTO_ENABLE = yes
VIAL_ENABLE = yes
185 changes: 185 additions & 0 deletions keyboards/bpiphany/frosty_flake/keymaps/via/vial.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,185 @@
{
"name": "Frosty Flake",
"vendorId": "0xFEED",
"productId": "0x6060",
"lighting": "none",
"matrix": {
"rows": 18,
"cols": 8
},
"layouts": {
"keymap":[
[
"9,6",
{
"x": 1
},
"8,4",
"7,4",
"7,2",
"7,6",
{
"x": 0.5
},
"0,7",
"4,6",
"3,2",
"3,4",
{
"x": 0.5
},
"1,4",
"1,7",
"1,6",
"1,0",
{
"x": 0.25
},
"2,7",
"2,5",
"0,5"
],
[
{
"y": 0.5
},
"9,4",
"9,7",
"8,7",
"7,7",
"6,7",
"6,4",
"5,4",
"5,7",
"4,7",
"3,7",
"17,7",
"17,4",
"4,4",
{
"w": 2
},
"1,2",
{
"x": 0.25
},
"11,4",
"14,4",
"16,4"
],
[
{
"w": 1.5
},
"9,2",
"9,5",
"8,5",
"7,5",
"6,5",
"6,2",
"5,2",
"5,5",
"4,5",
"3,5",
"17,5",
"17,2",
"4,2",
{
"w": 1.5
},
"1,3",
{
"x": 0.25
},
"10,4",
"14,7",
"16,7"
],
[
{
"w": 1.75
},
"8,2",
"9,3",
"8,3",
"7,3",
"6,3",
"6,6",
"5,6",
"5,3",
"4,3",
"3,3",
"17,3",
"17,6",
{
"w": 2.25
},
"1,1"
],
[
{
"w": 2.25
},
"13,2",
"9,1",
"8,1",
"7,1",
"6,1",
"6,0",
"5,0",
"5,1",
"4,1",
"3,1",
"17,0",
{
"w": 2.75
},
"13,3",
{
"x": 1.25
},
"14,6"
],
[
{
"w": 1.25
},
"0,4",
{
"w": 1.25
},
"15,2",
{
"w": 1.25
},
"2,6",
{
"w": 6.25
},
"10,6",
{
"w": 1.25
},
"2,0",
{
"w": 1.25
},
"12,3",
{
"w": 1.25
},
"3,0",
{
"w": 1.25
},
"0,1",
{
"x": 0.25
},
"14,0",
"10,0",
"11,0"
]
]
}
}

0 comments on commit 7f5e25d

Please sign in to comment.