added idb60 (#1)

* added idb60

* add secure locking feature key combination
This commit is contained in:
Thorben 2021-01-11 21:12:50 +00:00 committed by GitHub
parent 1c4a1d68d6
commit 3bbc4c1b43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 334 additions and 21 deletions

View File

@ -27,6 +27,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define PRODUCT idb 60
#define DESCRIPTION QMK keyboard firmware for idb 60
#define VIAL_KEYBOARD_UID { 0x7F, 0x0D, 0x87, 0x47, 0x88, 0xEF, 0x8E, 0xD7 }
/* Vial unlock keycombo: ESC + Return */
#define VIAL_UNLOCK_COMBO_ROWS { 0, 5 }
#define VIAL_UNLOCK_COMBO_COLS { 0, 6 }
/* key matrix size */
#define MATRIX_ROWS 10
#define MATRIX_COLS 8

View File

@ -15,3 +15,19 @@ void led_set_kb(uint8_t usb_led) {
led_set_user(usb_led);
}
inline void _idb_60_caps_led_on(void) {
writePinLow(C5);
}
inline void _idb_60_fn_led_on(void) {
writePinLow(C4);
}
inline void _idb_60_caps_led_off(void) {
writePinHigh(C5);
}
inline void _idb_60_fn_led_off(void) {
writePinHigh(C4);
}

View File

@ -2,24 +2,13 @@
#include "quantum.h"
inline void _idb_60_caps_led_on(void) {
writePinHigh(C5);
}
void _idb_60_caps_led_on(void);
void _idb_60_fn_led_on(void);
void _idb_60_caps_led_off(void);
void _idb_60_fn_led_off(void);
inline void _idb_60_fn_led_on(void) {
writePinHigh(C4);
}
inline void _idb_60_caps_led_off(void) {
writePinLow(C5);
}
inline void _idb_60_fn_led_off(void) {
writePinLow(C4);
}
#define _idb_60_esc_led_on _idb_60_fn_led_on
#define _idb_60_esc_led_off _idb_60_fn_led_off
#define _idb_60_esc_led_on() _idb_60_fn_led_on()
#define _idb_60_esc_led_off() _idb_60_fn_led_off()
#define LAYOUT( \
K00, K10, K01, K11, K02, K12, K03, K13, K04, K14, K05, K15, K06, K16, K07,\

View File

@ -1,2 +1,3 @@
VIA_ENABLE = yes
VIAL_ENABLE = yes
LTO_ENABLE = yes

View File

@ -0,0 +1,302 @@
{
"name":"idb 60",
"vendorId":"0x494b",
"productId":"0x0001",
"lighting":"none",
"matrix":{
"rows":10,
"cols":8
},
"layouts":{
"labels":[
"Split Backspace",
"ISO Enter",
"Split Left Shift",
"Full Right Shift",
[
"Bottom Row",
"WKL",
"Blockerless",
"MX HHKB",
"True HHKB"
]
],
"keymap":[
[
{
"x":2.5,
"c":"#777777"
},
"0,0",
{
"c":"#cccccc"
},
"1,0",
"0,1",
"1,1",
"0,2",
"1,2",
"0,3",
"1,3",
"0,4",
"1,4",
"0,5",
"1,5",
"0,6",
{
"c":"#aaaaaa",
"w":2
},
"1,6\n\n\n0,0",
{
"x":1,
"c":"#cccccc"
},
"1,6\n\n\n0,1",
"0,7\n\n\n0,1"
],
[
{
"x":2.5,
"c":"#aaaaaa",
"w":1.5
},
"2,0",
{
"c":"#cccccc"
},
"3,0",
"2,1",
"3,1",
"2,2",
"3,2",
"2,3",
"3,3",
"2,4",
"3,4",
"2,5",
"3,5",
"2,6",
{
"w":1.5
},
"3,6\n\n\n1,0",
{
"x":1.75,
"c":"#777777",
"w":1.25,
"h":2,
"w2":1.5,
"h2":1,
"x2":-0.25
},
"5,6\n\n\n1,1"
],
[
{
"x":2.5,
"c":"#aaaaaa",
"w":1.75
},
"4,0",
{
"c":"#cccccc"
},
"5,0",
"4,1",
"5,1",
"4,2",
"5,2",
"4,3",
"5,3",
"4,4",
"5,4",
"4,5",
"5,5",
{
"c":"#777777",
"w":2.25
},
"5,6\n\n\n1,0",
{
"x":0.75,
"c":"#cccccc"
},
"3,6\n\n\n1,1"
],
[
{
"c":"#aaaaaa",
"w":1.25
},
"6,0\n\n\n2,1",
{
"c":"#cccccc"
},
"7,0\n\n\n2,1",
{
"x":0.25,
"c":"#aaaaaa",
"w":2.25
},
"6,0\n\n\n2,0",
{
"c":"#cccccc"
},
"6,1",
"7,1",
"6,2",
"7,2",
"6,3",
"7,3",
"6,4",
"7,4",
"6,5",
"7,5",
{
"c":"#aaaaaa",
"w":1.75
},
"6,6\n\n\n3,0",
"7,6\n\n\n3,0",
{
"x":0.25,
"w":2.75
},
"6,6\n\n\n3,1"
],
[
{
"x":2.5,
"w":1.5
},
"8,0\n\n\n4,0",
{
"c":"#cccccc",
"d":true
},
"9,0\n\n\n4,0",
{
"c":"#aaaaaa",
"w":1.5
},
"8,1\n\n\n4,0",
{
"c":"#cccccc",
"w":7
},
"9,3\n\n\n4,0",
{
"c":"#aaaaaa",
"w":1.5
},
"9,5\n\n\n4,0",
{
"c":"#cccccc",
"d":true
},
"8,6\n\n\n4,0",
{
"c":"#aaaaaa",
"w":1.5
},
"9,6\n\n\n4,0"
],
[
{
"y":0.25,
"x":2.5,
"w":1.5
},
"8,0\n\n\n4,1",
"9,0\n\n\n4,1",
{
"w":1.5
},
"8,1\n\n\n4,1",
{
"c":"#cccccc",
"w":7
},
"9,3\n\n\n4,1",
{
"c":"#aaaaaa",
"w":1.5
},
"9,5\n\n\n4,1",
"8,6\n\n\n4,1",
{
"w":1.5
},
"9,6\n\n\n4,1"
],
[
{
"x":2.5,
"c":"#cccccc",
"w":1.5,
"d":true
},
"8,0\n\n\n4,2",
{
"c":"#aaaaaa"
},
"9,0\n\n\n4,2",
{
"w":1.5
},
"8,1\n\n\n4,2",
{
"c":"#cccccc",
"w":7
},
"9,3\n\n\n4,2",
{
"c":"#aaaaaa",
"w":1.5
},
"9,5\n\n\n4,2",
"8,6\n\n\n4,2",
{
"c":"#cccccc",
"w":1.5,
"d":true
},
"9,6\n\n\n4,2"
],
[
{
"x":2.5,
"w":1.5,
"d":true
},
"8,0\n\n\n4,3",
{
"c":"#aaaaaa"
},
"9,0\n\n\n4,3",
{
"w":1.5
},
"8,1\n\n\n4,3",
{
"c":"#cccccc",
"w":6
},
"9,3\n\n\n4,3",
{
"c":"#aaaaaa",
"w":1.5
},
"9,5\n\n\n4,3",
"8,6\n\n\n4,3",
{
"c":"#cccccc",
"w":2.5,
"d":true
},
"9,6\n\n\n4,3"
]
]
}
}

View File

@ -1,10 +1,9 @@
# idb 60 PCB
# idb 60
Firmware for the idb 60 PCB
* Keyboard Maintainer: [pngu](https://github.com/itspngu)
* Hardware Supported: idb 60 PCB
* Hardware Availability: [Case & PCB Files (CC-by-SA 4.0)](https://github.com/itspngu/idb_60)
* Project Website: [idb Keyboards » 60](https://idb-keyboards.xyz/60)
Make example for this keyboard (after setting up your build environment):
@ -15,13 +14,13 @@ Or to make and flash:
make idb/idb_60:default:flash
To compile VIA firmware:
To compile VIA(L) firmware:
make idb/idb_60:via
LAYOUT_* Macros:
* *LAYOUT_default*: ANSI WKL with full Backspace
* *LAYOUT_default*: ANSI WKL with full backspace
* *LAYOUT_all*: All split keys are available
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).