Skip to content

Commit

Permalink
[Keyboard] Add support for BFO-9000 (qmk#426)
Browse files Browse the repository at this point in the history
* Add files via upload

* Update keyboards/keebio/bfo9000/keymaps/vial/rules.mk

Co-authored-by: Less/Rikki <86894501+lesshonor@users.noreply.github.com>

---------

Co-authored-by: Less/Rikki <86894501+lesshonor@users.noreply.github.com>
  • Loading branch information
John-Schreiber and lesshonor authored Mar 29, 2023
1 parent 21969ed commit b6b360b
Show file tree
Hide file tree
Showing 4 changed files with 204 additions and 0 deletions.
32 changes: 32 additions & 0 deletions keyboards/keebio/bfo9000/keymaps/vial/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/*
This is the c configuration file for the keymap
Copyright 2012 Jun Wako <wakojun@gmail.com>
Copyright 2015 Jack Humbert
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 VIAL_KEYBOARD_UID {0xCA, 0x43, 0x6E, 0xF3, 0x4D, 0x91, 0x78, 0x1F}
#define VIAL_UNLOCK_COMBO_ROWS { 0, 2 }
#define VIAL_UNLOCK_COMBO_COLS { 0, 5 }


//#define USE_I2C

/* Select hand configuration */
// #define MASTER_RIGHT
// #define EE_HANDS
#define DYNAMIC_KEYMAP_LAYER_COUNT 2
15 changes: 15 additions & 0 deletions keyboards/keebio/bfo9000/keymaps/vial/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#include QMK_KEYBOARD_H

#define _BASE 0

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

[_BASE] = LAYOUT(
KC_ESC, KC_VOLU, KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL,
KC_HOME, KC_VOLD, KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC,
KC_END, KC_TAB, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS,
KC_PGUP, KC_CAPS, KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_ENT,
KC_PGDN, KC_UP, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, XXXXXXX,
KC_LEFT, KC_DOWN, KC_RGHT, KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_SPC, KC_ENT, KC_BSPC, KC_SPC, KC_SPC, KC_RGUI, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
)
};
5 changes: 5 additions & 0 deletions keyboards/keebio/bfo9000/keymaps/vial/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
VIA_ENABLE = yes
VIAL_ENABLE = yes
LTO_ENABLE = yes
COMMAND_ENABLE = no
KEY_OVERRIDE_ENABLE = no
152 changes: 152 additions & 0 deletions keyboards/keebio/bfo9000/keymaps/vial/vial.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,152 @@
{
"name": "Keeb.io BFO-9000",
"vendorId": "0xCB10",
"productId": "0x1169",
"lighting": "qmk_rgblight",
"matrix": {
"rows": 12,
"cols": 9
},
"layouts": {
"keymap": [
[
"0,0",
"0,1",
"0,2",
"0,3",
"0,4",
"0,5",
"0,6",
"0,7",
"0,8",
{
"x": 5
},
"6,0",
"6,1",
"6,2",
"6,3",
"6,4",
"6,5",
"6,6",
"6,7",
"6,8"
],
[
"1,0",
"1,1",
"1,2",
"1,3",
"1,4",
"1,5",
"1,6",
"1,7",
"1,8",
{
"x": 5
},
"7,0",
"7,1",
"7,2",
"7,3",
"7,4",
"7,5",
"7,6",
"7,7",
"7,8"
],
[
"2,0",
"2,1",
"2,2",
"2,3",
"2,4",
"2,5",
"2,6",
"2,7",
"2,8",
{
"x": 5
},
"8,0",
"8,1",
"8,2",
"8,3",
"8,4",
"8,5",
"8,6",
"8,7",
"8,8"
],
[
"3,0",
"3,1",
"3,2",
"3,3",
"3,4",
"3,5",
"3,6",
"3,7",
"3,8",
{
"x": 5
},
"9,0",
"9,1",
"9,2",
"9,3",
"9,4",
"9,5",
"9,6",
"9,7",
"9,8"
],
[
"4,0",
"4,1",
"4,2",
"4,3",
"4,4",
"4,5",
"4,6",
"4,7",
"4,8",
{
"x": 5
},
"10,0",
"10,1",
"10,2",
"10,3",
"10,4",
"10,5",
"10,6",
"10,7",
"10,8"
],
[
"5,0",
"5,1",
"5,2",
"5,3",
"5,4",
"5,5",
"5,6",
"5,7",
"5,8",
{
"x": 5
},
"11,0",
"11,1",
"11,2",
"11,3",
"11,4",
"11,5",
"11,6",
"11,7",
"11,8"
]
]
}
}

0 comments on commit b6b360b

Please sign in to comment.