aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--keyboards/noxary/268_2/268_2.c54
-rw-r--r--keyboards/noxary/268_2/268_2.h43
-rw-r--r--keyboards/noxary/268_2/config.h221
-rw-r--r--keyboards/noxary/268_2/info.json12
-rw-r--r--keyboards/noxary/268_2/keymaps/default/config.h19
-rw-r--r--keyboards/noxary/268_2/keymaps/default/keymap.c83
-rw-r--r--keyboards/noxary/268_2/keymaps/default/readme.md1
-rw-r--r--keyboards/noxary/268_2/readme.md16
-rw-r--r--keyboards/noxary/268_2/rules.mk80
-rw-r--r--keyboards/noxary/README.md6
10 files changed, 533 insertions, 2 deletions
diff --git a/keyboards/noxary/268_2/268_2.c b/keyboards/noxary/268_2/268_2.c
new file mode 100644
index 000000000..da4e5efb7
--- /dev/null
+++ b/keyboards/noxary/268_2/268_2.c
@@ -0,0 +1,54 @@
1/* Copyright 2018 Rozakiin
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 "268_2.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}
44
45__attribute__((weak))
46void led_set_user(uint8_t usb_led) {
47
48 if (usb_led & (1 << USB_LED_CAPS_LOCK)) {
49 DDRB |= (1 << 0); PORTB |= (1 << 0);
50 }
51 else {
52 DDRB &= ~(1 << 0); PORTB &= ~(1 << 0);
53 }
54}
diff --git a/keyboards/noxary/268_2/268_2.h b/keyboards/noxary/268_2/268_2.h
new file mode 100644
index 000000000..2f5d985a3
--- /dev/null
+++ b/keyboards/noxary/268_2/268_2.h
@@ -0,0 +1,43 @@
1/* Copyright 2018 Rozakiin
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 N268_2_H
17#define N268_2_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 LAYOUT( \
30 K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015, \
31 K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K114, K115, \
32 K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K214, K215, \
33 K300, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K314, K315, \
34 K400, K401, K402, K406, K409, K410, K412, K414, K415 \
35) { \
36 { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015, }, \
37 { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, KC_NO, K114, K115, }, \
38 { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, KC_NO, KC_NO, K214, K215, }, \
39 { K300, KC_NO, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, KC_NO, K314, K315, }, \
40 { K400, K401, K402, KC_NO, KC_NO, KC_NO, K406, KC_NO, KC_NO, K409, K410, KC_NO, K412, KC_NO, K414, K415, } \
41}
42
43#endif
diff --git a/keyboards/noxary/268_2/config.h b/keyboards/noxary/268_2/config.h
new file mode 100644
index 000000000..f5308d8ec
--- /dev/null
+++ b/keyboards/noxary/268_2/config.h
@@ -0,0 +1,221 @@
1/*
2Copyright 2018 Rozakiin
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 0x4E58
24#define PRODUCT_ID 0x0044
25#define DEVICE_VER 0x0002
26#define MANUFACTURER Noxary
27#define PRODUCT 268.2
28#define DESCRIPTION QMK keyboard firmware for 268.2
29
30/* key matrix size */
31#define MATRIX_ROWS 5
32#define MATRIX_COLS 16
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/* key matrix pins */
45#define MATRIX_ROW_PINS { F7, F6, F5, F0, B5 }
46#define MATRIX_COL_PINS { C6, B6, C7, F4, E6, D0, D7, D1, D2, B4, D6, D4, D5, F1, D3, B1 }
47#define UNUSED_PINS
48
49/* COL2ROW, ROW2COL, or CUSTOM_MATRIX */
50#define DIODE_DIRECTION COL2ROW
51
52/* number of backlight levels */
53#define BACKLIGHT_PIN B7
54#ifdef BACKLIGHT_PIN
55#define BACKLIGHT_LEVELS 3
56#endif
57
58/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
59#define DEBOUNCING_DELAY 5
60
61/* define if matrix has ghost (lacks anti-ghosting diodes) */
62//#define MATRIX_HAS_GHOST
63
64/* number of backlight levels */
65
66/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
67#define LOCKING_SUPPORT_ENABLE
68/* Locking resynchronize hack */
69#define LOCKING_RESYNC_ENABLE
70
71/* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
72 * This is userful for the Windows task manager shortcut (ctrl+shift+esc).
73 */
74// #define GRAVE_ESC_CTRL_OVERRIDE
75
76/*
77 * Force NKRO
78 *
79 * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
80 * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
81 * makefile for this to work.)
82 *
83 * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
84 * until the next keyboard reset.
85 *
86 * NKRO may prevent your keystrokes from being detected in the BIOS, but it is
87 * fully operational during normal computer usage.
88 *
89 * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
90 * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
91 * bootmagic, NKRO mode will always be enabled until it is toggled again during a
92 * power-up.
93 *
94 */
95//#define FORCE_NKRO
96
97/*
98 * Magic Key Options
99 *
100 * Magic keys are hotkey commands that allow control over firmware functions of
101 * the keyboard. They are best used in combination with the HID Listen program,
102 * found here: https://www.pjrc.com/teensy/hid_listen.html
103 *
104 * The options below allow the magic key functionality to be changed. This is
105 * useful if your keyboard/keypad is missing keys and you want magic key support.
106 *
107 */
108
109/* key combination for magic key command */
110#define IS_COMMAND() ( \
111 keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
112)
113
114/* control how magic key switches layers */
115//#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true
116//#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true
117//#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM false
118
119/* override magic key keymap */
120//#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS
121//#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS
122//#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM
123//#define MAGIC_KEY_HELP1 H
124//#define MAGIC_KEY_HELP2 SLASH
125//#define MAGIC_KEY_DEBUG D
126//#define MAGIC_KEY_DEBUG_MATRIX X
127//#define MAGIC_KEY_DEBUG_KBD K
128//#define MAGIC_KEY_DEBUG_MOUSE M
129//#define MAGIC_KEY_VERSION V
130//#define MAGIC_KEY_STATUS S
131//#define MAGIC_KEY_CONSOLE C
132//#define MAGIC_KEY_LAYER0_ALT1 ESC
133//#define MAGIC_KEY_LAYER0_ALT2 GRAVE
134//#define MAGIC_KEY_LAYER0 0
135//#define MAGIC_KEY_LAYER1 1
136//#define MAGIC_KEY_LAYER2 2
137//#define MAGIC_KEY_LAYER3 3
138//#define MAGIC_KEY_LAYER4 4
139//#define MAGIC_KEY_LAYER5 5
140//#define MAGIC_KEY_LAYER6 6
141//#define MAGIC_KEY_LAYER7 7
142//#define MAGIC_KEY_LAYER8 8
143//#define MAGIC_KEY_LAYER9 9
144//#define MAGIC_KEY_BOOTLOADER PAUSE
145//#define MAGIC_KEY_LOCK CAPS
146//#define MAGIC_KEY_EEPROM E
147//#define MAGIC_KEY_NKRO N
148//#define MAGIC_KEY_SLEEP_LED Z
149
150/*
151 * Feature disable options
152 * These options are also useful to firmware size reduction.
153 */
154
155/* disable debug print */
156//#define NO_DEBUG
157
158/* disable print */
159//#define NO_PRINT
160
161/* disable action features */
162//#define NO_ACTION_LAYER
163//#define NO_ACTION_TAPPING
164//#define NO_ACTION_ONESHOT
165//#define NO_ACTION_MACRO
166//#define NO_ACTION_FUNCTION
167
168/*
169 * MIDI options
170 */
171
172/* Prevent use of disabled MIDI features in the keymap */
173//#define MIDI_ENABLE_STRICT 1
174
175/* enable basic MIDI features:
176 - MIDI notes can be sent when in Music mode is on
177*/
178//#define MIDI_BASIC
179
180/* enable advanced MIDI features:
181 - MIDI notes can be added to the keymap
182 - Octave shift and transpose
183 - Virtual sustain, portamento, and modulation wheel
184 - etc.
185*/
186//#define MIDI_ADVANCED
187
188/* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
189//#define MIDI_TONE_KEYCODE_OCTAVES 1
190
191/*
192 * HD44780 LCD Display Configuration
193 */
194/*
195#define LCD_LINES 2 //< number of visible lines of the display
196#define LCD_DISP_LENGTH 16 //< visibles characters per line of the display
197
198#define LCD_IO_MODE 1 //< 0: memory mapped mode, 1: IO port mode
199
200#if LCD_IO_MODE
201#define LCD_PORT PORTB //< port for the LCD lines
202#define LCD_DATA0_PORT LCD_PORT //< port for 4bit data bit 0
203#define LCD_DATA1_PORT LCD_PORT //< port for 4bit data bit 1
204#define LCD_DATA2_PORT LCD_PORT //< port for 4bit data bit 2
205#define LCD_DATA3_PORT LCD_PORT //< port for 4bit data bit 3
206#define LCD_DATA0_PIN 4 //< pin for 4bit data bit 0
207#define LCD_DATA1_PIN 5 //< pin for 4bit data bit 1
208#define LCD_DATA2_PIN 6 //< pin for 4bit data bit 2
209#define LCD_DATA3_PIN 7 //< pin for 4bit data bit 3
210#define LCD_RS_PORT LCD_PORT //< port for RS line
211#define LCD_RS_PIN 3 //< pin for RS line
212#define LCD_RW_PORT LCD_PORT //< port for RW line
213#define LCD_RW_PIN 2 //< pin for RW line
214#define LCD_E_PORT LCD_PORT //< port for Enable line
215#define LCD_E_PIN 1 //< pin for Enable line
216#endif
217*/
218
219/* Bootmagic Lite key configuration */
220// #define BOOTMAGIC_LITE_ROW 0
221// #define BOOTMAGIC_LITE_COLUMN 0
diff --git a/keyboards/noxary/268_2/info.json b/keyboards/noxary/268_2/info.json
new file mode 100644
index 000000000..8d227afd8
--- /dev/null
+++ b/keyboards/noxary/268_2/info.json
@@ -0,0 +1,12 @@
1{
2 "keyboard_name": "Noxary 268.2",
3 "url": "",
4 "maintainer": "qmk",
5 "width": 16,
6 "height": 5,
7 "layouts": {
8 "LAYOUT": {
9 "layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}, {"x":5, "y":0}, {"x":6, "y":0}, {"x":7, "y":0}, {"x":8, "y":0}, {"x":9, "y":0}, {"x":10, "y":0}, {"x":11, "y":0}, {"x":12, "y":0}, {"x":13, "y":0, "w":2}, {"x":15, "y":0}, {"x":0, "y":1, "w":1.5}, {"x":1.5, "y":1}, {"x":2.5, "y":1}, {"x":3.5, "y":1}, {"x":4.5, "y":1}, {"x":5.5, "y":1}, {"x":6.5, "y":1}, {"x":7.5, "y":1}, {"x":8.5, "y":1}, {"x":9.5, "y":1}, {"x":10.5, "y":1}, {"x":11.5, "y":1}, {"x":12.5, "y":1}, {"x":13.5, "y":1, "w":1.5}, {"x":15, "y":1}, {"x":0, "y":2, "w":1.75}, {"x":1.75, "y":2}, {"x":2.75, "y":2}, {"x":3.75, "y":2}, {"x":4.75, "y":2}, {"x":5.75, "y":2}, {"x":6.75, "y":2}, {"x":7.75, "y":2}, {"x":8.75, "y":2}, {"x":9.75, "y":2}, {"x":10.75, "y":2}, {"x":11.75, "y":2}, {"x":12.75, "y":2, "w":2.25}, {"x":15, "y":2}, {"x":0, "y":3, "w":2.25}, {"x":2.25, "y":3}, {"x":3.25, "y":3}, {"x":4.25, "y":3}, {"x":5.25, "y":3}, {"x":6.25, "y":3}, {"x":7.25, "y":3}, {"x":8.25, "y":3}, {"x":9.25, "y":3}, {"x":10.25, "y":3}, {"x":11.25, "y":3}, {"x":12.25, "y":3, "w":1.75}, {"x":14, "y":3}, {"x":15, "y":3}, {"x":0, "y":4, "w":1.25}, {"x":1.25, "y":4, "w":1.25}, {"x":2.5, "y":4, "w":1.25}, {"x":3.75, "y":4, "w":6.25}, {"x":10, "y":4}, {"x":11, "y":4}, {"x":12, "y":4}, {"x":13, "y":4}, {"x":14, "y":4}, {"x":15, "y":4}]
10 }
11 }
12}
diff --git a/keyboards/noxary/268_2/keymaps/default/config.h b/keyboards/noxary/268_2/keymaps/default/config.h
new file mode 100644
index 000000000..9c4c2b630
--- /dev/null
+++ b/keyboards/noxary/268_2/keymaps/default/config.h
@@ -0,0 +1,19 @@
1/* Copyright 2018 Rozakiin
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
17#pragma once
18
19// place overrides here
diff --git a/keyboards/noxary/268_2/keymaps/default/keymap.c b/keyboards/noxary/268_2/keymaps/default/keymap.c
new file mode 100644
index 000000000..994fe36b0
--- /dev/null
+++ b/keyboards/noxary/268_2/keymaps/default/keymap.c
@@ -0,0 +1,83 @@
1#include QMK_KEYBOARD_H
2
3// Each layer gets a name for readability, which is then used in the keymap matrix below.
4// The underscores don't mean anything - you can have a layer called STUFF or any other name.
5// Layer names don't all need to be of the same length, obviously, and you can also skip them
6// entirely and just use numbers.
7#define _BL 0
8#define _FL1 1
9#define _FL2 2
10
11const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
12 /* _BL: Base Layer(Default) - For ISO enter use ANSI enter
13 * ,----------------------------------------------------------------.
14 * |Esc | 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =| \|BSpc| Grv|
15 * |----------------------------------------------------------------|
16 * |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| \ | Del|
17 * |----------------------------------------------------------------|
18 * |CAPS | A| S| D| F| G| H| J| K| L| ;| '| #| Ent|PgUp|
19 * |----------------------------------------------------------------|
20 * |Shift| \| Z| X| C| V| B| N| M| ,| .| /|Shift | Up|PgDn|
21 * |----------------------------------------------------------------|
22 * |Ctrl|Win |Alt | Space |Alt|Mo(1)|Ctrl|Lef|Dow|Rght|
23 * `----------------------------------------------------------------'
24 */
25 [_BL] = LAYOUT(
26 KC_ESC, 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_BSLS, KC_BSPC, KC_GRV,
27 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_BSLS, KC_DEL,
28 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_ENT, KC_PGUP,
29 KC_LSFT, 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_PGDN,
30 KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(_FL1), KC_LEFT, KC_DOWN, KC_RGHT),
31 /* _FL1: Function Layer 1 - For ISO enter use ANSI enter
32 * ,----------------------------------------------------------------.
33 * | `|F1| F2| F3| F4| F5| F6| F7| F8| F9|F10|F11|F12| |PScr| |
34 * |----------------------------------------------------------------|
35 * | | | | |RST| | | | | | | | | | Ins|
36 * |----------------------------------------------------------------|
37 * | | | | | | | | | | | | | | |Home|
38 * |----------------------------------------------------------------|
39 * | | | | | | | | | |Bl-|Bl+| |Mute|Vol+| End|
40 * |----------------------------------------------------------------|
41 * | | | | BL_Toggle | | | | |Vol-| |
42 * `----------------------------------------------------------------'
43 */
44 [_FL1] = LAYOUT(
45 KC_GRV, 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, _______,
46 _______, _______, _______, _______, RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_INS,
47 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_HOME,
48 _______, _______, _______, _______, _______, _______, _______, _______, BL_DEC, BL_INC, _______, KC_MUTE, KC_VOLU, KC_END,
49 _______, _______, _______, BL_TOGG, _______, _______, _______, KC_VOLD, _______),
50 /* _FL2: Function Layer 2 - For ISO enter use ANSI enter
51 * ,----------------------------------------------------------------.
52 * | | | | | | | | | | | | | | | | |
53 * |----------------------------------------------------------------|
54 * | | | | | | | | | | | | | | | |
55 * |----------------------------------------------------------------|
56 * | | | | | | | | | | | | | | | |
57 * |----------------------------------------------------------------|
58 * | | | | | | | | | | | | | | | |
59 * |----------------------------------------------------------------|
60 * | | | | | | | | | | |
61 * `----------------------------------------------------------------'
62 */
63 [_FL2] = LAYOUT(
64 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
65 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
66 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
67 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
68 _______, _______, _______, _______, _______, _______, _______, _______, _______),
69
70};
71
72
73void matrix_init_user(void) {
74}
75
76void matrix_scan_user(void) {
77}
78
79bool process_record_user(uint16_t keycode, keyrecord_t *record) {
80 return true;
81}
82
83
diff --git a/keyboards/noxary/268_2/keymaps/default/readme.md b/keyboards/noxary/268_2/keymaps/default/readme.md
new file mode 100644
index 000000000..c4c832cc6
--- /dev/null
+++ b/keyboards/noxary/268_2/keymaps/default/readme.md
@@ -0,0 +1 @@
# The default keymap for 268_2
diff --git a/keyboards/noxary/268_2/readme.md b/keyboards/noxary/268_2/readme.md
new file mode 100644
index 000000000..85d1a4717
--- /dev/null
+++ b/keyboards/noxary/268_2/readme.md
@@ -0,0 +1,16 @@
1# Noxary 268.2
2
3![268.2](https://www.keebtalk.com/uploads/db8059/original/2X/6/65b93c83cadd98bbf8e3b1d739621d54b682609a.jpg)
4
5A fully customizable 65% keyboard.
6
7* Keyboard Maintainer: [Rozakiin](https://github.com/rozakiin)
8* Hardware Supported: 268.2 PCB
9 * rev1
10* Hardware Availability: [Noxary](https://shop.noxary.co/collections/268-2/products/noxary-268-2-polycarbonate)
11
12Make example for this keyboard (after setting up your build environment):
13
14 make noxary/268_2:default
15
16See 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/noxary/268_2/rules.mk b/keyboards/noxary/268_2/rules.mk
new file mode 100644
index 000000000..9b6d7e672
--- /dev/null
+++ b/keyboards/noxary/268_2/rules.mk
@@ -0,0 +1,80 @@
1# MCU name
2MCU = 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.
15F_CPU = 16000000
16
17
18#
19# LUFA specific
20#
21# Target architecture (see library "Board Types" documentation).
22ARCH = AVR8
23
24# Input clock frequency.
25# This will define a symbol, F_USB, in all source code files equal to the
26# input clock frequency (before any prescaling is performed) in Hz. This value may
27# differ from F_CPU if prescaling is used on the latter, and is required as the
28# raw input clock is fed directly to the PLL sections of the AVR for high speed
29# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
30# at the end, this will be done automatically to create a 32-bit value in your
31# source code.
32#
33# If no clock division is performed on the input clock inside the AVR (via the
34# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
35F_USB = $(F_CPU)
36
37# Interrupt driven control endpoint task(+60)
38OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
39
40
41# Bootloader selection
42# Teensy halfkay
43# Pro Micro caterina
44# Atmel DFU atmel-dfu
45# LUFA DFU lufa-dfu
46# QMK DFU qmk-dfu
47# atmega32a bootloadHID
48BOOTLOADER = atmel-dfu
49
50
51# If you don't know the bootloader type, then you can specify the
52# Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line
53# Teensy halfKay 512
54# Teensy++ halfKay 1024
55# Atmel DFU loader 4096
56# LUFA bootloader 4096
57# USBaspLoader 2048
58# OPT_DEFS += -DBOOTLOADER_SIZE=4096
59
60
61# Build Options
62# change yes to no to disable
63#
64BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
65MOUSEKEY_ENABLE = no # Mouse keys(+4700)
66EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
67CONSOLE_ENABLE = no # Console for debug(+400)
68COMMAND_ENABLE = no # Commands for debug and configuration
69# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
70SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
71# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
72NKRO_ENABLE = yes # USB Nkey Rollover
73BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality on B7 by default
74RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
75MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config)
76UNICODE_ENABLE = no # Unicode
77BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
78AUDIO_ENABLE = no # Audio output on port C6
79FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
80HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400)
diff --git a/keyboards/noxary/README.md b/keyboards/noxary/README.md
index bd4b4b591..8dbd85f7e 100644
--- a/keyboards/noxary/README.md
+++ b/keyboards/noxary/README.md
@@ -4,6 +4,8 @@ All files related to firmware of Noxary Keyboards designed by [Rozakiin](https:/
4 4
5### Keyboards 5### Keyboards
6 6
7- [268](./268/): Original repo [here](https://github.com/Rozakiin/Noxary_Firmware). Imported by kind [permission](https://github.com/Rozakiin/Noxary_Firmware/issues/1) of @rozakiin 7- [268](./268/): Original repo [here](https://github.com/Rozakiin/Noxary_Firmware). Imported by kind [permission](https://github.com/Rozakiin/Noxary_Firmware/issues/1) of @rozakiin
8 8
9- [x268](./x268/): Original repo [here](https://github.com/Rozakiin/Noxary_Firmware). Imported by kind [permission](https://github.com/Rozakiin/Noxary_Firmware/issues/1) of @rozakiin 9- [268.2](./268_2/): Original repo [here](https://github.com/Rozakiin/Noxary_Firmware). Imported by kind [permission](https://github.com/Rozakiin/Noxary_Firmware/issues/1) of @rozakiin
10
11- [x268](./x268/): Original repo [here](https://github.com/Rozakiin/Noxary_Firmware). Imported by kind [permission](https://github.com/Rozakiin/Noxary_Firmware/issues/1) of @rozakiin