aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--keyboards/ep/96/96.c43
-rw-r--r--keyboards/ep/96/96.h47
-rw-r--r--keyboards/ep/96/config.h212
-rw-r--r--keyboards/ep/96/info.json426
-rw-r--r--keyboards/ep/96/keymaps/default/keymap.c67
-rw-r--r--keyboards/ep/96/keymaps/default/readme.md1
-rw-r--r--keyboards/ep/96/readme.md15
-rw-r--r--keyboards/ep/96/rules.mk81
8 files changed, 892 insertions, 0 deletions
diff --git a/keyboards/ep/96/96.c b/keyboards/ep/96/96.c
new file mode 100644
index 000000000..9fdd51977
--- /dev/null
+++ b/keyboards/ep/96/96.c
@@ -0,0 +1,43 @@
1/* Copyright 2018 Elliot Powell
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 */
16#include "96.h"
17
18void matrix_init_kb(void) {
19 // put your keyboard start-up code here
20 // runs once when the firmware starts up
21
22 matrix_init_user();
23}
24
25void matrix_scan_kb(void) {
26 // put your looping keyboard code here
27 // runs every cycle (a lot)
28
29 matrix_scan_user();
30}
31
32bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
33 // put your per-action keyboard code here
34 // runs for every action, just before processing by the firmware
35
36 return process_record_user(keycode, record);
37}
38
39void led_set_kb(uint8_t usb_led) {
40 // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
41
42 led_set_user(usb_led);
43}
diff --git a/keyboards/ep/96/96.h b/keyboards/ep/96/96.h
new file mode 100644
index 000000000..1887eb472
--- /dev/null
+++ b/keyboards/ep/96/96.h
@@ -0,0 +1,47 @@
1/* Copyright 2018 Elliot Powell
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 */
16#ifndef EP96_H
17#define EP96_H
18
19#include "quantum.h"
20
21/* This a shortcut to help you visually see your layout.
22 *
23 * The first section contains all of the arguments representing the physical
24 * layout of the board and position of the keys.
25 *
26 * The second converts the arguments into a two-dimensional array which
27 * represents the switch matrix.
28 */
29#define xxxx KC_NO
30
31#define LAYOUT( \
32 K000, K001, K002, k003, k004, k005, k006, k007, k008, k009, k010, k011, k012, k013, k014, k015, k016, k017, k018, \
33 K100, K101, K102, k103, k104, k105, k106, k107, k108, k109, k110, k111, k112, k114, k115, k116, k117, k118, \
34 K200, K202, k203, k204, k205, k206, k207, k208, k209, k210, k211, k212, k213, k215, k216, k217, \
35 K300, K302, k303, k304, k305, k306, k307, k308, k309, k310, k311, k312, k313, k314, k315, k316, k317, k318, \
36 K400, K401, K402, k403, k404, k405, k406, k407, k408, k409, k410, k411, k413, k414, k415, k416, k417, \
37 K500, K501, K502, k506, k511, k512, k513, k514, k515, k516, k517, k518) \
38{ \
39 {K000, K001, K002, k003, k004, k005, k006, k007, k008, k009, k010, k011, k012, k013, k014, k015, k016, k017, k018}, \
40 {K100, K101, K102, k103, k104, k105, k106, k107, k108, k109, k110, k111, k112, xxxx, k114, k115, k116, k117, k118}, \
41 {K200, xxxx, K202, k203, k204, k205, k206, k207, k208, k209, k210, k211, k212, k213, xxxx, k215, k216, k217, xxxx}, \
42 {K300, xxxx, K302, k303, k304, k305, k306, k307, k308, k309, k310, k311, k312, k313, k314, k315, k316, k317, k318}, \
43 {K400, K401, K402, k403, k404, k405, k406, k407, k408, k409, k410, k411, xxxx, k413, k414, k415, k416, k417, xxxx}, \
44 {K500, K501, K502, xxxx, xxxx, xxxx, k506, xxxx, xxxx, xxxx, xxxx, k511, k512, k513, k514, k515, k516, k517, k518} \
45}
46
47#endif
diff --git a/keyboards/ep/96/config.h b/keyboards/ep/96/config.h
new file mode 100644
index 000000000..0c37e4c59
--- /dev/null
+++ b/keyboards/ep/96/config.h
@@ -0,0 +1,212 @@
1/*
2Copyright 2018 Elliot Powell
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20#include "config_common.h"
21
22/* USB Device descriptor parameter */
23#define VENDOR_ID 0xFEED
24#define PRODUCT_ID 0x9696
25#define DEVICE_VER 0x0001
26#define MANUFACTURER Elliot Powell
27#define PRODUCT ep96
28#define DESCRIPTION A simple 96 key keyboard
29
30/* key matrix size */
31#define MATRIX_ROWS 6
32#define MATRIX_COLS 19
33
34/*
35 * Keyboard Matrix Assignments
36 *
37 * Change this to how you wired your keyboard
38 * COLS: AVR pins used for columns, left to right
39 * ROWS: AVR pins used for rows, top to bottom
40 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
41 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
42 *
43*/
44#define MATRIX_ROW_PINS { B0, B1, B3, B2, B7, C6 }
45#define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4, B5, B6, C7, F7, F6, F5, F4, F1, F0, E6 }
46#define UNUSED_PINS
47
48/* COL2ROW, ROW2COL, or CUSTOM_MATRIX */
49#define DIODE_DIRECTION COL2ROW
50
51// #endif
52
53/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
54#define DEBOUNCING_DELAY 5
55
56/* define if matrix has ghost (lacks anti-ghosting diodes) */
57//#define MATRIX_HAS_GHOST
58
59
60/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
61#define LOCKING_SUPPORT_ENABLE
62/* Locking resynchronize hack */
63#define LOCKING_RESYNC_ENABLE
64
65/* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
66 * This is userful for the Windows task manager shortcut (ctrl+shift+esc).
67 */
68// #define GRAVE_ESC_CTRL_OVERRIDE
69
70/*
71 * Force NKRO
72 *
73 * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
74 * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
75 * makefile for this to work.)
76 *
77 * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
78 * until the next keyboard reset.
79 *
80 * NKRO may prevent your keystrokes from being detected in the BIOS, but it is
81 * fully operational during normal computer usage.
82 *
83 * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
84 * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
85 * bootmagic, NKRO mode will always be enabled until it is toggled again during a
86 * power-up.
87 *
88 */
89//#define FORCE_NKRO
90
91/*
92 * Magic Key Options
93 *
94 * Magic keys are hotkey commands that allow control over firmware functions of
95 * the keyboard. They are best used in combination with the HID Listen program,
96 * found here: https://www.pjrc.com/teensy/hid_listen.html
97 *
98 * The options below allow the magic key functionality to be changed. This is
99 * useful if your keyboard/keypad is missing keys and you want magic key support.
100 *
101 */
102
103/* key combination for magic key command */
104#define IS_COMMAND() ( \
105 keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
106)
107
108/* control how magic key switches layers */
109//#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true
110//#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true
111//#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM false
112
113/* override magic key keymap */
114//#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS
115//#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS
116//#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM
117//#define MAGIC_KEY_HELP1 H
118//#define MAGIC_KEY_HELP2 SLASH
119//#define MAGIC_KEY_DEBUG D
120//#define MAGIC_KEY_DEBUG_MATRIX X
121//#define MAGIC_KEY_DEBUG_KBD K
122//#define MAGIC_KEY_DEBUG_MOUSE M
123//#define MAGIC_KEY_VERSION V
124//#define MAGIC_KEY_STATUS S
125//#define MAGIC_KEY_CONSOLE C
126//#define MAGIC_KEY_LAYER0_ALT1 ESC
127//#define MAGIC_KEY_LAYER0_ALT2 GRAVE
128//#define MAGIC_KEY_LAYER0 0
129//#define MAGIC_KEY_LAYER1 1
130//#define MAGIC_KEY_LAYER2 2
131//#define MAGIC_KEY_LAYER3 3
132//#define MAGIC_KEY_LAYER4 4
133//#define MAGIC_KEY_LAYER5 5
134//#define MAGIC_KEY_LAYER6 6
135//#define MAGIC_KEY_LAYER7 7
136//#define MAGIC_KEY_LAYER8 8
137//#define MAGIC_KEY_LAYER9 9
138//#define MAGIC_KEY_BOOTLOADER PAUSE
139//#define MAGIC_KEY_LOCK CAPS
140//#define MAGIC_KEY_EEPROM E
141//#define MAGIC_KEY_NKRO N
142//#define MAGIC_KEY_SLEEP_LED Z
143
144/*
145 * Feature disable options
146 * These options are also useful to firmware size reduction.
147 */
148
149/* disable debug print */
150//#define NO_DEBUG
151
152/* disable print */
153//#define NO_PRINT
154
155/* disable action features */
156//#define NO_ACTION_LAYER
157//#define NO_ACTION_TAPPING
158//#define NO_ACTION_ONESHOT
159//#define NO_ACTION_MACRO
160//#define NO_ACTION_FUNCTION
161
162/*
163 * MIDI options
164 */
165
166/* Prevent use of disabled MIDI features in the keymap */
167//#define MIDI_ENABLE_STRICT 1
168
169/* enable basic MIDI features:
170 - MIDI notes can be sent when in Music mode is on
171*/
172//#define MIDI_BASIC
173
174/* enable advanced MIDI features:
175 - MIDI notes can be added to the keymap
176 - Octave shift and transpose
177 - Virtual sustain, portamento, and modulation wheel
178 - etc.
179*/
180//#define MIDI_ADVANCED
181
182/* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
183//#define MIDI_TONE_KEYCODE_OCTAVES 1
184
185/*
186 * HD44780 LCD Display Configuration
187 */
188/*
189#define LCD_LINES 2 //< number of visible lines of the display
190#define LCD_DISP_LENGTH 16 //< visibles characters per line of the display
191
192#define LCD_IO_MODE 1 //< 0: memory mapped mode, 1: IO port mode
193
194#if LCD_IO_MODE
195#define LCD_PORT PORTB //< port for the LCD lines
196#define LCD_DATA0_PORT LCD_PORT //< port for 4bit data bit 0
197#define LCD_DATA1_PORT LCD_PORT //< port for 4bit data bit 1
198#define LCD_DATA2_PORT LCD_PORT //< port for 4bit data bit 2
199#define LCD_DATA3_PORT LCD_PORT //< port for 4bit data bit 3
200#define LCD_DATA0_PIN 4 //< pin for 4bit data bit 0
201#define LCD_DATA1_PIN 5 //< pin for 4bit data bit 1
202#define LCD_DATA2_PIN 6 //< pin for 4bit data bit 2
203#define LCD_DATA3_PIN 7 //< pin for 4bit data bit 3
204#define LCD_RS_PORT LCD_PORT //< port for RS line
205#define LCD_RS_PIN 3 //< pin for RS line
206#define LCD_RW_PORT LCD_PORT //< port for RW line
207#define LCD_RW_PIN 2 //< pin for RW line
208#define LCD_E_PORT LCD_PORT //< port for Enable line
209#define LCD_E_PIN 1 //< pin for Enable line
210#endif
211*/
212
diff --git a/keyboards/ep/96/info.json b/keyboards/ep/96/info.json
new file mode 100644
index 000000000..4be41b24c
--- /dev/null
+++ b/keyboards/ep/96/info.json
@@ -0,0 +1,426 @@
1{
2 "keyboard_name": "ep96",
3 "maintainer": "e11i0t23",
4 "width": 19,
5 "height": 6,
6 "layouts": {
7 "LAYOUT": {
8 "key_count": 100,
9 "layout": [{
10 "label": "Esc",
11 "x": 0,
12 "y": 0
13 }, {
14 "label": "F1",
15 "x": 1,
16 "y": 0
17 }, {
18 "label": "F2",
19 "x": 2,
20 "y": 0
21 }, {
22 "label": "F3",
23 "x": 3,
24 "y": 0
25 }, {
26 "label": "F4",
27 "x": 4,
28 "y": 0
29 }, {
30 "label": "F5",
31 "x": 5,
32 "y": 0
33 }, {
34 "label": "F6",
35 "x": 6,
36 "y": 0
37 }, {
38 "label": "F7",
39 "x": 7,
40 "y": 0
41 }, {
42 "label": "F8",
43 "x": 8,
44 "y": 0
45 }, {
46 "label": "F9",
47 "x": 9,
48 "y": 0
49 }, {
50 "label": "F10",
51 "x": 10,
52 "y": 0
53 }, {
54 "label": "F11",
55 "x": 11,
56 "y": 0
57 }, {
58 "label": "F12",
59 "x": 12,
60 "y": 0
61 }, {
62 "label": "Prt Sc",
63 "x": 13,
64 "y": 0
65 }, {
66 "label": "Delete",
67 "x": 14,
68 "y": 0
69 }, {
70 "label": "home",
71 "x": 15,
72 "y": 0
73 }, {
74 "label": "Menu",
75 "x": 16,
76 "y": 0
77 }, {
78 "label": "Pg Up",
79 "x": 17,
80 "y": 0
81 }, {
82 "label": "Pg Dn",
83 "x": 18,
84 "y": 0
85 }, {
86 "label": "~",
87 "x": 0,
88 "y": 1
89 }, {
90 "label": "!",
91 "x": 1,
92 "y": 1
93 }, {
94 "label": "@",
95 "x": 2,
96 "y": 1
97 }, {
98 "label": "#",
99 "x": 3,
100 "y": 1
101 }, {
102 "label": "$",
103 "x": 4,
104 "y": 1
105 }, {
106 "label": "%",
107 "x": 5,
108 "y": 1
109 }, {
110 "label": "^",
111 "x": 6,
112 "y": 1
113 }, {
114 "label": "&",
115 "x": 7,
116 "y": 1
117 }, {
118 "label": "*",
119 "x": 8,
120 "y": 1
121 }, {
122 "label": "(",
123 "x": 9,
124 "y": 1
125 }, {
126 "label": ")",
127 "x": 10,
128 "y": 1
129 }, {
130 "label": "_",
131 "x": 11,
132 "y": 1
133 }, {
134 "label": "+",
135 "x": 12,
136 "y": 1
137 }, {
138 "label": "Backspace",
139 "x": 13,
140 "y": 1,
141 "w": 2
142 }, {
143 "label": "Num Lock",
144 "x": 15,
145 "y": 1
146 }, {
147 "label": "/",
148 "x": 16,
149 "y": 1
150 }, {
151 "label": "*",
152 "x": 17,
153 "y": 1
154 }, {
155 "label": "-",
156 "x": 18,
157 "y": 1
158 }, {
159 "label": "Tab",
160 "x": 0,
161 "y": 2,
162 "w": 1.5
163 }, {
164 "label": "Q",
165 "x": 1.5,
166 "y": 2
167 }, {
168 "label": "W",
169 "x": 2.5,
170 "y": 2
171 }, {
172 "label": "E",
173 "x": 3.5,
174 "y": 2
175 }, {
176 "label": "R",
177 "x": 4.5,
178 "y": 2
179 }, {
180 "label": "T",
181 "x": 5.5,
182 "y": 2
183 }, {
184 "label": "Y",
185 "x": 6.5,
186 "y": 2
187 }, {
188 "label": "U",
189 "x": 7.5,
190 "y": 2
191 }, {
192 "label": "I",
193 "x": 8.5,
194 "y": 2
195 }, {
196 "label": "O",
197 "x": 9.5,
198 "y": 2
199 }, {
200 "label": "P",
201 "x": 10.5,
202 "y": 2
203 }, {
204 "label": "{",
205 "x": 11.5,
206 "y": 2
207 }, {
208 "label": "}",
209 "x": 12.5,
210 "y": 2
211 }, {
212 "label": "Enter",
213 "x": 13.75,
214 "y": 2,
215 "w": 1.25,
216 "h": 2
217 }, {
218 "label": "7",
219 "x": 15,
220 "y": 2
221 }, {
222 "label": "8",
223 "x": 16,
224 "y": 2
225 }, {
226 "label": "9",
227 "x": 17,
228 "y": 2
229 }, {
230 "label": "+",
231 "x": 18,
232 "y": 2,
233 "h": 2
234 }, {
235 "label": "Caps Lock",
236 "x": 0,
237 "y": 3,
238 "w": 1.75
239 }, {
240 "label": "A",
241 "x": 1.75,
242 "y": 3
243 }, {
244 "label": "S",
245 "x": 2.75,
246 "y": 3
247 }, {
248 "label": "D",
249 "x": 3.75,
250 "y": 3
251 }, {
252 "label": "F",
253 "x": 4.75,
254 "y": 3
255 }, {
256 "label": "G",
257 "x": 5.75,
258 "y": 3
259 }, {
260 "label": "H",
261 "x": 6.75,
262 "y": 3
263 }, {
264 "label": "J",
265 "x": 7.75,
266 "y": 3
267 }, {
268 "label": "K",
269 "x": 8.75,
270 "y": 3
271 }, {
272 "label": "L",
273 "x": 9.75,
274 "y": 3
275 }, {
276 "label": ":",
277 "x": 10.75,
278 "y": 3
279 }, {
280 "label": "\"",
281 "x": 11.75,
282 "y": 3
283 }, {
284 "label": "~",
285 "x": 12.75,
286 "y": 3
287 }, {
288 "label": "4",
289 "x": 15,
290 "y": 3
291 }, {
292 "label": "5",
293 "x": 16,
294 "y": 3
295 }, {
296 "label": "6",
297 "x": 17,
298 "y": 3
299 }, {
300 "label": "Shift",
301 "x": 0,
302 "y": 4,
303 "w": 1.25
304 }, {
305 "label": "|",
306 "x": 1.25,
307 "y": 4
308 }, {
309 "label": "Z",
310 "x": 2.25,
311 "y": 4
312 }, {
313 "label": "X",
314 "x": 3.25,
315 "y": 4
316 }, {
317 "label": "C",
318 "x": 4.25,
319 "y": 4
320 }, {
321 "label": "V",
322 "x": 5.25,
323 "y": 4
324 }, {
325 "label": "B",
326 "x": 6.25,
327 "y": 4
328 }, {
329 "label": "N",
330 "x": 7.25,
331 "y": 4
332 }, {
333 "label": "M",
334 "x": 8.25,
335 "y": 4
336 }, {
337 "label": "<",
338 "x": 9.25,
339 "y": 4
340 }, {
341 "label": ">",
342 "x": 10.25,
343 "y": 4
344 }, {
345 "label": "?",
346 "x": 11.25,
347 "y": 4
348 }, {
349 "label": "Shift",
350 "x": 12.25,
351 "y": 4,
352 "w": 1.75
353 }, {
354 "label": "\u2191",
355 "x": 14,
356 "y": 4
357 }, {
358 "label": "1",
359 "x": 15,
360 "y": 4
361 }, {
362 "label": "2",
363 "x": 16,
364 "y": 4
365 }, {
366 "label": "3",
367 "x": 17,
368 "y": 4
369 }, {
370 "label": "Enter",
371 "x": 18,
372 "y": 4,
373 "h": 2
374 }, {
375 "label": "Ctrl",
376 "x": 0,
377 "y": 5,
378 "w": 1.25
379 }, {
380 "label": "Win",
381 "x": 1.25,
382 "y": 5,
383 "w": 1.25
384 }, {
385 "label": "Alt",
386 "x": 2.5,
387 "y": 5,
388 "w": 1.25
389 }, {
390 "x": 3.75,
391 "y": 5,
392 "w": 6.25
393 }, {
394 "label": "Alt",
395 "x": 10,
396 "y": 5,
397 "w": 1.5
398 }, {
399 "label": "Crtl",
400 "x": 11.5,
401 "y": 5,
402 "w": 1.5
403 }, {
404 "label": "\u2190",
405 "x": 13,
406 "y": 5
407 }, {
408 "label": "\u2193",
409 "x": 14,
410 "y": 5
411 }, {
412 "label": "\u2192",
413 "x": 15,
414 "y": 5
415 }, {
416 "label": "0",
417 "x": 16,
418 "y": 5
419 }, {
420 "label": ".",
421 "x": 17,
422 "y": 5
423 }]
424 }
425 }
426}
diff --git a/keyboards/ep/96/keymaps/default/keymap.c b/keyboards/ep/96/keymaps/default/keymap.c
new file mode 100644
index 000000000..d51204153
--- /dev/null
+++ b/keyboards/ep/96/keymaps/default/keymap.c
@@ -0,0 +1,67 @@
1/* Copyright 2018 Elliot Powell
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 */
16#include QMK_KEYBOARD_H
17
18// Defines the keycodes used by our macros in process_record_user
19enum custom_keycodes {
20 QMKBEST = SAFE_RANGE,
21 QMKURL
22};
23
24const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
25 [0] = LAYOUT( /* Base */
26 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_DEL, KC_HOME, KC_END, KC_PGUP, KC_PGDN, \
27 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_NLCK, KC_PSLS, KC_PAST, KC_PMNS, \
28 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_P7, KC_P8, KC_P9, \
29 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_PPLS, \
30 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, \
31 KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT, KC_P0, KC_PDOT, KC_PENT \
32 ),
33};
34
35bool process_record_user(uint16_t keycode, keyrecord_t *record) {
36 switch (keycode) {
37 case QMKBEST:
38 if (record->event.pressed) {
39 // when keycode QMKBEST is pressed
40 SEND_STRING("QMK is the best thing ever!");
41 } else {
42 // when keycode QMKBEST is released
43 }
44 break;
45 case QMKURL:
46 if (record->event.pressed) {
47 // when keycode QMKURL is pressed
48 SEND_STRING("https://qmk.fm/" SS_TAP(X_ENTER));
49 } else {
50 // when keycode QMKURL is released
51 }
52 break;
53 }
54 return true;
55}
56
57void matrix_init_user(void) {
58
59}
60
61void matrix_scan_user(void) {
62
63}
64
65void led_set_user(uint8_t usb_led) {
66
67}
diff --git a/keyboards/ep/96/keymaps/default/readme.md b/keyboards/ep/96/keymaps/default/readme.md
new file mode 100644
index 000000000..81e87464f
--- /dev/null
+++ b/keyboards/ep/96/keymaps/default/readme.md
@@ -0,0 +1 @@
# The default keymap for ep96 \ No newline at end of file
diff --git a/keyboards/ep/96/readme.md b/keyboards/ep/96/readme.md
new file mode 100644
index 000000000..404419b63
--- /dev/null
+++ b/keyboards/ep/96/readme.md
@@ -0,0 +1,15 @@
1# ep96
2
3![ep96](https://i.imgur.com/PZ2C7a8.jpg)
4
5A simple 96 key keyboard
6
7Keyboard Maintainer: Keyboard Maintainer: [Elliot Powell](https://github.com/e11i0t23), [/u/e11i0t23](https://reddit.com/u/e11i0t23)
8Hardware Supported: EP96 PCB
9Hardware Availability: Possible availability upon request
10
11Make example for this keyboard (after setting up your build environment):
12
13 make ep/96:default
14
15See 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).
diff --git a/keyboards/ep/96/rules.mk b/keyboards/ep/96/rules.mk
new file mode 100644
index 000000000..407135de2
--- /dev/null
+++ b/keyboards/ep/96/rules.mk
@@ -0,0 +1,81 @@
1# MCU name
2#MCU = at90usb1286
3MCU = atmega32u4
4
5# Processor frequency.
6# This will define a symbol, F_CPU, in all source code files equal to the
7# processor frequency in Hz. You can then use this symbol in your source code to
8# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
9# automatically to create a 32-bit value in your source code.
10#
11# This will be an integer division of F_USB below, as it is sourced by
12# F_USB after it has run through any CPU prescalers. Note that this value
13# does not *change* the processor frequency - it should merely be updated to
14# reflect the processor speed set externally so that the code can use accurate
15# software delays.
16F_CPU = 16000000
17
18
19#
20# LUFA specific
21#
22# Target architecture (see library "Board Types" documentation).
23ARCH = AVR8
24
25# Input clock frequency.
26# This will define a symbol, F_USB, in all source code files equal to the
27# input clock frequency (before any prescaling is performed) in Hz. This value may
28# differ from F_CPU if prescaling is used on the latter, and is required as the
29# raw input clock is fed directly to the PLL sections of the AVR for high speed
30# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
31# at the end, this will be done automatically to create a 32-bit value in your
32# source code.
33#
34# If no clock division is performed on the input clock inside the AVR (via the
35# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
36F_USB = $(F_CPU)
37
38# Interrupt driven control endpoint task(+60)
39OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
40
41
42# Bootloader selection
43# Teensy halfkay
44# Pro Micro caterina
45# Atmel DFU atmel-dfu
46# LUFA DFU lufa-dfu
47# QMK DFU qmk-dfu
48# atmega32a bootloadHID
49BOOTLOADER = atmel-dfu
50
51
52# If you don't know the bootloader type, then you can specify the
53# Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line
54# Teensy halfKay 512
55# Teensy++ halfKay 1024
56# Atmel DFU loader 4096
57# LUFA bootloader 4096
58# USBaspLoader 2048
59# OPT_DEFS += -DBOOTLOADER_SIZE=4096
60
61
62# Build Options
63# change yes to no to disable
64#
65BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
66MOUSEKEY_ENABLE = no # Mouse keys(+4700)
67EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
68CONSOLE_ENABLE = yes # Console for debug(+400)
69COMMAND_ENABLE = yes # Commands for debug and configuration
70# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
71SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
72# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
73NKRO_ENABLE = no # USB Nkey Rollover
74BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default
75RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
76MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config)
77UNICODE_ENABLE = no # Unicode
78BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
79AUDIO_ENABLE = no # Audio output on port C6
80FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
81HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400)