Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add new keyboard atset #17195

Merged
merged 89 commits into from
Jun 7, 2022
Merged
Show file tree
Hide file tree
Changes from 60 commits
Commits
Show all changes
89 commits
Select commit Hold shift + click to select a range
1ee99fe
Add files via upload
anubhavd7 May 14, 2022
042aad7
Add files via upload
anubhavd7 May 14, 2022
c0f76b4
Update keymap.c
anubhavd7 May 14, 2022
4fe3256
Update keymap.c
anubhavd7 May 14, 2022
d2b4069
Update keymap.c
anubhavd7 May 14, 2022
64e8254
Update keymap.c
anubhavd7 May 14, 2022
0784ccc
Rename Makefile to readme.md
anubhavd7 May 14, 2022
c14a7cf
Update config.h
anubhavd7 May 14, 2022
2a3e1c3
Update config.h
anubhavd7 May 14, 2022
f32bf06
Update keymap.c
anubhavd7 May 14, 2022
f6c5225
Update rad.h
anubhavd7 May 14, 2022
812e1d6
Update rad.h
anubhavd7 May 14, 2022
4e924ff
Update rad.h
anubhavd7 May 14, 2022
da40a6b
Update rules.mk
anubhavd7 May 14, 2022
725ec28
Update keymap.c
anubhavd7 May 14, 2022
18194a8
Merge branch 'qmk:master' into master
anubhavd7 May 14, 2022
ae5a8b2
Delete vial.json
anubhavd7 May 14, 2022
7a3939d
Update info.json
anubhavd7 May 14, 2022
597941b
Update keymap.c
anubhavd7 May 15, 2022
7b90a26
Update keymap.c
anubhavd7 May 15, 2022
6978c97
Update keymap.c
anubhavd7 May 15, 2022
e89793a
Update rules.mk
anubhavd7 May 15, 2022
57852d5
Update config.h
anubhavd7 May 15, 2022
c9383ed
Update keymap.c
anubhavd7 May 15, 2022
3f0b272
Update keymap.c
anubhavd7 May 15, 2022
9639818
Update readme.md
anubhavd7 May 15, 2022
acce765
Update readme.md
anubhavd7 May 15, 2022
6437dd0
Merge branch 'qmk:master' into master
anubhavd7 May 16, 2022
6e8b3d0
Merge branch 'qmk:master' into master
anubhavd7 May 16, 2022
96cda2f
Update readme.md
anubhavd7 May 17, 2022
8fa3bea
Merge branch 'qmk:master' into master
anubhavd7 May 17, 2022
6c319c5
Merge branch 'qmk:master' into master
anubhavd7 May 17, 2022
9943f61
Update info.json
anubhavd7 May 17, 2022
c8b0e60
Merge branch 'qmk:master' into master
anubhavd7 May 17, 2022
f77c613
Fix compile and line ending issues
zvecr May 17, 2022
f0a8e97
Format files, fix bootmagic
zvecr May 17, 2022
c9158a9
Merge branch 'qmk:master' into master
anubhavd7 May 18, 2022
119e58e
Merge branch 'qmk:master' into master
anubhavd7 May 19, 2022
2c6884c
Merge branch 'qmk:master' into master
anubhavd7 May 19, 2022
5a69f6a
Merge branch 'qmk:master' into master
anubhavd7 May 20, 2022
7569987
Merge branch 'master' into master
anubhavd7 May 23, 2022
f58422e
Add files via upload
anubhavd7 May 23, 2022
9d2d1be
Update info.json
anubhavd7 May 23, 2022
ba6f85a
Update rules.mk
anubhavd7 May 23, 2022
0cd923b
Update rules.mk
anubhavd7 May 23, 2022
1534ad6
Update rules.mk
anubhavd7 May 23, 2022
d903c96
Update rules.mk
anubhavd7 May 23, 2022
548f4a0
Update rules.mk
anubhavd7 May 23, 2022
92a4b68
Update at9.h
anubhavd7 May 23, 2022
d25078e
Update config.h
anubhavd7 May 23, 2022
0dceaa5
Update rules.mk
anubhavd7 May 24, 2022
3f32409
Delete rules.mk
anubhavd7 May 24, 2022
af0f91f
Add files via upload
anubhavd7 May 24, 2022
e6e1d39
Update rules.mk
anubhavd7 May 24, 2022
864125b
Update rules.mk
anubhavd7 May 24, 2022
3232662
Update rules.mk
anubhavd7 May 24, 2022
1155071
Merge branch 'qmk:master' into master
anubhavd7 May 25, 2022
5ea35dc
Merge branch 'qmk:master' into master
anubhavd7 May 25, 2022
0274715
Merge branch 'qmk:master' into master
anubhavd7 May 30, 2022
a5a5224
Merge branch 'qmk:master' into master
anubhavd7 May 31, 2022
bfa583c
Update readme.md
anubhavd7 May 31, 2022
7aa392f
Update readme.md
anubhavd7 May 31, 2022
2ad042f
Update keymap.c
anubhavd7 May 31, 2022
65ec231
Delete readme.md
anubhavd7 May 31, 2022
2956234
Update rules.mk
anubhavd7 May 31, 2022
eff76a9
Merge branch 'qmk:master' into master
anubhavd7 Jun 1, 2022
78027b6
Update readme.md
anubhavd7 Jun 2, 2022
ec099f3
Update readme.md
anubhavd7 Jun 2, 2022
03c552f
Update rules.mk
anubhavd7 Jun 2, 2022
5a00e52
Update rules.mk
anubhavd7 Jun 2, 2022
6fb9a5b
Update rules.mk
anubhavd7 Jun 2, 2022
5457f76
Update rules.mk
anubhavd7 Jun 2, 2022
02ffb6f
Update rules.mk
fauxpark Jun 2, 2022
6409577
Update rules.mk
fauxpark Jun 2, 2022
53a40c7
Merge branch 'qmk:master' into master
anubhavd7 Jun 2, 2022
c976311
Merge branch 'qmk:master' into master
anubhavd7 Jun 3, 2022
0a7b7ec
Merge branch 'qmk:master' into master
anubhavd7 Jun 3, 2022
a60048a
Merge branch 'qmk:master' into master
anubhavd7 Jun 4, 2022
7349e35
Merge branch 'qmk:master' into master
anubhavd7 Jun 5, 2022
35d7d5e
Merge branch 'qmk:master' into master
anubhavd7 Jun 6, 2022
4906c5a
Merge branch 'qmk:master' into master
anubhavd7 Jun 7, 2022
cb11107
Delete rules.mk
anubhavd7 Jun 7, 2022
1cd19b1
Add files via upload
anubhavd7 Jun 7, 2022
fb7d864
Update rules.mk
anubhavd7 Jun 7, 2022
4e2a305
Delete rules.mk
anubhavd7 Jun 7, 2022
6ab0ffc
Add files via upload
anubhavd7 Jun 7, 2022
e841a2f
Delete rules.mk
anubhavd7 Jun 7, 2022
67fbbe4
Add files via upload
anubhavd7 Jun 7, 2022
20233b0
Update readme.md
anubhavd7 Jun 7, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions keyboards/atset/at9/at9.c
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
*/
#include "at9.h"
26 changes: 26 additions & 0 deletions keyboards/atset/at9/at9.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/*
* 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 <http://www.gnu.org/licenses/>.
*/
#include "quantum.h"

#define LAYOUT( \
k00, k01, k02, \
k10, k11, k12, \
k20, k21, k22 \
) \
{ \
{ k00, k01, k02 }, \
{ k10, k11, k12 }, \
{ k20, k21, k22 } \
}
75 changes: 75 additions & 0 deletions keyboards/atset/at9/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
/*
* 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 <http://www.gnu.org/licenses/>.
*/

#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
9 changes: 9 additions & 0 deletions keyboards/atset/at9/info.json
Original file line number Diff line number Diff line change
@@ -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}]
}
}
}
41 changes: 41 additions & 0 deletions keyboards/atset/at9/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
*/

#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
)

anubhavd7 marked this conversation as resolved.
Show resolved Hide resolved
};
1 change: 1 addition & 0 deletions keyboards/atset/at9/keymaps/default/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# at9 - Default layout
anubhavd7 marked this conversation as resolved.
Show resolved Hide resolved
43 changes: 43 additions & 0 deletions keyboards/atset/at9/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
*/

#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
),
};
1 change: 1 addition & 0 deletions keyboards/atset/at9/keymaps/via/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VIA_ENABLE = yes
20 changes: 20 additions & 0 deletions keyboards/atset/at9/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# ATSET AT9
anubhavd7 marked this conversation as resolved.
Show resolved Hide resolved
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
18 changes: 18 additions & 0 deletions keyboards/atset/at9/rules.mk
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion keyboards/rad/keymaps/via/rules.mk
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VIA_ENABLE = yes
VIA_ENABLE = yes
fauxpark marked this conversation as resolved.
Show resolved Hide resolved
anubhavd7 marked this conversation as resolved.
Show resolved Hide resolved