[Keyboard] rart67 (#9543)
* Create config.h * Create info.json * Create rart67.c * Create rart67.h * Create readme.md * Create rules.mk * Create keymap.c * Update readme.md * Update info.json * Update info.json * Update config.h
This commit is contained in:
parent
6d6340a82b
commit
12b43f55d6
7 changed files with 275 additions and 0 deletions
62
keyboards/rart/rart67/config.h
Normal file
62
keyboards/rart/rart67/config.h
Normal file
|
@ -0,0 +1,62 @@
|
|||
/*
|
||||
Copyright 2020 Alabahuy
|
||||
|
||||
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 0x414C // "AL"
|
||||
#define PRODUCT_ID 0x0067 // "67"
|
||||
#define DEVICE_VER 0x0001
|
||||
#define MANUFACTURER Alabahuy
|
||||
#define PRODUCT RART67
|
||||
#define DESCRIPTION 65% Mechanical Keyboard
|
||||
|
||||
/* key matrix size */
|
||||
#define MATRIX_ROWS 5
|
||||
#define MATRIX_COLS 16
|
||||
|
||||
#define MATRIX_ROW_PINS { D0, D1, D2, D3, B0 }
|
||||
#define MATRIX_COL_PINS { B3, B2, B1, D5, D4, D6, D7, B4, B5, F0, F7, F6, F5, F4, F1, E6 }
|
||||
#define UNUSED_PINS
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/* number of backlight levels */
|
||||
#define BACKLIGHT_LEVELS 0
|
||||
|
||||
/* Set 0 if debouncing isn't needed */
|
||||
#define DEBOUNCE 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
|
||||
|
||||
#define RGB_DI_PIN B7
|
||||
#ifdef RGB_DI_PIN
|
||||
#define RGBLIGHT_ANIMATIONS
|
||||
#define RGBLED_NUM 11
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
#define RGBLIGHT_SAT_STEP 8
|
||||
#define RGBLIGHT_VAL_STEP 8
|
||||
#define RGBLIGHT_LIMIT_VAL 240
|
||||
#define RGBLIGHT_SLEEP
|
||||
#endif
|
86
keyboards/rart/rart67/info.json
Normal file
86
keyboards/rart/rart67/info.json
Normal file
|
@ -0,0 +1,86 @@
|
|||
{
|
||||
"keyboard_name": "RART67",
|
||||
"url": "",
|
||||
"maintainer": "Alabahuy",
|
||||
"width": 16,
|
||||
"height": 5,
|
||||
"layouts": {
|
||||
"LAYOUT_all": {
|
||||
"layout": [
|
||||
|
||||
{"label" : "Esc", "x":0, "y":0},
|
||||
{"label" : "1", "x":1, "y":0},
|
||||
{"label" : "2", "x":2, "y":0},
|
||||
{"label" : "3", "x":3, "y":0},
|
||||
{"label" : "4", "x":4, "y":0},
|
||||
{"label" : "5", "x":5, "y":0},
|
||||
{"label" : "6", "x":6, "y":0},
|
||||
{"label" : "7", "x":7, "y":0},
|
||||
{"label" : "8", "x":8, "y":0},
|
||||
{"label" : "9", "x":9, "y":0},
|
||||
{"label" : "0", "x":10, "y":0},
|
||||
{"label" : "-", "x":11, "y":0},
|
||||
{"label" : "=", "x":12, "y":0},
|
||||
{"label" : "|", "x":13, "y":0},
|
||||
{"label" : "Backspace", "x":14, "y":0},
|
||||
{"label" : "Page up", "x":15, "y":0},
|
||||
|
||||
{"label" : "Tab", "x":0, "y":1, "w":1.5},
|
||||
{"label" : "Q", "x":1.5, "y":1},
|
||||
{"label" : "W", "x":2.5, "y":1},
|
||||
{"label" : "E", "x":3.5, "y":1},
|
||||
{"label" : "R", "x":4.5, "y":1},
|
||||
{"label" : "T", "x":5.5, "y":1},
|
||||
{"label" : "Y", "x":6.5, "y":1},
|
||||
{"label" : "U", "x":7.5, "y":1},
|
||||
{"label" : "I", "x":8.5, "y":1},
|
||||
{"label" : "O", "x":9.5, "y":1},
|
||||
{"label" : "P", "x":10.5, "y":1},
|
||||
{"label" : "[", "x":11.5, "y":1},
|
||||
{"label" : "]", "x":12.5, "y":1},
|
||||
{"label" : "|", "x":13.5, "y":1, "w":1.5},
|
||||
{"label" : "Page down", "x":15, "y":1},
|
||||
|
||||
{"label" : "Caps lock", "x":0, "y":2, "w":1.75},
|
||||
{"label" : "A", "x":1.75, "y":2},
|
||||
{"label" : "S", "x":2.75, "y":2},
|
||||
{"label" : "D", "x":3.75, "y":2},
|
||||
{"label" : "F", "x":4.75, "y":2},
|
||||
{"label" : "G", "x":5.75, "y":2},
|
||||
{"label" : "H", "x":6.75, "y":2},
|
||||
{"label" : "J", "x":7.75, "y":2},
|
||||
{"label" : "K", "x":8.75, "y":2},
|
||||
{"label" : "L", "x":9.75, "y":2},
|
||||
{"label" : ";", "x":10.75, "y":2},
|
||||
{"label" : "'", "x":11.75, "y":2},
|
||||
{"label" : "Enter", "x":12.75, "y":2, "w":2.25},
|
||||
{"label" : "Home", "x":15, "y":2},
|
||||
|
||||
{"label" : "Shift", "x":0, "y":3, "w":2.25},
|
||||
{"label" : "Z", "x":2.25, "y":3},
|
||||
{"label" : "X", "x":3.25, "y":3},
|
||||
{"label" : "C", "x":4.25, "y":3},
|
||||
{"label" : "V", "x":5.25, "y":3},
|
||||
{"label" : "B", "x":6.25, "y":3},
|
||||
{"label" : "N", "x":7.25, "y":3},
|
||||
{"label" : "M", "x":8.25, "y":3},
|
||||
{"label" : ",", "x":9.25, "y":3},
|
||||
{"label" : ".", "x":10.25, "y":3},
|
||||
{"label" : "/", "x":11.25, "y":3},
|
||||
{"label" : "Shift", "x":12.25, "y":3, "w":1.75},
|
||||
{"label" : "Up", "x":14, "y":3},
|
||||
{"label" : "End", "x":15, "y":3},
|
||||
|
||||
{"label" : "Ctrl", "x":0, "y":4, "w":1.25},
|
||||
{"label" : "Windows", "x":1.25, "y":4, "w":1.25},
|
||||
{"label" : "Alt", "x":2.5, "y":4, "w":1.25},
|
||||
{"label" : "Space", "x":3.75, "y":4, "w":6.25},
|
||||
{"label" : "Alt", "x":10, "y":4, "w":1.5},
|
||||
{"label" : "Ctrl", "x":11.5, "y":4, "w":1.5},
|
||||
{"label" : "Left", "x":13, "y":4 },
|
||||
{"label" : "Down", "x":14, "y":4 },
|
||||
{"label" : "Right", "x":15, "y":4 }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
36
keyboards/rart/rart67/keymaps/default/keymap.c
Normal file
36
keyboards/rart/rart67/keymaps/default/keymap.c
Normal file
|
@ -0,0 +1,36 @@
|
|||
/*
|
||||
Copyright 2020 Alabahuy
|
||||
|
||||
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_all(
|
||||
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_DEL, KC_BSPC, KC_HOME,
|
||||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_END,
|
||||
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGUP,
|
||||
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN,
|
||||
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
|
||||
),
|
||||
|
||||
[1] = LAYOUT_all(
|
||||
KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, KC_DEL, _______,
|
||||
RESET, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_P7, KC_P8, KC_P9, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, KC_P4, KC_P5, KC_P6, KC_NLCK, _______,
|
||||
_______, _______, _______, _______, BL_DEC, BL_TOGG, BL_INC, BL_STEP, _______, KC_P1, KC_P2, KC_P3, KC_VOLU, _______,
|
||||
_______, _______, _______, _______, _______, KC_P0, KC_MPRV, KC_VOLD, KC_MNXT
|
||||
),
|
||||
};
|
17
keyboards/rart/rart67/rart67.c
Normal file
17
keyboards/rart/rart67/rart67.c
Normal file
|
@ -0,0 +1,17 @@
|
|||
/* Copyright 2020 Alabahuy
|
||||
* 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 "rart67.h"
|
||||
|
||||
|
28
keyboards/rart/rart67/rart67.h
Normal file
28
keyboards/rart/rart67/rart67.h
Normal file
|
@ -0,0 +1,28 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
/* This a shortcut to help you visually see your layout.
|
||||
*
|
||||
* The first section contains all of the arguments representing the physical
|
||||
* layout of the board and position of the keys.
|
||||
*
|
||||
* The second converts the arguments into a two-dimensional array which
|
||||
* represents the switch matrix.
|
||||
*/
|
||||
#define LAYOUT_all( \
|
||||
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F, \
|
||||
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1E, K1F, \
|
||||
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2E, K2F, \
|
||||
K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3E, K3F, \
|
||||
K40, K41, K42, K45, K49, K4A, K4B, K4E, K4F \
|
||||
) \
|
||||
{ \
|
||||
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F }, \
|
||||
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, KC_NO, K1E, K1F }, \
|
||||
{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, KC_NO, KC_NO, K2E, K2F }, \
|
||||
{ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, KC_NO, KC_NO, K3E, K3F }, \
|
||||
{ K40, K41, K42, KC_NO, KC_NO, K45, KC_NO, KC_NO, KC_NO, K49, K4A, K4B, KC_NO, KC_NO, K4E, K4F }, \
|
||||
}
|
||||
|
14
keyboards/rart/rart67/readme.md
Normal file
14
keyboards/rart/rart67/readme.md
Normal file
|
@ -0,0 +1,14 @@
|
|||
# [RART 67](https://github.com/alabahuy/RART/tree/master/RART67)
|
||||
|
||||
65% pcb mechanical keyboard based on [IMKG](https://www.facebook.com/groups/indomechanicalkeyboard/) (Indonesia Mechanical Keyboard Group)
|
||||
|
||||
* Keyboard Maintainer: [Alabahuy](https://github.com/alabahuy)
|
||||
* Hardware Supported: RART67 PCB, Mini USB, ATMega32U4, RGB underglow
|
||||
* Hardware Availability: Private GB
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make rart/rart67:default
|
||||
|
||||
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).
|
||||
|
32
keyboards/rart/rart67/rules.mk
Normal file
32
keyboards/rart/rart67/rules.mk
Normal file
|
@ -0,0 +1,32 @@
|
|||
# MCU name
|
||||
MCU = atmega32u4
|
||||
|
||||
# Bootloader selection
|
||||
# Teensy halfkay
|
||||
# Pro Micro caterina
|
||||
# Atmel DFU atmel-dfu
|
||||
# LUFA DFU lufa-dfu
|
||||
# QMK DFU qmk-dfu
|
||||
# ATmega32A bootloadHID
|
||||
# ATmega328P USBasp
|
||||
BOOTLOADER = atmel-dfu
|
||||
|
||||
# Build Options
|
||||
# change yes to no to disable
|
||||
#
|
||||
BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
|
||||
MOUSEKEY_ENABLE = yes # Mouse keys
|
||||
EXTRAKEY_ENABLE = yes # Audio control and System control
|
||||
CONSOLE_ENABLE = yes # Console for debug
|
||||
COMMAND_ENABLE = no # Commands for debug and configuration
|
||||
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
|
||||
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
|
||||
# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
|
||||
NKRO_ENABLE = yes # USB Nkey Rollover
|
||||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
||||
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
|
||||
MIDI_ENABLE = no # MIDI support
|
||||
UNICODE_ENABLE = no # Unicode
|
||||
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
|
||||
AUDIO_ENABLE = no # Audio output
|
||||
FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
|
Loading…
Reference in a new issue