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 Whale's Split Keyboard(ver.3) #9859

Merged
merged 27 commits into from
Aug 7, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
d986b01
Add Split Keyboard v3 info.json.
ncwhale Jun 22, 2020
4f8eb75
Add all sk/v3 define.
ncwhale Jun 23, 2020
0721dda
Update whale/sk/v3 default keymaps.
ncwhale Jun 23, 2020
e497c77
Empty keymap placeholder for slave.
ncwhale Jul 28, 2020
91d8298
Modify keymap layout.
ncwhale Jul 28, 2020
fce3a03
Add slave pad for coding.
ncwhale Jul 28, 2020
87bc0a1
add USART commiute.
ncwhale Jul 29, 2020
4b3cc6b
Remove unused folders.
ncwhale Jul 29, 2020
76d2ebc
Update keyboards/whale/sk/rules.mk
ncwhale Jul 30, 2020
2e17c9c
Update keyboards/whale/sk/keymaps/default/keymap.c
ncwhale Jul 30, 2020
8371bee
Update keyboards/whale/sk/keymaps/default/keymap.c
ncwhale Jul 30, 2020
5638291
Update keyboards/whale/sk/config.h
ncwhale Jul 30, 2020
a7488a2
Update keyboards/whale/sk/v3/rules.mk
ncwhale Jul 30, 2020
3d0607c
Delete config.h
ncwhale Jul 31, 2020
f02fcbf
Update info.json
ncwhale Jul 31, 2020
367cf38
Update v3.h
ncwhale Jul 31, 2020
1067073
Update keyboards/whale/sk/keymaps/default/keymap.c
ncwhale Jul 31, 2020
5b387ab
Update keyboards/whale/sk/v3/config.h
ncwhale Jul 31, 2020
4da955e
Update keyboards/whale/sk/v3/config.h
ncwhale Jul 31, 2020
36d6749
Update keyboards/whale/sk/keymaps/default/keymap.c
ncwhale Jul 31, 2020
b75a503
Update keyboards/whale/sk/v3/v3.h
ncwhale Jul 31, 2020
df8bfde
Update keyboards/whale/sk/v3/v3.h
ncwhale Jul 31, 2020
6d08802
Update keyboards/whale/sk/v3/info.json
ncwhale Jul 31, 2020
0d10a4b
Update keyboards/whale/sk/v3/info.json
ncwhale Jul 31, 2020
f330acb
Rename README.md to readme.md
ncwhale Jul 31, 2020
41a933b
Update keyboards/whale/sk/readme.md
ncwhale Aug 3, 2020
8024fdc
Update keymap.c
ncwhale Aug 4, 2020
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
23 changes: 23 additions & 0 deletions keyboards/whale/sk/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/* Copyright 2020 Whale Mo
*
* 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
#define PRODUCT_ID 0x0495
34 changes: 34 additions & 0 deletions keyboards/whale/sk/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
/* Copyright 2020 Whale Mo
*
* 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

// Defines names for use in layer keycodes and the keymap
enum layer_names {
_BASE,
};

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_BASE] = LAYOUT_all(
KC_ESC, KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_HOME, KC_END, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL,
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_PGUP, KC_PGDOWN, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLASH,
KC_LCTRL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_DEL, KC_BSPC, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT,
KC_LSHIFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LEFT, KC_RIGHT, KC_N, KC_M, KC_COMMA, KC_DOT, KC_SLSH, KC_RSHIFT,
KC_LBRACKET, KC_LALT, KC_LWIN, KC_APP, KC_HENK, KC_MENU, KC_MENU, KC_MHEN, KC_APP, KC_RWIN, KC_RALT, KC_RBRACKET,
KC_F1, KC_F2, KC_F7, KC_F8,
KC_SPC, KC_F3, KC_F4, KC_F9, KC_F10, KC_SPC,
KC_F5, KC_F6, KC_F11, KC_F12
),
};
15 changes: 15 additions & 0 deletions keyboards/whale/sk/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Splite Keyboard

![Split Keyboard Default Layout](https://github.com/ncwhale/Keyboard_Design/raw/master/Splite-Keyboard-v3/Keyboard-layout.png)

A splite keyboard (7x6x2) made by Whale Mo.

* Keyboard Maintainer: [Whale Mo](https://github.com/ncwhale)
* Hardware Supported: [Opensource Design](https://github.com/ncwhale/Keyboard_Design), Sparkfun Micro Pro
* Hardware Availability: On the way.

Make example for this keyboard (after setting up your build environment):

make whale/sk: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).
1 change: 1 addition & 0 deletions keyboards/whale/sk/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DEFAULT_FOLDER = whale/sk/v3
1 change: 1 addition & 0 deletions keyboards/whale/sk/sk.c
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include "sk.h"
7 changes: 7 additions & 0 deletions keyboards/whale/sk/sk.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#pragma once

#include "quantum.h"

#ifdef KEYBOARD_whale_sk_v3
#include "v3.h"
#endif
53 changes: 53 additions & 0 deletions keyboards/whale/sk/v3/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
/*
Copyright 2020 Whale Mo

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 DEVICE_VER 0x0003
#define MANUFACTURER Whale Mo
#define PRODUCT Splite Keyboard v3

/* key matrix size */
/* Notice: HALF of row on the slave side */
#define MATRIX_ROWS 12
#define MATRIX_COLS 7

/*
* 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 { B1, B2, B3, B4, B5, B6 }
#define MATRIX_COL_PINS { D4, C6, D7, E6, F4, F5, F6 }

/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW

/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
#define DEBOUNCE 3

/* disable these deprecated features by default */
#define NO_ACTION_MACRO
#define NO_ACTION_FUNCTION
Loading