Skip to content

Commit

Permalink
revision of the config.h
Browse files Browse the repository at this point in the history
  • Loading branch information
jiaxin96 committed Apr 21, 2021
1 parent bfcf59c commit 9b733f3
Show file tree
Hide file tree
Showing 9 changed files with 60 additions and 14 deletions.
21 changes: 19 additions & 2 deletions keyboards/yandrstudio/cool87/config.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
Copyright 2012 Jun Wako <[email protected]>
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:https://www.gnu.org/licenses/>.
*/

#ifndef CONFIG_H
#define CONFIG_H

Expand All @@ -9,7 +26,7 @@
#define DEVICE_VER 0x0001
#define MANUFACTURER YandR studio
#define PRODUCT Y&R-Cool87
#define DESCRIPTION YandR studio Cool87


/* key matrix size */
#define MATRIX_ROWS 6
Expand All @@ -30,7 +47,7 @@
#endif

/* Set 0 if debouncing isn't needed */
#define DEBOUNCING_DELAY 5
#define DEBOUNCE 5

/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
Expand Down
6 changes: 1 addition & 5 deletions keyboards/yandrstudio/cool87/cool87.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#ifndef KB_H
#define KB_H

#pragma once
#include "quantum.h"

#define LAYOUT( \
Expand All @@ -19,5 +17,3 @@
{ K400, K401, K402, K403, K404, K405, K406, K407, K408, K409, K410, KC_NO, KC_NO, K413, KC_NO, K415, KC_NO }, \
{ K500, K501, K502, KC_NO, KC_NO, KC_NO, K506, KC_NO, KC_NO, KC_NO, K510, K511, KC_NO, K513, K514, K515, K516 } \
}

#endif
1 change: 1 addition & 0 deletions keyboards/yandrstudio/cool87/info.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"keyboard_name": "cool87",
"url": "https://github.com/Oh-My-Mechanical-Keyboard",
"maintainer": "jiaxin96",
"width": 18.25,
"height": 6.5,
Expand Down
1 change: 1 addition & 0 deletions keyboards/yandrstudio/nlhhkb/info.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"keyboard_name": "nlhhkb",
"url": "https://github.com/Oh-My-Mechanical-Keyboard",
"maintainer": "jiaxin96",
"width": 15,
"height": 5,
Expand Down
20 changes: 18 additions & 2 deletions keyboards/yandrstudio/rainbow65/config.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
Copyright 2012 Jun Wako <[email protected]>
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:https://www.gnu.org/licenses/>.
*/

#ifndef CONFIG_H
#define CONFIG_H

Expand All @@ -9,8 +26,7 @@
#define DEVICE_VER 0x0001
#define RAW_USAGE_PAGE 0xFF60
#define MANUFACTURER yrstudio Jason Ren and magic mvp
#define PRODUCT rainbow65
#define DESCRIPTION STM32 based 65 keyboard with full rgb, oled and encoder.
#define PRODUCT rainboM32 based 65 keyboard with full rgb, oled and encoder.

/* key matrix set */
#define MATRIX_ROWS 5
Expand Down
1 change: 1 addition & 0 deletions keyboards/yandrstudio/rainbow65/info.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"keyboard_name": "rainbow65",
"url": "https://github.com/Oh-My-Mechanical-Keyboard",
"maintainer": "jiaxin96",
"width": 16.25,
"height": 5.25,
Expand Down
20 changes: 18 additions & 2 deletions keyboards/yandrstudio/sb65p/config.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
Copyright 2012 Jun Wako <[email protected]>
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:https://www.gnu.org/licenses/>.
*/

#pragma once
#include "config_common.h"

Expand All @@ -7,7 +24,6 @@
#define DEVICE_VER 0x0001
#define MANUFACTURER Jason Ren and Student WTF
#define PRODUCT SB-65P
#define DESCRIPTION Split Biu 65 Plus KB

/* key matrix size */
#define MATRIX_ROWS 10
Expand All @@ -25,7 +41,7 @@


/* Set 0 if debouncing isn't needed */
#define DEBOUNCING_DELAY 5
#define DEBOUNCE 5

#define ONESHOT_TIMEOUT 500

Expand Down
1 change: 1 addition & 0 deletions keyboards/yandrstudio/sb65p/info.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"keyboard_name": "sb65p",
"url": "https://github.com/Oh-My-Mechanical-Keyboard",
"maintainer": "jiaxin96",
"width": 19,
"height": 5.25,
Expand Down
3 changes: 0 additions & 3 deletions keyboards/yandrstudio/sb65p/sb65p.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#ifndef SB65P_H
#define SB65P_H
#pragma once
#include "quantum.h"

Expand Down Expand Up @@ -27,4 +25,3 @@
{ KC_NO, K091, KC_NO, K093, K094, K095, K096, K097, K098 }\
}

#endif

0 comments on commit 9b733f3

Please sign in to comment.