aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorai03 <sarcaphx510@gmail.com>2020-04-03 20:33:53 +0900
committerGitHub <noreply@github.com>2020-04-03 04:33:53 -0700
commit2f623daa459eeab29f2bdfe03bc7c2c05e875d45 (patch)
tree15663d88fb28b0966e44c6327d4e515511a4408a
parentebbaba9001c09f904e29b16f9b0458afdefdae2f (diff)
downloadqmk_firmware-2f623daa459eeab29f2bdfe03bc7c2c05e875d45.tar.gz
qmk_firmware-2f623daa459eeab29f2bdfe03bc7c2c05e875d45.zip
[Keyboard] Add Orbit-X Keyboard (#8605)
* Make initial batch of files * Tweak keymap * Mod default keymap * Add via compat * Update default keymap based on real world use * Remove RGB, LCD, MIDI options * Remove unnecessary functons from orbit_x.c * Update readme * Cleanup makefile as necessary * Make the readme file for default keymap not completely empty * Update keyboards/ai03/orbit_x/keymaps/default/keymap.c * Update keyboards/ai03/orbit_x/readme.md * Update keyboards/ai03/orbit_x/info.json
-rw-r--r--keyboards/ai03/orbit_x/config.h175
-rw-r--r--keyboards/ai03/orbit_x/info.json61
-rw-r--r--keyboards/ai03/orbit_x/keymaps/default/keymap.c59
-rw-r--r--keyboards/ai03/orbit_x/keymaps/default/readme.md3
-rw-r--r--keyboards/ai03/orbit_x/keymaps/via/keymap.c59
-rw-r--r--keyboards/ai03/orbit_x/keymaps/via/readme.md2
-rw-r--r--keyboards/ai03/orbit_x/keymaps/via/rules.mk1
-rw-r--r--keyboards/ai03/orbit_x/orbit_x.c18
-rw-r--r--keyboards/ai03/orbit_x/orbit_x.h44
-rw-r--r--keyboards/ai03/orbit_x/readme.md15
-rw-r--r--keyboards/ai03/orbit_x/rules.mk33
11 files changed, 470 insertions, 0 deletions
diff --git a/keyboards/ai03/orbit_x/config.h b/keyboards/ai03/orbit_x/config.h
new file mode 100644
index 000000000..fb2ebe44f
--- /dev/null
+++ b/keyboards/ai03/orbit_x/config.h
@@ -0,0 +1,175 @@
1/*
2Copyright 2019 Ryota Goto
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 0xA103
24#define PRODUCT_ID 0x0014
25#define DEVICE_VER 0x0001
26#define MANUFACTURER ai03 Design Studio
27#define PRODUCT OrbitX
28#define DESCRIPTION High-end compact ergonomic keyboard
29
30/* key matrix size */
31#define MATRIX_ROWS 8 // Double the rows for split
32#define MATRIX_COLS 6
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 { D7, D6, D4, F0 }
45#define MATRIX_COL_PINS { E6, F6, B1, B0, C7, C6 }
46#define MATRIX_ROW_PINS_RIGHT { B5, D7, B4, D4 }
47#define MATRIX_COL_PINS_RIGHT { D6, B6, B1, B0, B3, B2 }
48#define UNUSED_PINS
49
50/* COL2ROW, ROW2COL*/
51#define DIODE_DIRECTION COL2ROW
52
53/*
54 * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN.
55 */
56#define SOFT_SERIAL_PIN D0 // or D1, D2, D3, E6
57#define SPLIT_HAND_PIN D5
58#define SPLIT_USB_DETECT
59#define SPLIT_USB_TIMEOUT 2500
60
61/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
62#define DEBOUNCE 5
63
64/* define if matrix has ghost (lacks anti-ghosting diodes) */
65//#define MATRIX_HAS_GHOST
66
67/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
68#define LOCKING_SUPPORT_ENABLE
69/* Locking resynchronize hack */
70#define LOCKING_RESYNC_ENABLE
71
72/* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
73 * This is userful for the Windows task manager shortcut (ctrl+shift+esc).
74 */
75// #define GRAVE_ESC_CTRL_OVERRIDE
76
77/*
78 * Force NKRO
79 *
80 * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
81 * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
82 * makefile for this to work.)
83 *
84 * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
85 * until the next keyboard reset.
86 *
87 * NKRO may prevent your keystrokes from being detected in the BIOS, but it is
88 * fully operational during normal computer usage.
89 *
90 * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
91 * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
92 * bootmagic, NKRO mode will always be enabled until it is toggled again during a
93 * power-up.
94 *
95 */
96//#define FORCE_NKRO
97
98/*
99 * Magic Key Options
100 *
101 * Magic keys are hotkey commands that allow control over firmware functions of
102 * the keyboard. They are best used in combination with the HID Listen program,
103 * found here: https://www.pjrc.com/teensy/hid_listen.html
104 *
105 * The options below allow the magic key functionality to be changed. This is
106 * useful if your keyboard/keypad is missing keys and you want magic key support.
107 *
108 */
109
110/* key combination for magic key command */
111/* defined by default; to change, uncomment and set to the combination you want */
112// #define IS_COMMAND() (get_mods() == MOD_MASK_SHIFT)
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_HELP H
124//#define MAGIC_KEY_HELP_ALT 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 0
133//#define MAGIC_KEY_LAYER0_ALT GRAVE
134//#define MAGIC_KEY_LAYER1 1
135//#define MAGIC_KEY_LAYER2 2
136//#define MAGIC_KEY_LAYER3 3
137//#define MAGIC_KEY_LAYER4 4
138//#define MAGIC_KEY_LAYER5 5
139//#define MAGIC_KEY_LAYER6 6
140//#define MAGIC_KEY_LAYER7 7
141//#define MAGIC_KEY_LAYER8 8
142//#define MAGIC_KEY_LAYER9 9
143//#define MAGIC_KEY_BOOTLOADER B
144//#define MAGIC_KEY_BOOTLOADER_ALT ESC
145//#define MAGIC_KEY_LOCK CAPS
146//#define MAGIC_KEY_EEPROM E
147//#define MAGIC_KEY_EEPROM_CLEAR BSPACE
148//#define MAGIC_KEY_NKRO N
149//#define MAGIC_KEY_SLEEP_LED Z
150
151/*
152 * Feature disable options
153 * These options are also useful to firmware size reduction.
154 */
155
156/* disable debug print */
157//#define NO_DEBUG
158
159/* disable print */
160//#define NO_PRINT
161
162/* disable action features */
163//#define NO_ACTION_LAYER
164//#define NO_ACTION_TAPPING
165//#define NO_ACTION_ONESHOT
166
167/* disable these deprecated features by default */
168#ifndef LINK_TIME_OPTIMIZATION_ENABLE
169 #define NO_ACTION_MACRO
170 #define NO_ACTION_FUNCTION
171#endif
172
173/* Bootmagic Lite key configuration */
174// #define BOOTMAGIC_LITE_ROW 0
175// #define BOOTMAGIC_LITE_COLUMN 0
diff --git a/keyboards/ai03/orbit_x/info.json b/keyboards/ai03/orbit_x/info.json
new file mode 100644
index 000000000..638ffec4d
--- /dev/null
+++ b/keyboards/ai03/orbit_x/info.json
@@ -0,0 +1,61 @@
1{
2 "keyboard_name": "Orbit-X",
3 "url": "",
4 "maintainer": "ai03",
5 "width": 13.5,
6 "height": 4.38,
7 "layouts": {
8 "LAYOUT": {
9 "layout": [
10 {"x":0, "y":0.38},
11 {"x":1, "y":0.38},
12 {"x":2, "y":0.13},
13 {"x":3, "y":0},
14 {"x":4, "y":0.13},
15 {"x":5, "y":0.25},
16 {"x":7.5, "y":0.25},
17 {"x":8.5, "y":0.13},
18 {"x":9.5, "y":0},
19 {"x":10.5, "y":0.13},
20 {"x":11.5, "y":0.38},
21 {"x":12.5, "y":0.38},
22 {"x":0, "y":1.38},
23 {"x":1, "y":1.38},
24 {"x":2, "y":1.13},
25 {"x":3, "y":1.0},
26 {"x":4, "y":1.13},
27 {"x":5, "y":1.25},
28 {"x":7.5, "y":1.25},
29 {"x":8.5, "y":1.13},
30 {"x":9.5, "y":1.0},
31 {"x":10.5, "y":1.13},
32 {"x":11.5, "y":1.38},
33 {"x":12.5, "y":1.38},
34 {"x":0, "y":2.38},
35 {"x":1, "y":2.38},
36 {"x":2, "y":2.13},
37 {"x":3, "y":2},
38 {"x":4, "y":2.13},
39 {"x":5, "y":2.25},
40 {"x":7.5, "y":2.25},
41 {"x":8.5, "y":2.13},
42 {"x":9.5, "y":2},
43 {"x":10.5, "y":2.13},
44 {"x":11.5, "y":2.38},
45 {"x":12.5, "y":2.38},
46 {"x":0, "y":3.38},
47 {"x":1, "y":3.38},
48 {"x":2, "y":3.13},
49 {"x":3, "y":3},
50 {"x":4.25, "y":3.38},
51 {"x":5.25, "y":3.25, "h":1.5},
52 {"x":7.25, "y":3.25, "h":1.5},
53 {"x":8.25, "y":3.38},
54 {"x":9.5, "y":3},
55 {"x":10.5, "y":3.13},
56 {"x":11.5, "y":3.38},
57 {"x":12.5, "y":3.38}
58 ]
59 }
60 }
61}
diff --git a/keyboards/ai03/orbit_x/keymaps/default/keymap.c b/keyboards/ai03/orbit_x/keymaps/default/keymap.c
new file mode 100644
index 000000000..6b62d2a74
--- /dev/null
+++ b/keyboards/ai03/orbit_x/keymaps/default/keymap.c
@@ -0,0 +1,59 @@
1/* Copyright 2019 Ryota Goto
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 names for use in layer keycodes and the keymap
19enum layer_names {
20 _BASE,
21 _NUM,
22 _NAV,
23 _FN
24};
25
26/*
27 L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \
28 L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \
29 L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, \
30 L30, L31, L32, L33, L34, L35, R30, R31, R32, R33, R34, R35 \
31*/
32
33const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
34 /* Base */
35 [_BASE] = LAYOUT(
36 KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
37 KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
38 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT,
39 MO(3), KC_TAB, KC_LGUI, KC_LALT, MO(2), KC_SPC, KC_SPC, MO(1), KC_TAB, KC_DEL, KC_PSCR, MO(3)
40 ),
41 [_NUM] = LAYOUT(
42 _______, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, _______,
43 _______, KC_GRV, KC_SLSH, KC_LBRC, KC_LPRN, KC_MINS, KC_EQL, KC_RPRN, KC_RBRC, KC_BSLS, XXXXXXX, _______,
44 _______, KC_TILD, KC_QUES, KC_LCBR, XXXXXXX, KC_UNDS, KC_PLUS, XXXXXXX, KC_RCBR, KC_PIPE, _______, _______,
45 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
46 ),
47 [_NAV] = LAYOUT(
48 _______, XXXXXXX, XXXXXXX, KC_PGUP, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_UP, XXXXXXX, XXXXXXX, _______,
49 _______, XXXXXXX, KC_HOME, KC_PGDN, KC_END, XXXXXXX, XXXXXXX, KC_LEFT, KC_DOWN, KC_RGHT, XXXXXXX, _______,
50 _______, XXXXXXX, C(G(KC_LEFT)), XXXXXXX, C(G(KC_RGHT)), XXXXXXX, XXXXXXX, C(S(KC_TAB)), XXXXXXX, C(KC_TAB), XXXXXXX, _______,
51 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
52 ),
53 [_FN] = LAYOUT(
54 RESET, XXXXXXX, KC_F1, KC_F2, KC_F3, XXXXXXX, XXXXXXX, KC_F7, KC_F8, KC_F9, XXXXXXX, RESET,
55 _______, XXXXXXX, KC_F4, KC_F5, KC_F6, XXXXXXX, XXXXXXX, KC_F10, KC_F11, KC_F12, XXXXXXX, _______,
56 _______, XXXXXXX, KC_VOLD, XXXXXXX, KC_VOLU, XXXXXXX, XXXXXXX, KC_MPRV, KC_MPLY, KC_MNXT, XXXXXXX, _______,
57 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
58 )
59};
diff --git a/keyboards/ai03/orbit_x/keymaps/default/readme.md b/keyboards/ai03/orbit_x/keymaps/default/readme.md
new file mode 100644
index 000000000..b106c969e
--- /dev/null
+++ b/keyboards/ai03/orbit_x/keymaps/default/readme.md
@@ -0,0 +1,3 @@
1# The default keymap for orbit_x
2
3Basic keymap that works well in most cases. \ No newline at end of file
diff --git a/keyboards/ai03/orbit_x/keymaps/via/keymap.c b/keyboards/ai03/orbit_x/keymaps/via/keymap.c
new file mode 100644
index 000000000..90a8ef766
--- /dev/null
+++ b/keyboards/ai03/orbit_x/keymaps/via/keymap.c
@@ -0,0 +1,59 @@
1/* Copyright 2020 Ryota Goto
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 names for use in layer keycodes and the keymap
19enum layer_names {
20 _BASE,
21 _NUM,
22 _NAV,
23 _FN
24};
25
26/*
27 L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \
28 L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \
29 L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, \
30 L30, L31, L32, L33, L34, L35, R30, R31, R32, R33, R34, R35 \
31*/
32
33const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
34 /* Base */
35 [_BASE] = LAYOUT(
36 KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
37 KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
38 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT,
39 MO(3), KC_TAB, KC_LGUI, KC_LALT, MO(2), KC_SPC, KC_SPC, MO(1), KC_TAB, KC_DEL, KC_PSCR, MO(3)
40 ),
41 [_NUM] = LAYOUT(
42 _______, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, _______,
43 _______, KC_GRV, KC_SLSH, KC_LBRC, KC_LPRN, KC_MINS, KC_EQL, KC_RPRN, KC_RBRC, KC_BSLS, XXXXXXX, _______,
44 _______, KC_TILD, KC_QUES, KC_LCBR, XXXXXXX, KC_UNDS, KC_PLUS, XXXXXXX, KC_RCBR, KC_PIPE, _______, _______,
45 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
46 ),
47 [_NAV] = LAYOUT(
48 _______, XXXXXXX, XXXXXXX, KC_PGUP, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_UP, XXXXXXX, XXXXXXX, _______,
49 _______, XXXXXXX, KC_HOME, KC_PGDN, KC_END, XXXXXXX, XXXXXXX, KC_LEFT, KC_DOWN, KC_RGHT, XXXXXXX, _______,
50 _______, XXXXXXX, C(G(KC_LEFT)), XXXXXXX, C(G(KC_RGHT)), XXXXXXX, XXXXXXX, C(S(KC_TAB)), XXXXXXX, C(KC_TAB), XXXXXXX, _______,
51 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
52 ),
53 [_FN] = LAYOUT(
54 RESET, XXXXXXX, KC_F1, KC_F2, KC_F3, XXXXXXX, XXXXXXX, KC_F7, KC_F8, KC_F9, XXXXXXX, RESET,
55 _______, XXXXXXX, KC_F4, KC_F5, KC_F6, XXXXXXX, XXXXXXX, KC_F10, KC_F11, KC_F12, XXXXXXX, _______,
56 _______, XXXXXXX, KC_VOLD, XXXXXXX, KC_VOLU, XXXXXXX, XXXXXXX, KC_MPRV, KC_MPLY, KC_MNXT, XXXXXXX, _______,
57 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
58 )
59};
diff --git a/keyboards/ai03/orbit_x/keymaps/via/readme.md b/keyboards/ai03/orbit_x/keymaps/via/readme.md
new file mode 100644
index 000000000..ec31b557d
--- /dev/null
+++ b/keyboards/ai03/orbit_x/keymaps/via/readme.md
@@ -0,0 +1,2 @@
1# The via keymap for orbit_x
2For use with VIA configurator only
diff --git a/keyboards/ai03/orbit_x/keymaps/via/rules.mk b/keyboards/ai03/orbit_x/keymaps/via/rules.mk
new file mode 100644
index 000000000..036bd6d1c
--- /dev/null
+++ b/keyboards/ai03/orbit_x/keymaps/via/rules.mk
@@ -0,0 +1 @@
VIA_ENABLE = yes \ No newline at end of file
diff --git a/keyboards/ai03/orbit_x/orbit_x.c b/keyboards/ai03/orbit_x/orbit_x.c
new file mode 100644
index 000000000..3327261ad
--- /dev/null
+++ b/keyboards/ai03/orbit_x/orbit_x.c
@@ -0,0 +1,18 @@
1/* Copyright 2019 Ryota Goto
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#include "orbit_x.h"
18
diff --git a/keyboards/ai03/orbit_x/orbit_x.h b/keyboards/ai03/orbit_x/orbit_x.h
new file mode 100644
index 000000000..a1ae8304b
--- /dev/null
+++ b/keyboards/ai03/orbit_x/orbit_x.h
@@ -0,0 +1,44 @@
1/* Copyright 2019 Ryota Goto
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#include "quantum.h"
20
21/* This is 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 L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \
31 L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \
32 L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, \
33 L30, L31, L32, L33, L34, L35, R30, R31, R32, R33, R34, R35 \
34) \
35{ \
36 { L00, L01, L02, L03, L04, L05 }, \
37 { L10, L11, L12, L13, L14, L15 }, \
38 { L20, L21, L22, L23, L24, L25 }, \
39 { L30, L31, L32, L33, L34, L35 }, \
40 { R00, R01, R02, R03, R04, R05 }, \
41 { R10, R11, R12, R13, R14, R15 }, \
42 { R20, R21, R22, R23, R24, R25 }, \
43 { R30, R31, R32, R33, R34, R35 }, \
44}
diff --git a/keyboards/ai03/orbit_x/readme.md b/keyboards/ai03/orbit_x/readme.md
new file mode 100644
index 000000000..80bc6bbab
--- /dev/null
+++ b/keyboards/ai03/orbit_x/readme.md
@@ -0,0 +1,15 @@
1# Orbit-X
2
3![orbit_x](https://i.imgur.com/4z2wgsV.png)
4
5A compact high-end split keyboard
6
7* Keyboard Maintainer: [ai03](https://github.com/ai03-2725)
8* Hardware Supported: The Orbit-X keyboard PCB
9* Hardware Availability: Deskeys for official kit; open-source PCB [here](https://github.com/ai03-2725/Orbit/tree/master/OrbitX-PCB)
10
11Make example for this keyboard (after setting up your build environment):
12
13 make ai03/orbit_x:via
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/ai03/orbit_x/rules.mk b/keyboards/ai03/orbit_x/rules.mk
new file mode 100644
index 000000000..111ca910a
--- /dev/null
+++ b/keyboards/ai03/orbit_x/rules.mk
@@ -0,0 +1,33 @@
1# MCU name
2MCU = atmega32u4
3
4# Bootloader selection
5# Teensy halfkay
6# Pro Micro caterina
7# Atmel DFU atmel-dfu
8# LUFA DFU lufa-dfu
9# QMK DFU qmk-dfu
10# ATmega32A bootloadHID
11# ATmega328P USBasp
12BOOTLOADER = atmel-dfu
13
14# Build Options
15# change yes to no to disable
16#
17BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
18MOUSEKEY_ENABLE = yes # Mouse keys
19EXTRAKEY_ENABLE = yes # Audio control and System control
20CONSOLE_ENABLE = yes # Console for debug
21COMMAND_ENABLE = yes # Commands for debug and configuration
22# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
23SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
24# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
25NKRO_ENABLE = no # USB Nkey Rollover
26BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
27RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
28MIDI_ENABLE = no # MIDI support
29BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
30AUDIO_ENABLE = no # Audio output on port C6
31FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
32HD44780_ENABLE = no # Enable support for HD44780 based LCDs
33SPLIT_KEYBOARD = yes # Split keyboard \ No newline at end of file