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 at6 #17346

Merged
merged 105 commits into from
Jun 19, 2022
Merged
Show file tree
Hide file tree
Changes from 100 commits
Commits
Show all changes
105 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
ee05161
Add files via upload
anubhavd7 Jun 10, 2022
bbfeab5
Merge branch 'qmk:master' into master
anubhavd7 Jun 10, 2022
83844fe
Merge branch 'qmk:master' into master
anubhavd7 Jun 13, 2022
17d3623
Merge branch 'qmk:master' into master
anubhavd7 Jun 14, 2022
25e9335
Update info.json
anubhavd7 Jun 14, 2022
5d56e02
Merge branch 'qmk:master' into master
anubhavd7 Jun 14, 2022
a16e1f4
Merge branch 'qmk:master' into master
anubhavd7 Jun 15, 2022
a935dd0
Merge branch 'qmk:master' into master
anubhavd7 Jun 16, 2022
aac0cdd
Merge branch 'qmk:master' into master
anubhavd7 Jun 16, 2022
994ad21
Merge branch 'qmk:master' into master
anubhavd7 Jun 17, 2022
3e7e949
Merge branch 'qmk:master' into master
anubhavd7 Jun 18, 2022
c657bc6
Update readme.md
anubhavd7 Jun 18, 2022
0276485
Update keymap.c
anubhavd7 Jun 18, 2022
4d1bcf3
Update keymap.c
anubhavd7 Jun 18, 2022
85f05ff
Merge branch 'qmk:master' into master
anubhavd7 Jun 19, 2022
63398aa
Update readme.md
anubhavd7 Jun 19, 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/at6/at6.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 <https://www.gnu.org/licenses/>.
*/
#include "at6.h"
24 changes: 24 additions & 0 deletions keyboards/atset/at6/at6.h
Original file line number Diff line number Diff line change
@@ -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 <https://www.gnu.org/licenses/>.
*/
#include "quantum.h"

#define LAYOUT( \
k00, k01, k02, \
k10, k11, k12 \
) \
{ \
{ k00, k01, k02 }, \
{ k10, k11, k12 } \
}

76 changes: 76 additions & 0 deletions keyboards/atset/at6/config.h
Original file line number Diff line number Diff line change
@@ -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 <https://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 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

9 changes: 9 additions & 0 deletions keyboards/atset/at6/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"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}]
}
}
}
39 changes: 39 additions & 0 deletions keyboards/atset/at6/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -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 <https://www.gnu.org/licenses/>.
*/
anubhavd7 marked this conversation as resolved.
Show resolved Hide resolved

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


};
39 changes: 39 additions & 0 deletions keyboards/atset/at6/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
@@ -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 <https://www.gnu.org/licenses/>.
*/
anubhavd7 marked this conversation as resolved.
Show resolved Hide resolved

#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
)
};
26 changes: 26 additions & 0 deletions keyboards/atset/at6/readme.md
Original file line number Diff line number Diff line change
@@ -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*
anubhavd7 marked this conversation as resolved.
Show resolved Hide resolved

Hardware Availability: Interest Check
anubhavd7 marked this conversation as resolved.
Show resolved Hide resolved

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
18 changes: 18 additions & 0 deletions keyboards/atset/at6/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