From 1ee99fe5260fee43a992303b6bb0ffc1bc2a658d Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Sat, 14 May 2022 06:17:53 -0700 Subject: [PATCH 01/72] Add files via upload --- keyboards/rad/Makefile | 16 +++++++ keyboards/rad/config.h | 63 +++++++++++++++++++++++++ keyboards/rad/info.json | 58 +++++++++++++++++++++++ keyboards/rad/keymaps/default/keymap.c | 41 ++++++++++++++++ keyboards/rad/keymaps/default/readme.md | 1 + keyboards/rad/keymaps/via/keymap.c | 32 +++++++++++++ keyboards/rad/keymaps/via/rules.mk | 2 + keyboards/rad/rad.c | 15 ++++++ keyboards/rad/rad.h | 31 ++++++++++++ keyboards/rad/rules.mk | 11 +++++ 10 files changed, 270 insertions(+) create mode 100644 keyboards/rad/Makefile create mode 100644 keyboards/rad/config.h create mode 100644 keyboards/rad/info.json create mode 100644 keyboards/rad/keymaps/default/keymap.c create mode 100644 keyboards/rad/keymaps/default/readme.md create mode 100644 keyboards/rad/keymaps/via/keymap.c create mode 100644 keyboards/rad/keymaps/via/rules.mk create mode 100644 keyboards/rad/rad.c create mode 100644 keyboards/rad/rad.h create mode 100644 keyboards/rad/rules.mk diff --git a/keyboards/rad/Makefile b/keyboards/rad/Makefile new file mode 100644 index 000000000000..b94eb1a4625b --- /dev/null +++ b/keyboards/rad/Makefile @@ -0,0 +1,16 @@ +RAD +The Rad Macro Pad is a USB-C, Macro Pad with 11 keys powered by QMK +* Keyboard Maintainer: Anubhav Dhiman +* Hardware Supported: ATmega32U4) +Hardware Availability: Interest Check +Make example for this keyboard (after setting up your build environment): +make rad:default +Flashing example for this keyboard (after setting up the bootloadHID flashing environment) +make rad:default:flash +I have two example keymaps available, both the default and the encoderlayers keymap which demonstrates using different encoder functions based on the layer chosen. +See the build environment setup and the make instructions for more information. Brand new to QMK? Start with our Complete Newbs Guide. + + + + + diff --git a/keyboards/rad/config.h b/keyboards/rad/config.h new file mode 100644 index 000000000000..1c9ec578f630 --- /dev/null +++ b/keyboards/rad/config.h @@ -0,0 +1,63 @@ +/* + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +#pragma once + +#include "config_common.h" + +/* USB Device descriptor parameter */ +#define VENDOR_ID 0xFEED +#define PRODUCT_ID 0x6060 +#define DEVICE_VER 0x0001 +#define MANUFACTURER qmkbuilder +#define PRODUCT keyboard +#define DESCRIPTION Keyboard + +/* key matrix size */ +#define MATRIX_ROWS 4 +#define MATRIX_COLS 3 + +/* key matrix pins */ +#define MATRIX_ROW_PINS { D7, C6, B6, D0 } +#define MATRIX_COL_PINS { B5, B4, E6 } +#define UNUSED_PINS + +/* COL2ROW or ROW2COL */ +#define DIODE_DIRECTION COL2ROW + +/* number of backlight levels */ + +#ifdef BACKLIGHT_PIN +#define BACKLIGHT_LEVELS 3 +#endif + +/* Set 0 if debouncing isn't needed */ +#define DEBOUNCING_DELAY 5 + +/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ +#define LOCKING_SUPPORT_ENABLE + +/* Locking resynchronize hack */ +#define LOCKING_RESYNC_ENABLE + +/* key combination for command */ +#define IS_COMMAND() ( \ + keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \ +) + +/* prevent stuck modifiers */ +#define PREVENT_STUCK_MODIFIERS + + + diff --git a/keyboards/rad/info.json b/keyboards/rad/info.json new file mode 100644 index 000000000000..ae7e41239829 --- /dev/null +++ b/keyboards/rad/info.json @@ -0,0 +1,58 @@ +{ + "keyboard_name": "rad", + "maintainer": "anubhavd7", + "usb": { + "vid": "0xFEED", + "pid": "0x6060", +}, + "layouts": { + "LAYOUT_horizontal": { + "layout": [ + { + "x": 1, + "y": 0 + }, + { + "x": 2, + "y": 0 + }, + { + "x": 0, + "y": 1 + }, + { + "x": 1, + "y": 1 + }, + { + "x": 2, + "y": 1 + }, + { + "x": 0, + "y": 2 + }, + { + "x": 1, + "y": 2 + }, + { + "x": 2, + "y": 2 + }, + { + "x": 0, + "y": 3 + }, + { + "x": 1, + "y": 3 + }, + { + "x": 2, + "y": 3 + } + ] + } + } +} diff --git a/keyboards/rad/keymaps/default/keymap.c b/keyboards/rad/keymaps/default/keymap.c new file mode 100644 index 000000000000..f7dcf15f72cd --- /dev/null +++ b/keyboards/rad/keymaps/default/keymap.c @@ -0,0 +1,41 @@ +/** This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + + + + + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { +[0] = LAYOUT_horizontal( + KC_SPC, KC_SPC, + KC_SPC, KC_SPC, KC_SPC, + KC_SPC, KC_SPC, KC_SPC, + KC_SPC, KC_SPC, KC_SPC) +} + + + + + + + + + + + + + + \ No newline at end of file diff --git a/keyboards/rad/keymaps/default/readme.md b/keyboards/rad/keymaps/default/readme.md new file mode 100644 index 000000000000..e3562e4f0bef --- /dev/null +++ b/keyboards/rad/keymaps/default/readme.md @@ -0,0 +1 @@ +# rad - Default layout diff --git a/keyboards/rad/keymaps/via/keymap.c b/keyboards/rad/keymaps/via/keymap.c new file mode 100644 index 000000000000..95f96a843a5f --- /dev/null +++ b/keyboards/rad/keymaps/via/keymap.c @@ -0,0 +1,32 @@ +#include QMK_KEYBOARD_H + +#define ____ KC_TRNS +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { +[0] = LAYOUT_horizontal( + KC_SPC, KC_SPC, + KC_SPC, KC_SPC, KC_SPC, + KC_SPC, KC_SPC, KC_SPC, + KC_SPC, KC_SPC, KC_SPC), + [1] = LAYOUT_horizontal( + ____ , ____, + ____ , ____, ____, + ____ , ____, ____, + ____ , ____, ____ + ), + [2] = LAYOUT_horizontal( + ____ , ____, + ____ , ____, ____, + ____ , ____, ____, + ____ , ____, ____ + ), + [3] = LAYOUT_horizontal( + ____ , ____, + ____ , ____, ____, + ____ , ____, ____, + ____ , ____, ____ + ) +} + + + + \ No newline at end of file diff --git a/keyboards/rad/keymaps/via/rules.mk b/keyboards/rad/keymaps/via/rules.mk new file mode 100644 index 000000000000..16b22ed2cb5f --- /dev/null +++ b/keyboards/rad/keymaps/via/rules.mk @@ -0,0 +1,2 @@ +VIA_ENABLE = yes +VIAL_ENABLE = yes diff --git a/keyboards/rad/rad.c b/keyboards/rad/rad.c new file mode 100644 index 000000000000..b3fed5469655 --- /dev/null +++ b/keyboards/rad/rad.c @@ -0,0 +1,15 @@ +/* + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +#include "rad.h" diff --git a/keyboards/rad/rad.h b/keyboards/rad/rad.h new file mode 100644 index 000000000000..e5d8747aba1a --- /dev/null +++ b/keyboards/rad/rad.h @@ -0,0 +1,31 @@ +/* + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +#pragma once + + +#include "quantum.h" + +#define LAYOUT_horizontal( \ + K01, K02, \ + K10, K11, K12, \ + K20, K21, K22, \ + K30, K31, K32 \ +) { \ + { KC_NO, K01, K02 }, \ + { K10, K11, K12 }, \ + { K20, K21, K22 }, \ + { K30, K31, K32 } \ +} + diff --git a/keyboards/rad/rules.mk b/keyboards/rad/rules.mk new file mode 100644 index 000000000000..9610b90efd11 --- /dev/null +++ b/keyboards/rad/rules.mk @@ -0,0 +1,11 @@ +# MCU name +MCU = atmega32u4 + +# Bootloader selection +BOOTLOADER = caterina + +EXTRAKEY_ENABLE = yes +NKRO_ENABLE = yes # Enable N-Key Rollover +CONSOLE_ENABLE = yes +COMMAND_ENABLE = yes + From 042aad7536d591cf414c196f223c56ae265ad9ed Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Sat, 14 May 2022 07:54:50 -0700 Subject: [PATCH 02/72] Add files via upload --- keyboards/rad/keymaps/via/vial.json | 36 +++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 keyboards/rad/keymaps/via/vial.json diff --git a/keyboards/rad/keymaps/via/vial.json b/keyboards/rad/keymaps/via/vial.json new file mode 100644 index 000000000000..24a38bfdd3e4 --- /dev/null +++ b/keyboards/rad/keymaps/via/vial.json @@ -0,0 +1,36 @@ +{ + "name": "rad", + "vendorId": "0xFEED", + "productId": "0x6060", + "lighting": "none", + "matrix": { + "rows": 4, + "cols": 3 + }, + "layouts": { + "keymap": [ + [ + { + "x": 1 + }, + "0,1", + "0,2" + ], + [ + "1,0", + "1,1", + "1,2" + ], + [ + "2,0", + "2,1", + "2,2" + ], + [ + "3,0", + "3,1", + "3,2" + ] + ] + } +} From c0f76b4bd88936ff0e99200ba9c5b149ede15283 Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Sat, 14 May 2022 07:58:45 -0700 Subject: [PATCH 03/72] Update keymap.c --- keyboards/rad/keymaps/default/keymap.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/keyboards/rad/keymaps/default/keymap.c b/keyboards/rad/keymaps/default/keymap.c index f7dcf15f72cd..eca2be943198 100644 --- a/keyboards/rad/keymaps/default/keymap.c +++ b/keyboards/rad/keymaps/default/keymap.c @@ -1,4 +1,5 @@ -/** This program is free software: you can redistribute it and/or modify +/* +* This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 2 of the License, or * (at your option) any later version. @@ -38,4 +39,4 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - \ No newline at end of file + From 4fe32562706170d52e10304d03e3f5d2f0675bb3 Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Sat, 14 May 2022 08:10:14 -0700 Subject: [PATCH 04/72] Update keymap.c --- keyboards/rad/keymaps/default/keymap.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/keyboards/rad/keymaps/default/keymap.c b/keyboards/rad/keymaps/default/keymap.c index eca2be943198..3571c0c9e6b8 100644 --- a/keyboards/rad/keymaps/default/keymap.c +++ b/keyboards/rad/keymaps/default/keymap.c @@ -1,5 +1,4 @@ -/* -* This program is free software: you can redistribute it and/or modify +/* This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 2 of the License, or * (at your option) any later version. From d2b40690e03a5c52f154d3828a5ba877cb756a77 Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Sat, 14 May 2022 08:12:02 -0700 Subject: [PATCH 05/72] Update keymap.c --- keyboards/rad/keymaps/via/keymap.c | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/keyboards/rad/keymaps/via/keymap.c b/keyboards/rad/keymaps/via/keymap.c index 95f96a843a5f..2e71816ac90a 100644 --- a/keyboards/rad/keymaps/via/keymap.c +++ b/keyboards/rad/keymaps/via/keymap.c @@ -1,3 +1,17 @@ +/* + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ #include QMK_KEYBOARD_H #define ____ KC_TRNS @@ -29,4 +43,4 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - \ No newline at end of file + From 64e82544a09dcfa2760165edaf347112d7482568 Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Sat, 14 May 2022 08:24:50 -0700 Subject: [PATCH 06/72] Update keymap.c --- keyboards/rad/keymaps/via/keymap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/rad/keymaps/via/keymap.c b/keyboards/rad/keymaps/via/keymap.c index 2e71816ac90a..9b461a9d21cc 100644 --- a/keyboards/rad/keymaps/via/keymap.c +++ b/keyboards/rad/keymaps/via/keymap.c @@ -28,7 +28,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { ____ , ____, ____ ), [2] = LAYOUT_horizontal( - ____ , ____, + ____ , ____, ____ , ____, ____, ____ , ____, ____, ____ , ____, ____ From 0784ccc54f8c8b1bafe3dd9d3e1524faa5eb182d Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Sat, 14 May 2022 12:37:12 -0700 Subject: [PATCH 07/72] Rename Makefile to readme.md --- keyboards/rad/{Makefile => readme.md} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename keyboards/rad/{Makefile => readme.md} (67%) diff --git a/keyboards/rad/Makefile b/keyboards/rad/readme.md similarity index 67% rename from keyboards/rad/Makefile rename to keyboards/rad/readme.md index b94eb1a4625b..2def7eb15e72 100644 --- a/keyboards/rad/Makefile +++ b/keyboards/rad/readme.md @@ -1,14 +1,14 @@ RAD The Rad Macro Pad is a USB-C, Macro Pad with 11 keys powered by QMK -* Keyboard Maintainer: Anubhav Dhiman +* Keyboard Maintainer: Anubhav Dhiman * Hardware Supported: ATmega32U4) -Hardware Availability: Interest Check +Hardware Availability: Interest Check Make example for this keyboard (after setting up your build environment): make rad:default Flashing example for this keyboard (after setting up the bootloadHID flashing environment) make rad:default:flash I have two example keymaps available, both the default and the encoderlayers keymap which demonstrates using different encoder functions based on the layer chosen. -See the build environment setup and the make instructions for more information. Brand new to QMK? Start with our Complete Newbs Guide. +See the build environment setup and the make instructions for more information. Brand new to QMK? Start with our Complete Newbs Guide. From c14a7cff54aa7700cae04ff8e84f9bd895dce949 Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Sat, 14 May 2022 12:38:34 -0700 Subject: [PATCH 08/72] Update config.h --- keyboards/rad/config.h | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/keyboards/rad/config.h b/keyboards/rad/config.h index 1c9ec578f630..4c7078700b4b 100644 --- a/keyboards/rad/config.h +++ b/keyboards/rad/config.h @@ -38,26 +38,6 @@ /* number of backlight levels */ -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_LEVELS 3 -#endif - -/* Set 0 if debouncing isn't needed */ -#define DEBOUNCING_DELAY 5 - -/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ -#define LOCKING_SUPPORT_ENABLE - -/* Locking resynchronize hack */ -#define LOCKING_RESYNC_ENABLE - -/* key combination for command */ -#define IS_COMMAND() ( \ - keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \ -) - -/* prevent stuck modifiers */ -#define PREVENT_STUCK_MODIFIERS From 2a3e1c301c8cf849b9f2e8743fffb71bfdb81366 Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Sat, 14 May 2022 12:40:12 -0700 Subject: [PATCH 09/72] Update config.h --- keyboards/rad/config.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/keyboards/rad/config.h b/keyboards/rad/config.h index 4c7078700b4b..9cb5c5ec0798 100644 --- a/keyboards/rad/config.h +++ b/keyboards/rad/config.h @@ -16,14 +16,6 @@ #include "config_common.h" -/* USB Device descriptor parameter */ -#define VENDOR_ID 0xFEED -#define PRODUCT_ID 0x6060 -#define DEVICE_VER 0x0001 -#define MANUFACTURER qmkbuilder -#define PRODUCT keyboard -#define DESCRIPTION Keyboard - /* key matrix size */ #define MATRIX_ROWS 4 #define MATRIX_COLS 3 From f32bf063d87ba816bd4e897f306ee5553be7a3e8 Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Sat, 14 May 2022 12:42:13 -0700 Subject: [PATCH 10/72] Update keymap.c --- keyboards/rad/keymaps/default/keymap.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/keyboards/rad/keymaps/default/keymap.c b/keyboards/rad/keymaps/default/keymap.c index 3571c0c9e6b8..c83cc26835d2 100644 --- a/keyboards/rad/keymaps/default/keymap.c +++ b/keyboards/rad/keymaps/default/keymap.c @@ -11,11 +11,6 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ - - - - - #include QMK_KEYBOARD_H const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { From f6c522542613de18176753d527e9d5f6c952af07 Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Sat, 14 May 2022 12:43:21 -0700 Subject: [PATCH 11/72] Update rad.h --- keyboards/rad/rad.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/rad/rad.h b/keyboards/rad/rad.h index e5d8747aba1a..8a75756f8226 100644 --- a/keyboards/rad/rad.h +++ b/keyboards/rad/rad.h @@ -17,7 +17,7 @@ #include "quantum.h" -#define LAYOUT_horizontal( \ +#define LAYOUT( \ K01, K02, \ K10, K11, K12, \ K20, K21, K22, \ From 812e1d65bbc5f4525248ad11b68e25c40ee98aec Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Sat, 14 May 2022 12:43:41 -0700 Subject: [PATCH 12/72] Update rad.h --- keyboards/rad/rad.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/rad/rad.h b/keyboards/rad/rad.h index 8a75756f8226..8dde25fae087 100644 --- a/keyboards/rad/rad.h +++ b/keyboards/rad/rad.h @@ -17,7 +17,7 @@ #include "quantum.h" -#define LAYOUT( \ +#define LAYOUT(\ K01, K02, \ K10, K11, K12, \ K20, K21, K22, \ From 4e924ff348177d51e9b7b3f60f77f84dbd89d84b Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Sat, 14 May 2022 12:44:09 -0700 Subject: [PATCH 13/72] Update rad.h --- keyboards/rad/rad.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/rad/rad.h b/keyboards/rad/rad.h index 8dde25fae087..8a75756f8226 100644 --- a/keyboards/rad/rad.h +++ b/keyboards/rad/rad.h @@ -17,7 +17,7 @@ #include "quantum.h" -#define LAYOUT(\ +#define LAYOUT( \ K01, K02, \ K10, K11, K12, \ K20, K21, K22, \ From da40a6b7e707573748751072513d72afc12fa498 Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Sat, 14 May 2022 12:47:07 -0700 Subject: [PATCH 14/72] Update rules.mk --- keyboards/rad/rules.mk | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/keyboards/rad/rules.mk b/keyboards/rad/rules.mk index 9610b90efd11..7dae3a842349 100644 --- a/keyboards/rad/rules.mk +++ b/keyboards/rad/rules.mk @@ -4,8 +4,15 @@ MCU = atmega32u4 # Bootloader selection BOOTLOADER = caterina -EXTRAKEY_ENABLE = yes +# Build Options +# change yes to no to disable +# +BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite +MOUSEKEY_ENABLE = yes # Mouse keys +EXTRAKEY_ENABLE = yes # Audio control and System control +CONSOLE_ENABLE = no # Console for debug +COMMAND_ENABLE = no # Commands for debug and configuration NKRO_ENABLE = yes # Enable N-Key Rollover -CONSOLE_ENABLE = yes -COMMAND_ENABLE = yes - +BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality +RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow +AUDIO_ENABLE = no # Audio output From 725ec287c49feca171e6eac7a4327c79ae113cad Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Sat, 14 May 2022 12:51:35 -0700 Subject: [PATCH 15/72] Update keymap.c --- keyboards/rad/keymaps/via/keymap.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/keyboards/rad/keymaps/via/keymap.c b/keyboards/rad/keymaps/via/keymap.c index 9b461a9d21cc..5bf387265090 100644 --- a/keyboards/rad/keymaps/via/keymap.c +++ b/keyboards/rad/keymaps/via/keymap.c @@ -16,24 +16,24 @@ #define ____ KC_TRNS const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { -[0] = LAYOUT_horizontal( +[0] = LAYOUT( KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_SPC), - [1] = LAYOUT_horizontal( + [1] = LAYOUT( ____ , ____, ____ , ____, ____, ____ , ____, ____, ____ , ____, ____ ), - [2] = LAYOUT_horizontal( + [2] = LAYOUT( ____ , ____, ____ , ____, ____, ____ , ____, ____, ____ , ____, ____ ), - [3] = LAYOUT_horizontal( + [3] = LAYOUT( ____ , ____, ____ , ____, ____, ____ , ____, ____, @@ -42,5 +42,4 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { } - From ae5a8b2c6182efe7808ae7a35c06f27b87b320f1 Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Sat, 14 May 2022 12:55:44 -0700 Subject: [PATCH 16/72] Delete vial.json --- keyboards/rad/keymaps/via/vial.json | 36 ----------------------------- 1 file changed, 36 deletions(-) delete mode 100644 keyboards/rad/keymaps/via/vial.json diff --git a/keyboards/rad/keymaps/via/vial.json b/keyboards/rad/keymaps/via/vial.json deleted file mode 100644 index 24a38bfdd3e4..000000000000 --- a/keyboards/rad/keymaps/via/vial.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "name": "rad", - "vendorId": "0xFEED", - "productId": "0x6060", - "lighting": "none", - "matrix": { - "rows": 4, - "cols": 3 - }, - "layouts": { - "keymap": [ - [ - { - "x": 1 - }, - "0,1", - "0,2" - ], - [ - "1,0", - "1,1", - "1,2" - ], - [ - "2,0", - "2,1", - "2,2" - ], - [ - "3,0", - "3,1", - "3,2" - ] - ] - } -} From 7a3939ddc2af7ca307355831ea3457c304fe4e54 Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Sat, 14 May 2022 12:57:10 -0700 Subject: [PATCH 17/72] Update info.json --- keyboards/rad/info.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/rad/info.json b/keyboards/rad/info.json index ae7e41239829..a76cf180bac4 100644 --- a/keyboards/rad/info.json +++ b/keyboards/rad/info.json @@ -6,7 +6,7 @@ "pid": "0x6060", }, "layouts": { - "LAYOUT_horizontal": { + "LAYOUT": { "layout": [ { "x": 1, From 597941b33ad4db3b9d33abab79e245163e6e5c81 Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Sat, 14 May 2022 23:11:22 -0700 Subject: [PATCH 18/72] Update keymap.c --- keyboards/rad/keymaps/default/keymap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/rad/keymaps/default/keymap.c b/keyboards/rad/keymaps/default/keymap.c index c83cc26835d2..56a09f30ed9c 100644 --- a/keyboards/rad/keymaps/default/keymap.c +++ b/keyboards/rad/keymaps/default/keymap.c @@ -14,7 +14,7 @@ #include QMK_KEYBOARD_H const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { -[0] = LAYOUT_horizontal( +[0] = LAYOUT( KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_SPC, From 7b90a26469d09475c17ad863731d6f6b718ff0c5 Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Sat, 14 May 2022 23:11:59 -0700 Subject: [PATCH 19/72] Update keymap.c --- keyboards/rad/keymaps/default/keymap.c | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/keyboards/rad/keymaps/default/keymap.c b/keyboards/rad/keymaps/default/keymap.c index 56a09f30ed9c..d236d9f35643 100644 --- a/keyboards/rad/keymaps/default/keymap.c +++ b/keyboards/rad/keymaps/default/keymap.c @@ -19,18 +19,4 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_SPC) -} - - - - - - - - - - - - - - +} From 6978c971f51a31d0fb99d1f413fb3e5dd13a02e1 Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Sat, 14 May 2022 23:13:11 -0700 Subject: [PATCH 20/72] Update keymap.c --- keyboards/rad/keymaps/via/keymap.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/keyboards/rad/keymaps/via/keymap.c b/keyboards/rad/keymaps/via/keymap.c index 5bf387265090..0b3a4e06fc72 100644 --- a/keyboards/rad/keymaps/via/keymap.c +++ b/keyboards/rad/keymaps/via/keymap.c @@ -13,8 +13,6 @@ * along with this program. If not, see . */ #include QMK_KEYBOARD_H - -#define ____ KC_TRNS const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [0] = LAYOUT( KC_SPC, KC_SPC, @@ -40,6 +38,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { ____ , ____, ____ ) } - - - From e89793a412dc28b6ef231aee5da97ef88ee85776 Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Sat, 14 May 2022 23:14:19 -0700 Subject: [PATCH 21/72] Update rules.mk --- keyboards/rad/keymaps/via/rules.mk | 1 - 1 file changed, 1 deletion(-) diff --git a/keyboards/rad/keymaps/via/rules.mk b/keyboards/rad/keymaps/via/rules.mk index 16b22ed2cb5f..3e8f67889eb9 100644 --- a/keyboards/rad/keymaps/via/rules.mk +++ b/keyboards/rad/keymaps/via/rules.mk @@ -1,2 +1 @@ VIA_ENABLE = yes -VIAL_ENABLE = yes From 57852d555fe74d3a84477f63759537ce8b14824a Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Sat, 14 May 2022 23:15:23 -0700 Subject: [PATCH 22/72] Update config.h --- keyboards/rad/config.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/keyboards/rad/config.h b/keyboards/rad/config.h index 9cb5c5ec0798..7308ea137220 100644 --- a/keyboards/rad/config.h +++ b/keyboards/rad/config.h @@ -27,9 +27,3 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW - -/* number of backlight levels */ - - - - From c9383ed7000f03ddb06b0b8f1231cce5341a0330 Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Sat, 14 May 2022 23:16:26 -0700 Subject: [PATCH 23/72] Update keymap.c --- keyboards/rad/keymaps/default/keymap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/rad/keymaps/default/keymap.c b/keyboards/rad/keymaps/default/keymap.c index d236d9f35643..abfdff56fd1e 100644 --- a/keyboards/rad/keymaps/default/keymap.c +++ b/keyboards/rad/keymaps/default/keymap.c @@ -19,4 +19,4 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_SPC) -} +}; From 3f0b2721bac2568e1f1a7de3653b4113b6562c9a Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Sat, 14 May 2022 23:19:30 -0700 Subject: [PATCH 24/72] Update keymap.c --- keyboards/rad/keymaps/via/keymap.c | 36 +++++++++++++++--------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/keyboards/rad/keymaps/via/keymap.c b/keyboards/rad/keymaps/via/keymap.c index 0b3a4e06fc72..eeea6fb869a2 100644 --- a/keyboards/rad/keymaps/via/keymap.c +++ b/keyboards/rad/keymaps/via/keymap.c @@ -14,27 +14,27 @@ */ #include QMK_KEYBOARD_H const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { -[0] = LAYOUT( - KC_SPC, KC_SPC, - KC_SPC, KC_SPC, KC_SPC, - KC_SPC, KC_SPC, KC_SPC, - KC_SPC, KC_SPC, KC_SPC), + [0] = LAYOUT( + KC_SPC, KC_SPC, + KC_SPC, KC_SPC, KC_SPC, + KC_SPC, KC_SPC, KC_SPC, + KC_SPC, KC_SPC, KC_SPC), [1] = LAYOUT( - ____ , ____, - ____ , ____, ____, - ____ , ____, ____, - ____ , ____, ____ + _______ , _______, + _______ , _______, _______, + _______ , _______, _______, + _______ , _______, _______ ), [2] = LAYOUT( - ____ , ____, - ____ , ____, ____, - ____ , ____, ____, - ____ , ____, ____ + _______ , _______, + _______ , _______, _______, + _______ , _______, _______, + _______ , _______, _______ ), [3] = LAYOUT( - ____ , ____, - ____ , ____, ____, - ____ , ____, ____, - ____ , ____, ____ + _______ , _______, + _______ , _______, _______, + _______ , _______, _______, + _______ , _______, _______ ) -} +}; From 96398189b91a66f7b74ece3243b5a920ad5ce0fc Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Sat, 14 May 2022 23:20:39 -0700 Subject: [PATCH 25/72] Update readme.md --- keyboards/rad/readme.md | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/keyboards/rad/readme.md b/keyboards/rad/readme.md index 2def7eb15e72..9074c9329f6c 100644 --- a/keyboards/rad/readme.md +++ b/keyboards/rad/readme.md @@ -1,16 +1,13 @@ -RAD +# rad The Rad Macro Pad is a USB-C, Macro Pad with 11 keys powered by QMK -* Keyboard Maintainer: Anubhav Dhiman -* Hardware Supported: ATmega32U4) -Hardware Availability: Interest Check +* Keyboard Maintainer: Anubhav Dhiman +* Hardware Supported: ATmega32U4 +* Hardware Availability: Interest Check Make example for this keyboard (after setting up your build environment): -make rad:default -Flashing example for this keyboard (after setting up the bootloadHID flashing environment) -make rad:default:flash -I have two example keymaps available, both the default and the encoderlayers keymap which demonstrates using different encoder functions based on the layer chosen. -See the build environment setup and the make instructions for more information. Brand new to QMK? Start with our Complete Newbs Guide. - - + make rad:default +Flashing example for this keyboard: + make rad:default:flash +See 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). From acce765ee1c0f08d48e50a892c8a64f42bfb9b91 Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Sat, 14 May 2022 23:22:13 -0700 Subject: [PATCH 26/72] Update readme.md --- keyboards/rad/readme.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/keyboards/rad/readme.md b/keyboards/rad/readme.md index 9074c9329f6c..06954904beb7 100644 --- a/keyboards/rad/readme.md +++ b/keyboards/rad/readme.md @@ -1,12 +1,19 @@ # rad + The Rad Macro Pad is a USB-C, Macro Pad with 11 keys powered by QMK + * Keyboard Maintainer: Anubhav Dhiman * Hardware Supported: ATmega32U4 * Hardware Availability: Interest Check +* Make example for this keyboard (after setting up your build environment): + make rad:default + Flashing example for this keyboard: + make rad:default:flash + See 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). From 96cda2f17b4425bf5b0bac8e0f95bf106f663b63 Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Mon, 16 May 2022 21:33:36 -0700 Subject: [PATCH 27/72] Update readme.md --- keyboards/rad/readme.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/keyboards/rad/readme.md b/keyboards/rad/readme.md index 06954904beb7..770f15905422 100644 --- a/keyboards/rad/readme.md +++ b/keyboards/rad/readme.md @@ -4,8 +4,7 @@ The Rad Macro Pad is a USB-C, Macro Pad with 11 keys powered by QMK * Keyboard Maintainer: Anubhav Dhiman * Hardware Supported: ATmega32U4 -* Hardware Availability: Interest Check -* +* Hardware Availability: Interest Check Make example for this keyboard (after setting up your build environment): make rad:default @@ -15,6 +14,12 @@ Flashing example for this keyboard: make rad:default:flash See 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). +## Bootloader +Enter the bootloader in 3 ways: + +* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard +* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead +* **Keycode in layout**: Press the key mapped to `RESET` if it is available From 9943f61171b98ec5d30333eb6090e28d1150816f Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Tue, 17 May 2022 06:30:41 -0700 Subject: [PATCH 28/72] Update info.json --- keyboards/rad/info.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/rad/info.json b/keyboards/rad/info.json index a76cf180bac4..41ecc8e55c61 100644 --- a/keyboards/rad/info.json +++ b/keyboards/rad/info.json @@ -1,6 +1,6 @@ { "keyboard_name": "rad", - "maintainer": "anubhavd7", + "manufacturer": "anubhavd7", "usb": { "vid": "0xFEED", "pid": "0x6060", From f77c613302fa1ae8b460ddabbfd68d04540039e2 Mon Sep 17 00:00:00 2001 From: zvecr Date: Tue, 17 May 2022 15:55:58 +0100 Subject: [PATCH 29/72] Fix compile and line ending issues --- keyboards/rad/info.json | 69 +++++++++++++++++++++-------------------- keyboards/rad/readme.md | 50 ++++++++++++++--------------- 2 files changed, 60 insertions(+), 59 deletions(-) diff --git a/keyboards/rad/info.json b/keyboards/rad/info.json index 41ecc8e55c61..b8098c89a9b0 100644 --- a/keyboards/rad/info.json +++ b/keyboards/rad/info.json @@ -4,10 +4,11 @@ "usb": { "vid": "0xFEED", "pid": "0x6060", -}, + "device_version": "0.0.1" + }, "layouts": { "LAYOUT": { - "layout": [ + "layout": [ { "x": 1, "y": 0 @@ -21,38 +22,38 @@ "y": 1 }, { - "x": 1, - "y": 1 - }, - { - "x": 2, - "y": 1 - }, - { - "x": 0, - "y": 2 - }, - { - "x": 1, - "y": 2 - }, - { - "x": 2, - "y": 2 - }, - { - "x": 0, - "y": 3 - }, - { - "x": 1, - "y": 3 - }, - { - "x": 2, - "y": 3 - } + "x": 1, + "y": 1 + }, + { + "x": 2, + "y": 1 + }, + { + "x": 0, + "y": 2 + }, + { + "x": 1, + "y": 2 + }, + { + "x": 2, + "y": 2 + }, + { + "x": 0, + "y": 3 + }, + { + "x": 1, + "y": 3 + }, + { + "x": 2, + "y": 3 + } ] } } -} +} \ No newline at end of file diff --git a/keyboards/rad/readme.md b/keyboards/rad/readme.md index 770f15905422..73b1d4757340 100644 --- a/keyboards/rad/readme.md +++ b/keyboards/rad/readme.md @@ -1,25 +1,25 @@ -# rad - -The Rad Macro Pad is a USB-C, Macro Pad with 11 keys powered by QMK - -* Keyboard Maintainer: Anubhav Dhiman -* Hardware Supported: ATmega32U4 -* Hardware Availability: Interest Check -Make example for this keyboard (after setting up your build environment): - - make rad:default - -Flashing example for this keyboard: - - make rad:default:flash - -See 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). -## Bootloader - -Enter the bootloader in 3 ways: - -* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard -* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead -* **Keycode in layout**: Press the key mapped to `RESET` if it is available - - +# rad + +The Rad Macro Pad is a USB-C, Macro Pad with 11 keys powered by QMK + +* Keyboard Maintainer: Anubhav Dhiman +* Hardware Supported: ATmega32U4 +* Hardware Availability: Interest Check +Make example for this keyboard (after setting up your build environment): + + make rad:default + +Flashing example for this keyboard: + + make rad:default:flash + +See 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). +## Bootloader + +Enter the bootloader in 3 ways: + +* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard +* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead +* **Keycode in layout**: Press the key mapped to `RESET` if it is available + + From f0a8e9755349acd57deaf070be0c0b723b03f6e1 Mon Sep 17 00:00:00 2001 From: zvecr Date: Tue, 17 May 2022 16:07:48 +0100 Subject: [PATCH 30/72] Format files, fix bootmagic --- keyboards/rad/config.h | 4 ++ keyboards/rad/keymaps/default/keymap.c | 37 ++++++------- keyboards/rad/keymaps/via/keymap.c | 75 +++++++++++++------------- keyboards/rad/keymaps/via/rules.mk | 2 +- keyboards/rad/rad.h | 18 +++---- keyboards/rad/readme.md | 13 +++-- 6 files changed, 76 insertions(+), 73 deletions(-) diff --git a/keyboards/rad/config.h b/keyboards/rad/config.h index 7308ea137220..47048722b137 100644 --- a/keyboards/rad/config.h +++ b/keyboards/rad/config.h @@ -27,3 +27,7 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW + +/* Bootmagic key configuration */ +#define BOOTMAGIC_LITE_ROW 0 +#define BOOTMAGIC_LITE_COLUMN 2 diff --git a/keyboards/rad/keymaps/default/keymap.c b/keyboards/rad/keymaps/default/keymap.c index abfdff56fd1e..a4f0291040f3 100644 --- a/keyboards/rad/keymaps/default/keymap.c +++ b/keyboards/rad/keymaps/default/keymap.c @@ -1,22 +1,23 @@ -/* This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ +/* + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ #include QMK_KEYBOARD_H const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { -[0] = LAYOUT( - KC_SPC, KC_SPC, - KC_SPC, KC_SPC, KC_SPC, - KC_SPC, KC_SPC, KC_SPC, - KC_SPC, KC_SPC, KC_SPC) + [0] = LAYOUT( + KC_SPC, KC_SPC, + KC_SPC, KC_SPC, KC_SPC, + KC_SPC, KC_SPC, KC_SPC, + KC_SPC, KC_SPC, KC_SPC), }; diff --git a/keyboards/rad/keymaps/via/keymap.c b/keyboards/rad/keymaps/via/keymap.c index eeea6fb869a2..c994bcc07932 100644 --- a/keyboards/rad/keymaps/via/keymap.c +++ b/keyboards/rad/keymaps/via/keymap.c @@ -1,40 +1,41 @@ -/* - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ +/* + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ #include QMK_KEYBOARD_H + const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT( - KC_SPC, KC_SPC, - KC_SPC, KC_SPC, KC_SPC, - KC_SPC, KC_SPC, KC_SPC, - KC_SPC, KC_SPC, KC_SPC), - [1] = LAYOUT( - _______ , _______, - _______ , _______, _______, - _______ , _______, _______, - _______ , _______, _______ - ), - [2] = LAYOUT( - _______ , _______, - _______ , _______, _______, - _______ , _______, _______, - _______ , _______, _______ - ), - [3] = LAYOUT( - _______ , _______, - _______ , _______, _______, - _______ , _______, _______, - _______ , _______, _______ - ) + [0] = LAYOUT( + KC_SPC, KC_SPC, + KC_SPC, KC_SPC, KC_SPC, + KC_SPC, KC_SPC, KC_SPC, + KC_SPC, KC_SPC, KC_SPC), + [1] = LAYOUT( + _______, _______, + _______, _______, _______, + _______, _______, _______, + _______, _______, _______ + ), + [2] = LAYOUT( + _______, _______, + _______, _______, _______, + _______, _______, _______, + _______, _______, _______ + ), + [3] = LAYOUT( + _______, _______, + _______, _______, _______, + _______, _______, _______, + _______, _______, _______ + ) }; diff --git a/keyboards/rad/keymaps/via/rules.mk b/keyboards/rad/keymaps/via/rules.mk index 3e8f67889eb9..69de2e4c5a0c 100644 --- a/keyboards/rad/keymaps/via/rules.mk +++ b/keyboards/rad/keymaps/via/rules.mk @@ -1 +1 @@ -VIA_ENABLE = yes +VIA_ENABLE = yes diff --git a/keyboards/rad/rad.h b/keyboards/rad/rad.h index 8a75756f8226..a9d669c92924 100644 --- a/keyboards/rad/rad.h +++ b/keyboards/rad/rad.h @@ -14,18 +14,16 @@ */ #pragma once - #include "quantum.h" #define LAYOUT( \ - K01, K02, \ - K10, K11, K12, \ - K20, K21, K22, \ - K30, K31, K32 \ + K01, K02, \ + K10, K11, K12, \ + K20, K21, K22, \ + K30, K31, K32 \ ) { \ - { KC_NO, K01, K02 }, \ - { K10, K11, K12 }, \ - { K20, K21, K22 }, \ - { K30, K31, K32 } \ + { KC_NO, K01, K02 }, \ + { K10, K11, K12 }, \ + { K20, K21, K22 }, \ + { K30, K31, K32 } \ } - diff --git a/keyboards/rad/readme.md b/keyboards/rad/readme.md index 73b1d4757340..3a0fc76230e7 100644 --- a/keyboards/rad/readme.md +++ b/keyboards/rad/readme.md @@ -2,24 +2,23 @@ The Rad Macro Pad is a USB-C, Macro Pad with 11 keys powered by QMK -* Keyboard Maintainer: Anubhav Dhiman +* Keyboard Maintainer: Anubhav Dhiman * Hardware Supported: ATmega32U4 -* Hardware Availability: Interest Check +* Hardware Availability: Interest Check + Make example for this keyboard (after setting up your build environment): make rad:default - + Flashing example for this keyboard: make rad:default:flash - + See 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). ## Bootloader Enter the bootloader in 3 ways: -* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard +* **Bootmagic reset**: Hold down the key at (0,2) in the matrix (top right) and plug in the keyboard * **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead * **Keycode in layout**: Press the key mapped to `RESET` if it is available - - From f58422ebf940bda76c916435d495bd087aae5d08 Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Mon, 23 May 2022 14:00:59 +0530 Subject: [PATCH 31/72] Add files via upload --- keyboards/atset/at9/at9.c | 15 ++++ keyboards/atset/at9/at9.h | 27 +++++++ keyboards/atset/at9/config.h | 76 +++++++++++++++++++ keyboards/atset/at9/info.json | 9 +++ keyboards/atset/at9/keymaps/default/keymap.c | 41 ++++++++++ keyboards/atset/at9/keymaps/default/readme.md | 1 + keyboards/atset/at9/keymaps/via/keymap.c | 43 +++++++++++ keyboards/atset/at9/keymaps/via/rules.mk | 1 + keyboards/atset/at9/readme.md | 20 +++++ keyboards/atset/at9/rules.mk | 18 +++++ 10 files changed, 251 insertions(+) create mode 100644 keyboards/atset/at9/at9.c create mode 100644 keyboards/atset/at9/at9.h create mode 100644 keyboards/atset/at9/config.h create mode 100644 keyboards/atset/at9/info.json create mode 100644 keyboards/atset/at9/keymaps/default/keymap.c create mode 100644 keyboards/atset/at9/keymaps/default/readme.md create mode 100644 keyboards/atset/at9/keymaps/via/keymap.c create mode 100644 keyboards/atset/at9/keymaps/via/rules.mk create mode 100644 keyboards/atset/at9/readme.md create mode 100644 keyboards/atset/at9/rules.mk diff --git a/keyboards/atset/at9/at9.c b/keyboards/atset/at9/at9.c new file mode 100644 index 000000000000..88007640332c --- /dev/null +++ b/keyboards/atset/at9/at9.c @@ -0,0 +1,15 @@ +/* + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +#include "at9.h" diff --git a/keyboards/atset/at9/at9.h b/keyboards/atset/at9/at9.h new file mode 100644 index 000000000000..f57710a51d42 --- /dev/null +++ b/keyboards/atset/at9/at9.h @@ -0,0 +1,27 @@ +/* + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +#include "quantum.h" + +#define LAYOUT( \ + k00, k01, k02, \ + k10, k11, k12, \ + k20, k21, k22 \ +) \ +{ \ + { k00, k01, k02 }, \ + { k10, k11, k12 }, \ + { k20, k21, k22 } \ +} + diff --git a/keyboards/atset/at9/config.h b/keyboards/atset/at9/config.h new file mode 100644 index 000000000000..62263c1017e3 --- /dev/null +++ b/keyboards/atset/at9/config.h @@ -0,0 +1,76 @@ +/* + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#pragma once + +#include "config_common.h" + +/* USB Device descriptor parameter */ +#define VENDOR_ID 0xFEED // Atset +#define PRODUCT_ID 0x6060 +#define DEVICE_VER 0x0001 +#define MANUFACTURER Atset +#define PRODUCT AT9 + +/* Key matrix size */ +#define MATRIX_ROWS 3 +#define MATRIX_COLS 3 + +#define MATRIX_ROW_PINS { D2, D1, D0 } +#define MATRIX_COL_PINS { B6, B5, B4 } +#define UNUSED_PINS + +/* COL2ROW, ROW2COL*/ +#define DIODE_DIRECTION COL2ROW + + +/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ +#define DEBOUNCE 5 + +/* define if matrix has ghost (lacks anti-ghosting diodes) */ +//#define MATRIX_HAS_GHOST + + +/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ +#define LOCKING_SUPPORT_ENABLE +/* Locking resynchronize hack */ +#define LOCKING_RESYNC_ENABLE + +/* If defined, GRAVE_ESC will always act as ESC when CTRL is held. + * This is userful for the Windows task manager shortcut (ctrl+shift+esc). + */ +// #define GRAVE_ESC_CTRL_OVERRIDE + +/* + * Force NKRO + * + * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved + * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the + * makefile for this to work.) + * + * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) + * until the next keyboard reset. + * + * NKRO may prevent your keystrokes from being detected in the BIOS, but it is + * fully operational during normal computer usage. + * + * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) + * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by + * bootmagic, NKRO mode will always be enabled until it is toggled again during a + * power-up. + + */ +//#define FORCE_NKRO + diff --git a/keyboards/atset/at9/info.json b/keyboards/atset/at9/info.json new file mode 100644 index 000000000000..46ffc0ecaa12 --- /dev/null +++ b/keyboards/atset/at9/info.json @@ -0,0 +1,9 @@ +{ + "keyboard_name": "AT9", + "maintainer": "atset", + "layouts": { + "LAYOUT": { + "layout": [{"label":"k00", "x":0, "y":0}, {"label":"k01", "x":1, "y":0}, {"label":"k02", "x":2, "y":0}, {"label":"k10", "x":0, "y":1}, {"label":"k11", "x":1, "y":1}, {"label":"k12", "x":2, "y":1}, {"label":"k20", "x":0, "y":2}, {"label":"k21", "x":1, "y":2}, {"label":"k22", "x":2, "y":2}] + } + } +} \ No newline at end of file diff --git a/keyboards/atset/at9/keymaps/default/keymap.c b/keyboards/atset/at9/keymaps/default/keymap.c new file mode 100644 index 000000000000..f6563752d691 --- /dev/null +++ b/keyboards/atset/at9/keymaps/default/keymap.c @@ -0,0 +1,41 @@ +/* + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + +[0] = LAYOUT( + KC_7, KC_8, KC_9, + KC_4, KC_5, KC_6, + KC_1, KC_2, KC_3 +), + + +[1] = LAYOUT( + KC_NO, KC_NO, KC_NO, + KC_NO, KC_NO, KC_NO, + KC_NO, KC_NO, KC_NO +), + + +[2] = LAYOUT( + KC_NO, KC_NO, KC_NO, + KC_NO, KC_NO, KC_NO, + KC_NO, KC_NO, KC_NO +) + +}; diff --git a/keyboards/atset/at9/keymaps/default/readme.md b/keyboards/atset/at9/keymaps/default/readme.md new file mode 100644 index 000000000000..dc216e19e5ab --- /dev/null +++ b/keyboards/atset/at9/keymaps/default/readme.md @@ -0,0 +1 @@ +# at9 - Default layout diff --git a/keyboards/atset/at9/keymaps/via/keymap.c b/keyboards/atset/at9/keymaps/via/keymap.c new file mode 100644 index 000000000000..2e026f1822c4 --- /dev/null +++ b/keyboards/atset/at9/keymaps/via/keymap.c @@ -0,0 +1,43 @@ +/* + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = + LAYOUT( + KC_7 , KC_8 , KC_9, + KC_4 , KC_5 , KC_6, + KC_1 , KC_2 , KC_3 + ), + [1] = + LAYOUT( + KC_NO , KC_NO, KC_NO, + KC_NO , KC_NO, KC_NO, + KC_NO , KC_NO, KC_NO + ), + [2] = + LAYOUT( + KC_NO , KC_NO, KC_NO, + KC_NO , KC_NO, KC_NO, + KC_NO , KC_NO, KC_NO + ), + [3] = + LAYOUT( + KC_NO , KC_NO, KC_NO, + KC_NO , KC_NO, KC_NO, + KC_NO , KC_NO, KC_NO + ), +}; diff --git a/keyboards/atset/at9/keymaps/via/rules.mk b/keyboards/atset/at9/keymaps/via/rules.mk new file mode 100644 index 000000000000..1e5b99807cb7 --- /dev/null +++ b/keyboards/atset/at9/keymaps/via/rules.mk @@ -0,0 +1 @@ +VIA_ENABLE = yes diff --git a/keyboards/atset/at9/readme.md b/keyboards/atset/at9/readme.md new file mode 100644 index 000000000000..78e8aaec63a4 --- /dev/null +++ b/keyboards/atset/at9/readme.md @@ -0,0 +1,20 @@ +# ATSET AT9 +The Rad Macro Pad is a USB-C, Macro Pad with 9 keys powered by QMK + +Keyboard Maintainer: Anubhav Dhiman +Hardware Supported: ATmega32U4 +Hardware Availability: Interest Check +Make example for this keyboard (after setting up your build environment): + +make rad:default +Flashing example for this keyboard: + +make rad:default:flash +See the build environment setup and the make instructions for more information. Brand new to QMK? Start with our Complete Newbs Guide. + +Bootloader +Enter the bootloader in 3 ways: + +Bootmagic reset: Hold down the key at (0,2) in the matrix (top right) and plug in the keyboard +Physical reset button: Briefly press the button on the back of the PCB - some may have pads you must short instead +Keycode in layout: Press the key mapped to RESET if it is available \ No newline at end of file diff --git a/keyboards/atset/at9/rules.mk b/keyboards/atset/at9/rules.mk new file mode 100644 index 000000000000..73ac281e0b45 --- /dev/null +++ b/keyboards/atset/at9/rules.mk @@ -0,0 +1,18 @@ +# MCU name +MCU = atmega32u4 + +# Bootloader selection +BOOTLOADER = atmel-dfu + +# Build Options +# change yes to no to disable +# +BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite +MOUSEKEY_ENABLE = yes # Mouse keys +EXTRAKEY_ENABLE = yes # Audio control and System control +CONSOLE_ENABLE = yes # Console for debug +COMMAND_ENABLE = yes # Commands for debug and configuration +NKRO_ENABLE = yes # Enable N-Key Rollover +BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality +RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow +AUDIO_ENABLE = no # Audio output From 9d2d1be506afa8f49ba07dc0e692404deea7ca2f Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Mon, 23 May 2022 07:40:09 -0700 Subject: [PATCH 32/72] Update info.json --- keyboards/atset/at9/info.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/atset/at9/info.json b/keyboards/atset/at9/info.json index 46ffc0ecaa12..5c69b1c8d312 100644 --- a/keyboards/atset/at9/info.json +++ b/keyboards/atset/at9/info.json @@ -6,4 +6,4 @@ "layout": [{"label":"k00", "x":0, "y":0}, {"label":"k01", "x":1, "y":0}, {"label":"k02", "x":2, "y":0}, {"label":"k10", "x":0, "y":1}, {"label":"k11", "x":1, "y":1}, {"label":"k12", "x":2, "y":1}, {"label":"k20", "x":0, "y":2}, {"label":"k21", "x":1, "y":2}, {"label":"k22", "x":2, "y":2}] } } -} \ No newline at end of file +} From ba6f85afae9b97521551a6f356a4d2627a980e7f Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Mon, 23 May 2022 07:41:30 -0700 Subject: [PATCH 33/72] Update rules.mk --- keyboards/rad/keymaps/via/rules.mk | 1 - 1 file changed, 1 deletion(-) diff --git a/keyboards/rad/keymaps/via/rules.mk b/keyboards/rad/keymaps/via/rules.mk index b8e6676057af..69de2e4c5a0c 100644 --- a/keyboards/rad/keymaps/via/rules.mk +++ b/keyboards/rad/keymaps/via/rules.mk @@ -1,2 +1 @@ VIA_ENABLE = yes - From 0cd923bd06fea1e20084da74aeacc19291df09db Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Mon, 23 May 2022 07:42:36 -0700 Subject: [PATCH 34/72] Update rules.mk From 1534ad6c0d2d9f6422dd95bf73e03d9e46717df8 Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Mon, 23 May 2022 07:45:16 -0700 Subject: [PATCH 35/72] Update rules.mk From d903c965dd34fe419fd91309db2bd24876fae332 Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Mon, 23 May 2022 07:45:45 -0700 Subject: [PATCH 36/72] Update rules.mk --- keyboards/rad/keymaps/via/rules.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/keyboards/rad/keymaps/via/rules.mk b/keyboards/rad/keymaps/via/rules.mk index 69de2e4c5a0c..b8e6676057af 100644 --- a/keyboards/rad/keymaps/via/rules.mk +++ b/keyboards/rad/keymaps/via/rules.mk @@ -1 +1,2 @@ VIA_ENABLE = yes + From 548f4a0880dde1acd2f3b5353f7e79f81ccfb11a Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Mon, 23 May 2022 07:49:01 -0700 Subject: [PATCH 37/72] Update rules.mk --- keyboards/rad/keymaps/via/rules.mk | 1 - 1 file changed, 1 deletion(-) diff --git a/keyboards/rad/keymaps/via/rules.mk b/keyboards/rad/keymaps/via/rules.mk index b8e6676057af..69de2e4c5a0c 100644 --- a/keyboards/rad/keymaps/via/rules.mk +++ b/keyboards/rad/keymaps/via/rules.mk @@ -1,2 +1 @@ VIA_ENABLE = yes - From 92a4b68f9d1272d898ca791606181d2e404acc4c Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Mon, 23 May 2022 07:49:27 -0700 Subject: [PATCH 38/72] Update at9.h --- keyboards/atset/at9/at9.h | 1 - 1 file changed, 1 deletion(-) diff --git a/keyboards/atset/at9/at9.h b/keyboards/atset/at9/at9.h index f57710a51d42..574bcfddaf90 100644 --- a/keyboards/atset/at9/at9.h +++ b/keyboards/atset/at9/at9.h @@ -24,4 +24,3 @@ { k10, k11, k12 }, \ { k20, k21, k22 } \ } - From d25078e2f32559eff1601e8c552b8bb5f7e1b2be Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Mon, 23 May 2022 07:49:59 -0700 Subject: [PATCH 39/72] Update config.h --- keyboards/atset/at9/config.h | 1 - 1 file changed, 1 deletion(-) diff --git a/keyboards/atset/at9/config.h b/keyboards/atset/at9/config.h index 62263c1017e3..157c4a2e4246 100644 --- a/keyboards/atset/at9/config.h +++ b/keyboards/atset/at9/config.h @@ -73,4 +73,3 @@ */ //#define FORCE_NKRO - From 0dceaa515317db334b1d3805a6e6abd2c3db2782 Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Tue, 24 May 2022 00:18:59 -0700 Subject: [PATCH 40/72] Update rules.mk From 3f324097725932de3ae921d12cdad8b3cc602aa5 Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Tue, 24 May 2022 03:01:02 -0700 Subject: [PATCH 41/72] Delete rules.mk --- keyboards/rad/keymaps/via/rules.mk | 1 - 1 file changed, 1 deletion(-) delete mode 100644 keyboards/rad/keymaps/via/rules.mk diff --git a/keyboards/rad/keymaps/via/rules.mk b/keyboards/rad/keymaps/via/rules.mk deleted file mode 100644 index 69de2e4c5a0c..000000000000 --- a/keyboards/rad/keymaps/via/rules.mk +++ /dev/null @@ -1 +0,0 @@ -VIA_ENABLE = yes From af0f91f41692c5b93c56c6d367dcaa38ce58b419 Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Tue, 24 May 2022 16:07:52 +0530 Subject: [PATCH 42/72] Add files via upload --- keyboards/rad/keymaps/via/rules.mk | 1 + 1 file changed, 1 insertion(+) create mode 100644 keyboards/rad/keymaps/via/rules.mk diff --git a/keyboards/rad/keymaps/via/rules.mk b/keyboards/rad/keymaps/via/rules.mk new file mode 100644 index 000000000000..3e8f67889eb9 --- /dev/null +++ b/keyboards/rad/keymaps/via/rules.mk @@ -0,0 +1 @@ +VIA_ENABLE = yes From e6e1d39c816ab0a8d25fa0cf6ed37c17f8ae23b7 Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Tue, 24 May 2022 03:39:25 -0700 Subject: [PATCH 43/72] Update rules.mk --- keyboards/rad/keymaps/via/rules.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/rad/keymaps/via/rules.mk b/keyboards/rad/keymaps/via/rules.mk index 3e8f67889eb9..69de2e4c5a0c 100644 --- a/keyboards/rad/keymaps/via/rules.mk +++ b/keyboards/rad/keymaps/via/rules.mk @@ -1 +1 @@ -VIA_ENABLE = yes +VIA_ENABLE = yes From 864125bb9b63cc5010ec6f74675f287a408e8fca Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Tue, 24 May 2022 03:39:53 -0700 Subject: [PATCH 44/72] Update rules.mk --- keyboards/rad/keymaps/via/rules.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/rad/keymaps/via/rules.mk b/keyboards/rad/keymaps/via/rules.mk index 69de2e4c5a0c..010862128a41 100644 --- a/keyboards/rad/keymaps/via/rules.mk +++ b/keyboards/rad/keymaps/via/rules.mk @@ -1 +1 @@ -VIA_ENABLE = yes +VIA_ENABLE = yes From 3232662721f87761e1c0abfdda262de95c535254 Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Tue, 24 May 2022 03:40:34 -0700 Subject: [PATCH 45/72] Update rules.mk --- keyboards/rad/keymaps/via/rules.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/rad/keymaps/via/rules.mk b/keyboards/rad/keymaps/via/rules.mk index 010862128a41..69de2e4c5a0c 100644 --- a/keyboards/rad/keymaps/via/rules.mk +++ b/keyboards/rad/keymaps/via/rules.mk @@ -1 +1 @@ -VIA_ENABLE = yes +VIA_ENABLE = yes From bfa583ca173497fa7f157420b3aae0e9daa91c0c Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Tue, 31 May 2022 01:36:49 -0700 Subject: [PATCH 46/72] Update readme.md --- keyboards/atset/at9/readme.md | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/keyboards/atset/at9/readme.md b/keyboards/atset/at9/readme.md index 78e8aaec63a4..a95e29ad0e94 100644 --- a/keyboards/atset/at9/readme.md +++ b/keyboards/atset/at9/readme.md @@ -1,20 +1,26 @@ # ATSET AT9 -The Rad Macro Pad is a USB-C, Macro Pad with 9 keys powered by QMK -Keyboard Maintainer: Anubhav Dhiman -Hardware Supported: ATmega32U4 -Hardware Availability: Interest Check +![AT9](imgur.com image replace me!) + +*A SPECIAL 9 KEY KEYBOARD POWERED BY QMK* + +* Keyboard Maintainer: [ATSET](https://github.com/%USER_NAME%) +* Hardware Supported: *The PCBs, ATMEGA 32u4* + Make example for this keyboard (after setting up your build environment): -make rad:default + make %AT9%:default + Flashing example for this keyboard: -make rad:default:flash -See the build environment setup and the make instructions for more information. Brand new to QMK? Start with our Complete Newbs Guide. + make %AT9%:default:flash + +See 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). + +## Bootloader -Bootloader Enter the bootloader in 3 ways: -Bootmagic reset: Hold down the key at (0,2) in the matrix (top right) and plug in the keyboard -Physical reset button: Briefly press the button on the back of the PCB - some may have pads you must short instead -Keycode in layout: Press the key mapped to RESET if it is available \ No newline at end of file +* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard +* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead +* **Keycode in layout**: Press the key mapped to `RESET` if it is available From 7aa392f50cc3646f8e6ee1ed624cd1ecb4fcb75e Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Tue, 31 May 2022 04:42:35 -0700 Subject: [PATCH 47/72] Update readme.md --- keyboards/atset/at9/readme.md | 1 - 1 file changed, 1 deletion(-) diff --git a/keyboards/atset/at9/readme.md b/keyboards/atset/at9/readme.md index a95e29ad0e94..5165ef61b74a 100644 --- a/keyboards/atset/at9/readme.md +++ b/keyboards/atset/at9/readme.md @@ -14,7 +14,6 @@ Make example for this keyboard (after setting up your build environment): Flashing example for this keyboard: make %AT9%:default:flash - See 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). ## Bootloader From 2ad042f1d172a3e5c2582a803544ea72f12d141b Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Tue, 31 May 2022 04:44:59 -0700 Subject: [PATCH 48/72] Update keymap.c --- keyboards/atset/at9/keymaps/default/keymap.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/keyboards/atset/at9/keymaps/default/keymap.c b/keyboards/atset/at9/keymaps/default/keymap.c index f6563752d691..02a4811daf13 100644 --- a/keyboards/atset/at9/keymaps/default/keymap.c +++ b/keyboards/atset/at9/keymaps/default/keymap.c @@ -24,18 +24,19 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_1, KC_2, KC_3 ), - + [1] = LAYOUT( KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO ), - + [2] = LAYOUT( KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO ) + }; From 65ec2317ba8c56c8e2514fb7fb1cc73197e4ba0a Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Tue, 31 May 2022 04:45:35 -0700 Subject: [PATCH 49/72] Delete readme.md --- keyboards/atset/at9/keymaps/default/readme.md | 1 - 1 file changed, 1 deletion(-) delete mode 100644 keyboards/atset/at9/keymaps/default/readme.md diff --git a/keyboards/atset/at9/keymaps/default/readme.md b/keyboards/atset/at9/keymaps/default/readme.md deleted file mode 100644 index dc216e19e5ab..000000000000 --- a/keyboards/atset/at9/keymaps/default/readme.md +++ /dev/null @@ -1 +0,0 @@ -# at9 - Default layout From 2956234ab3b59248b9a70cb03a71dbd68376010f Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Tue, 31 May 2022 04:46:59 -0700 Subject: [PATCH 50/72] Update rules.mk From 78027b621fc21cba6a25ff3aae2bd8d8c1616c3e Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Wed, 1 Jun 2022 23:55:16 -0700 Subject: [PATCH 51/72] Update readme.md --- keyboards/atset/at9/readme.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/keyboards/atset/at9/readme.md b/keyboards/atset/at9/readme.md index 5165ef61b74a..2f4849c9404d 100644 --- a/keyboards/atset/at9/readme.md +++ b/keyboards/atset/at9/readme.md @@ -9,11 +9,11 @@ Make example for this keyboard (after setting up your build environment): - make %AT9%:default - + make atset/at9:default + Flashing example for this keyboard: - make %AT9%:default:flash + make atset/at9:default:flash See 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). ## Bootloader From ec099f349074a852c8f09ffd1fb450811ae73704 Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Wed, 1 Jun 2022 23:57:44 -0700 Subject: [PATCH 52/72] Update readme.md --- keyboards/atset/at9/readme.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/keyboards/atset/at9/readme.md b/keyboards/atset/at9/readme.md index 2f4849c9404d..7e3d14280857 100644 --- a/keyboards/atset/at9/readme.md +++ b/keyboards/atset/at9/readme.md @@ -1,11 +1,11 @@ # ATSET AT9 -![AT9](imgur.com image replace me!) +!atset/at9 -*A SPECIAL 9 KEY KEYBOARD POWERED BY QMK* +*A SPECIAL 9 KEY KEYBOARD POWERED BY QMK.HAVING SPECIAL LAYER FEATURES WHICH CAN BE PROGRAMMED AS PER YOUR CONVENIENCE * -* Keyboard Maintainer: [ATSET](https://github.com/%USER_NAME%) -* Hardware Supported: *The PCBs, ATMEGA 32u4* +* Keyboard Maintainer: [ATSET](https://github.com/%anubhavd7%) +* Hardware Supported: * ATMEGA 32u4* Make example for this keyboard (after setting up your build environment): From 03c552f79ed589d7f583a1d638c8968a251ed7d2 Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Wed, 1 Jun 2022 23:59:30 -0700 Subject: [PATCH 53/72] Update rules.mk From 5a00e528695ddf55e46b2d0925c87e036fafac12 Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Thu, 2 Jun 2022 00:05:01 -0700 Subject: [PATCH 54/72] Update rules.mk --- keyboards/rad/keymaps/via/rules.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/rad/keymaps/via/rules.mk b/keyboards/rad/keymaps/via/rules.mk index 69de2e4c5a0c..3a9c34cd39c2 100644 --- a/keyboards/rad/keymaps/via/rules.mk +++ b/keyboards/rad/keymaps/via/rules.mk @@ -1 +1 @@ -VIA_ENABLE = yes + VIA_ENABLE = yes From 6fb9a5bddb1bdd5cb1da854a3095483fd0bccffa Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Thu, 2 Jun 2022 00:12:25 -0700 Subject: [PATCH 55/72] Update rules.mk --- keyboards/rad/keymaps/via/rules.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/rad/keymaps/via/rules.mk b/keyboards/rad/keymaps/via/rules.mk index 3a9c34cd39c2..69de2e4c5a0c 100644 --- a/keyboards/rad/keymaps/via/rules.mk +++ b/keyboards/rad/keymaps/via/rules.mk @@ -1 +1 @@ - VIA_ENABLE = yes +VIA_ENABLE = yes From 5457f7604c0d0485aafd2faea7b13b00217b0c49 Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Thu, 2 Jun 2022 00:18:55 -0700 Subject: [PATCH 56/72] Update rules.mk --- keyboards/rad/keymaps/via/rules.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/rad/keymaps/via/rules.mk b/keyboards/rad/keymaps/via/rules.mk index 69de2e4c5a0c..3a9c34cd39c2 100644 --- a/keyboards/rad/keymaps/via/rules.mk +++ b/keyboards/rad/keymaps/via/rules.mk @@ -1 +1 @@ -VIA_ENABLE = yes + VIA_ENABLE = yes From 02ffb6f5896010500ac7fa784cb3947d32475895 Mon Sep 17 00:00:00 2001 From: Ryan Date: Thu, 2 Jun 2022 17:21:02 +1000 Subject: [PATCH 57/72] Update rules.mk --- keyboards/rad/keymaps/via/rules.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/rad/keymaps/via/rules.mk b/keyboards/rad/keymaps/via/rules.mk index 3a9c34cd39c2..69de2e4c5a0c 100644 --- a/keyboards/rad/keymaps/via/rules.mk +++ b/keyboards/rad/keymaps/via/rules.mk @@ -1 +1 @@ - VIA_ENABLE = yes +VIA_ENABLE = yes From 6409577ca29bde791242f25ca2880a85eb5aaef8 Mon Sep 17 00:00:00 2001 From: Ryan Date: Thu, 2 Jun 2022 17:22:10 +1000 Subject: [PATCH 58/72] Update rules.mk From cb111076db761cc88e805ff6a0d09554e70fbaa2 Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Tue, 7 Jun 2022 06:09:29 -0700 Subject: [PATCH 59/72] Delete rules.mk --- keyboards/rad/keymaps/via/rules.mk | 1 - 1 file changed, 1 deletion(-) delete mode 100644 keyboards/rad/keymaps/via/rules.mk diff --git a/keyboards/rad/keymaps/via/rules.mk b/keyboards/rad/keymaps/via/rules.mk deleted file mode 100644 index 69de2e4c5a0c..000000000000 --- a/keyboards/rad/keymaps/via/rules.mk +++ /dev/null @@ -1 +0,0 @@ -VIA_ENABLE = yes From 1cd19b163a94a963e8ceaa0a47e0890b5e902824 Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Tue, 7 Jun 2022 18:40:01 +0530 Subject: [PATCH 60/72] Add files via upload --- keyboards/rad/keymaps/via/rules.mk | 1 + 1 file changed, 1 insertion(+) create mode 100644 keyboards/rad/keymaps/via/rules.mk diff --git a/keyboards/rad/keymaps/via/rules.mk b/keyboards/rad/keymaps/via/rules.mk new file mode 100644 index 000000000000..2d1039e9e966 --- /dev/null +++ b/keyboards/rad/keymaps/via/rules.mk @@ -0,0 +1 @@ + VIA_ENABLE = yes \ No newline at end of file From fb7d864def68a91f7078b7d415d18bd6a5bd5196 Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Tue, 7 Jun 2022 06:12:18 -0700 Subject: [PATCH 61/72] Update rules.mk --- keyboards/rad/keymaps/via/rules.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/keyboards/rad/keymaps/via/rules.mk b/keyboards/rad/keymaps/via/rules.mk index 2d1039e9e966..754401a8f601 100644 --- a/keyboards/rad/keymaps/via/rules.mk +++ b/keyboards/rad/keymaps/via/rules.mk @@ -1 +1,2 @@ - VIA_ENABLE = yes \ No newline at end of file + VIA_ENABLE = yes + From 4e2a305a5e74e6d8c6eaab72a4cad93c700c0563 Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Tue, 7 Jun 2022 06:19:13 -0700 Subject: [PATCH 62/72] Delete rules.mk --- keyboards/rad/keymaps/via/rules.mk | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 keyboards/rad/keymaps/via/rules.mk diff --git a/keyboards/rad/keymaps/via/rules.mk b/keyboards/rad/keymaps/via/rules.mk deleted file mode 100644 index 754401a8f601..000000000000 --- a/keyboards/rad/keymaps/via/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ - VIA_ENABLE = yes - From 6ab0ffcdb0688653d2cc9b9d564539b9c09aecc0 Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Tue, 7 Jun 2022 18:49:42 +0530 Subject: [PATCH 63/72] Add files via upload --- keyboards/rad/keymaps/via/rules.mk | 1 + 1 file changed, 1 insertion(+) create mode 100644 keyboards/rad/keymaps/via/rules.mk diff --git a/keyboards/rad/keymaps/via/rules.mk b/keyboards/rad/keymaps/via/rules.mk new file mode 100644 index 000000000000..036bd6d1c3ec --- /dev/null +++ b/keyboards/rad/keymaps/via/rules.mk @@ -0,0 +1 @@ +VIA_ENABLE = yes \ No newline at end of file From e841a2f949f24cfca8256e1026a6a367d23dd120 Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Tue, 7 Jun 2022 06:23:24 -0700 Subject: [PATCH 64/72] Delete rules.mk --- keyboards/rad/keymaps/via/rules.mk | 1 - 1 file changed, 1 deletion(-) delete mode 100644 keyboards/rad/keymaps/via/rules.mk diff --git a/keyboards/rad/keymaps/via/rules.mk b/keyboards/rad/keymaps/via/rules.mk deleted file mode 100644 index 036bd6d1c3ec..000000000000 --- a/keyboards/rad/keymaps/via/rules.mk +++ /dev/null @@ -1 +0,0 @@ -VIA_ENABLE = yes \ No newline at end of file From 67fbbe4416e9a44d40234d7fa8e2292db8f60192 Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Tue, 7 Jun 2022 18:53:42 +0530 Subject: [PATCH 65/72] Add files via upload --- keyboards/rad/keymaps/via/rules.mk | 1 + 1 file changed, 1 insertion(+) create mode 100644 keyboards/rad/keymaps/via/rules.mk diff --git a/keyboards/rad/keymaps/via/rules.mk b/keyboards/rad/keymaps/via/rules.mk new file mode 100644 index 000000000000..1e5b99807cb7 --- /dev/null +++ b/keyboards/rad/keymaps/via/rules.mk @@ -0,0 +1 @@ +VIA_ENABLE = yes From 20233b09e3278038db4b7ee905e0dab46c2c07a6 Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Tue, 7 Jun 2022 06:28:56 -0700 Subject: [PATCH 66/72] Update readme.md --- keyboards/atset/at9/readme.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/keyboards/atset/at9/readme.md b/keyboards/atset/at9/readme.md index 7e3d14280857..d59b1e2f4dc8 100644 --- a/keyboards/atset/at9/readme.md +++ b/keyboards/atset/at9/readme.md @@ -1,11 +1,9 @@ # ATSET AT9 -!atset/at9 +A special 9 key keyboard powered by QMK. -*A SPECIAL 9 KEY KEYBOARD POWERED BY QMK.HAVING SPECIAL LAYER FEATURES WHICH CAN BE PROGRAMMED AS PER YOUR CONVENIENCE * - -* Keyboard Maintainer: [ATSET](https://github.com/%anubhavd7%) -* Hardware Supported: * ATMEGA 32u4* +* Keyboard Maintainer: [ATSET](https://github.com/anubhavd7) +* Hardware Supported: ATmega32u4 Make example for this keyboard (after setting up your build environment): @@ -14,6 +12,7 @@ Make example for this keyboard (after setting up your build environment): Flashing example for this keyboard: make atset/at9:default:flash + See 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). ## Bootloader From ee051611695e9e08c3309cfbc348116c59bb4ddc Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Fri, 10 Jun 2022 11:30:47 +0530 Subject: [PATCH 67/72] Add files via upload --- keyboards/atset/at6/at6.c | 15 ++++ keyboards/atset/at6/at6.h | 24 +++++++ keyboards/atset/at6/config.h | 76 ++++++++++++++++++++ keyboards/atset/at6/info.json | 9 +++ keyboards/atset/at6/keymaps/default/keymap.c | 39 ++++++++++ keyboards/atset/at6/keymaps/via/keymap.c | 39 ++++++++++ keyboards/atset/at6/readme.md | 26 +++++++ keyboards/atset/at6/rules.mk | 18 +++++ 8 files changed, 246 insertions(+) create mode 100644 keyboards/atset/at6/at6.c create mode 100644 keyboards/atset/at6/at6.h create mode 100644 keyboards/atset/at6/config.h create mode 100644 keyboards/atset/at6/info.json create mode 100644 keyboards/atset/at6/keymaps/default/keymap.c create mode 100644 keyboards/atset/at6/keymaps/via/keymap.c create mode 100644 keyboards/atset/at6/readme.md create mode 100644 keyboards/atset/at6/rules.mk diff --git a/keyboards/atset/at6/at6.c b/keyboards/atset/at6/at6.c new file mode 100644 index 000000000000..f7b525526b7f --- /dev/null +++ b/keyboards/atset/at6/at6.c @@ -0,0 +1,15 @@ +/* + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +#include "at6.h" diff --git a/keyboards/atset/at6/at6.h b/keyboards/atset/at6/at6.h new file mode 100644 index 000000000000..26a8d35d7167 --- /dev/null +++ b/keyboards/atset/at6/at6.h @@ -0,0 +1,24 @@ +/* + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +#include "quantum.h" + +#define LAYOUT( \ + k00, k01, k02, \ + k10, k11, k12 \ +) \ +{ \ + { k00, k01, k02 }, \ + { k10, k11, k12 } \ +} + diff --git a/keyboards/atset/at6/config.h b/keyboards/atset/at6/config.h new file mode 100644 index 000000000000..b5192c5982a8 --- /dev/null +++ b/keyboards/atset/at6/config.h @@ -0,0 +1,76 @@ +/* + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#pragma once + +#include "config_common.h" + +/* USB Device descriptor parameter */ +#define VENDOR_ID 0xFEED // Atset +#define PRODUCT_ID 0x6060 +#define DEVICE_VER 0x0001 +#define MANUFACTURER Atset +#define PRODUCT AT6 + +/* Key matrix size */ +#define MATRIX_ROWS 2 +#define MATRIX_COLS 3 + +#define MATRIX_ROW_PINS { D2, D1 } +#define MATRIX_COL_PINS { B6, B5, B4 } +#define UNUSED_PINS + +/* COL2ROW, ROW2COL*/ +#define DIODE_DIRECTION COL2ROW + + +/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ +#define DEBOUNCE 5 + +/* define if matrix has ghost (lacks anti-ghosting diodes) */ +//#define MATRIX_HAS_GHOST + + +/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ +#define LOCKING_SUPPORT_ENABLE +/* Locking resynchronize hack */ +#define LOCKING_RESYNC_ENABLE + +/* If defined, GRAVE_ESC will always act as ESC when CTRL is held. + * This is userful for the Windows task manager shortcut (ctrl+shift+esc). + */ +// #define GRAVE_ESC_CTRL_OVERRIDE + +/* + * Force NKRO + * + * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved + * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the + * makefile for this to work.) + * + * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) + * until the next keyboard reset. + * + * NKRO may prevent your keystrokes from being detected in the BIOS, but it is + * fully operational during normal computer usage. + * + * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) + * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by + * bootmagic, NKRO mode will always be enabled until it is toggled again during a + * power-up. + + */ +//#define FORCE_NKRO + diff --git a/keyboards/atset/at6/info.json b/keyboards/atset/at6/info.json new file mode 100644 index 000000000000..1e0286b6039d --- /dev/null +++ b/keyboards/atset/at6/info.json @@ -0,0 +1,9 @@ +{ + "keyboard_name": "AT9", + "maintainer": "atset", + "layouts": { + "LAYOUT": { + "layout": [{"label":"k00", "x":0, "y":0}, {"label":"k01", "x":1, "y":0}, {"label":"k02", "x":2, "y":0}, {"label":"k10", "x":0, "y":1}, {"label":"k11", "x":1, "y":1}, {"label":"k12", "x":2, "y":1}] + } + } +} \ No newline at end of file diff --git a/keyboards/atset/at6/keymaps/default/keymap.c b/keyboards/atset/at6/keymaps/default/keymap.c new file mode 100644 index 000000000000..61d1c4b74597 --- /dev/null +++ b/keyboards/atset/at6/keymaps/default/keymap.c @@ -0,0 +1,39 @@ +/* + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + +[0] = LAYOUT( + KC_7, KC_8, KC_9, + KC_4, KC_5, KC_6 +), + + +[1] = LAYOUT( + KC_NO, KC_NO, KC_NO, + KC_NO, KC_NO, KC_NO +), + + +[2] = LAYOUT( + KC_NO, KC_NO, KC_NO, + KC_NO, KC_NO, KC_NO +) + + +}; diff --git a/keyboards/atset/at6/keymaps/via/keymap.c b/keyboards/atset/at6/keymaps/via/keymap.c new file mode 100644 index 000000000000..0afd25622e7b --- /dev/null +++ b/keyboards/atset/at6/keymaps/via/keymap.c @@ -0,0 +1,39 @@ +/* + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = + LAYOUT( + KC_4 , KC_5 , KC_6, + KC_1 , KC_2 , KC_3 + ), + [1] = + LAYOUT( + KC_NO , KC_NO, KC_NO, + KC_NO , KC_NO, KC_NO + ), + [2] = + LAYOUT( + KC_NO , KC_NO, KC_NO, + KC_NO , KC_NO, KC_NO + ), + [3] = + LAYOUT( + KC_NO , KC_NO, KC_NO, + KC_NO , KC_NO, KC_NO + ) +}; diff --git a/keyboards/atset/at6/readme.md b/keyboards/atset/at6/readme.md new file mode 100644 index 000000000000..8123f4241e46 --- /dev/null +++ b/keyboards/atset/at6/readme.md @@ -0,0 +1,26 @@ +# ATSET AT6 + +*A SPECIAL 6 KEY KEYBOARD POWERED BY QMK.HAVING SPECIAL LAYER FEATURES WHICH CAN BE PROGRAMMED AS PER YOUR CONVENIENCE* + +* Keyboard Maintainer: [ATSET](https://github.com/%anubhavd7%) +* Hardware Supported: *The PCBs, ATMEGA 32u4* + +Hardware Availability: Interest Check + +Make example for this keyboard (after setting up your build environment): + + make atset/at6:default + +Flashing example for this keyboard: + + make atset/at6:default:flash + +See 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). + +## Bootloader + +Enter the bootloader in 3 ways: + +* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard +* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead +* **Keycode in layout**: Press the key mapped to `RESET` if it is available \ No newline at end of file diff --git a/keyboards/atset/at6/rules.mk b/keyboards/atset/at6/rules.mk new file mode 100644 index 000000000000..73ac281e0b45 --- /dev/null +++ b/keyboards/atset/at6/rules.mk @@ -0,0 +1,18 @@ +# MCU name +MCU = atmega32u4 + +# Bootloader selection +BOOTLOADER = atmel-dfu + +# Build Options +# change yes to no to disable +# +BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite +MOUSEKEY_ENABLE = yes # Mouse keys +EXTRAKEY_ENABLE = yes # Audio control and System control +CONSOLE_ENABLE = yes # Console for debug +COMMAND_ENABLE = yes # Commands for debug and configuration +NKRO_ENABLE = yes # Enable N-Key Rollover +BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality +RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow +AUDIO_ENABLE = no # Audio output From 25e93359ce17b729759c63e8afafa16586257dec Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Mon, 13 Jun 2022 23:50:31 -0700 Subject: [PATCH 68/72] Update info.json --- keyboards/atset/at6/info.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/keyboards/atset/at6/info.json b/keyboards/atset/at6/info.json index 1e0286b6039d..cdaeee825d96 100644 --- a/keyboards/atset/at6/info.json +++ b/keyboards/atset/at6/info.json @@ -1,9 +1,9 @@ { - "keyboard_name": "AT9", + "keyboard_name": "AT6", "maintainer": "atset", "layouts": { "LAYOUT": { "layout": [{"label":"k00", "x":0, "y":0}, {"label":"k01", "x":1, "y":0}, {"label":"k02", "x":2, "y":0}, {"label":"k10", "x":0, "y":1}, {"label":"k11", "x":1, "y":1}, {"label":"k12", "x":2, "y":1}] } } -} \ No newline at end of file +} From c657bc6436ab5d8cc477bfde7a60e5e570b23a0d Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Sat, 18 Jun 2022 10:18:23 -0700 Subject: [PATCH 69/72] Update readme.md --- keyboards/atset/at6/readme.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/keyboards/atset/at6/readme.md b/keyboards/atset/at6/readme.md index 8123f4241e46..9a46ec9377a3 100644 --- a/keyboards/atset/at6/readme.md +++ b/keyboards/atset/at6/readme.md @@ -1,10 +1,9 @@ # ATSET AT6 -*A SPECIAL 6 KEY KEYBOARD POWERED BY QMK.HAVING SPECIAL LAYER FEATURES WHICH CAN BE PROGRAMMED AS PER YOUR CONVENIENCE* - -* Keyboard Maintainer: [ATSET](https://github.com/%anubhavd7%) -* Hardware Supported: *The PCBs, ATMEGA 32u4* +A special 6 key keyboard powered by QMK. +* Keyboard Maintainer: [ATSET](https://github.com/anubhavd7) +* Hardware Supported: ATmega32U4 Hardware Availability: Interest Check Make example for this keyboard (after setting up your build environment): @@ -23,4 +22,4 @@ Enter the bootloader in 3 ways: * **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard * **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead -* **Keycode in layout**: Press the key mapped to `RESET` if it is available \ No newline at end of file +* **Keycode in layout**: Press the key mapped to `RESET` if it is available From 02764858de7a727afd8ca134b63b5bcb10c3bf47 Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Sat, 18 Jun 2022 10:19:46 -0700 Subject: [PATCH 70/72] Update keymap.c --- keyboards/atset/at6/keymaps/default/keymap.c | 28 ++++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/keyboards/atset/at6/keymaps/default/keymap.c b/keyboards/atset/at6/keymaps/default/keymap.c index 61d1c4b74597..57d811b826f8 100644 --- a/keyboards/atset/at6/keymaps/default/keymap.c +++ b/keyboards/atset/at6/keymaps/default/keymap.c @@ -1,17 +1,17 @@ -/* - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ +/* + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ #include QMK_KEYBOARD_H From 4d1bcf3e8c2d374ac9dbc2973978ddfabc4c7d8b Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Sat, 18 Jun 2022 10:20:33 -0700 Subject: [PATCH 71/72] Update keymap.c --- keyboards/atset/at6/keymaps/via/keymap.c | 28 ++++++++++++------------ 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/keyboards/atset/at6/keymaps/via/keymap.c b/keyboards/atset/at6/keymaps/via/keymap.c index 0afd25622e7b..ab9054d84f46 100644 --- a/keyboards/atset/at6/keymaps/via/keymap.c +++ b/keyboards/atset/at6/keymaps/via/keymap.c @@ -1,17 +1,17 @@ -/* - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ +/* + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ #include QMK_KEYBOARD_H From 63398aacedd75265f19340c17ac2296ae8fd2674 Mon Sep 17 00:00:00 2001 From: anubhav dhiman <104914147+anubhavd7@users.noreply.github.com> Date: Sun, 19 Jun 2022 01:16:42 -0700 Subject: [PATCH 72/72] Update readme.md --- keyboards/atset/at6/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/atset/at6/readme.md b/keyboards/atset/at6/readme.md index 9a46ec9377a3..f5ec383530ae 100644 --- a/keyboards/atset/at6/readme.md +++ b/keyboards/atset/at6/readme.md @@ -4,7 +4,7 @@ A special 6 key keyboard powered by QMK. * Keyboard Maintainer: [ATSET](https://github.com/anubhavd7) * Hardware Supported: ATmega32U4 -Hardware Availability: Interest Check +* Hardware Availability: Interest Check Make example for this keyboard (after setting up your build environment):