diff options
-rw-r--r-- | keyboards/412_64/412_64.c | 29 | ||||
-rw-r--r-- | keyboards/412_64/412_64.h | 29 | ||||
-rw-r--r-- | keyboards/412_64/config.h | 202 | ||||
-rw-r--r-- | keyboards/412_64/keymaps/default/config.h | 5 | ||||
-rw-r--r-- | keyboards/412_64/keymaps/default/keymap.c | 105 | ||||
-rw-r--r-- | keyboards/412_64/keymaps/default/rules.mk | 1 | ||||
-rw-r--r-- | keyboards/412_64/readme.md | 15 | ||||
-rw-r--r-- | keyboards/412_64/rules.mk | 73 |
8 files changed, 459 insertions, 0 deletions
diff --git a/keyboards/412_64/412_64.c b/keyboards/412_64/412_64.c new file mode 100644 index 000000000..eaec54ade --- /dev/null +++ b/keyboards/412_64/412_64.c | |||
@@ -0,0 +1,29 @@ | |||
1 | |||
2 | #include "412_64.h" | ||
3 | |||
4 | void matrix_init_kb(void) { | ||
5 | // put your keyboard start-up code here | ||
6 | // runs once when the firmware starts up | ||
7 | |||
8 | matrix_init_user(); | ||
9 | } | ||
10 | |||
11 | void matrix_scan_kb(void) { | ||
12 | // put your looping keyboard code here | ||
13 | // runs every cycle (a lot) | ||
14 | |||
15 | matrix_scan_user(); | ||
16 | } | ||
17 | |||
18 | bool process_record_kb(uint16_t keycode, keyrecord_t *record) { | ||
19 | // put your per-action keyboard code here | ||
20 | // runs for every action, just before processing by the firmware | ||
21 | |||
22 | return process_record_user(keycode, record); | ||
23 | } | ||
24 | |||
25 | void led_set_kb(uint8_t usb_led) { | ||
26 | // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here | ||
27 | |||
28 | led_set_user(usb_led); | ||
29 | } | ||
diff --git a/keyboards/412_64/412_64.h b/keyboards/412_64/412_64.h new file mode 100644 index 000000000..27a32f15a --- /dev/null +++ b/keyboards/412_64/412_64.h | |||
@@ -0,0 +1,29 @@ | |||
1 | |||
2 | #ifndef FOURx16_H | ||
3 | #define FOURx16_H | ||
4 | |||
5 | #include "quantum.h" | ||
6 | #define ___ KC_NO | ||
7 | |||
8 | // This a shortcut to help you visually see your layout. | ||
9 | // The first section contains all of the arguments | ||
10 | // The second converts the arguments into a two-dimensional array | ||
11 | |||
12 | #define LAYOUT_ortho_4x16( \ | ||
13 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K10, K11, K12, K13, K14, K15, \ | ||
14 | K16, K17, K18, K19, K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K30, K31, \ | ||
15 | K32, K33, K34, K35, K36, K37, K38, K39, K40, K41, K42, K43, K44, K45, K46, K47, \ | ||
16 | K48, K49, K50, K51, K52, K53, K54, K55, K56, K57, K58, K59, K60, K61, K62, K63 \ | ||
17 | ) \ | ||
18 | { \ | ||
19 | { K00, K02, K04, K06, K08, K10, K12, K14 }, \ | ||
20 | { K01, K03, K05, K07, K09, K11, K13, K15 }, \ | ||
21 | { K16, K18, K20, K22, K24, K26, K28, K30 }, \ | ||
22 | { K17, K19, K21, K23, K25, K27, K29, K31 }, \ | ||
23 | { K32, K34, K36, K38, K40, K42, K44, K46 }, \ | ||
24 | { K33, K35, K37, K39, K41, K43, K45, K47 }, \ | ||
25 | { K48, K50, K52, K54, K56, K58, K60, K62 }, \ | ||
26 | { K49, K51, K53, K55, K57, K59, K61, K63 } \ | ||
27 | } | ||
28 | |||
29 | #endif | ||
diff --git a/keyboards/412_64/config.h b/keyboards/412_64/config.h new file mode 100644 index 000000000..28d9763c3 --- /dev/null +++ b/keyboards/412_64/config.h | |||
@@ -0,0 +1,202 @@ | |||
1 | |||
2 | |||
3 | #pragma once | ||
4 | |||
5 | #include "config_common.h" | ||
6 | |||
7 | /* USB Device descriptor parameter */ | ||
8 | #define VENDOR_ID 0xF7E0 | ||
9 | #define PRODUCT_ID 0x0412 | ||
10 | #define DEVICE_VER 0x0000 | ||
11 | #define MANUFACTURER EDI/SCI | ||
12 | #define PRODUCT 412 64 Model 00 | ||
13 | #define DESCRIPTION A compact 60% keyboard inspired by the 4x4x4x4x4 | ||
14 | |||
15 | /* key matrix size */ | ||
16 | #define MATRIX_ROWS 8 | ||
17 | #define MATRIX_COLS 8 | ||
18 | |||
19 | /* | ||
20 | * Keyboard Matrix Assignments | ||
21 | * | ||
22 | * Change this to how you wired your keyboard | ||
23 | * COLS: AVR pins used for columns, left to right | ||
24 | * ROWS: AVR pins used for rows, top to bottom | ||
25 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
26 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
27 | * | ||
28 | */ | ||
29 | #define MATRIX_ROW_PINS { D3, F4, F5, F6, F7, B1, B3, B2 } | ||
30 | #define MATRIX_COL_PINS { B0, D2, D0, D1, D4, C6, D7, E6 } | ||
31 | #define UNUSED_PINS { B4, B5, B6, B7, C7, F0, F1 } | ||
32 | |||
33 | |||
34 | /* COL2ROW, ROW2COL, or CUSTOM_MATRIX */ | ||
35 | #define DIODE_DIRECTION COL2ROW | ||
36 | |||
37 | // #define BACKLIGHT_PIN C7 | ||
38 | // #define BACKLIGHT_BREATHING | ||
39 | // #define BACKLIGHT_LEVELS 3 | ||
40 | |||
41 | |||
42 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
43 | #define DEBOUNCING_DELAY 5 | ||
44 | |||
45 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | ||
46 | //#define MATRIX_HAS_GHOST | ||
47 | |||
48 | /* number of backlight levels */ | ||
49 | |||
50 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
51 | #define LOCKING_SUPPORT_ENABLE | ||
52 | /* Locking resynchronize hack */ | ||
53 | #define LOCKING_RESYNC_ENABLE | ||
54 | |||
55 | /* If defined, GRAVE_ESC will always act as ESC when CTRL is held. | ||
56 | * This is userful for the Windows task manager shortcut (ctrl+shift+esc). | ||
57 | */ | ||
58 | // #define GRAVE_ESC_CTRL_OVERRIDE | ||
59 | |||
60 | /* | ||
61 | * Force NKRO | ||
62 | * | ||
63 | * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved | ||
64 | * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the | ||
65 | * makefile for this to work.) | ||
66 | * | ||
67 | * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) | ||
68 | * until the next keyboard reset. | ||
69 | * | ||
70 | * NKRO may prevent your keystrokes from being detected in the BIOS, but it is | ||
71 | * fully operational during normal computer usage. | ||
72 | * | ||
73 | * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) | ||
74 | * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by | ||
75 | * bootmagic, NKRO mode will always be enabled until it is toggled again during a | ||
76 | * power-up. | ||
77 | * | ||
78 | */ | ||
79 | //#define FORCE_NKRO | ||
80 | |||
81 | /* | ||
82 | * Magic Key Options | ||
83 | * | ||
84 | * Magic keys are hotkey commands that allow control over firmware functions of | ||
85 | * the keyboard. They are best used in combination with the HID Listen program, | ||
86 | * found here: https://www.pjrc.com/teensy/hid_listen.html | ||
87 | * | ||
88 | * The options below allow the magic key functionality to be changed. This is | ||
89 | * useful if your keyboard/keypad is missing keys and you want magic key support. | ||
90 | * | ||
91 | */ | ||
92 | |||
93 | /* key combination for magic key command */ | ||
94 | #define IS_COMMAND() ( \ | ||
95 | keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \ | ||
96 | ) | ||
97 | |||
98 | /* control how magic key switches layers */ | ||
99 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true | ||
100 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true | ||
101 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM false | ||
102 | |||
103 | /* override magic key keymap */ | ||
104 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS | ||
105 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS | ||
106 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM | ||
107 | //#define MAGIC_KEY_HELP1 H | ||
108 | //#define MAGIC_KEY_HELP2 SLASH | ||
109 | //#define MAGIC_KEY_DEBUG D | ||
110 | //#define MAGIC_KEY_DEBUG_MATRIX X | ||
111 | //#define MAGIC_KEY_DEBUG_KBD K | ||
112 | //#define MAGIC_KEY_DEBUG_MOUSE M | ||
113 | //#define MAGIC_KEY_VERSION V | ||
114 | //#define MAGIC_KEY_STATUS S | ||
115 | //#define MAGIC_KEY_CONSOLE C | ||
116 | //#define MAGIC_KEY_LAYER0_ALT1 ESC | ||
117 | //#define MAGIC_KEY_LAYER0_ALT2 GRAVE | ||
118 | //#define MAGIC_KEY_LAYER0 0 | ||
119 | //#define MAGIC_KEY_LAYER1 1 | ||
120 | //#define MAGIC_KEY_LAYER2 2 | ||
121 | //#define MAGIC_KEY_LAYER3 3 | ||
122 | //#define MAGIC_KEY_LAYER4 4 | ||
123 | //#define MAGIC_KEY_LAYER5 5 | ||
124 | //#define MAGIC_KEY_LAYER6 6 | ||
125 | //#define MAGIC_KEY_LAYER7 7 | ||
126 | //#define MAGIC_KEY_LAYER8 8 | ||
127 | //#define MAGIC_KEY_LAYER9 9 | ||
128 | //#define MAGIC_KEY_BOOTLOADER PAUSE | ||
129 | //#define MAGIC_KEY_LOCK CAPS | ||
130 | //#define MAGIC_KEY_EEPROM E | ||
131 | //#define MAGIC_KEY_NKRO N | ||
132 | //#define MAGIC_KEY_SLEEP_LED Z | ||
133 | |||
134 | /* | ||
135 | * Feature disable options | ||
136 | * These options are also useful to firmware size reduction. | ||
137 | */ | ||
138 | |||
139 | /* disable debug print */ | ||
140 | //#define NO_DEBUG | ||
141 | |||
142 | /* disable print */ | ||
143 | //#define NO_PRINT | ||
144 | |||
145 | /* disable action features */ | ||
146 | //#define NO_ACTION_LAYER | ||
147 | //#define NO_ACTION_TAPPING | ||
148 | //#define NO_ACTION_ONESHOT | ||
149 | //#define NO_ACTION_MACRO | ||
150 | //#define NO_ACTION_FUNCTION | ||
151 | |||
152 | /* | ||
153 | * MIDI options | ||
154 | */ | ||
155 | |||
156 | /* Prevent use of disabled MIDI features in the keymap */ | ||
157 | //#define MIDI_ENABLE_STRICT 1 | ||
158 | |||
159 | /* enable basic MIDI features: | ||
160 | - MIDI notes can be sent when in Music mode is on | ||
161 | */ | ||
162 | //#define MIDI_BASIC | ||
163 | |||
164 | /* enable advanced MIDI features: | ||
165 | - MIDI notes can be added to the keymap | ||
166 | - Octave shift and transpose | ||
167 | - Virtual sustain, portamento, and modulation wheel | ||
168 | - etc. | ||
169 | */ | ||
170 | //#define MIDI_ADVANCED | ||
171 | |||
172 | /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ | ||
173 | //#define MIDI_TONE_KEYCODE_OCTAVES 1 | ||
174 | |||
175 | /* | ||
176 | * HD44780 LCD Display Configuration | ||
177 | */ | ||
178 | /* | ||
179 | #define LCD_LINES 2 //< number of visible lines of the display | ||
180 | #define LCD_DISP_LENGTH 16 //< visibles characters per line of the display | ||
181 | |||
182 | #define LCD_IO_MODE 1 //< 0: memory mapped mode, 1: IO port mode | ||
183 | |||
184 | #if LCD_IO_MODE | ||
185 | #define LCD_PORT PORTB //< port for the LCD lines | ||
186 | #define LCD_DATA0_PORT LCD_PORT //< port for 4bit data bit 0 | ||
187 | #define LCD_DATA1_PORT LCD_PORT //< port for 4bit data bit 1 | ||
188 | #define LCD_DATA2_PORT LCD_PORT //< port for 4bit data bit 2 | ||
189 | #define LCD_DATA3_PORT LCD_PORT //< port for 4bit data bit 3 | ||
190 | #define LCD_DATA0_PIN 4 //< pin for 4bit data bit 0 | ||
191 | #define LCD_DATA1_PIN 5 //< pin for 4bit data bit 1 | ||
192 | #define LCD_DATA2_PIN 6 //< pin for 4bit data bit 2 | ||
193 | #define LCD_DATA3_PIN 7 //< pin for 4bit data bit 3 | ||
194 | #define LCD_RS_PORT LCD_PORT //< port for RS line | ||
195 | #define LCD_RS_PIN 3 //< pin for RS line | ||
196 | #define LCD_RW_PORT LCD_PORT //< port for RW line | ||
197 | #define LCD_RW_PIN 2 //< pin for RW line | ||
198 | #define LCD_E_PORT LCD_PORT //< port for Enable line | ||
199 | #define LCD_E_PIN 1 //< pin for Enable line | ||
200 | #endif | ||
201 | */ | ||
202 | |||
diff --git a/keyboards/412_64/keymaps/default/config.h b/keyboards/412_64/keymaps/default/config.h new file mode 100644 index 000000000..d533d806c --- /dev/null +++ b/keyboards/412_64/keymaps/default/config.h | |||
@@ -0,0 +1,5 @@ | |||
1 | |||
2 | |||
3 | #pragma once | ||
4 | |||
5 | // place overrides here | ||
diff --git a/keyboards/412_64/keymaps/default/keymap.c b/keyboards/412_64/keymaps/default/keymap.c new file mode 100644 index 000000000..c098a37e5 --- /dev/null +++ b/keyboards/412_64/keymaps/default/keymap.c | |||
@@ -0,0 +1,105 @@ | |||
1 | |||
2 | #include QMK_KEYBOARD_H | ||
3 | |||
4 | #define _MAIN 0 | ||
5 | #define _RAISE 1 | ||
6 | #define _LOWER 2 | ||
7 | |||
8 | // Readability keycodes | ||
9 | #define LOWER MO(_LOWER) | ||
10 | #define RAISE MO(_RAISE) | ||
11 | |||
12 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
13 | |||
14 | |||
15 | /* MAIN | ||
16 | * .-----------------------------------------------------------------------------------------------------------------------------------------------. | ||
17 | * | TAB | Q | W | E | R | T | Y | U | I | O | P | Backsp | Delete | 7 | 8 | 9 | | ||
18 | * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
19 | * | ESC | A | S | D | F | G | H | J | K | L | ; | ' | PgUp | 4 | 5 | 6 | | ||
20 | * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
21 | * | SHIFT | Z | X | C | V | B | N | M | , | . | / | ENTER | PgDn | 1 | 2 | 3 | | ||
22 | * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
23 | * | LCTRL | PAUS | GUI | ALT | Lower | Space | Space | Raise | Left | Down | Up | Right | Shift | 0 | . | ENTER | | ||
24 | * '-----------------------------------------------------------------------------------------------------------------------------------------------' | ||
25 | */ | ||
26 | |||
27 | [_MAIN] = LAYOUT_ortho_4x16( | ||
28 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, KC_DEL, KC_KP_7, KC_KP_8, KC_KP_9, | ||
29 | KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_PGUP, KC_KP_4, KC_KP_5, KC_KP_6, | ||
30 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, KC_PGDN, KC_KP_1, KC_KP_2, KC_KP_3, | ||
31 | KC_LCTL, KC_PAUS, KC_LGUI, KC_LALT, LOWER, KC_SPC, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_RSFT, KC_KP_0, KC_KP_DOT, KC_PENT | ||
32 | ), | ||
33 | |||
34 | /* RAISE | ||
35 | * .-----------------------------------------------------------------------------------------------------------------------------------------------. | ||
36 | * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | | Insert | | | | | ||
37 | * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
38 | * | | | | | | | | - | = | [ | ] | \ | Home | | | | | ||
39 | * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
40 | * | | | | | | | | ISO # | ISO / | | | PScr | End | | | | | ||
41 | * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
42 | * | | | | | | | | Next | Vol- | Vol+ | Play | | | | | | ||
43 | * '-----------------------------------------------------------------------------------------------------------------------------------------------' | ||
44 | */ | ||
45 | |||
46 | [_RAISE] = LAYOUT_ortho_4x16( | ||
47 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, _______, KC_INS, _______, _______, _______, | ||
48 | _______, _______, _______, _______, _______, _______, _______, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, KC_HOME, _______, _______, _______, | ||
49 | _______, _______, _______, _______, _______, _______, _______, KC_NUHS, KC_NUBS, _______, _______, KC_PSCR, KC_END, _______, _______, _______, | ||
50 | _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY, _______, _______, _______, _______ | ||
51 | ), | ||
52 | |||
53 | /* LOWER | ||
54 | * .-----------------------------------------------------------------------------------------------------------------------------------------------. | ||
55 | * | ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) | | | | | Reset | | ||
56 | * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
57 | * | | F1 | F2 | F3 | F4 | F5 | F6 | _ | + | { | } | | | | | | | | ||
58 | * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
59 | * | | F7 | F8 | F9 | F10 | F11 | F12 | ISO ~ | ISO | | | | | | | | | | ||
60 | * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| | ||
61 | * | | | | | | | | | | | Mute | | | | | | ||
62 | * '-----------------------------------------------------------------------------------------------------------------------------------------------' | ||
63 | */ | ||
64 | |||
65 | [_LOWER] = LAYOUT_ortho_4x16( | ||
66 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, _______, _______, _______, _______, RESET, | ||
67 | _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, _______, _______, _______, _______, | ||
68 | _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,S(KC_NUHS),S(KC_NUBS), _______, _______, _______, _______, _______, _______, _______, | ||
69 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MUTE, _______, _______, _______, _______ | ||
70 | ), | ||
71 | |||
72 | }; | ||
73 | |||
74 | |||
75 | const uint16_t PROGMEM fn_actions[] = { | ||
76 | |||
77 | }; | ||
78 | |||
79 | |||
80 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) { | ||
81 | keyevent_t event = record->event; | ||
82 | (void)event; | ||
83 | |||
84 | switch (id) { | ||
85 | |||
86 | } | ||
87 | return MACRO_NONE; | ||
88 | } | ||
89 | |||
90 | |||
91 | void matrix_init_user(void) { | ||
92 | |||
93 | } | ||
94 | |||
95 | void matrix_scan_user(void) { | ||
96 | |||
97 | } | ||
98 | |||
99 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | ||
100 | return true; | ||
101 | } | ||
102 | |||
103 | void led_set_user(uint8_t usb_led) { | ||
104 | |||
105 | } | ||
diff --git a/keyboards/412_64/keymaps/default/rules.mk b/keyboards/412_64/keymaps/default/rules.mk new file mode 100644 index 000000000..08fdcc0a5 --- /dev/null +++ b/keyboards/412_64/keymaps/default/rules.mk | |||
@@ -0,0 +1 @@ | |||
KEY_LOCK_ENABLE = yes # Enable the universal locking key, which lets you do any locking you require. \ No newline at end of file | |||
diff --git a/keyboards/412_64/readme.md b/keyboards/412_64/readme.md new file mode 100644 index 000000000..081103107 --- /dev/null +++ b/keyboards/412_64/readme.md | |||
@@ -0,0 +1,15 @@ | |||
1 | # 412-64 | ||
2 | |||
3 |  | ||
4 | |||
5 | A compact 60% keyboard designed by Fate Everywhere and sold on a limited basis. Born out of the desire for a Planck with a numpad for technical work. | ||
6 | |||
7 | Keyboard Maintainer: [Fate Everywhere](https://github.com/fateeverywhere) | ||
8 | Hardware Supported: 4x16 T&E Prototype, 412-64 Mk. 0, Mk. 1. | ||
9 | Hardware Availability: Highly limited, contact /u/FateEverywhere on reddit for availability. | ||
10 | |||
11 | Make example for this keyboard (after setting up your build environment): | ||
12 | |||
13 | make 412-64:default | ||
14 | |||
15 | 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). \ No newline at end of file | ||
diff --git a/keyboards/412_64/rules.mk b/keyboards/412_64/rules.mk new file mode 100644 index 000000000..9e74da5d9 --- /dev/null +++ b/keyboards/412_64/rules.mk | |||
@@ -0,0 +1,73 @@ | |||
1 | # MCU name | ||
2 | MCU = atmega32u4 | ||
3 | |||
4 | # Processor frequency. | ||
5 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
6 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
7 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
8 | # automatically to create a 32-bit value in your source code. | ||
9 | # | ||
10 | # This will be an integer division of F_USB below, as it is sourced by | ||
11 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
12 | # does not *change* the processor frequency - it should merely be updated to | ||
13 | # reflect the processor speed set externally so that the code can use accurate | ||
14 | # software delays. | ||
15 | F_CPU = 16000000 | ||
16 | |||
17 | # | ||
18 | # LUFA specific | ||
19 | # | ||
20 | # Target architecture (see library "Board Types" documentation). | ||
21 | ARCH = AVR8 | ||
22 | |||
23 | # Input clock frequency. | ||
24 | # This will define a symbol, F_USB, in all source code files equal to the | ||
25 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
26 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
27 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
28 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
29 | # at the end, this will be done automatically to create a 32-bit value in your | ||
30 | # source code. | ||
31 | # | ||
32 | # If no clock division is performed on the input clock inside the AVR (via the | ||
33 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
34 | F_USB = $(F_CPU) | ||
35 | |||
36 | # Interrupt driven control endpoint task(+60) | ||
37 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
38 | |||
39 | # Boot Section Size in *bytes* | ||
40 | # Teensy halfKay 512 | ||
41 | # Teensy++ halfKay 1024 | ||
42 | # Atmel DFU loader 4096 | ||
43 | # LUFA bootloader 4096 | ||
44 | # USBaspLoader 2048 | ||
45 | # OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
46 | |||
47 | # Bootloader | ||
48 | # This definition is optional, and if your keyboard supports multiple bootloaders of | ||
49 | # different sizes, comment this out, and the correct address will be loaded | ||
50 | # automatically (+60). See bootloader.mk for all options. | ||
51 | BOOTLOADER = atmel-dfu | ||
52 | |||
53 | # Build Options | ||
54 | # change yes to no to disable | ||
55 | # | ||
56 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration(+1000) | ||
57 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700) | ||
58 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
59 | CONSOLE_ENABLE = yes # Console for debug(+400) | ||
60 | COMMAND_ENABLE = yes # Commands for debug and configuration | ||
61 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
62 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
63 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
64 | NKRO_ENABLE = no # USB Nkey Rollover | ||
65 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default | ||
66 | MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config) | ||
67 | UNICODE_ENABLE = no # Unicode | ||
68 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
69 | AUDIO_ENABLE = no # Audio output on port C6 | ||
70 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | ||
71 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) | ||
72 | |||
73 | LAYOUTS = ortho_4x16 | ||