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

pull request for n60a pcb #17273

Merged
merged 32 commits into from
Jun 22, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
96a8d3c
Create red.md
valdiieee May 31, 2022
ebe5af2
Add files via upload
valdiieee May 31, 2022
d0b9f61
Update and rename red.md to readme.md
valdiieee May 31, 2022
a197751
Update readme.md
valdiieee May 31, 2022
f591ba0
Add files via upload
valdiieee Jun 1, 2022
9e910ca
Update rules.mk
valdiieee Jun 1, 2022
648734b
Update readme.md
valdiieee Jun 1, 2022
f23efcd
Update keyboards/nix_studio/n60a/rules.mk
valdiieee Jun 2, 2022
f659468
Delete n60a_via.json
valdiieee Jun 2, 2022
be1dca3
Update n60a.c
valdiieee Jun 2, 2022
51aaafd
Update n60a.h
valdiieee Jun 2, 2022
eeb038e
Update config.h
valdiieee Jun 2, 2022
b726eab
Update keymap.c
valdiieee Jun 2, 2022
a054d58
Update keymap.c
valdiieee Jun 2, 2022
57e0e33
Update readme.md
valdiieee Jun 2, 2022
68809d8
Update keymap.c
valdiieee Jun 3, 2022
58aab4e
Update keymap.c
valdiieee Jun 3, 2022
90175c3
Rename n60a.h to n60_a.h
valdiieee Jun 13, 2022
43333c8
Rename n60a.c to n60_a.c
valdiieee Jun 13, 2022
6455456
Rename keyboards/nix_studio/n60a/readme.md to keyboards/nix_studio/n6…
valdiieee Jun 13, 2022
8000038
Rename keyboards/nix_studio/n60a/rules.mk to keyboards/nix_studio/n60…
valdiieee Jun 13, 2022
d02eba5
Rename keyboards/nix_studio/n60a/n60_a.h to keyboards/nix_studio/n60_…
valdiieee Jun 13, 2022
253691f
Rename keyboards/nix_studio/n60a/n60_a.c to keyboards/nix_studio/n60_…
valdiieee Jun 13, 2022
70b8a25
Update n60_a.c
valdiieee Jun 13, 2022
2388dcc
Rename keyboards/nix_studio/n60a/info.json to keyboards/nix_studio/n6…
valdiieee Jun 13, 2022
3994ed4
Rename keyboards/nix_studio/n60a/config.h to keyboards/nix_studio/n60…
valdiieee Jun 13, 2022
a96d9b1
Rename keyboards/nix_studio/n60a/keymaps/default/keymap.c to keyboard…
valdiieee Jun 13, 2022
153a745
Rename keyboards/nix_studio/n60a/keymaps/default/readme.md to keyboar…
valdiieee Jun 13, 2022
a52d231
Rename keyboards/nix_studio/n60a/keymaps/via/keymap.c to keyboards/ni…
valdiieee Jun 13, 2022
7ae907c
Rename keyboards/nix_studio/n60a/keymaps/via/readme.md to keyboards/n…
valdiieee Jun 13, 2022
a4be3e0
Rename keyboards/nix_studio/n60a/keymaps/via/rules.mk to keyboards/ni…
valdiieee Jun 13, 2022
0c31e16
Update readme.md
valdiieee Jun 13, 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
Prev Previous commit
Next Next commit
Add files via upload
  • Loading branch information
valdiieee authored May 31, 2022
commit ebe5af231ecb5853822453fd0d2c709e841a8c62
46 changes: 46 additions & 0 deletions keyboards/nix_studio/n60a/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
/* Copyright 2021 Nix Studio
*
* 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 0x6E78
#define PRODUCT_ID 0x3630
#define DEVICE_VER 0x0001
#define MANUFACTURER Nix Studio
#define PRODUCT N60A


/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 15

/*
* Keyboard Matrix Assignments
*
* Change this to how you wired your keyboard
* COLS: AVR pins used for columns, left to right
* ROWS: AVR pins used for rows, top to bottom
* DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
* ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
*
*/
#define MATRIX_ROW_PINS { E6, B7, F7, F4, F5 }
#define MATRIX_COL_PINS { F6, B0, F1, C7, C6, B6, B5, B4, D7, D6, D4, D5, D3, D2, D1 }

#define DIODE_DIRECTION COL2ROW
74 changes: 74 additions & 0 deletions keyboards/nix_studio/n60a/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{
"keyboard_name": "Nix_N60A",
"url": "",
"maintainer": "Nix Studio",
"layouts": {
"LAYOUT": {
"layout": [
{ "label": "K00 (E6,F6)", "x": 0, "y": 0 },
{ "label": "K01 (E6,B0)", "x": 1, "y": 0 },
{ "label": "K02 (E6,F1)", "x": 2, "y": 0 },
{ "label": "K03 (E6,C7)", "x": 3, "y": 0 },
{ "label": "K04 (E6,C6)", "x": 4, "y": 0 },
{ "label": "K05 (E6,B6)", "x": 5, "y": 0 },
{ "label": "K06 (E6,B5)", "x": 6, "y": 0 },
{ "label": "K07 (E6,B4)", "x": 7, "y": 0 },
{ "label": "K08 (E6,D7)", "x": 8, "y": 0 },
{ "label": "K09 (E6,D6)", "x": 9, "y": 0 },
{ "label": "K0A (E6,D4)", "x": 10, "y": 0 },
{ "label": "K0B (E6,D5)", "x": 11, "y": 0 },
{ "label": "K0C (E6,D3)", "x": 12, "y": 0 },
{ "label": "K0D (E6,D2)", "x": 13, "y": 0 },
{ "label": "K0E (E6,D1)", "x": 14, "y": 0 },
{ "label": "K10 (B7,F6)", "x": 0, "y": 1, "w": 1.5 },
{ "label": "K11 (B7,B0)", "x": 1.5, "y": 1 },
{ "label": "K12 (B7,F1)", "x": 2.5, "y": 1 },
{ "label": "K13 (B7,C7)", "x": 3.5, "y": 1 },
{ "label": "K14 (B7,C6)", "x": 4.5, "y": 1 },
{ "label": "K15 (B7,B6)", "x": 5.5, "y": 1 },
{ "label": "K16 (B7,B5)", "x": 6.5, "y": 1 },
{ "label": "K17 (B7,B4)", "x": 7.5, "y": 1 },
{ "label": "K18 (B7,D7)", "x": 8.5, "y": 1 },
{ "label": "K19 (B7,D6)", "x": 9.5, "y": 1 },
{ "label": "K1A (B7,D4)", "x": 10.5, "y": 1 },
{ "label": "K1B (B7,D5)", "x": 11.5, "y": 1 },
{ "label": "K1C (B7,D3)", "x": 12.5, "y": 1 },
{ "label": "K1D (B7,D2)", "x": 13.5, "y": 1, "w": 1.5 },
{ "label": "K20 (F7,F6)", "x": 0, "y": 2, "w": 1.75 },
{ "label": "K21 (F7,B0)", "x": 1.75, "y": 2 },
{ "label": "K22 (F7,F1)", "x": 2.75, "y": 2 },
{ "label": "K23 (F7,C7)", "x": 3.75, "y": 2 },
{ "label": "K24 (F7,C6)", "x": 4.75, "y": 2 },
{ "label": "K25 (F7,B6)", "x": 5.75, "y": 2 },
{ "label": "K26 (F7,B5)", "x": 6.75, "y": 2 },
{ "label": "K27 (F7,B4)", "x": 7.75, "y": 2 },
{ "label": "K28 (F7,D7)", "x": 8.75, "y": 2 },
{ "label": "K29 (F7,D6)", "x": 9.75, "y": 2 },
{ "label": "K2A (F7,D4)", "x": 10.75, "y": 2 },
{ "label": "K2B (F7,D5)", "x": 11.75, "y": 2 },
{ "label": "K2D (F7,D2)", "x": 12.75, "y": 2, "w": 2.25 },
{ "label": "K30 (F4,F6)", "x": 0, "y": 3, "w": 2.25 },
{ "label": "K32 (F4,F1)", "x": 2.25, "y": 3 },
{ "label": "K33 (F4,C7)", "x": 3.25, "y": 3 },
{ "label": "K34 (F4,C6)", "x": 4.25, "y": 3 },
{ "label": "K35 (F4,B6)", "x": 5.25, "y": 3 },
{ "label": "K36 (F4,B5)", "x": 6.25, "y": 3 },
{ "label": "K37 (F4,B4)", "x": 7.25, "y": 3 },
{ "label": "K38 (F4,D7)", "x": 8.25, "y": 3 },
{ "label": "K39 (F4,D6)", "x": 9.25, "y": 3 },
{ "label": "K3A (F4,D4)", "x": 10.25, "y": 3 },
{ "label": "K3B (F4,D5)", "x": 11.25, "y": 3 },
{ "label": "K3C (F4,D3)", "x": 12.25, "y": 3, "w": 1.75 },
{ "label": "K3D (F4,D2)", "x": 14, "y": 3 },
{ "label": "K40 (F5,F6)", "x": 0, "y": 4, "w": 1.25 },
{ "label": "K41 (F5,B0)", "x": 1.25, "y": 4, "w": 1.25 },
{ "label": "K42 (F5,F1)", "x": 2.5, "y": 4, "w": 1.25 },
{ "label": "K46 (F5,B5)", "x": 3.75, "y": 4, "w": 6.25 },
{ "label": "K4A (F5,D4)", "x": 10, "y": 4, "w": 1.25 },
{ "label": "K4B (F5,D5)", "x": 11.25, "y": 4, "w": 1.25 },
{ "label": "K4C (F5,D3)", "x": 12.5, "y": 4, "w": 1.25 },
{ "label": "K4D (F5,D2)", "x": 13.75, "y": 4, "w": 1.25 }
]
}
}
}
1 change: 1 addition & 0 deletions keyboards/nix_studio/n60a/n60a.c
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include "n60a.h"
22 changes: 22 additions & 0 deletions keyboards/nix_studio/n60a/n60a.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// Copyright 2022 Nix Studio


#pragma once

#include "quantum.h"

#define XXX KC_NO

#define LAYOUT( \
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, \
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, \
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2D, \
K30, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, \
K40, K41, K42, K46, K4A, K4B, K4C, K4D \
) { \
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E }, \
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, XXX }, \
{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, XXX, K2D, XXX }, \
{ K30, XXX, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, XXX }, \
{ K40, K41, K42, XXX, XXX, XXX, K46, XXX, XXX, XXX, K4A, K4B, K4C, K4D, XXX }, \
}
21 changes: 21 additions & 0 deletions keyboards/nix_studio/n60a/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# MCU name
MCU = atmega32u4

# Bootloader selection
BOOTLOADER = atmel-dfu

# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = lite # 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 = no # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
BLUETOOTH_ENABLE = no # Enable Bluetooth
AUDIO_ENABLE = no # Audio output