aboutsummaryrefslogtreecommitdiff
path: root/keyboards/ash1800
diff options
context:
space:
mode:
authorangelbirth <ricky.ason@gmail.com>2019-11-20 07:21:19 +0700
committerfauxpark <fauxpark@gmail.com>2019-11-20 11:21:19 +1100
commit03e50e6dc9f661cdce4156279f1229af80b91b8e (patch)
treeea5806d588ead7f774c32f3e78416895ae100f19 /keyboards/ash1800
parent25e9853efe28e8897cd9128d7515d3f60f482aad (diff)
downloadqmk_firmware-03e50e6dc9f661cdce4156279f1229af80b91b8e.tar.gz
qmk_firmware-03e50e6dc9f661cdce4156279f1229af80b91b8e.zip
ASH-1800 (#7031)
* my custom layout * asd * use qmk-dfu * :) * ganti keymap lagi * my custom layout * asd * use qmk-dfu * :) * ganti keymap lagi * my custom layout * asd * use qmk-dfu * :) * ganti keymap lagi * Add handwired2x2 project, define pins for atmega328p in config_common.h * Add USB IDs * my custom KBD75 layout * renaldi danang's numpad * my redox keymap * reynaldi danang's numpad * asdasd * ASH-1800 * added description and layer 1 * added requested changes from fauxpark * forgot to include this * USB descriptor parameter: - assign product id - assign description edit formatting on readme.md * update USB descriptor: change manufacturer * review from fauxpark and noroadsleft * remove extra files * removed unnecessary comment * minor cleanup
Diffstat (limited to 'keyboards/ash1800')
-rw-r--r--keyboards/ash1800/ash1800.c25
-rw-r--r--keyboards/ash1800/ash1800.h51
-rw-r--r--keyboards/ash1800/config.h253
-rw-r--r--keyboards/ash1800/info.json539
-rw-r--r--keyboards/ash1800/keymaps/default/keymap.c37
-rw-r--r--keyboards/ash1800/keymaps/default/readme.md1
-rw-r--r--keyboards/ash1800/readme.md15
-rw-r--r--keyboards/ash1800/rules.mk33
8 files changed, 954 insertions, 0 deletions
diff --git a/keyboards/ash1800/ash1800.c b/keyboards/ash1800/ash1800.c
new file mode 100644
index 000000000..5b1d1c45f
--- /dev/null
+++ b/keyboards/ash1800/ash1800.c
@@ -0,0 +1,25 @@
1/* Copyright 2019 angelbirth
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 "ash1800.h"
17
18bool led_update_kb(led_t led_state) {
19 if (led_update_user(led_state)) {
20 writePin(NUM_LOCK_LED_PIN, !led_state.num_lock);
21 writePin(CAPS_LOCK_LED_PIN, !led_state.caps_lock);
22 writePin(SCROLL_LOCK_LED_PIN, !led_state.scroll_lock);
23 }
24 return true;
25} \ No newline at end of file
diff --git a/keyboards/ash1800/ash1800.h b/keyboards/ash1800/ash1800.h
new file mode 100644
index 000000000..bcfb2ec5d
--- /dev/null
+++ b/keyboards/ash1800/ash1800.h
@@ -0,0 +1,51 @@
1/* Copyright 2019 angelbirth
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 k00, k01, k02, k03, k60, k61, k62, k63, k04, k05, k06, k07, k08, k54, k55, k56, k57, \
30 k64, k65, k66, k67, \
31 k10, k11, k12, k13, k70, k71, k72, k73, k14, k15, k16, k17, k18, k19, k74, k75, k76, k77, \
32 k20, k21, k22, k23, k80, k81, k82, k83, k24, k25, k26, k27, k28, k29, k84, k85, k86, k87, \
33 k30, k31, k32, k33, k90, k91, k92, k93, k34, k35, k36, k37, k38, k94, k95, k96, k97, \
34 k40, k41, k42, k43, ka0, ka1, ka2, ka3, k44, k45, k46, k47, k48, ka9, ka4, ka5, ka6, ka7, \
35 k50, k51, k52, k53, kb4, kb7, ka8, kb8, kb9, kb5, kb6 \
36) \
37{ \
38 { k00, k01, k02, k03, k04, k05, k06, k07, k08, KC_NO }, \
39 { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19 }, \
40 { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29 }, \
41 { k30, k31, k32, k33, k34, k35, k36, k37, k38, KC_NO }, \
42 { k40, k41, k42, k43, k44, k45, k46, k47, k48, KC_NO }, \
43 { k50, k51, k52, k53, k54, k55, k56, k57, KC_NO, KC_NO }, \
44 { k60, k61, k62, k63, k64, k65, k66, k67, KC_NO, KC_NO }, \
45 { k70, k71, k72, k73, k74, k75, k76, k77, KC_NO, KC_NO }, \
46 { k80, k81, k82, k83, k84, k85, k86, k87, KC_NO, KC_NO }, \
47 { k90, k91, k92, k93, k94, k95, k96, k97, KC_NO, KC_NO }, \
48 { ka0, ka1, ka2, ka3, ka4, ka5, ka6, ka7, ka8, ka9 }, \
49 { KC_NO, KC_NO, KC_NO, KC_NO, kb4, kb5, kb6, kb7, kb8, kb9 } \
50}
51 \ No newline at end of file
diff --git a/keyboards/ash1800/config.h b/keyboards/ash1800/config.h
new file mode 100644
index 000000000..9f25a0f11
--- /dev/null
+++ b/keyboards/ash1800/config.h
@@ -0,0 +1,253 @@
1/*
2Copyright 2019 angelbirth
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 0x1800
25#define DEVICE_VER 0x0001
26#define MANUFACTURER Hasyim Ashari
27#define PRODUCT ASH-1800
28#define DESCRIPTION An attempt to make a cherry g80/g81 clone
29
30/* key matrix size */
31#define MATRIX_ROWS 12
32#define MATRIX_COLS 10
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 { C6, B6, B5, B4, D7, D0, D1, D2, D3, D5, D4, D6 }
45#define MATRIX_COL_PINS { F1, F4, F5, F6, B0, B2, B1, B3, B7, C7 }
46#define UNUSED_PINS
47
48#define NUM_LOCK_LED_PIN E6
49#define CAPS_LOCK_LED_PIN F0
50#define SCROLL_LOCK_LED_PIN F7
51
52/* COL2ROW, ROW2COL*/
53#define DIODE_DIRECTION COL2ROW
54
55/*
56 * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN.
57 */
58// #define SOFT_SERIAL_PIN D0 // or D1, D2, D3, E6
59
60// #define BACKLIGHT_PIN B7
61// #define BACKLIGHT_BREATHING
62// #define BACKLIGHT_LEVELS 3
63
64// #define RGB_DI_PIN E2
65// #ifdef RGB_DI_PIN
66// #define RGBLED_NUM 16
67// #define RGBLIGHT_HUE_STEP 8
68// #define RGBLIGHT_SAT_STEP 8
69// #define RGBLIGHT_VAL_STEP 8
70// #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
71// #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
72// /*== all animations enable ==*/
73// #define RGBLIGHT_ANIMATIONS
74// /*== or choose animations ==*/
75// #define RGBLIGHT_EFFECT_BREATHING
76// #define RGBLIGHT_EFFECT_RAINBOW_MOOD
77// #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
78// #define RGBLIGHT_EFFECT_SNAKE
79// #define RGBLIGHT_EFFECT_KNIGHT
80// #define RGBLIGHT_EFFECT_CHRISTMAS
81// #define RGBLIGHT_EFFECT_STATIC_GRADIENT
82// #define RGBLIGHT_EFFECT_RGB_TEST
83// #define RGBLIGHT_EFFECT_ALTERNATING
84// /*== customize breathing effect ==*/
85// /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
86// #define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64
87// /*==== use exp() and sin() ====*/
88// #define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7
89// #define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255
90// #endif
91
92/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
93#define DEBOUNCE 5
94
95/* define if matrix has ghost (lacks anti-ghosting diodes) */
96//#define MATRIX_HAS_GHOST
97
98/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
99#define LOCKING_SUPPORT_ENABLE
100/* Locking resynchronize hack */
101#define LOCKING_RESYNC_ENABLE
102
103/* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
104 * This is userful for the Windows task manager shortcut (ctrl+shift+esc).
105 */
106// #define GRAVE_ESC_CTRL_OVERRIDE
107
108/*
109 * Force NKRO
110 *
111 * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
112 * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
113 * makefile for this to work.)
114 *
115 * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
116 * until the next keyboard reset.
117 *
118 * NKRO may prevent your keystrokes from being detected in the BIOS, but it is
119 * fully operational during normal computer usage.
120 *
121 * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
122 * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
123 * bootmagic, NKRO mode will always be enabled until it is toggled again during a
124 * power-up.
125 *
126 */
127//#define FORCE_NKRO
128
129/*
130 * Magic Key Options
131 *
132 * Magic keys are hotkey commands that allow control over firmware functions of
133 * the keyboard. They are best used in combination with the HID Listen program,
134 * found here: https://www.pjrc.com/teensy/hid_listen.html
135 *
136 * The options below allow the magic key functionality to be changed. This is
137 * useful if your keyboard/keypad is missing keys and you want magic key support.
138 *
139 */
140
141/* key combination for magic key command */
142/* defined by default; to change, uncomment and set to the combination you want */
143// #define IS_COMMAND() (get_mods() == MOD_MASK_SHIFT)
144
145/* control how magic key switches layers */
146//#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true
147//#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true
148//#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM false
149
150/* override magic key keymap */
151//#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS
152//#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS
153//#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM
154//#define MAGIC_KEY_HELP H
155//#define MAGIC_KEY_HELP_ALT SLASH
156//#define MAGIC_KEY_DEBUG D
157//#define MAGIC_KEY_DEBUG_MATRIX X
158//#define MAGIC_KEY_DEBUG_KBD K
159//#define MAGIC_KEY_DEBUG_MOUSE M
160//#define MAGIC_KEY_VERSION V
161//#define MAGIC_KEY_STATUS S
162//#define MAGIC_KEY_CONSOLE C
163//#define MAGIC_KEY_LAYER0 0
164//#define MAGIC_KEY_LAYER0_ALT GRAVE
165//#define MAGIC_KEY_LAYER1 1
166//#define MAGIC_KEY_LAYER2 2
167//#define MAGIC_KEY_LAYER3 3
168//#define MAGIC_KEY_LAYER4 4
169//#define MAGIC_KEY_LAYER5 5
170//#define MAGIC_KEY_LAYER6 6
171//#define MAGIC_KEY_LAYER7 7
172//#define MAGIC_KEY_LAYER8 8
173//#define MAGIC_KEY_LAYER9 9
174//#define MAGIC_KEY_BOOTLOADER B
175//#define MAGIC_KEY_BOOTLOADER_ALT ESC
176//#define MAGIC_KEY_LOCK CAPS
177//#define MAGIC_KEY_EEPROM E
178//#define MAGIC_KEY_EEPROM_CLEAR BSPACE
179//#define MAGIC_KEY_NKRO N
180//#define MAGIC_KEY_SLEEP_LED Z
181
182/*
183 * Feature disable options
184 * These options are also useful to firmware size reduction.
185 */
186
187/* disable debug print */
188//#define NO_DEBUG
189
190/* disable print */
191//#define NO_PRINT
192
193/* disable action features */
194//#define NO_ACTION_LAYER
195//#define NO_ACTION_TAPPING
196//#define NO_ACTION_ONESHOT
197//#define NO_ACTION_MACRO
198//#define NO_ACTION_FUNCTION
199
200/*
201 * MIDI options
202 */
203
204/* Prevent use of disabled MIDI features in the keymap */
205//#define MIDI_ENABLE_STRICT 1
206
207/* enable basic MIDI features:
208 - MIDI notes can be sent when in Music mode is on
209*/
210//#define MIDI_BASIC
211
212/* enable advanced MIDI features:
213 - MIDI notes can be added to the keymap
214 - Octave shift and transpose
215 - Virtual sustain, portamento, and modulation wheel
216 - etc.
217*/
218//#define MIDI_ADVANCED
219
220/* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
221//#define MIDI_TONE_KEYCODE_OCTAVES 1
222
223/*
224 * HD44780 LCD Display Configuration
225 */
226/*
227#define LCD_LINES 2 //< number of visible lines of the display
228#define LCD_DISP_LENGTH 16 //< visibles characters per line of the display
229
230#define LCD_IO_MODE 1 //< 0: memory mapped mode, 1: IO port mode
231
232#if LCD_IO_MODE
233#define LCD_PORT PORTB //< port for the LCD lines
234#define LCD_DATA0_PORT LCD_PORT //< port for 4bit data bit 0
235#define LCD_DATA1_PORT LCD_PORT //< port for 4bit data bit 1
236#define LCD_DATA2_PORT LCD_PORT //< port for 4bit data bit 2
237#define LCD_DATA3_PORT LCD_PORT //< port for 4bit data bit 3
238#define LCD_DATA0_PIN 4 //< pin for 4bit data bit 0
239#define LCD_DATA1_PIN 5 //< pin for 4bit data bit 1
240#define LCD_DATA2_PIN 6 //< pin for 4bit data bit 2
241#define LCD_DATA3_PIN 7 //< pin for 4bit data bit 3
242#define LCD_RS_PORT LCD_PORT //< port for RS line
243#define LCD_RS_PIN 3 //< pin for RS line
244#define LCD_RW_PORT LCD_PORT //< port for RW line
245#define LCD_RW_PIN 2 //< pin for RW line
246#define LCD_E_PORT LCD_PORT //< port for Enable line
247#define LCD_E_PIN 1 //< pin for Enable line
248#endif
249*/
250
251/* Bootmagic Lite key configuration */
252// #define BOOTMAGIC_LITE_ROW 0
253// #define BOOTMAGIC_LITE_COLUMN 0
diff --git a/keyboards/ash1800/info.json b/keyboards/ash1800/info.json
new file mode 100644
index 000000000..102b78b0e
--- /dev/null
+++ b/keyboards/ash1800/info.json
@@ -0,0 +1,539 @@
1{
2 "keyboard_name": "ASH-1800",
3 "maintainer": "angelbirth",
4 "width": 19.5,
5 "height": 7.25,
6 "layouts": {
7 "LAYOUT_all": {
8 "layout": [
9 {
10 "label": "Esc",
11 "x": 0,
12 "y": 0
13 },
14 {
15 "label": "F1",
16 "x": 1.25,
17 "y": 0
18 },
19 {
20 "label": "F2",
21 "x": 2.25,
22 "y": 0
23 },
24 {
25 "label": "F3",
26 "x": 3.25,
27 "y": 0
28 },
29 {
30 "label": "F4",
31 "x": 4.25,
32 "y": 0
33 },
34 {
35 "label": "F5",
36 "x": 5.5,
37 "y": 0
38 },
39 {
40 "label": "F6",
41 "x": 6.5,
42 "y": 0
43 },
44 {
45 "label": "F7",
46 "x": 7.5,
47 "y": 0
48 },
49 {
50 "label": "F8",
51 "x": 8.5,
52 "y": 0
53 },
54 {
55 "label": "F9",
56 "x": 9.75,
57 "y": 0
58 },
59 {
60 "label": "F10",
61 "x": 10.75,
62 "y": 0
63 },
64 {
65 "label": "F11",
66 "x": 11.75,
67 "y": 0
68 },
69 {
70 "label": "F12",
71 "x": 12.75,
72 "y": 0
73 },
74 {
75 "label": "Insert",
76 "x": 15.5,
77 "y": 0
78 },
79 {
80 "label": "Home",
81 "x": 16.5,
82 "y": 0
83 },
84 {
85 "label": "PgUp",
86 "x": 17.5,
87 "y": 0
88 },
89 {
90 "label": "PrtSc",
91 "x": 18.5,
92 "y": 0
93 },
94 {
95 "label": "Del",
96 "x": 15.5,
97 "y": 1
98 },
99 {
100 "label": "End",
101 "x": 16.5,
102 "y": 1
103 },
104 {
105 "label": "PgDn",
106 "x": 17.5,
107 "y": 1
108 },
109 {
110 "label": "Scroll Lock",
111 "x": 18.5,
112 "y": 1
113 },
114 {
115 "label": "~",
116 "x": 0,
117 "y": 2
118 },
119 {
120 "label": "!",
121 "x": 1,
122 "y": 2
123 },
124 {
125 "label": "@",
126 "x": 2,
127 "y": 2
128 },
129 {
130 "label": "#",
131 "x": 3,
132 "y": 2
133 },
134 {
135 "label": "$",
136 "x": 4,
137 "y": 2
138 },
139 {
140 "label": "%",
141 "x": 5,
142 "y": 2
143 },
144 {
145 "label": "^",
146 "x": 6,
147 "y": 2
148 },
149 {
150 "label": "&",
151 "x": 7,
152 "y": 2
153 },
154 {
155 "label": "",
156 "x": 8,
157 "y": 2
158 },
159 {
160 "label": "(",
161 "x": 9,
162 "y": 2
163 },
164 {
165 "label": ")",
166 "x": 10,
167 "y": 2
168 },
169 {
170 "label": "_",
171 "x": 11,
172 "y": 2
173 },
174 {
175 "label": "+",
176 "x": 12,
177 "y": 2
178 },
179 {
180 "label": "Backspace",
181 "x": 13,
182 "y": 2,
183 "w": 2
184 },
185 {
186 "label": "Num Lock",
187 "x": 15.5,
188 "y": 2
189 },
190 {
191 "label": "/",
192 "x": 16.5,
193 "y": 2
194 },
195 {
196 "x": 17.5,
197 "y": 2
198 },
199 {
200 "label": "Pause",
201 "x": 18.5,
202 "y": 2
203 },
204 {
205 "label": "Tab",
206 "x": 0,
207 "y": 3,
208 "w": 1.5
209 },
210 {
211 "label": "Q",
212 "x": 1.5,
213 "y": 3
214 },
215 {
216 "label": "W",
217 "x": 2.5,
218 "y": 3
219 },
220 {
221 "label": "E",
222 "x": 3.5,
223 "y": 3
224 },
225 {
226 "label": "R",
227 "x": 4.5,
228 "y": 3
229 },
230 {
231 "label": "T",
232 "x": 5.5,
233 "y": 3
234 },
235 {
236 "label": "Y",
237 "x": 6.5,
238 "y": 3
239 },
240 {
241 "label": "U",
242 "x": 7.5,
243 "y": 3
244 },
245 {
246 "label": "I",
247 "x": 8.5,
248 "y": 3
249 },
250 {
251 "label": "O",
252 "x": 9.5,
253 "y": 3
254 },
255 {
256 "label": "P",
257 "x": 10.5,
258 "y": 3
259 },
260 {
261 "label": "{",
262 "x": 11.5,
263 "y": 3
264 },
265 {
266 "label": "}",
267 "x": 12.5,
268 "y": 3
269 },
270 {
271 "label": "|",
272 "x": 13.5,
273 "y": 3,
274 "w": 1.5
275 },
276 {
277 "label": "7",
278 "x": 15.5,
279 "y": 3
280 },
281 {
282 "label": "8",
283 "x": 16.5,
284 "y": 3
285 },
286 {
287 "label": "9",
288 "x": 17.5,
289 "y": 3
290 },
291 {
292 "label": "-",
293 "x": 18.5,
294 "y": 3
295 },
296 {
297 "label": "Caps Lock",
298 "x": 0,
299 "y": 4,
300 "w": 1.75
301 },
302 {
303 "label": "A",
304 "x": 1.75,
305 "y": 4
306 },
307 {
308 "label": "S",
309 "x": 2.75,
310 "y": 4
311 },
312 {
313 "label": "D",
314 "x": 3.75,
315 "y": 4
316 },
317 {
318 "label": "F",
319 "x": 4.75,
320 "y": 4
321 },
322 {
323 "label": "G",
324 "x": 5.75,
325 "y": 4
326 },
327 {
328 "label": "H",
329 "x": 6.75,
330 "y": 4
331 },
332 {
333 "label": "J",
334 "x": 7.75,
335 "y": 4
336 },
337 {
338 "label": "K",
339 "x": 8.75,
340 "y": 4
341 },
342 {
343 "label": "L",
344 "x": 9.75,
345 "y": 4
346 },
347 {
348 "label": ":",
349 "x": 10.75,
350 "y": 4
351 },
352 {
353 "label": "\"",
354 "x": 11.75,
355 "y": 4
356 },
357 {
358 "label": "Enter",
359 "x": 12.75,
360 "y": 4,
361 "w": 2.25
362 },
363 {
364 "label": "4",
365 "x": 15.5,
366 "y": 4
367 },
368 {
369 "label": "5",
370 "x": 16.5,
371 "y": 4
372 },
373 {
374 "label": "6",
375 "x": 17.5,
376 "y": 4
377 },
378 {
379 "label": "+",
380 "x": 18.5,
381 "y": 4
382 },
383 {
384 "label": "Shift",
385 "x": 0,
386 "y": 5,
387 "w": 1.25
388 },
389 {
390 "label": "ISO1",
391 "x": 1.25,
392 "y": 5
393 },
394 {
395 "label": "Z",
396 "x": 2.25,
397 "y": 5
398 },
399 {
400 "label": "X",
401 "x": 3.25,
402 "y": 5
403 },
404 {
405 "label": "C",
406 "x": 4.25,
407 "y": 5
408 },
409 {
410 "label": "V",
411 "x": 5.25,
412 "y": 5
413 },
414 {
415 "label": "B",
416 "x": 6.25,
417 "y": 5
418 },
419 {
420 "label": "N",
421 "x": 7.25,
422 "y": 5
423 },
424 {
425 "label": "M",
426 "x": 8.25,
427 "y": 5
428 },
429 {
430 "label": "<",
431 "x": 9.25,
432 "y": 5
433 },
434 {
435 "label": ">",
436 "x": 10.25,
437 "y": 5
438 },
439 {
440 "label": "?",
441 "x": 11.25,
442 "y": 5
443 },
444 {
445 "label": "Shift",
446 "x": 12.25,
447 "y": 5,
448 "w": 1.75
449 },
450 {
451 "label": "up",
452 "x": 14.25,
453 "y": 5.25
454 },
455 {
456 "label": "1",
457 "x": 15.5,
458 "y": 5
459 },
460 {
461 "label": "2",
462 "x": 16.5,
463 "y": 5
464 },
465 {
466 "label": "3",
467 "x": 17.5,
468 "y": 5
469 },
470 {
471 "label": "Enter",
472 "x": 18.5,
473 "y": 5,
474 "h": 2
475 },
476 {
477 "label": "Ctrl",
478 "x": 0,
479 "y": 6,
480 "w": 1.25
481 },
482 {
483 "label": "OS",
484 "x": 1.25,
485 "y": 6,
486 "w": 1.25
487 },
488 {
489 "label": "Alt",
490 "x": 2.5,
491 "y": 6,
492 "w": 1.25
493 },
494 {
495 "x": 3.75,
496 "y": 6,
497 "w": 6.25
498 },
499 {
500 "label": "Alt",
501 "x": 10,
502 "y": 6,
503 "w": 1.5
504 },
505 {
506 "label": "Ctrl",
507 "x": 11.5,
508 "y": 6,
509 "w": 1.5
510 },
511 {
512 "label": "left",
513 "x": 13.25,
514 "y": 6.25
515 },
516 {
517 "label": "down",
518 "x": 14.25,
519 "y": 6.25
520 },
521 {
522 "label": "right",
523 "x": 15.25,
524 "y": 6.25
525 },
526 {
527 "label": "0",
528 "x": 16.5,
529 "y": 6
530 },
531 {
532 "label": ".",
533 "x": 17.5,
534 "y": 6
535 }
536 ]
537 }
538 }
539} \ No newline at end of file
diff --git a/keyboards/ash1800/keymaps/default/keymap.c b/keyboards/ash1800/keymaps/default/keymap.c
new file mode 100644
index 000000000..f1b52b14d
--- /dev/null
+++ b/keyboards/ash1800/keymaps/default/keymap.c
@@ -0,0 +1,37 @@
1/* Copyright 2019 angelbirth
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
18const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
19 [0] = LAYOUT_all( /* Base */
20 KC_ESC, 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_INS, KC_HOME, KC_PGUP, KC_PSCR,
21 KC_DEL, KC_END, KC_PGDN, KC_SLCK,
22 KC_GRV, 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_NLCK, KC_PSLS, KC_PAST, MO(1),
23 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_P7, KC_P8, KC_P9, KC_PMNS,
24 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_P4, KC_P5, KC_P6, KC_PPLS,
25 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_UP, KC_P1, KC_P2, KC_P3, KC_PENT,
26 KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT, KC_P0, KC_PDOT
27 ),
28 [1] = LAYOUT_all(
29 RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
30 _______, KC_MUTE, _______, _______,
31 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_CALC, _______, _______, _______,
32 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
33 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
34 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLU, _______, _______, _______, _______,
35 _______, _______, _______, KC_MPLY, _______, _______, KC_MPRV, KC_VOLD, KC_MNXT, _______, _______
36 ),
37};
diff --git a/keyboards/ash1800/keymaps/default/readme.md b/keyboards/ash1800/keymaps/default/readme.md
new file mode 100644
index 000000000..de61a6971
--- /dev/null
+++ b/keyboards/ash1800/keymaps/default/readme.md
@@ -0,0 +1 @@
# The default keymap for ash1800
diff --git a/keyboards/ash1800/readme.md b/keyboards/ash1800/readme.md
new file mode 100644
index 000000000..93257e755
--- /dev/null
+++ b/keyboards/ash1800/readme.md
@@ -0,0 +1,15 @@
1# ash1800
2
3![ash1800](https://i.imgur.com/YP173rP.jpg)
4
5ASH-1800 is an attempt to make a cheap g80/g81 clone.
6
7* Keyboard Maintainer: [angelbirth](https://github.com/angelbirth)
8* Hardware Supported: ASH-1800, ATMega32u4
9* Hardware Availability: private GB
10
11Make example for this keyboard (after setting up your build environment):
12
13 make ash1800: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/ash1800/rules.mk b/keyboards/ash1800/rules.mk
new file mode 100644
index 000000000..b4f1dacac
--- /dev/null
+++ b/keyboards/ash1800/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 = no # Mouse keys
19EXTRAKEY_ENABLE = yes # Audio control and System control
20CONSOLE_ENABLE = yes # Console for debug
21COMMAND_ENABLE = no # 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 = no # Enable keyboard backlight functionality
27RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
28MIDI_ENABLE = no # MIDI support
29UNICODE_ENABLE = no # Unicode
30BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
31AUDIO_ENABLE = no # Audio output on port C6
32FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
33HD44780_ENABLE = no # Enable support for HD44780 based LCDs