aboutsummaryrefslogtreecommitdiff
path: root/keyboards/amj60
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/amj60')
-rw-r--r--keyboards/amj60/amj60.c17
-rw-r--r--keyboards/amj60/amj60.h131
-rw-r--r--keyboards/amj60/config.h118
-rw-r--r--keyboards/amj60/info.json358
-rw-r--r--keyboards/amj60/keymaps/default/keymap.c72
-rw-r--r--keyboards/amj60/readme.md22
-rw-r--r--keyboards/amj60/rules.mk20
7 files changed, 738 insertions, 0 deletions
diff --git a/keyboards/amj60/amj60.c b/keyboards/amj60/amj60.c
new file mode 100644
index 000000000..af0539a67
--- /dev/null
+++ b/keyboards/amj60/amj60.c
@@ -0,0 +1,17 @@
1/* Copyright 2016 Toni (@toneman77)
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 "amj60.h"
diff --git a/keyboards/amj60/amj60.h b/keyboards/amj60/amj60.h
new file mode 100644
index 000000000..feda68003
--- /dev/null
+++ b/keyboards/amj60/amj60.h
@@ -0,0 +1,131 @@
1/* Copyright 2016 Toni (@toneman77)
2 * 2021 James Young for QMK (@noroadsleft)
3 *
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18#pragma once
19
20#include "quantum.h"
21
22// readability
23#define XXX KC_NO
24
25/* AMJ60 layout to the best of my knowledge matrix layout
26 *
27 * I scoured the internet researching this PCB, which near as I know was
28 * discontinued around 2017. Fortunately, the wiring seems to be based on the
29 * GH60, and I own a KC60, which is also based on the GH60. I traced my KC60
30 * (which I already had apart!) and worked out the right shift can be split
31 * 1.75/1 (HHKB style) or 1/1.75 (JIS/ABNT2). With either split, the 1u key
32 * was on column C, so I used that here.
33 *
34 * - noroadsleft
35 *
36 * ┌───────┐
37 * 2u Backspace │0d │
38 * └───────┘
39 * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐
40 * │00 │01 │02 │03 │04 │05 │06 │07 │08 │09 │0a │0b │0c │0d │49 │ ┌─────┐
41 * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┤ │ │
42 * │10 │11 │12 │13 │14 │15 │16 │17 │18 │19 │1a │1b │1c │1d │ ┌──┴┐ │ ISO Enter
43 * 2.25u ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬────┤ │2c │2d │
44 * LShift │20 │21 │22 │23 │24 │25 │26 │27 │28 │29 │2a │2b │2c │2d │ └───┴────┘
45 * ┌────────┐ ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┤ ┌──────────┐
46 * │30 │ │30 │31 │32 │33 │34 │35 │36 │37 │38 │39 │3a │3b │3d │3c │ │3d │ 2.75u RShift
47 * └────────┘ ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬┴───┤ └──────────┘
48 * │40 │41 │42 │ 45 │4a │4b │4c │4d │ ┌───┬──────┐
49 * └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘ │3c │3d │ JIS RShift
50 * ┌─────┬───┬─────┬───────────────────────────┬─────┬───┬─────┐ └───┴──────┘
51 * Tsangan │40 │41 │42 │ 45 │4b │4c │4d │
52 * └─────┴───┴─────┴───────────────────────────┴─────┴───┴─────┘
53 * ┌─────┬───┬─────┬───────────────────────┬─────┬───┬───┬─────┐
54 * Topre-style │40 │41 │42 │ 45 │4a │4b │4c │4d │
55 * └─────┴───┴─────┴───────────────────────┴─────┴───┴───┴─────┘
56 *
57 */
58#define LAYOUT_all( \
59 k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k49,\
60 k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, \
61 k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, \
62 k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3d, k3c, \
63 k40, k41, k42, k45, k4a, k4b, k4c, k4d \
64) \
65{ \
66 {k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d}, \
67 {k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d}, \
68 {k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d}, \
69 {k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d}, \
70 {k40, k41, k42, XXX, XXX, k45, XXX, XXX, XXX, k49, k4a, k4b, k4c, k4d} \
71}
72
73#define LAYOUT_60_ansi( \
74 k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, \
75 k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, \
76 k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2d, \
77 k30, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3d, \
78 k40, k41, k42, k45, k4a, k4b, k4c, k4d \
79) \
80{ \
81 {k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d}, \
82 {k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d}, \
83 {k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, XXX, k2d}, \
84 {k30, XXX, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, XXX, k3d}, \
85 {k40, k41, k42, XXX, XXX, k45, XXX, XXX, XXX, XXX, k4a, k4b, k4c, k4d} \
86}
87
88#define LAYOUT_60_hhkb( \
89 k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k49, \
90 k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, \
91 k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2d, \
92 k30, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3d, k3c, \
93 k41, k42, k45, k4b, k4c \
94) \
95{ \
96 {k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d}, \
97 {k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d}, \
98 {k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, XXX, k2d}, \
99 {k30, XXX, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d}, \
100 {XXX, k41, k42, XXX, XXX, k45, XXX, XXX, XXX, k49, XXX, k4b, k4c, XXX} \
101}
102
103#define LAYOUT_60_iso( \
104 k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, \
105 k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, \
106 k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, \
107 k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3d, \
108 k40, k41, k42, k45, k4a, k4b, k4c, k4d \
109) \
110{ \
111 {k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d}, \
112 {k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, XXX}, \
113 {k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d}, \
114 {k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, XXX, k3d}, \
115 {k40, k41, k42, XXX, XXX, k45, XXX, XXX, XXX, XXX, k4a, k4b, k4c, k4d} \
116}
117
118#define LAYOUT_60_ansi_split_bs_rshift( \
119 k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k49,\
120 k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, \
121 k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2d, \
122 k30, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3d, k3c, \
123 k40, k41, k42, k45, k4a, k4b, k4c, k4d \
124) \
125{ \
126 {k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d}, \
127 {k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d}, \
128 {k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, XXX, k2d}, \
129 {k30, XXX, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d}, \
130 {k40, k41, k42, XXX, XXX, k45, XXX, XXX, XXX, k49, k4a, k4b, k4c, k4d} \
131}
diff --git a/keyboards/amj60/config.h b/keyboards/amj60/config.h
new file mode 100644
index 000000000..8d53efd3f
--- /dev/null
+++ b/keyboards/amj60/config.h
@@ -0,0 +1,118 @@
1/*
2Copyright 2012 Jun Wako <[email protected]>
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20#include "config_common.h"
21
22/* USB Device descriptor parameter */
23#define VENDOR_ID 0xFEED
24#define PRODUCT_ID 0x6066
25#define DEVICE_VER 0x0001
26#define MANUFACTURER Han Chen
27#define PRODUCT AMJ60
28
29/* key matrix size */
30#define MATRIX_ROWS 5
31#define MATRIX_COLS 14
32
33/*
34 * Keyboard Matrix Assignments
35 *
36 * Change this to how you wired your keyboard
37 * COLS: AVR pins used for columns, left to right
38 * ROWS: AVR pins used for rows, top to bottom
39 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
40 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
41 *
42 */
43#define MATRIX_ROW_PINS { F7, F6, F5, F4, D5 }
44#define MATRIX_COL_PINS { F1, F0, E6, C7, C6, B0, D4, B1, B7, B5, B4, D7, D6, B3 }
45#define UNUSED_PINS
46
47/* COL2ROW, ROW2COL */
48#define DIODE_DIRECTION COL2ROW
49
50#define LED_CAPS_LOCK_PIN B2
51#define LED_PIN_ON_STATE 0
52
53#define BACKLIGHT_PIN B6
54#define BACKLIGHT_LEVELS 4
55#define BACKLIGHT_BREATHING
56
57#define RGB_DI_PIN E2
58#ifdef RGB_DI_PIN
59# define RGBLED_NUM 8
60# define RGBLIGHT_HUE_STEP 10
61# define RGBLIGHT_SAT_STEP 17
62# define RGBLIGHT_VAL_STEP 17
63//# define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
64//# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
65/*== all animations enable ==*/
66# define RGBLIGHT_ANIMATIONS
67/*== or choose animations ==*/
68//# define RGBLIGHT_EFFECT_BREATHING
69//# define RGBLIGHT_EFFECT_RAINBOW_MOOD
70//# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
71//# define RGBLIGHT_EFFECT_SNAKE
72//# define RGBLIGHT_EFFECT_KNIGHT
73//# define RGBLIGHT_EFFECT_CHRISTMAS
74//# define RGBLIGHT_EFFECT_STATIC_GRADIENT
75//# define RGBLIGHT_EFFECT_RGB_TEST
76//# define RGBLIGHT_EFFECT_ALTERNATING
77/*== customize breathing effect ==*/
78/*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
79//# define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64
80/*==== use exp() and sin() ====*/
81//# define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7
82//# define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255
83#endif
84
85/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
86#define DEBOUNCE 5
87
88/* define if matrix has ghost (lacks anti-ghosting diodes) */
89//#define MATRIX_HAS_GHOST
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 * Feature disable options
98 * These options are also useful to firmware size reduction.
99 */
100
101/* disable debug print */
102//#define NO_DEBUG
103
104/* disable print */
105//#define NO_PRINT
106
107/* disable action features */
108//#define NO_ACTION_LAYER
109//#define NO_ACTION_TAPPING
110//#define NO_ACTION_ONESHOT
111
112/* disable these deprecated features by default */
113#define NO_ACTION_MACRO
114#define NO_ACTION_FUNCTION
115
116/* Bootmagic Lite key configuration */
117//#define BOOTMAGIC_LITE_ROW 0
118//#define BOOTMAGIC_LITE_COLUMN 0
diff --git a/keyboards/amj60/info.json b/keyboards/amj60/info.json
new file mode 100644
index 000000000..2c1781738
--- /dev/null
+++ b/keyboards/amj60/info.json
@@ -0,0 +1,358 @@
1{
2 "keyboard_name": "AMJ60",
3 "url": "",
4 "maintainer": "qmk",
5 "layouts": {
6 "LAYOUT_all": {
7 "layout": [
8 {"label":"k00", "x":0, "y":0},
9 {"label":"k01", "x":1, "y":0},
10 {"label":"k02", "x":2, "y":0},
11 {"label":"k03", "x":3, "y":0},
12 {"label":"k04", "x":4, "y":0},
13 {"label":"k05", "x":5, "y":0},
14 {"label":"k06", "x":6, "y":0},
15 {"label":"k07", "x":7, "y":0},
16 {"label":"k08", "x":8, "y":0},
17 {"label":"k09", "x":9, "y":0},
18 {"label":"k0a", "x":10, "y":0},
19 {"label":"k0b", "x":11, "y":0},
20 {"label":"k0c", "x":12, "y":0},
21 {"label":"k0d", "x":13, "y":0},
22 {"label":"k49", "x":14, "y":0},
23
24 {"label":"k10", "x":0, "y":1, "w":1.5},
25 {"label":"k11", "x":1.5, "y":1},
26 {"label":"k12", "x":2.5, "y":1},
27 {"label":"k13", "x":3.5, "y":1},
28 {"label":"k14", "x":4.5, "y":1},
29 {"label":"k15", "x":5.5, "y":1},
30 {"label":"k16", "x":6.5, "y":1},
31 {"label":"k17", "x":7.5, "y":1},
32 {"label":"k18", "x":8.5, "y":1},
33 {"label":"k19", "x":9.5, "y":1},
34 {"label":"k1a", "x":10.5, "y":1},
35 {"label":"k1b", "x":11.5, "y":1},
36 {"label":"k1c", "x":12.5, "y":1},
37 {"label":"k1d", "x":13.5, "y":1, "w":1.5},
38
39 {"label":"k20", "x":0, "y":2, "w":1.75},
40 {"label":"k21", "x":1.75, "y":2},
41 {"label":"k22", "x":2.75, "y":2},
42 {"label":"k23", "x":3.75, "y":2},
43 {"label":"k24", "x":4.75, "y":2},
44 {"label":"k25", "x":5.75, "y":2},
45 {"label":"k26", "x":6.75, "y":2},
46 {"label":"k27", "x":7.75, "y":2},
47 {"label":"k28", "x":8.75, "y":2},
48 {"label":"k29", "x":9.75, "y":2},
49 {"label":"k2a", "x":10.75, "y":2},
50 {"label":"k2b", "x":11.75, "y":2},
51 {"label":"k2c", "x":12.75, "y":2},
52 {"label":"k2d", "x":13.75, "y":2, "w":1.25},
53
54 {"label":"k30", "x":0, "y":3, "w":1.25},
55 {"label":"k31", "x":1.25, "y":3},
56 {"label":"k32", "x":2.25, "y":3},
57 {"label":"k33", "x":3.25, "y":3},
58 {"label":"k34", "x":4.25, "y":3},
59 {"label":"k35", "x":5.25, "y":3},
60 {"label":"k36", "x":6.25, "y":3},
61 {"label":"k37", "x":7.25, "y":3},
62 {"label":"k38", "x":8.25, "y":3},
63 {"label":"k39", "x":9.25, "y":3},
64 {"label":"k3a", "x":10.25, "y":3},
65 {"label":"k3b", "x":11.25, "y":3},
66 {"label":"k3d", "x":12.25, "y":3, "w":1.75},
67 {"label":"k3c", "x":14, "y":3},
68
69 {"label":"k40", "x":0, "y":4, "w":1.25},
70 {"label":"k41", "x":1.25, "y":4, "w":1.25},
71 {"label":"k42", "x":2.5, "y":4, "w":1.25},
72 {"label":"k45", "x":3.75, "y":4, "w":6.25},
73 {"label":"k4a", "x":10, "y":4, "w":1.25},
74 {"label":"k4b", "x":11.25, "y":4, "w":1.25},
75 {"label":"k4c", "x":12.5, "y":4, "w":1.25},
76 {"label":"k4d", "x":13.75, "y":4, "w":1.25}
77 ]
78 },
79 "LAYOUT_60_ansi": {
80 "layout": [
81 {"label":"k00", "x":0, "y":0},
82 {"label":"k01", "x":1, "y":0},
83 {"label":"k02", "x":2, "y":0},
84 {"label":"k03", "x":3, "y":0},
85 {"label":"k04", "x":4, "y":0},
86 {"label":"k05", "x":5, "y":0},
87 {"label":"k06", "x":6, "y":0},
88 {"label":"k07", "x":7, "y":0},
89 {"label":"k08", "x":8, "y":0},
90 {"label":"k09", "x":9, "y":0},
91 {"label":"k0a", "x":10, "y":0},
92 {"label":"k0b", "x":11, "y":0},
93 {"label":"k0c", "x":12, "y":0},
94 {"label":"k0d", "x":13, "y":0, "w":2},
95
96 {"label":"k10", "x":0, "y":1, "w":1.5},
97 {"label":"k11", "x":1.5, "y":1},
98 {"label":"k12", "x":2.5, "y":1},
99 {"label":"k13", "x":3.5, "y":1},
100 {"label":"k14", "x":4.5, "y":1},
101 {"label":"k15", "x":5.5, "y":1},
102 {"label":"k16", "x":6.5, "y":1},
103 {"label":"k17", "x":7.5, "y":1},
104 {"label":"k18", "x":8.5, "y":1},
105 {"label":"k19", "x":9.5, "y":1},
106 {"label":"k1a", "x":10.5, "y":1},
107 {"label":"k1b", "x":11.5, "y":1},
108 {"label":"k1c", "x":12.5, "y":1},
109 {"label":"k1d", "x":13.5, "y":1, "w":1.5},
110
111 {"label":"k20", "x":0, "y":2, "w":1.75},
112 {"label":"k21", "x":1.75, "y":2},
113 {"label":"k22", "x":2.75, "y":2},
114 {"label":"k23", "x":3.75, "y":2},
115 {"label":"k24", "x":4.75, "y":2},
116 {"label":"k25", "x":5.75, "y":2},
117 {"label":"k26", "x":6.75, "y":2},
118 {"label":"k27", "x":7.75, "y":2},
119 {"label":"k28", "x":8.75, "y":2},
120 {"label":"k29", "x":9.75, "y":2},
121 {"label":"k2a", "x":10.75, "y":2},
122 {"label":"k2b", "x":11.75, "y":2},
123 {"label":"k2d", "x":12.75, "y":2, "w":2.25},
124
125 {"label":"k30", "x":0, "y":3, "w":2.25},
126 {"label":"k32", "x":2.25, "y":3},
127 {"label":"k33", "x":3.25, "y":3},
128 {"label":"k34", "x":4.25, "y":3},
129 {"label":"k35", "x":5.25, "y":3},
130 {"label":"k36", "x":6.25, "y":3},
131 {"label":"k37", "x":7.25, "y":3},
132 {"label":"k38", "x":8.25, "y":3},
133 {"label":"k39", "x":9.25, "y":3},
134 {"label":"k3a", "x":10.25, "y":3},
135 {"label":"k3b", "x":11.25, "y":3},
136 {"label":"k3d", "x":12.25, "y":3, "w":2.75},
137
138 {"label":"k40", "x":0, "y":4, "w":1.25},
139 {"label":"k41", "x":1.25, "y":4, "w":1.25},
140 {"label":"k42", "x":2.5, "y":4, "w":1.25},
141 {"label":"k45", "x":3.75, "y":4, "w":6.25},
142 {"label":"k4a", "x":10, "y":4, "w":1.25},
143 {"label":"k4b", "x":11.25, "y":4, "w":1.25},
144 {"label":"k4c", "x":12.5, "y":4, "w":1.25},
145 {"label":"k4d", "x":13.75, "y":4, "w":1.25}
146 ]
147 },
148 "LAYOUT_60_hhkb": {
149 "layout": [
150 {"label":"k00", "x":0, "y":0},
151 {"label":"k01", "x":1, "y":0},
152 {"label":"k02", "x":2, "y":0},
153 {"label":"k03", "x":3, "y":0},
154 {"label":"k04", "x":4, "y":0},
155 {"label":"k05", "x":5, "y":0},
156 {"label":"k06", "x":6, "y":0},
157 {"label":"k07", "x":7, "y":0},
158 {"label":"k08", "x":8, "y":0},
159 {"label":"k09", "x":9, "y":0},
160 {"label":"k0a", "x":10, "y":0},
161 {"label":"k0b", "x":11, "y":0},
162 {"label":"k0c", "x":12, "y":0},
163 {"label":"k0d", "x":13, "y":0},
164 {"label":"k49", "x":14, "y":0},
165
166 {"label":"k10", "x":0, "y":1, "w":1.5},
167 {"label":"k11", "x":1.5, "y":1},
168 {"label":"k12", "x":2.5, "y":1},
169 {"label":"k13", "x":3.5, "y":1},
170 {"label":"k14", "x":4.5, "y":1},
171 {"label":"k15", "x":5.5, "y":1},
172 {"label":"k16", "x":6.5, "y":1},
173 {"label":"k17", "x":7.5, "y":1},
174 {"label":"k18", "x":8.5, "y":1},
175 {"label":"k19", "x":9.5, "y":1},
176 {"label":"k1a", "x":10.5, "y":1},
177 {"label":"k1b", "x":11.5, "y":1},
178 {"label":"k1c", "x":12.5, "y":1},
179 {"label":"k1d", "x":13.5, "y":1, "w":1.5},
180
181 {"label":"k20", "x":0, "y":2, "w":1.75},
182 {"label":"k21", "x":1.75, "y":2},
183 {"label":"k22", "x":2.75, "y":2},
184 {"label":"k23", "x":3.75, "y":2},
185 {"label":"k24", "x":4.75, "y":2},
186 {"label":"k25", "x":5.75, "y":2},
187 {"label":"k26", "x":6.75, "y":2},
188 {"label":"k27", "x":7.75, "y":2},
189 {"label":"k28", "x":8.75, "y":2},
190 {"label":"k29", "x":9.75, "y":2},
191 {"label":"k2a", "x":10.75, "y":2},
192 {"label":"k2b", "x":11.75, "y":2},
193 {"label":"k2d", "x":12.75, "y":2, "w":2.25},
194
195 {"label":"k30", "x":0, "y":3, "w":2.25},
196 {"label":"k32", "x":2.25, "y":3},
197 {"label":"k33", "x":3.25, "y":3},
198 {"label":"k34", "x":4.25, "y":3},
199 {"label":"k35", "x":5.25, "y":3},
200 {"label":"k36", "x":6.25, "y":3},
201 {"label":"k37", "x":7.25, "y":3},
202 {"label":"k38", "x":8.25, "y":3},
203 {"label":"k39", "x":9.25, "y":3},
204 {"label":"k3a", "x":10.25, "y":3},
205 {"label":"k3b", "x":11.25, "y":3},
206 {"label":"k3d", "x":12.25, "y":3, "w":1.75},
207 {"label":"k3c", "x":14, "y":3},
208
209 {"label":"k41", "x":1.5, "y":4},
210 {"label":"k42", "x":2.5, "y":4, "w":1.5},
211 {"label":"k45", "x":4, "y":4, "w":7},
212 {"label":"k4b", "x":11, "y":4, "w":1.5},
213 {"label":"k4c", "x":12.5, "y":4}
214 ]
215 },
216 "LAYOUT_60_iso": {
217 "layout": [
218 {"label":"k00", "x":0, "y":0},
219 {"label":"k01", "x":1, "y":0},
220 {"label":"k02", "x":2, "y":0},
221 {"label":"k03", "x":3, "y":0},
222 {"label":"k04", "x":4, "y":0},
223 {"label":"k05", "x":5, "y":0},
224 {"label":"k06", "x":6, "y":0},
225 {"label":"k07", "x":7, "y":0},
226 {"label":"k08", "x":8, "y":0},
227 {"label":"k09", "x":9, "y":0},
228 {"label":"k0a", "x":10, "y":0},
229 {"label":"k0b", "x":11, "y":0},
230 {"label":"k0c", "x":12, "y":0},
231 {"label":"k0d", "x":13, "y":0, "w":2},
232
233 {"label":"k10", "x":0, "y":1, "w":1.5},
234 {"label":"k11", "x":1.5, "y":1},
235 {"label":"k12", "x":2.5, "y":1},
236 {"label":"k13", "x":3.5, "y":1},
237 {"label":"k14", "x":4.5, "y":1},
238 {"label":"k15", "x":5.5, "y":1},
239 {"label":"k16", "x":6.5, "y":1},
240 {"label":"k17", "x":7.5, "y":1},
241 {"label":"k18", "x":8.5, "y":1},
242 {"label":"k19", "x":9.5, "y":1},
243 {"label":"k1a", "x":10.5, "y":1},
244 {"label":"k1b", "x":11.5, "y":1},
245 {"label":"k1c", "x":12.5, "y":1},
246
247 {"label":"k20", "x":0, "y":2, "w":1.75},
248 {"label":"k21", "x":1.75, "y":2},
249 {"label":"k22", "x":2.75, "y":2},
250 {"label":"k23", "x":3.75, "y":2},
251 {"label":"k24", "x":4.75, "y":2},
252 {"label":"k25", "x":5.75, "y":2},
253 {"label":"k26", "x":6.75, "y":2},
254 {"label":"k27", "x":7.75, "y":2},
255 {"label":"k28", "x":8.75, "y":2},
256 {"label":"k29", "x":9.75, "y":2},
257 {"label":"k2a", "x":10.75, "y":2},
258 {"label":"k2b", "x":11.75, "y":2},
259 {"label":"k2c", "x":12.75, "y":2},
260 {"label":"k2d", "x":13.75, "y":1, "w":1.25, "h":2},
261
262 {"label":"k30", "x":0, "y":3, "w":1.25},
263 {"label":"k31", "x":1.25, "y":3},
264 {"label":"k32", "x":2.25, "y":3},
265 {"label":"k33", "x":3.25, "y":3},
266 {"label":"k34", "x":4.25, "y":3},
267 {"label":"k35", "x":5.25, "y":3},
268 {"label":"k36", "x":6.25, "y":3},
269 {"label":"k37", "x":7.25, "y":3},
270 {"label":"k38", "x":8.25, "y":3},
271 {"label":"k39", "x":9.25, "y":3},
272 {"label":"k3a", "x":10.25, "y":3},
273 {"label":"k3b", "x":11.25, "y":3},
274 {"label":"k3d", "x":12.25, "y":3, "w":2.75},
275
276 {"label":"k40", "x":0, "y":4, "w":1.25},
277 {"label":"k41", "x":1.25, "y":4, "w":1.25},
278 {"label":"k42", "x":2.5, "y":4, "w":1.25},
279 {"label":"k45", "x":3.75, "y":4, "w":6.25},
280 {"label":"k4a", "x":10, "y":4, "w":1.25},
281 {"label":"k4b", "x":11.25, "y":4, "w":1.25},
282 {"label":"k4c", "x":12.5, "y":4, "w":1.25},
283 {"label":"k4d", "x":13.75, "y":4, "w":1.25}
284 ]
285 },
286 "LAYOUT_60_ansi_split_bs_rshift": {
287 "layout": [
288 {"label":"k00", "x":0, "y":0},
289 {"label":"k01", "x":1, "y":0},
290 {"label":"k02", "x":2, "y":0},
291 {"label":"k03", "x":3, "y":0},
292 {"label":"k04", "x":4, "y":0},
293 {"label":"k05", "x":5, "y":0},
294 {"label":"k06", "x":6, "y":0},
295 {"label":"k07", "x":7, "y":0},
296 {"label":"k08", "x":8, "y":0},
297 {"label":"k09", "x":9, "y":0},
298 {"label":"k0a", "x":10, "y":0},
299 {"label":"k0b", "x":11, "y":0},
300 {"label":"k0c", "x":12, "y":0},
301 {"label":"k0d", "x":13, "y":0},
302 {"label":"k49", "x":14, "y":0},
303
304 {"label":"k10", "x":0, "y":1, "w":1.5},
305 {"label":"k11", "x":1.5, "y":1},
306 {"label":"k12", "x":2.5, "y":1},
307 {"label":"k13", "x":3.5, "y":1},
308 {"label":"k14", "x":4.5, "y":1},
309 {"label":"k15", "x":5.5, "y":1},
310 {"label":"k16", "x":6.5, "y":1},
311 {"label":"k17", "x":7.5, "y":1},
312 {"label":"k18", "x":8.5, "y":1},
313 {"label":"k19", "x":9.5, "y":1},
314 {"label":"k1a", "x":10.5, "y":1},
315 {"label":"k1b", "x":11.5, "y":1},
316 {"label":"k1c", "x":12.5, "y":1},
317 {"label":"k1d", "x":13.5, "y":1, "w":1.5},
318
319 {"label":"k20", "x":0, "y":2, "w":1.75},
320 {"label":"k21", "x":1.75, "y":2},
321 {"label":"k22", "x":2.75, "y":2},
322 {"label":"k23", "x":3.75, "y":2},
323 {"label":"k24", "x":4.75, "y":2},
324 {"label":"k25", "x":5.75, "y":2},
325 {"label":"k26", "x":6.75, "y":2},
326 {"label":"k27", "x":7.75, "y":2},
327 {"label":"k28", "x":8.75, "y":2},
328 {"label":"k29", "x":9.75, "y":2},
329 {"label":"k2a", "x":10.75, "y":2},
330 {"label":"k2b", "x":11.75, "y":2},
331 {"label":"k2d", "x":12.75, "y":2, "w":2.25},
332
333 {"label":"k30", "x":0, "y":3, "w":2.25},
334 {"label":"k32", "x":2.25, "y":3},
335 {"label":"k33", "x":3.25, "y":3},
336 {"label":"k34", "x":4.25, "y":3},
337 {"label":"k35", "x":5.25, "y":3},
338 {"label":"k36", "x":6.25, "y":3},
339 {"label":"k37", "x":7.25, "y":3},
340 {"label":"k38", "x":8.25, "y":3},
341 {"label":"k39", "x":9.25, "y":3},
342 {"label":"k3a", "x":10.25, "y":3},
343 {"label":"k3b", "x":11.25, "y":3},
344 {"label":"k3d", "x":12.25, "y":3, "w":1.75},
345 {"label":"k3c", "x":14, "y":3},
346
347 {"label":"k40", "x":0, "y":4, "w":1.25},
348 {"label":"k41", "x":1.25, "y":4, "w":1.25},
349 {"label":"k42", "x":2.5, "y":4, "w":1.25},
350 {"label":"k45", "x":3.75, "y":4, "w":6.25},
351 {"label":"k4a", "x":10, "y":4, "w":1.25},
352 {"label":"k4b", "x":11.25, "y":4, "w":1.25},
353 {"label":"k4c", "x":12.5, "y":4, "w":1.25},
354 {"label":"k4d", "x":13.75, "y":4, "w":1.25}
355 ]
356 }
357 }
358}
diff --git a/keyboards/amj60/keymaps/default/keymap.c b/keyboards/amj60/keymaps/default/keymap.c
new file mode 100644
index 000000000..6a0a394f5
--- /dev/null
+++ b/keyboards/amj60/keymaps/default/keymap.c
@@ -0,0 +1,72 @@
1/* Copyright 2016 Toni (@toneman77)
2 * 2021 James Young for QMK (@noroadsleft)
3 *
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18#include QMK_KEYBOARD_H
19
20enum layer_names {
21 _DEF,
22 _FN,
23};
24
25// dual-role shortcuts
26#define FN_SPC LT(_FN, KC_SPC)
27
28const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
29
30 /* Keymap _DEF: Default Layer
31 * ,-----------------------------------------------------------.
32 * |Esc| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | \ | ~ |
33 * |-----------------------------------------------------------|
34 * |Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] | Bspc|
35 * |-----------------------------------------------------------|
36 * |Caps | A | S | D | F | G | H | J | K | L | ; | ' | Return |
37 * |-----------------------------------------------------------|
38 * |Sft | \ | Z | X | C | V | B | N | M | , | . | / |Shift |Fn |
39 * |-----------------------------------------------------------|
40 * |Ctrl|GUI |Alt | Space/Fn |Alt |GUI | Fn |RCtl|
41 * `-----------------------------------------------------------'
42 */
43 [_DEF] = LAYOUT_all(
44 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_GRV,
45 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_BSPC,
46 KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT,
47 KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1),
48 KC_LCTL, KC_LGUI, KC_LALT, FN_SPC, KC_RALT, KC_RGUI, MO(1), KC_RCTL
49 ),
50
51 /* Keymap 1: F-and-vim Layer, modified with Space (by holding space)
52 * ,-----------------------------------------------------------.
53 * |PSc|F1 |F2 |F3 |F4 |F5 |F6 |F7 |F8 |F9 |F10|F11|F12| | |
54 * |-----------------------------------------------------------|
55 * | |Pau| Up| | | | | | ( | ) | | | | Del |
56 * |-----------------------------------------------------------|
57 * | |Lft|Dwn|Rgt| | |Lft|Dwn|Up |Rgh| | | Play |
58 * |-----------------------------------------------------------|
59 * | | | | | | |Spc| | | | | | Vol+ | |
60 * |-----------------------------------------------------------|
61 * | | | | | |Prev|Vol-|Next|
62 * `-----------------------------------------------------------'
63 */
64 [_FN] = LAYOUT_all(
65 KC_PSCR, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______,
66 _______, KC_PAUS, KC_UP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL,
67 _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, _______, _______, KC_MPLY,
68 _______, _______, _______, _______, _______, _______, KC_SPC, _______, _______, _______, _______, _______, KC_VOLU, _______,
69 _______, _______, _______, _______, _______, KC_MPRV, KC_VOLD, KC_MNXT
70 ),
71
72};
diff --git a/keyboards/amj60/readme.md b/keyboards/amj60/readme.md
new file mode 100644
index 000000000..50cf3cfcb
--- /dev/null
+++ b/keyboards/amj60/readme.md
@@ -0,0 +1,22 @@
1# AMJ60
2
3![AMJ60](https://raw.githubusercontent.com/noroadsleft/qmk_images/master/keyboards/amj60/s-l1200_640.jpg)
4
5A 60% keyboard.
6
7* Keyboard Maintainer: [The QMK Community](https://github.com/qmk)
8* Hardware Supported: AMJ60
9* Hardware Availability: [~~Taobao~~](http://item.taobao.com/item.htm?id=43500549469) (no longer available)
10* References: [Geekhack](https://geekhack.org/index.php?topic=77636.0)
11
12Make example for this keyboard (after setting up your build environment):
13
14 make amj60:default
15
16Flashing example for this keyboard:
17
18 make amj60:default:flash
19
20To reset the board into bootloader mode, tap the Reset switch mounted on the bottom side of the PCB.
21
22See 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/amj60/rules.mk b/keyboards/amj60/rules.mk
new file mode 100644
index 000000000..602667e94
--- /dev/null
+++ b/keyboards/amj60/rules.mk
@@ -0,0 +1,20 @@
1# MCU name
2MCU = atmega32u4
3
4# Bootloader selection
5BOOTLOADER = atmel-dfu
6
7# Build Options
8# change yes to no to disable
9#
10BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
11MOUSEKEY_ENABLE = no # Mouse keys
12EXTRAKEY_ENABLE = yes # Audio control and System control
13CONSOLE_ENABLE = yes # Console for debug
14COMMAND_ENABLE = yes # Commands for debug and configuration
15NKRO_ENABLE = yes # Enable N-Key Rollover
16BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
17RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
18AUDIO_ENABLE = no # Audio output
19
20LAYOUTS = 60_ansi 60_hhkb 60_iso 60_ansi_split_bs_rshift