Skip to content

Commit bcde997

Browse files
committed
Update to match the QMK repo
1 parent 6012505 commit bcde997

23 files changed

Lines changed: 904 additions & 393 deletions

big_led.c

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
1+
/* Copyright 2020 Jay Greco
2+
*
3+
* This program is free software: you can redistribute it and/or modify
4+
* it under the terms of the GNU General Public License as published by
5+
* the Free Software Foundation, either version 2 of the License, or
6+
* (at your option) any later version.
7+
*
8+
* This program is distributed in the hope that it will be useful,
9+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+
* GNU General Public License for more details.
12+
*
13+
* You should have received a copy of the GNU General Public License
14+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
15+
*/
116
#include "big_led.h"
217

18+
void set_big_LED_rgb(uint8_t r_mode, uint8_t g_mode, uint8_t b_mode) {
19+
set_big_LED_r(r_mode);
20+
set_big_LED_g(g_mode);
21+
set_big_LED_b(b_mode);
22+
}
23+
324
void set_big_LED_r(uint8_t mode) {
425
switch(mode) {
526
case LED_ON:
@@ -49,4 +70,4 @@ void set_big_LED_b(uint8_t mode) {
4970
default:
5071
break;
5172
}
52-
}
73+
}

big_led.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616
#pragma once
1717

18-
#include "quantum.h"
18+
#include "quantum.h"
1919

2020
/* Optional big LED pins */
2121
#define BIG_LED_R_PIN D7
@@ -29,6 +29,7 @@
2929
#define GPIO_STATE_HIGH 1
3030

3131
void
32+
set_big_LED_rgb(uint8_t r_mode, uint8_t g_mode, uint8_t b_mode),
3233
set_big_LED_r(uint8_t mode),
3334
set_big_LED_g(uint8_t mode),
34-
set_big_LED_b(uint8_t mode);
35+
set_big_LED_b(uint8_t mode);

bitc_led.c

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/* Copyright 2020 Jay Greco
2+
*
3+
* This program is free software: you can redistribute it and/or modify
4+
* it under the terms of the GNU General Public License as published by
5+
* the Free Software Foundation, either version 2 of the License, or
6+
* (at your option) any later version.
7+
*
8+
* This program is distributed in the hope that it will be useful,
9+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+
* GNU General Public License for more details.
12+
*
13+
* You should have received a copy of the GNU General Public License
14+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
15+
*/
116
#include "bitc_led.h"
217

318
void set_bitc_LED(uint8_t mode) {

bitc_led.h

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/* Copyright 2020 Jay Greco
2+
*
3+
* This program is free software: you can redistribute it and/or modify
4+
* it under the terms of the GNU General Public License as published by
5+
* the Free Software Foundation, either version 2 of the License, or
6+
* (at your option) any later version.
7+
*
8+
* This program is distributed in the hope that it will be useful,
9+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+
* GNU General Public License for more details.
12+
*
13+
* You should have received a copy of the GNU General Public License
14+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
15+
*/
116
#pragma once
217

318
#include "quantum.h"

config.h

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyright 2018 Jack Humbert
1+
/* Copyright 2020 Jay Greco
22
*
33
* This program is free software: you can redistribute it and/or modify
44
* it under the terms of the GNU General Public License as published by
@@ -17,8 +17,11 @@
1717

1818
#include "config_common.h"
1919

20-
/* Used to set master for remote KB if VUSB detect doesn't work. */
21-
// #define KEYBOARD_MASTER
20+
/* Used to set host for remote KB if VUSB detect doesn't work. */
21+
// #define KEYBOARD_HOST // Force host mode
22+
// #define KEYBOARD_REMOTE // Force remote mode
23+
24+
// Workaround for freezing after MacOS sleep
2225
#define NO_USB_STARTUP_CHECK
2326

2427
/* USB Device descriptor parameter */
@@ -28,7 +31,6 @@
2831
#define DEVICE_VER 0x0001
2932
#define MANUFACTURER nullbits
3033
#define PRODUCT NIBBLE
31-
#define DESCRIPTION QMK keyboard firmware
3234

3335
/* key matrix size */
3436
#define MATRIX_ROWS 5

info.json

Lines changed: 238 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,238 @@
1+
{
2+
"keyboard_name": "NIBBLE 65%",
3+
"url": "https://nullbits.co/nibble/",
4+
"width": 17,
5+
"height": 5,
6+
"layouts": {
7+
"LAYOUT_all": {
8+
"layout": [
9+
{"label":"Esc", "x":1, "y":0},
10+
{"label":"!", "x":2, "y":0},
11+
{"label":"@", "x":3, "y":0},
12+
{"label":"#", "x":4, "y":0},
13+
{"label":"$", "x":5, "y":0},
14+
{"label":"%", "x":6, "y":0},
15+
{"label":"^", "x":7, "y":0},
16+
{"label":"&", "x":8, "y":0},
17+
{"label":"*", "x":9, "y":0},
18+
{"label":"(", "x":10, "y":0},
19+
{"label":")", "x":11, "y":0},
20+
{"label":"_", "x":12, "y":0},
21+
{"label":"+", "x":13, "y":0},
22+
{"label":"Backspace", "x":14, "y":0, "w":2},
23+
{"label":"Home", "x":16, "y":0},
24+
{"label":"ENC", "x":0, "y":1},
25+
{"label":"Tab", "x":1, "y":1, "w":1.5},
26+
{"label":"Q", "x":2.5, "y":1},
27+
{"label":"W", "x":3.5, "y":1},
28+
{"label":"E", "x":4.5, "y":1},
29+
{"label":"R", "x":5.5, "y":1},
30+
{"label":"T", "x":6.5, "y":1},
31+
{"label":"Y", "x":7.5, "y":1},
32+
{"label":"U", "x":8.5, "y":1},
33+
{"label":"I", "x":9.5, "y":1},
34+
{"label":"O", "x":10.5, "y":1},
35+
{"label":"P", "x":11.5, "y":1},
36+
{"label":"{", "x":12.5, "y":1},
37+
{"label":"}", "x":13.5, "y":1},
38+
{"label":"|", "x":14.5, "y":1, "w":1.5},
39+
{"label":"Delete", "x":16, "y":1},
40+
{"label":"M1", "x":0, "y":2},
41+
{"label":"Caps Lock", "x":1, "y":2, "w":1.25},
42+
{"label":"A", "x":2.75, "y":2},
43+
{"label":"S", "x":3.75, "y":2},
44+
{"label":"D", "x":4.75, "y":2},
45+
{"label":"F", "x":5.75, "y":2},
46+
{"label":"G", "x":6.75, "y":2},
47+
{"label":"H", "x":7.75, "y":2},
48+
{"label":"J", "x":8.75, "y":2},
49+
{"label":"K", "x":9.75, "y":2},
50+
{"label":"L", "x":10.75, "y":2},
51+
{"label":":", "x":11.75, "y":2},
52+
{"label":"\"", "x":12.75, "y":2},
53+
{"label":"Enter", "x":13.75, "y":2, "w":2.25},
54+
{"label":"PgUp", "x":16, "y":2},
55+
{"label":"M2", "x":0, "y":3},
56+
{"label":"Shift", "x":1, "y":3, "w":1.25},
57+
{"label":"ISO \\", "x":2.25, "y":3},
58+
{"label":"Z", "x":3.25, "y":3},
59+
{"label":"X", "x":4.25, "y":3},
60+
{"label":"C", "x":5.25, "y":3},
61+
{"label":"V", "x":6.25, "y":3},
62+
{"label":"B", "x":7.25, "y":3},
63+
{"label":"N", "x":8.25, "y":3},
64+
{"label":"M", "x":9.25, "y":3},
65+
{"label":"<", "x":10.25, "y":3},
66+
{"label":">", "x":11.25, "y":3},
67+
{"label":"?", "x":12.25, "y":3},
68+
{"label":"Shift", "x":13.25, "y":3, "w":1.75},
69+
{"label":"\u2191", "x":15, "y":3},
70+
{"label":"PgDn", "x":16, "y":3},
71+
{"label":"M3", "x":0, "y":4},
72+
{"label":"Ctrl", "x":1, "y":4, "w":1.25},
73+
{"label":"Win", "x":2.25, "y":4, "w":1.25},
74+
{"label":"Alt", "x":3.5, "y":4, "w":1.25},
75+
{"label":"Space", "x":4.75, "y":4, "w":6.25},
76+
{"label":"Fn", "x":11, "y":4},
77+
{"label":"Alt", "x":12, "y":4},
78+
{"label":"Ctrl", "x":13, "y":4},
79+
{"label":"\u2190", "x":14, "y":4},
80+
{"label":"\u2193", "x":15, "y":4},
81+
{"label":"\u2192", "x":16, "y":4}
82+
]
83+
},
84+
"LAYOUT_ansi": {
85+
"layout": [
86+
{"label":"Esc", "x":1, "y":0},
87+
{"label":"!", "x":2, "y":0},
88+
{"label":"@", "x":3, "y":0},
89+
{"label":"#", "x":4, "y":0},
90+
{"label":"$", "x":5, "y":0},
91+
{"label":"%", "x":6, "y":0},
92+
{"label":"^", "x":7, "y":0},
93+
{"label":"&", "x":8, "y":0},
94+
{"label":"*", "x":9, "y":0},
95+
{"label":"(", "x":10, "y":0},
96+
{"label":")", "x":11, "y":0},
97+
{"label":"_", "x":12, "y":0},
98+
{"label":"+", "x":13, "y":0},
99+
{"label":"Backspace", "x":14, "y":0, "w":2},
100+
{"label":"~", "x":16, "y":0},
101+
{"x":0, "y":1},
102+
{"label":"Tab", "x":1, "y":1, "w":1.5},
103+
{"label":"Q", "x":2.5, "y":1},
104+
{"label":"W", "x":3.5, "y":1},
105+
{"label":"E", "x":4.5, "y":1},
106+
{"label":"R", "x":5.5, "y":1},
107+
{"label":"T", "x":6.5, "y":1},
108+
{"label":"Y", "x":7.5, "y":1},
109+
{"label":"U", "x":8.5, "y":1},
110+
{"label":"I", "x":9.5, "y":1},
111+
{"label":"O", "x":10.5, "y":1},
112+
{"label":"P", "x":11.5, "y":1},
113+
{"label":"{", "x":12.5, "y":1},
114+
{"label":"}", "x":13.5, "y":1},
115+
{"label":"|", "x":14.5, "y":1, "w":1.5},
116+
{"label":"Page Up", "x":16, "y":1},
117+
{"x":0, "y":2},
118+
{"label":"Caps Lock", "x":1, "y":2, "w":1.25},
119+
{"label":"A", "x":2.75, "y":2},
120+
{"label":"S", "x":3.75, "y":2},
121+
{"label":"D", "x":4.75, "y":2},
122+
{"label":"F", "x":5.75, "y":2},
123+
{"label":"G", "x":6.75, "y":2},
124+
{"label":"H", "x":7.75, "y":2},
125+
{"label":"J", "x":8.75, "y":2},
126+
{"label":"K", "x":9.75, "y":2},
127+
{"label":"L", "x":10.75, "y":2},
128+
{"label":":", "x":11.75, "y":2},
129+
{"label":"\"", "x":12.75, "y":2},
130+
{"label":"Enter", "x":13.75, "y":2, "w":2.25},
131+
{"label":"Page Down", "x":16, "y":2},
132+
{"x":0, "y":3},
133+
{"label":"Shift", "x":1, "y":3, "w":2.25},
134+
{"label":"Z", "x":3.25, "y":3},
135+
{"label":"X", "x":4.25, "y":3},
136+
{"label":"C", "x":5.25, "y":3},
137+
{"label":"V", "x":6.25, "y":3},
138+
{"label":"B", "x":7.25, "y":3},
139+
{"label":"N", "x":8.25, "y":3},
140+
{"label":"M", "x":9.25, "y":3},
141+
{"label":"<", "x":10.25, "y":3},
142+
{"label":">", "x":11.25, "y":3},
143+
{"label":"?", "x":12.25, "y":3},
144+
{"label":"Shift", "x":13.25, "y":3, "w":1.75},
145+
{"label":"\u2191", "x":15, "y":3},
146+
{"label":"End", "x":16, "y":3},
147+
{"x":0, "y":4},
148+
{"label":"Ctrl", "x":1, "y":4, "w":1.25},
149+
{"label":"Win", "x":2.25, "y":4, "w":1.25},
150+
{"label":"Alt", "x":3.5, "y":4, "w":1.25},
151+
{"label":"Space", "x":4.75, "y":4, "w":6.25},
152+
{"label":"Alt", "x":11, "y":4},
153+
{"label":"Fn", "x":12, "y":4},
154+
{"label":"Ctrl", "x":13, "y":4},
155+
{"label":"\u2190", "x":14, "y":4},
156+
{"label":"\u2193", "x":15, "y":4},
157+
{"label":"\u2192", "x":16, "y":4}
158+
]
159+
},
160+
"LAYOUT_iso": {
161+
"layout": [
162+
{"label":"Esc", "x":1, "y":0},
163+
{"label":"!", "x":2, "y":0},
164+
{"label":"@", "x":3, "y":0},
165+
{"label":"#", "x":4, "y":0},
166+
{"label":"$", "x":5, "y":0},
167+
{"label":"%", "x":6, "y":0},
168+
{"label":"^", "x":7, "y":0},
169+
{"label":"&", "x":8, "y":0},
170+
{"label":"*", "x":9, "y":0},
171+
{"label":"(", "x":10, "y":0},
172+
{"label":")", "x":11, "y":0},
173+
{"label":"_", "x":12, "y":0},
174+
{"label":"+", "x":13, "y":0},
175+
{"label":"Backspace", "x":14, "y":0, "w":2},
176+
{"label":"Home", "x":16, "y":0},
177+
{"x":0, "y":1},
178+
{"label":"Tab", "x":1, "y":1, "w":1.5},
179+
{"label":"Q", "x":2.5, "y":1},
180+
{"label":"W", "x":3.5, "y":1},
181+
{"label":"E", "x":4.5, "y":1},
182+
{"label":"R", "x":5.5, "y":1},
183+
{"label":"T", "x":6.5, "y":1},
184+
{"label":"Y", "x":7.5, "y":1},
185+
{"label":"U", "x":8.5, "y":1},
186+
{"label":"I", "x":9.5, "y":1},
187+
{"label":"O", "x":10.5, "y":1},
188+
{"label":"P", "x":11.5, "y":1},
189+
{"label":"{", "x":12.5, "y":1},
190+
{"label":"}", "x":13.5, "y":1},
191+
{"label":"Delete", "x":16, "y":1},
192+
{"x":0, "y":2},
193+
{"label":"Caps Lock", "x":1, "y":2, "w":1.25},
194+
{"label":"A", "x":2.75, "y":2},
195+
{"label":"S", "x":3.75, "y":2},
196+
{"label":"D", "x":4.75, "y":2},
197+
{"label":"F", "x":5.75, "y":2},
198+
{"label":"G", "x":6.75, "y":2},
199+
{"label":"H", "x":7.75, "y":2},
200+
{"label":"J", "x":8.75, "y":2},
201+
{"label":"K", "x":9.75, "y":2},
202+
{"label":"L", "x":10.75, "y":2},
203+
{"label":":", "x":11.75, "y":2},
204+
{"label":"\"", "x":12.75, "y":2},
205+
{"label":"~", "x":13.75, "y":2},
206+
{"label":"Enter", "x":14.75, "y":1, "w":1.25, "h":2},
207+
{"label":"Page Up", "x":16, "y":2},
208+
{"x":0, "y":3},
209+
{"label":"Shift", "x":1, "y":3, "w":1.25},
210+
{"label":"|", "x":2.25, "y":3},
211+
{"label":"Z", "x":3.25, "y":3},
212+
{"label":"X", "x":4.25, "y":3},
213+
{"label":"C", "x":5.25, "y":3},
214+
{"label":"V", "x":6.25, "y":3},
215+
{"label":"B", "x":7.25, "y":3},
216+
{"label":"N", "x":8.25, "y":3},
217+
{"label":"M", "x":9.25, "y":3},
218+
{"label":"<", "x":10.25, "y":3},
219+
{"label":">", "x":11.25, "y":3},
220+
{"label":"?", "x":12.25, "y":3},
221+
{"label":"Shift", "x":13.25, "y":3, "w":1.75},
222+
{"label":"\u2191", "x":15, "y":3},
223+
{"label":"Page Down", "x":16, "y":3},
224+
{"x":0, "y":4},
225+
{"label":"Ctrl", "x":1, "y":4, "w":1.25},
226+
{"label":"Win", "x":2.25, "y":4, "w":1.25},
227+
{"label":"Alt", "x":3.5, "y":4, "w":1.25},
228+
{"label":"Space", "x":4.75, "y":4, "w":6.25},
229+
{"label":"Alt", "x":11, "y":4},
230+
{"label":"Fn", "x":12, "y":4},
231+
{"label":"Ctrl", "x":13, "y":4},
232+
{"label":"\u2190", "x":14, "y":4},
233+
{"label":"\u2193", "x":15, "y":4},
234+
{"label":"\u2192", "x":16, "y":4}
235+
]
236+
}
237+
}
238+
}

0 commit comments

Comments
 (0)