aboutsummaryrefslogtreecommitdiff
path: root/keyboards/atxkb
diff options
context:
space:
mode:
authorChandler <austexcn@users.noreply.github.com>2020-06-05 04:12:07 -0500
committerGitHub <noreply@github.com>2020-06-05 02:12:07 -0700
commitca451c5aa0948b112db771252de41cb85066556e (patch)
tree8028d4045c17163e00ea68790192fa6ace2891c3 /keyboards/atxkb
parent7a75af83429980c0d59dadc69a7ec64d68a2cbfa (diff)
downloadqmk_firmware-ca451c5aa0948b112db771252de41cb85066556e.tar.gz
qmk_firmware-ca451c5aa0948b112db771252de41cb85066556e.zip
[Keyboard] add 1894 support to qmk (#9238)
Diffstat (limited to 'keyboards/atxkb')
-rw-r--r--keyboards/atxkb/1894/1894.c16
-rw-r--r--keyboards/atxkb/1894/1894.h86
-rw-r--r--keyboards/atxkb/1894/config.h169
-rw-r--r--keyboards/atxkb/1894/info.json277
-rw-r--r--keyboards/atxkb/1894/keymaps/default/keymap.c39
-rw-r--r--keyboards/atxkb/1894/keymaps/default/readme.md3
-rw-r--r--keyboards/atxkb/1894/keymaps/default_ansi_tsangan/keymap.c38
-rw-r--r--keyboards/atxkb/1894/keymaps/default_ansi_tsangan/readme.md3
-rw-r--r--keyboards/atxkb/1894/keymaps/via/keymap.c55
-rw-r--r--keyboards/atxkb/1894/keymaps/via/readme.md3
-rw-r--r--keyboards/atxkb/1894/keymaps/via/rules.mk1
-rw-r--r--keyboards/atxkb/1894/readme.md15
-rw-r--r--keyboards/atxkb/1894/rules.mk33
-rw-r--r--keyboards/atxkb/readme.md3
14 files changed, 741 insertions, 0 deletions
diff --git a/keyboards/atxkb/1894/1894.c b/keyboards/atxkb/1894/1894.c
new file mode 100644
index 000000000..9ac75b91e
--- /dev/null
+++ b/keyboards/atxkb/1894/1894.c
@@ -0,0 +1,16 @@
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 "1894.h"
diff --git a/keyboards/atxkb/1894/1894.h b/keyboards/atxkb/1894/1894.h
new file mode 100644
index 000000000..8e541b2cf
--- /dev/null
+++ b/keyboards/atxkb/1894/1894.h
@@ -0,0 +1,86 @@
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#pragma once
17
18#include "quantum.h"
19
20/* This a shortcut to help you visually see your layout.
21 *
22 * The first section contains all of the arguments representing the physical
23 * layout of the board and position of the keys.
24 *
25 * The second converts the arguments into a two-dimensional array which
26 * represents the switch matrix.
27 */
28#define LAYOUT_all( \
29 K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K212, \
30 K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, \
31 K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K213, \
32 K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, \
33 K400, K401, K402, K404, K406, K408, K410, K411, K412, K413 \
34) \
35{ \
36 { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013 }, \
37 { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113 }, \
38 { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213 }, \
39 { K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313 }, \
40 { K400, K401, K402, KC_NO, K404, KC_NO, K406, KC_NO, K408, KC_NO, K410, K411, K412, K413 } \
41}
42
43#define LAYOUT_60_ansi( \
44 K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, \
45 K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, \
46 K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K213, \
47 K300, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, \
48 K400, K401, K402, K406, K410, K411, K412, K413 \
49) \
50{ \
51 { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013 }, \
52 { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113 }, \
53 { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, KC_NO, K213 }, \
54 { K300, KC_NO, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, KC_NO}, \
55 { K400, K401, K402, KC_NO, KC_NO, KC_NO, K406, KC_NO, KC_NO, KC_NO, K410, K411, K412, K413 } \
56}
57
58#define LAYOUT_60_ansi_split_bs_rshift( \
59 K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K212, \
60 K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, \
61 K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K213, \
62 K300, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, \
63 K400, K401, K402, K406, K410, K411, K412, K413 \
64) \
65{ \
66 { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013 }, \
67 { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113 }, \
68 { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213 }, \
69 { K300, KC_NO, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313 }, \
70 { K400, K401, K402, KC_NO, KC_NO, KC_NO, K406, KC_NO, KC_NO, KC_NO, K410, K411, K412, K413 } \
71}
72
73#define LAYOUT_60_tsangan_hhkb( \
74 K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K212, \
75 K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, \
76 K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K213, \
77 K300, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, \
78 K400, K401, K402, K406, K411, K412, K413 \
79) \
80{ \
81 { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013 }, \
82 { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113 }, \
83 { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213 }, \
84 { K300, KC_NO, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313 }, \
85 { K400, K401, K402, KC_NO, KC_NO, KC_NO, K406, KC_NO, KC_NO, KC_NO, KC_NO, K411, K412, K413 } \
86}
diff --git a/keyboards/atxkb/1894/config.h b/keyboards/atxkb/1894/config.h
new file mode 100644
index 000000000..93dd93a6a
--- /dev/null
+++ b/keyboards/atxkb/1894/config.h
@@ -0,0 +1,169 @@
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 0x5458 // TX
24#define PRODUCT_ID 0x0001
25#define DEVICE_VER 0x0001
26#define MANUFACTURER atxkb
27#define PRODUCT 1894
28#define DESCRIPTION atxkb 1894
29
30/* key matrix size */
31#define MATRIX_ROWS 5
32#define MATRIX_COLS 14
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 { B1, B2, B3, F0, F1 }
45#define MATRIX_COL_PINS { F4, F7, F5, F6, C7, C6, B6, B5, B4, D7, D6, D4, D5, D3 }
46#define UNUSED_PINS
47
48/* COL2ROW, ROW2COL*/
49#define DIODE_DIRECTION COL2ROW
50
51#define BACKLIGHT_PIN B7
52#define BACKLIGHT_BREATHING
53#define BACKLIGHT_LEVELS 5
54
55#define RGB_DI_PIN D2
56#ifdef RGB_DI_PIN
57 #define RGBLED_NUM 14
58// #define RGBLIGHT_HUE_STEP 8
59// #define RGBLIGHT_SAT_STEP 8
60// #define RGBLIGHT_VAL_STEP 8
61// #define RGBLIGHT_LIMIT_VAL 200 /* The maximum brightness level */
62// #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
63/*== all animations enable ==*/
64// #define RGBLIGHT_ANIMATIONS
65// /*== or choose animations ==*/
66// #define RGBLIGHT_EFFECT_BREATHING
67// #define RGBLIGHT_EFFECT_RAINBOW_MOOD
68// #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
69// #define RGBLIGHT_EFFECT_SNAKE
70// #define RGBLIGHT_EFFECT_KNIGHT
71// #define RGBLIGHT_EFFECT_CHRISTMAS
72// #define RGBLIGHT_EFFECT_STATIC_GRADIENT
73// #define RGBLIGHT_EFFECT_RGB_TEST
74// #define RGBLIGHT_EFFECT_ALTERNATING
75// /*== customize breathing effect ==*/
76// /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
77// #define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64
78// /*==== use exp() and sin() ====*/
79// #define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7
80// #define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255
81#endif
82
83/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
84#define DEBOUNCE 5
85
86/* define if matrix has ghost (lacks anti-ghosting diodes) */
87//#define MATRIX_HAS_GHOST
88
89/* number of backlight levels */
90
91/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
92#define LOCKING_SUPPORT_ENABLE
93/* Locking resynchronize hack */
94#define LOCKING_RESYNC_ENABLE
95
96/*
97 * Magic Key Options
98 *
99 * Magic keys are hotkey commands that allow control over firmware functions of
100 * the keyboard. They are best used in combination with the HID Listen program,
101 * found here: https://www.pjrc.com/teensy/hid_listen.html
102 *
103 * The options below allow the magic key functionality to be changed. This is
104 * useful if your keyboard/keypad is missing keys and you want magic key support.
105 *
106 */
107
108/* key combination for magic key command */
109/* defined by default; to change, uncomment and set to the combination you want */
110// #define IS_COMMAND() (get_mods() == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)))
111
112/* control how magic key switches layers */
113//#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true
114//#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true
115//#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM false
116
117/* override magic key keymap */
118//#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS
119//#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS
120//#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM
121//#define MAGIC_KEY_HELP H
122//#define MAGIC_KEY_HELP_ALT SLASH
123//#define MAGIC_KEY_DEBUG D
124//#define MAGIC_KEY_DEBUG_MATRIX X
125//#define MAGIC_KEY_DEBUG_KBD K
126//#define MAGIC_KEY_DEBUG_MOUSE M
127//#define MAGIC_KEY_VERSION V
128//#define MAGIC_KEY_STATUS S
129//#define MAGIC_KEY_CONSOLE C
130//#define MAGIC_KEY_LAYER0 0
131//#define MAGIC_KEY_LAYER0_ALT GRAVE
132//#define MAGIC_KEY_LAYER1 1
133//#define MAGIC_KEY_LAYER2 2
134//#define MAGIC_KEY_LAYER3 3
135//#define MAGIC_KEY_LAYER4 4
136//#define MAGIC_KEY_LAYER5 5
137//#define MAGIC_KEY_LAYER6 6
138//#define MAGIC_KEY_LAYER7 7
139//#define MAGIC_KEY_LAYER8 8
140//#define MAGIC_KEY_LAYER9 9
141//#define MAGIC_KEY_BOOTLOADER B
142//#define MAGIC_KEY_BOOTLOADER_ALT ESC
143//#define MAGIC_KEY_LOCK CAPS
144//#define MAGIC_KEY_EEPROM E
145//#define MAGIC_KEY_EEPROM_CLEAR BSPACE
146//#define MAGIC_KEY_NKRO N
147//#define MAGIC_KEY_SLEEP_LED Z
148
149/*
150 * Feature disable options
151 * These options are also useful to firmware size reduction.
152 */
153
154/* disable debug print */
155//#define NO_DEBUG
156
157/* disable print */
158//#define NO_PRINT
159
160/* disable action features */
161//#define NO_ACTION_LAYER
162//#define NO_ACTION_TAPPING
163//#define NO_ACTION_ONESHOT
164//#define NO_ACTION_MACRO
165//#define NO_ACTION_FUNCTION
166
167/* Bootmagic Lite key configuration */
168// #define BOOTMAGIC_LITE_ROW 0
169// #define BOOTMAGIC_LITE_COLUMN 0
diff --git a/keyboards/atxkb/1894/info.json b/keyboards/atxkb/1894/info.json
new file mode 100644
index 000000000..7c44bdf01
--- /dev/null
+++ b/keyboards/atxkb/1894/info.json
@@ -0,0 +1,277 @@
1{
2 "keyboard_name": "1894",
3 "url": "https://atxkb.com",
4 "maintainer": "austexcn",
5 "width": 15,
6 "height": 5,
7 "layouts": {
8 "LAYOUT_all": {
9 "layout": [
10 {"label":"~", "x":0, "y":0},
11 {"label":"!", "x":1, "y":0},
12 {"label":"@", "x":2, "y":0},
13 {"label":"#", "x":3, "y":0},
14 {"label":"$", "x":4, "y":0},
15 {"label":"%", "x":5, "y":0},
16 {"label":"^", "x":6, "y":0},
17 {"label":"&", "x":7, "y":0},
18 {"label":"*", "x":8, "y":0},
19 {"label":"(", "x":9, "y":0},
20 {"label":")", "x":10, "y":0},
21 {"label":"_", "x":11, "y":0},
22 {"label":"+", "x":12, "y":0},
23 {"label":"Backspace", "x":13, "y":0},
24 {"label":"Delete", "x":14, "y":0},
25 {"label":"Tab", "x":0, "y":1, "w":1.5},
26 {"label":"Q", "x":1.5, "y":1},
27 {"label":"W", "x":2.5, "y":1},
28 {"label":"E", "x":3.5, "y":1},
29 {"label":"R", "x":4.5, "y":1},
30 {"label":"T", "x":5.5, "y":1},
31 {"label":"Y", "x":6.5, "y":1},
32 {"label":"U", "x":7.5, "y":1},
33 {"label":"I", "x":8.5, "y":1},
34 {"label":"O", "x":9.5, "y":1},
35 {"label":"P", "x":10.5, "y":1},
36 {"label":"{", "x":11.5, "y":1},
37 {"label":"}", "x":12.5, "y":1},
38 {"label":"|", "x":13.5, "y":1, "w":1.5},
39 {"label":"Caps Lock", "x":0, "y":2, "w":1.75},
40 {"label":"A", "x":1.75, "y":2},
41 {"label":"S", "x":2.75, "y":2},
42 {"label":"D", "x":3.75, "y":2},
43 {"label":"F", "x":4.75, "y":2},
44 {"label":"G", "x":5.75, "y":2},
45 {"label":"H", "x":6.75, "y":2},
46 {"label":"J", "x":7.75, "y":2},
47 {"label":"K", "x":8.75, "y":2},
48 {"label":"L", "x":9.75, "y":2},
49 {"label":":", "x":10.75, "y":2},
50 {"label":"\"", "x":11.75, "y":2},
51 {"label":"Enter", "x":12.75, "y":2, "w":2.25},
52 {"label":"Shift", "x":0, "y":3, "w":1.25},
53 {"label":"|", "x":1.25, "y":3},
54 {"label":"Z", "x":2.25, "y":3},
55 {"label":"X", "x":3.25, "y":3},
56 {"label":"C", "x":4.25, "y":3},
57 {"label":"V", "x":5.25, "y":3},
58 {"label":"B", "x":6.25, "y":3},
59 {"label":"N", "x":7.25, "y":3},
60 {"label":"M", "x":8.25, "y":3},
61 {"label":"<", "x":9.25, "y":3},
62 {"label":">", "x":10.25, "y":3},
63 {"label":"?", "x":11.25, "y":3},
64 {"label":"Shift", "x":12.25, "y":3, "w":1.75},
65 {"label":"Print Screen", "x":14, "y":3},
66 {"label":"Ctrl", "x":0, "y":4, "w":1.25},
67 {"label":"Win", "x":1.25, "y":4, "w":1.25},
68 {"label":"Alt", "x":2.5, "y":4, "w":1.25},
69 {"x":3.75, "y":4, "w":2.25},
70 {"x":6, "y":4, "w":1.25},
71 {"x":7.25, "y":4, "w":2.75},
72 {"label":"Alt", "x":10, "y":4, "w":1.25},
73 {"label":"Win", "x":11.25, "y":4, "w":1.25},
74 {"label":"Menu", "x":12.5, "y":4, "w":1.25},
75 {"label":"Ctrl", "x":13.75, "y":4, "w":1.25}
76 ]
77 },
78 "LAYOUT_60_ansi": {
79 "layout": [
80 {"label":"~", "x":0, "y":0},
81 {"label":"!", "x":1, "y":0},
82 {"label":"@", "x":2, "y":0},
83 {"label":"#", "x":3, "y":0},
84 {"label":"$", "x":4, "y":0},
85 {"label":"%", "x":5, "y":0},
86 {"label":"^", "x":6, "y":0},
87 {"label":"&", "x":7, "y":0},
88 {"label":"*", "x":8, "y":0},
89 {"label":"(", "x":9, "y":0},
90 {"label":")", "x":10, "y":0},
91 {"label":"_", "x":11, "y":0},
92 {"label":"+", "x":12, "y":0},
93 {"label":"Backspace", "x":13, "y":0, "w":2},
94 {"label":"Tab", "x":0, "y":1, "w":1.5},
95 {"label":"Q", "x":1.5, "y":1},
96 {"label":"W", "x":2.5, "y":1},
97 {"label":"E", "x":3.5, "y":1},
98 {"label":"R", "x":4.5, "y":1},
99 {"label":"T", "x":5.5, "y":1},
100 {"label":"Y", "x":6.5, "y":1},
101 {"label":"U", "x":7.5, "y":1},
102 {"label":"I", "x":8.5, "y":1},
103 {"label":"O", "x":9.5, "y":1},
104 {"label":"P", "x":10.5, "y":1},
105 {"label":"{", "x":11.5, "y":1},
106 {"label":"}", "x":12.5, "y":1},
107 {"label":"|", "x":13.5, "y":1, "w":1.5},
108 {"label":"Caps Lock", "x":0, "y":2, "w":1.75},
109 {"label":"A", "x":1.75, "y":2},
110 {"label":"S", "x":2.75, "y":2},
111 {"label":"D", "x":3.75, "y":2},
112 {"label":"F", "x":4.75, "y":2},
113 {"label":"G", "x":5.75, "y":2},
114 {"label":"H", "x":6.75, "y":2},
115 {"label":"J", "x":7.75, "y":2},
116 {"label":"K", "x":8.75, "y":2},
117 {"label":"L", "x":9.75, "y":2},
118 {"label":":", "x":10.75, "y":2},
119 {"label":"\"", "x":11.75, "y":2},
120 {"label":"Enter", "x":12.75, "y":2, "w":2.25},
121 {"label":"Shift", "x":0, "y":3, "w":2.25},
122 {"label":"Z", "x":2.25, "y":3},
123 {"label":"X", "x":3.25, "y":3},
124 {"label":"C", "x":4.25, "y":3},
125 {"label":"V", "x":5.25, "y":3},
126 {"label":"B", "x":6.25, "y":3},
127 {"label":"N", "x":7.25, "y":3},
128 {"label":"M", "x":8.25, "y":3},
129 {"label":"<", "x":9.25, "y":3},
130 {"label":">", "x":10.25, "y":3},
131 {"label":"?", "x":11.25, "y":3},
132 {"label":"Shift", "x":12.25, "y":3, "w":2.75},
133 {"label":"Ctrl", "x":0, "y":4, "w":1.25},
134 {"label":"Win", "x":1.25, "y":4, "w":1.25},
135 {"label":"Alt", "x":2.5, "y":4, "w":1.25},
136 {"x":3.75, "y":4, "w":6.25},
137 {"label":"Alt", "x":10, "y":4, "w":1.25},
138 {"label":"Win", "x":11.25, "y":4, "w":1.25},
139 {"label":"Menu", "x":12.5, "y":4, "w":1.25},
140 {"label":"Ctrl", "x":13.75, "y":4, "w":1.25}
141 ]
142 },
143 "LAYOUT_60_ansi_split_bs_rshift": {
144 "layout": [
145 {"label":"~", "x":0, "y":0},
146 {"label":"!", "x":1, "y":0},
147 {"label":"@", "x":2, "y":0},
148 {"label":"#", "x":3, "y":0},
149 {"label":"$", "x":4, "y":0},
150 {"label":"%", "x":5, "y":0},
151 {"label":"^", "x":6, "y":0},
152 {"label":"&", "x":7, "y":0},
153 {"label":"*", "x":8, "y":0},
154 {"label":"(", "x":9, "y":0},
155 {"label":")", "x":10, "y":0},
156 {"label":"_", "x":11, "y":0},
157 {"label":"+", "x":12, "y":0},
158 {"label":"Backspace", "x":13, "y":0},
159 {"label":"Delete", "x":14, "y":0},
160 {"label":"Tab", "x":0, "y":1, "w":1.5},
161 {"label":"Q", "x":1.5, "y":1},
162 {"label":"W", "x":2.5, "y":1},
163 {"label":"E", "x":3.5, "y":1},
164 {"label":"R", "x":4.5, "y":1},
165 {"label":"T", "x":5.5, "y":1},
166 {"label":"Y", "x":6.5, "y":1},
167 {"label":"U", "x":7.5, "y":1},
168 {"label":"I", "x":8.5, "y":1},
169 {"label":"O", "x":9.5, "y":1},
170 {"label":"P", "x":10.5, "y":1},
171 {"label":"{", "x":11.5, "y":1},
172 {"label":"}", "x":12.5, "y":1},
173 {"label":"|", "x":13.5, "y":1, "w":1.5},
174 {"label":"Caps Lock", "x":0, "y":2, "w":1.75},
175 {"label":"A", "x":1.75, "y":2},
176 {"label":"S", "x":2.75, "y":2},
177 {"label":"D", "x":3.75, "y":2},
178 {"label":"F", "x":4.75, "y":2},
179 {"label":"G", "x":5.75, "y":2},
180 {"label":"H", "x":6.75, "y":2},
181 {"label":"J", "x":7.75, "y":2},
182 {"label":"K", "x":8.75, "y":2},
183 {"label":"L", "x":9.75, "y":2},
184 {"label":":", "x":10.75, "y":2},
185 {"label":"\"", "x":11.75, "y":2},
186 {"label":"Enter", "x":12.75, "y":2, "w":2.25},
187 {"label":"Shift", "x":0, "y":3, "w":2.25},
188 {"label":"Z", "x":2.25, "y":3},
189 {"label":"X", "x":3.25, "y":3},
190 {"label":"C", "x":4.25, "y":3},
191 {"label":"V", "x":5.25, "y":3},
192 {"label":"B", "x":6.25, "y":3},
193 {"label":"N", "x":7.25, "y":3},
194 {"label":"M", "x":8.25, "y":3},
195 {"label":"<", "x":9.25, "y":3},
196 {"label":">", "x":10.25, "y":3},
197 {"label":"?", "x":11.25, "y":3},
198 {"label":"Shift", "x":12.25, "y":3, "w":1.75},
199 {"label":"Print Screen", "x":14, "y":3},
200 {"label":"Ctrl", "x":0, "y":4, "w":1.25},
201 {"label":"Win", "x":1.25, "y":4, "w":1.25},
202 {"label":"Alt", "x":2.5, "y":4, "w":1.25},
203 {"x":3.75, "y":4, "w":6.25},
204 {"label":"Alt", "x":10, "y":4, "w":1.25},
205 {"label":"Win", "x":11.25, "y":4, "w":1.25},
206 {"label":"Menu", "x":12.5, "y":4, "w":1.25},
207 {"label":"Ctrl", "x":13.75, "y":4, "w":1.25}
208 ]
209 },
210 "LAYOUT_60_tsangan_hhkb": {
211 "layout": [
212 {"label":"~", "x":0, "y":0},
213 {"label":"!", "x":1, "y":0},
214 {"label":"@", "x":2, "y":0},
215 {"label":"#", "x":3, "y":0},
216 {"label":"$", "x":4, "y":0},
217 {"label":"%", "x":5, "y":0},
218 {"label":"^", "x":6, "y":0},
219 {"label":"&", "x":7, "y":0},
220 {"label":"*", "x":8, "y":0},
221 {"label":"(", "x":9, "y":0},
222 {"label":")", "x":10, "y":0},
223 {"label":"_", "x":11, "y":0},
224 {"label":"+", "x":12, "y":0},
225 {"label":"Backspace", "x":13, "y":0},
226 {"label":"Delete", "x":14, "y":0},
227 {"label":"Tab", "x":0, "y":1, "w":1.5},
228 {"label":"Q", "x":1.5, "y":1},
229 {"label":"W", "x":2.5, "y":1},
230 {"label":"E", "x":3.5, "y":1},
231 {"label":"R", "x":4.5, "y":1},
232 {"label":"T", "x":5.5, "y":1},
233 {"label":"Y", "x":6.5, "y":1},
234 {"label":"U", "x":7.5, "y":1},
235 {"label":"I", "x":8.5, "y":1},
236 {"label":"O", "x":9.5, "y":1},
237 {"label":"P", "x":10.5, "y":1},
238 {"label":"{", "x":11.5, "y":1},
239 {"label":"}", "x":12.5, "y":1},
240 {"label":"|", "x":13.5, "y":1, "w":1.5},
241 {"label":"Caps Lock", "x":0, "y":2, "w":1.75},
242 {"label":"A", "x":1.75, "y":2},
243 {"label":"S", "x":2.75, "y":2},
244 {"label":"D", "x":3.75, "y":2},
245 {"label":"F", "x":4.75, "y":2},
246 {"label":"G", "x":5.75, "y":2},
247 {"label":"H", "x":6.75, "y":2},
248 {"label":"J", "x":7.75, "y":2},
249 {"label":"K", "x":8.75, "y":2},
250 {"label":"L", "x":9.75, "y":2},
251 {"label":":", "x":10.75, "y":2},
252 {"label":"\"", "x":11.75, "y":2},
253 {"label":"Enter", "x":12.75, "y":2, "w":2.25},
254 {"label":"Shift", "x":0, "y":3, "w":2.25},
255 {"label":"Z", "x":2.25, "y":3},
256 {"label":"X", "x":3.25, "y":3},
257 {"label":"C", "x":4.25, "y":3},
258 {"label":"V", "x":5.25, "y":3},
259 {"label":"B", "x":6.25, "y":3},
260 {"label":"N", "x":7.25, "y":3},
261 {"label":"M", "x":8.25, "y":3},
262 {"label":"<", "x":9.25, "y":3},
263 {"label":">", "x":10.25, "y":3},
264 {"label":"?", "x":11.25, "y":3},
265 {"label":"Shift", "x":12.25, "y":3, "w":1.75},
266 {"label":"Print Screen", "x":14, "y":3},
267 {"label":"Ctrl", "x":0, "y":4, "w":1.5},
268 {"label":"Win", "x":1.5, "y":4},
269 {"label":"Alt", "x":2.5, "y":4, "w":1.5},
270 {"x":4, "y":4, "w":7},
271 {"label":"Alt", "x":11, "y":4, "w":1.5},
272 {"label":"Win", "x":12.5, "y":4},
273 {"label":"Ctrl", "x":13.5, "y":4, "w":1.5}
274 ]
275 }
276 }
277}
diff --git a/keyboards/atxkb/1894/keymaps/default/keymap.c b/keyboards/atxkb/1894/keymaps/default/keymap.c
new file mode 100644
index 000000000..65902ae58
--- /dev/null
+++ b/keyboards/atxkb/1894/keymaps/default/keymap.c
@@ -0,0 +1,39 @@
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
18enum layer_names {
19 _BASE,
20 _FN
21};
22
23const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
24 [_BASE] = LAYOUT_all( /* Base */
25 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_BSPC, KC_DEL,
26 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,
27 MO(1), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
28 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_DEL,
29 KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_RGUI, KC_APP, KC_RCTL
30 ),
31 [_FN] = LAYOUT_all( /* FN */
32 RESET, 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_DEL, KC_BSPC,
33 _______, _______, KC_PGUP, _______, _______, _______, _______, _______, KC_UP, _______, KC_MPRV, KC_MPLY, KC_MNXT, BL_STEP,
34 _______, KC_HOME, KC_PGDN, KC_END, _______, KC_VOLD, KC_VOLU, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______,
35 _______, _______, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, _______, _______, KC_PSCR, _______,
36 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
37 )
38};
39
diff --git a/keyboards/atxkb/1894/keymaps/default/readme.md b/keyboards/atxkb/1894/keymaps/default/readme.md
new file mode 100644
index 000000000..eb6b7bacc
--- /dev/null
+++ b/keyboards/atxkb/1894/keymaps/default/readme.md
@@ -0,0 +1,3 @@
1# The default keymap for 1894
2
3Fits just about everything on two layers.
diff --git a/keyboards/atxkb/1894/keymaps/default_ansi_tsangan/keymap.c b/keyboards/atxkb/1894/keymaps/default_ansi_tsangan/keymap.c
new file mode 100644
index 000000000..410f9b379
--- /dev/null
+++ b/keyboards/atxkb/1894/keymaps/default_ansi_tsangan/keymap.c
@@ -0,0 +1,38 @@
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
18enum layer_names {
19 _BASE,
20 _FN
21};
22
23const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
24 [_BASE] = LAYOUT_60_tsangan_hhkb( /* Base */
25 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_BSPC, KC_DEL,
26 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,
27 MO(1), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
28 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_DEL,
29 KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL
30 ),
31 [_FN] = LAYOUT_60_tsangan_hhkb( /* FN */
32 RESET, 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_DEL, KC_BSPC,
33 _______, _______, KC_PGUP, _______, _______, _______, _______, _______, KC_UP, _______, KC_MPRV, KC_MPLY, KC_MNXT, BL_STEP,
34 _______, KC_HOME, KC_PGDN, KC_END, _______, KC_VOLD, KC_VOLU, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______,
35 _______, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, _______, _______, KC_PSCR, _______,
36 _______, _______, _______, _______, _______, _______, _______
37 )
38};
diff --git a/keyboards/atxkb/1894/keymaps/default_ansi_tsangan/readme.md b/keyboards/atxkb/1894/keymaps/default_ansi_tsangan/readme.md
new file mode 100644
index 000000000..712f7fa1a
--- /dev/null
+++ b/keyboards/atxkb/1894/keymaps/default_ansi_tsangan/readme.md
@@ -0,0 +1,3 @@
1# The default_ansi_tsangan keymap for 1894
2
3Simplified down to the basic ANSI Tsangan layouts for ease of configuration.
diff --git a/keyboards/atxkb/1894/keymaps/via/keymap.c b/keyboards/atxkb/1894/keymaps/via/keymap.c
new file mode 100644
index 000000000..67c5cd37e
--- /dev/null
+++ b/keyboards/atxkb/1894/keymaps/via/keymap.c
@@ -0,0 +1,55 @@
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
18enum layer_names {
19 _BASE,
20 _FN,
21 _EXTRA_ONE,
22 _EXTRA_TWO
23};
24
25const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
26 [_BASE] = LAYOUT_all( /* Base */
27 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_BSPC, KC_DEL,
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_BSLS,
29 MO(1), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
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_DEL,
31 KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_RALT, KC_RGUI, KC_RCTL
32 ),
33 [_FN] = LAYOUT_all( /* FN */
34 _______, 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_DEL, KC_BSPC,
35 _______, _______, _______, KC_PGUP, _______, _______, _______, _______, KC_UP, _______, _______, _______, _______, BL_STEP,
36 _______, _______, KC_HOME, KC_PGDN, KC_END, _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______,
37 _______, _______, KC_VOLD, KC_MUTE, KC_VOLU, _______, _______, KC_MPRV, KC_MPLY, KC_MNXT, _______, _______, KC_PSCR, _______,
38 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
39 ),
40 [_EXTRA_ONE] = LAYOUT_all( /* Layer 3 */
41 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
42 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
43 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
44 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
45 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
46 ),
47 [_EXTRA_TWO] = LAYOUT_all( /* Layer 3 */
48 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
49 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
50 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
51 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
52 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
53 )
54};
55
diff --git a/keyboards/atxkb/1894/keymaps/via/readme.md b/keyboards/atxkb/1894/keymaps/via/readme.md
new file mode 100644
index 000000000..0dc4a9458
--- /dev/null
+++ b/keyboards/atxkb/1894/keymaps/via/readme.md
@@ -0,0 +1,3 @@
1# The via keymap for 1894
2
3For via configurator use
diff --git a/keyboards/atxkb/1894/keymaps/via/rules.mk b/keyboards/atxkb/1894/keymaps/via/rules.mk
new file mode 100644
index 000000000..036bd6d1c
--- /dev/null
+++ b/keyboards/atxkb/1894/keymaps/via/rules.mk
@@ -0,0 +1 @@
VIA_ENABLE = yes \ No newline at end of file
diff --git a/keyboards/atxkb/1894/readme.md b/keyboards/atxkb/1894/readme.md
new file mode 100644
index 000000000..f62e0758e
--- /dev/null
+++ b/keyboards/atxkb/1894/readme.md
@@ -0,0 +1,15 @@
1# atxkb 1894
2
3![atxkb 1894](https://i.imgur.com/epXYdPA.jpg)
4
51894 is a keyboard PCB supporting 60% layouts. It is a revised version of the [Voyager60](https://github.com/ai03-2725/Voyager60) pcb by [ai03](https://github.com/ai03-2725) that supports a JST connector instead of usb-c and has perimeter cutouts for gasket support. The Voyager60 and therefore the 1894 is compatible with ai03's [polaris](https://github.com/austexcn/qmk_firmware/tree/master/keyboards/ai03/polaris) QMK implementation and as such this is just a copy with edits to update the name.
6
7* Keyboard Maintainer: [austexcn](https://github.com/austexcn)
8* Hardware Supported: atxkb Moontower
9* Hardware Availability: [atxkb](https://atxkb.com)
10
11Make example for this keyboard (after setting up your build environment):
12
13 make atxkb/1894: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/atxkb/1894/rules.mk b/keyboards/atxkb/1894/rules.mk
new file mode 100644
index 000000000..56e1ed8e0
--- /dev/null
+++ b/keyboards/atxkb/1894/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 = no # 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 = yes # USB Nkey Rollover
26BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
27RGBLIGHT_ENABLE = yes # 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
32
33LAYOUTS = 60_ansi 60_ansi_split_bs_rshift 60_tsangan_hhkb
diff --git a/keyboards/atxkb/readme.md b/keyboards/atxkb/readme.md
new file mode 100644
index 000000000..f15245efd
--- /dev/null
+++ b/keyboards/atxkb/readme.md
@@ -0,0 +1,3 @@
1# atxkb
2
3Website: [atxkb](https://atxkb.com)