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 unison v04 keyboard #11982

Merged
merged 138 commits into from
Mar 25, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
138 commits
Select commit Hold shift + click to select a range
5eac035
Update: JonesのMIDIキーマップをベースに初期作成。AudioとMIDIの同時使用はファームウェアサイズ的に厳しい。
Dec 31, 2020
c7bd188
Update: Unison用のIDへ変更
Jan 4, 2021
70b17d3
Update: Audioはデフォとせず、OLEDをデフォとした。
Jan 4, 2021
6dd87c6
Update: v03基板から実際に動くものとなったため、v01からv03に変更。基本的な設定を完了。
Jan 19, 2021
dc41e1d
Update: 基本的なキーマップを作成
Jan 24, 2021
8a7b137
Update: キーマップ、ロータリーエンコーダの感度を調整。
Jan 24, 2021
0050f53
TEST: BOOTMAGIC = lite でどうなるのかテスト
Jan 24, 2021
2c1d7d4
Update: Jones ---> Unison
Jan 24, 2021
b6321b3
TEST: BOOTMAGIC = lite で、TABキーでBootloaerに入る設定
Jan 24, 2021
d41e679
Update: インデント
Jan 25, 2021
fffccfc
Update: QMKの一般的な表記に合わせ、 k(col)(row) から k(row)(col) へ変更。
Jan 25, 2021
f7d92a4
Update: 自前のカスタムマトリクスを使用せず、COL2ROW方式で総当たりマトリクスを動作させるテストを開始。
Jan 25, 2021
0c0d05a
TEST: BOOTMAGICテスト用コード追加
Jan 25, 2021
b402e72
Update: 主に中央部分のキーマップ変更
Jan 25, 2021
87b4763
Merge commit '3f6de1ef546f5c8e355ce111f3602ca70bb60fc0' into develop_…
Jan 26, 2021
4b33333
TEST: COL2ROWで、COLのピンの順番を変えてキーを読むテスト
Jan 26, 2021
c78cf9e
Update: QMKの仕様上、MacではKC_PSCRがFキーとして判定されるため、スクリーンショット用マクロを用意した。
Jan 26, 2021
29d6ab8
TEST: COL2ROWで、ROWとCOLのピン定義をずらした状態で、BOOTMAGIC = lite の(0,0)キーに引っかからない。
Jan 26, 2021
4b19e87
Update: ロータリーエンコーダにマウスホイールを割り当て
Feb 1, 2021
7af803b
Update: 自明のコメントを削除
Feb 1, 2021
d8a7efa
Update: NKRO指定時は、NKRO動作を強制。
Feb 1, 2021
eb53b16
Update: MIDIなしのとき、AUDIOのフル機能がファームウェアサイズ内に収まることをチェック。
Feb 1, 2021
4582ba5
Update: Bootmagicテスト完了のため、無効化。
Feb 1, 2021
fa97e75
TEST: LED動作チェック。
Feb 1, 2021
69def4b
Merge branch 'master' into develop_Unison
Feb 1, 2021
a0c7084
Update: キーマップを、LOWER, RAISEを中心に大幅変更。
Feb 1, 2021
9c2cfad
Update: 未使用のNumレイヤとTapDanceを削除。
Feb 1, 2021
ce3269d
Update: MIDI関連の設定を多数追加。
Feb 1, 2021
12779be
Merge branch 'master' of https://github.com/qmk/qmk_firmware into dev…
Feb 1, 2021
cc39bb6
New: Add Sequencer keymap
Feb 7, 2021
a6f9629
enumの開始を明記
Feb 7, 2021
6a9a25f
TAP_DANCEを無効化
Feb 7, 2021
835d3e6
シーケンサーで、トラック単位の有効・無効の切り替えを追加。※動作せず
Feb 7, 2021
ee12644
デバッグ用設定をテスト
Feb 7, 2021
fa8892d
Merge commit '99bffc2a21ebed07fd767ad2a9a7e1aadd491ef3' into develop_…
Feb 8, 2021
4c5a44b
Change custom keycode name for classification.
Feb 8, 2021
83530a8
Add LED update on sequencer step.
Feb 8, 2021
d2309b3
change LED adjusting value.
Feb 8, 2021
6b2744e
TEST: SQ_T related things.
Feb 8, 2021
7c5feac
DEBUG
Feb 8, 2021
ca6e142
Increase track 6 ---> 8. Add track indicator.
Feb 9, 2021
9200fad
Add sequencer step viewer.
Feb 9, 2021
f2a2875
Move Bootmagic lite position to keyboard's config.
Feb 9, 2021
d484037
Revert matrix as phisically connected.
Feb 9, 2021
c4f8812
Change default RGB lighting animation.
Feb 9, 2021
bc894c5
Remove MIDI options from keyboard's config.
Feb 9, 2021
0454afc
change version
Feb 9, 2021
b2a6c0f
Remove unused.
Feb 9, 2021
f9435e9
Delete unused. Round-Robin matrix woks with COL2ROW.
Feb 9, 2021
af8c958
Delete unused. Round-Robin matrix woks with COL2ROW.
Feb 9, 2021
d93fbcf
Formatting.
Feb 9, 2021
afd7770
Formatting.
Feb 9, 2021
359774b
Remove unused.
Feb 9, 2021
7474270
No enum.
Feb 9, 2021
9d7c988
LED setting for Sequencer layer.
Feb 9, 2021
a836d1f
Add TODO flag
Feb 12, 2021
3359190
Remove unused.
Feb 12, 2021
408b339
change LCTL
Feb 12, 2021
2ee533e
Update Rotary Encoder setting.
Feb 12, 2021
d87774c
revert to default
Feb 12, 2021
073e935
Add TODO flag.
Feb 12, 2021
79929f8
Update to latest information.
Feb 12, 2021
2415a49
Update to latest information.
Feb 12, 2021
314278c
Add v04
Feb 12, 2021
c72295d
Move keymaps directory to just under keyboard directory.
Feb 12, 2021
6799846
Add music layout.
Feb 12, 2021
4cb5864
Update to Unison layout.
Feb 12, 2021
272f299
Add default keymap.
Feb 12, 2021
09d9184
Update readme description.
Feb 12, 2021
5c37285
Merge commit '627ceebef3ed19eceba3642a830ffbf44f4a9e04' into develop_…
Feb 12, 2021
c7e287c
Commenting.
Feb 12, 2021
d45b84c
Exclude non-PR files.
Feb 12, 2021
73c63b6
Change keymap name more general.
Feb 12, 2021
b87d49c
Remove unused
Feb 12, 2021
d056990
Commenting.
Feb 12, 2021
2fe56be
Remove unused.
Feb 12, 2021
5994d19
Commenting.
Feb 12, 2021
abb7941
Change Macro name for consistency.
Feb 12, 2021
1d1dd42
Add tempo definition.
Feb 12, 2021
1a853e7
Change transparent to noop for better musical play.
Feb 12, 2021
2c867a6
Add Rotary Encoder push functions for Sequencer.
Feb 12, 2021
a5220bf
FIX printscreen to work _WIN layer.
Feb 12, 2021
0d8c83d
Fix style name.
Feb 13, 2021
1b4e228
Change keymap style from PC to Music.
Feb 13, 2021
3b9cd5f
Adjust LED number and index to v04 PCB.
Feb 13, 2021
d3ad302
Commenting.
Feb 13, 2021
062e9cc
Add #ifdef block to LED config related.
Feb 13, 2021
27d2705
Change Sequencer display function from Rotary Encoder right-3 to righ…
Feb 13, 2021
f0a8b7c
Change default animations.
Feb 13, 2021
70cb3c7
Set LED effect range. Add LED reset on layer change.
Feb 13, 2021
224ed3d
Remove unused.
Feb 13, 2021
87cc905
Commenting.
Feb 14, 2021
684a21f
Commenting.
Feb 14, 2021
56822fe
Use function to change Sequencer track indicator.
Feb 14, 2021
615e10e
Use function to change Sequencer track indicator.
Feb 14, 2021
5840854
Remove unused
Feb 14, 2021
bdc7a0c
Add PC-style keymap.
Feb 14, 2021
9f3b996
Adjust keymap.
Feb 14, 2021
94cfca5
Add micro volume control for Mac.
Feb 14, 2021
74e91b2
Adjust keymap.
Feb 16, 2021
4304846
Merge commit '9ee12820197f38f6618b78f92481f3ffd2d8b7e5' into develop_…
Feb 16, 2021
9fbdb8d
Adjust cursor block.
Feb 16, 2021
94305e7
Adjust grave and tild in layer.
Feb 16, 2021
7f3a860
Change magic-key position to Left-Bottom where both Music-style and T…
Feb 18, 2021
fbef572
Change LED settings for front-side 9 LEDs.
Feb 19, 2021
2200770
Change keymap name.
Feb 19, 2021
4dc272f
Update supported functions.
Feb 19, 2021
e717bd3
Adjust indicator dimmer.
Feb 20, 2021
5b6929a
Remove unused.
Feb 20, 2021
5374104
Add underglow support.
Feb 20, 2021
dd2fbf6
Add rotary encoder keymap at Adjust layer for test hardware function.
Feb 20, 2021
c4138e2
Disable rotary encoders.
Feb 20, 2021
db83edb
Change description.
Feb 20, 2021
6391d2a
Add support for underglow.
Feb 20, 2021
9ead448
Commenting.
Feb 21, 2021
8b857bd
Formatting.
Feb 21, 2021
69634b1
Turn on default layer indicator.
Feb 21, 2021
8017df4
remove duplication
Feb 21, 2021
2a9a612
Change VID for via.
Feb 21, 2021
fc2ae6e
Initial commit for VIA.
Feb 21, 2021
642124e
Add layout option.
Feb 21, 2021
4397bbf
restore AUDIO enabled.
Feb 21, 2021
fce2e8d
Removed a JSON file for VIA app, not for QMK.
Feb 22, 2021
75288e4
Remove non-related files for PR.
Feb 22, 2021
f6ea00c
Add keymap for music layout.
Feb 22, 2021
67112c8
Add photo links.
Feb 22, 2021
5b68058
Commenting.
Feb 22, 2021
2306a1d
Apply PR checklist.
Feb 22, 2021
be9863c
Change unused function to "no".
Feb 22, 2021
e011636
Add keymap image and change keymap as image shows.
Feb 22, 2021
9c94f7d
Change bootloader entering key to widely known "Left-Top".
Feb 23, 2021
31e12a5
Turn off ENCODER by default.
Feb 23, 2021
f2ed507
Add VIA keymap.
Feb 23, 2021
651b8b6
Change VID unique.
Feb 24, 2021
f384536
Add config option to prepare future release, #11820.
Feb 25, 2021
caf6d04
Remove old defines for Audio.
Feb 28, 2021
fe3a843
Merge commit 'deaabff752dd75e75fc865091a5925bf7a5f3b19' into Add_unis…
Feb 28, 2021
acbb191
Merge commit 'e4d3ff2374142fe6431b68874f6604a471732fae' into Add_unis…
Feb 28, 2021
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 v04
  • Loading branch information
Takeshi Nishio committed Feb 12, 2021
commit 314278c10b3d4249a324e15a964ef32c93beddb5
2 changes: 1 addition & 1 deletion keyboards/unison/rules.mk
Original file line number Diff line number Diff line change
@@ -1 +1 @@
DEFAULT_FOLDER = unison/v03
DEFAULT_FOLDER = unison/v04
122 changes: 122 additions & 0 deletions keyboards/unison/v04/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
/*
Copyright 2021 Takeshi Nishio

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 0x176A
#define DEVICE_VER 0x0040
#define MANUFACTURER jpskenn
#define PRODUCT Unison

/* key matrix size */
/* With Round-Robin matrix, set same size for both. */
#define MATRIX_ROWS 10
#define MATRIX_COLS 10

/* key matrix pins */
/* With Round-Robin matrix, set same pins for both. */
#define MATRIX_ROW_PINS { B3, E6, F1, F5, F7, B2, F0, F4, F6, C7 }
#define MATRIX_COL_PINS { B3, E6, F1, F5, F7, B2, F0, F4, F6, C7 }
#define UNUSED_PINS

#define DIODE_DIRECTION COL2ROW

/* Rotary Encoder */
#ifdef ENCODER_ENABLE
#define ENCODERS_PAD_A { B0, D2, D5, D6, B4 }
#define ENCODERS_PAD_B { B1, D3, D4, D7, B5 }
#define ENCODER_RESOLUTION 4 //the default & suggested is 4
#endif

/* Audio */
#ifdef AUDIO_ENABLE
#define B6_AUDIO
#define C6_AUDIO
drashna marked this conversation as resolved.
Show resolved Hide resolved
#define AUDIO_CLICKY
#define MUSIC_MAP
#endif

/* RGB Lighting */
#define RGB_DI_PIN B7
#ifdef RGB_DI_PIN
#define RGBLED_NUM 8 // Layer Indicator(3) + Rotary Encoder(5), optional Underglow(8)
#define RGBLIGHT_LED_MAP {1, 2, 3, 0, 4, 5, 6, 7} // Left to Right
#define RGBLIGHT_HUE_STEP 4
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
#define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
// #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
/*== Lighting Layers ==*/
#define RGBLIGHT_LAYERS
// #define RGBLIGHT_MAX_LAYERS 2
#define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF // Overriding RGB Lighting on/off status
/*== all animations enable ==*/
// #define RGBLIGHT_ANIMATIONS
/*== or choose animations ==*/
// #define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
// #define RGBLIGHT_EFFECT_SNAKE
// #define RGBLIGHT_EFFECT_KNIGHT
// #define RGBLIGHT_EFFECT_CHRISTMAS
// #define RGBLIGHT_EFFECT_STATIC_GRADIENT
// #define RGBLIGHT_EFFECT_RGB_TEST
// #define RGBLIGHT_EFFECT_ALTERNATING
// /*== customize breathing effect ==*/
// /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
// #define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64
// /*==== use exp() and sin() ====*/
// #define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7
// #define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255
#endif

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

/*
* BOOTMAGIC
* Left-Top key posision in matrix is (6,0).
* NOTE: With Round-Robin matrix, (0,0) is always High(=pressed).
*/
#ifdef BOOTMAGIC_ENABLE
#define BOOTMAGIC_LITE_ROW 6
#define BOOTMAGIC_LITE_COLUMN 0
#endif

/*
* Feature disable options
* These options are also useful to firmware size reduction.
*/

/* disable debug print */
//#define NO_DEBUG

/* disable print */
//#define NO_PRINT

/* disable action features */
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT

/* disable these deprecated features by default */
#define NO_ACTION_MACRO
#define NO_ACTION_FUNCTION
19 changes: 19 additions & 0 deletions keyboards/unison/v04/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"keyboard_name": "Unison",
"url": "https://github.com/jpskenn/Unison",
"maintainer": "jpskenn",
"width": 15,
"height": 5,
"layouts": {
"LAYOUT": {
"key_count": 68,
"layout": [
{"label":"Esc", "x":0, "y":0}, {"label":"!", "x":1, "y":0}, {"label":"@", "x":2, "y":0}, {"label":"#", "x":3, "y":0}, {"label":"$", "x":4, "y":0}, {"label":"%", "x":5, "y":0}, {"label":"^", "x":6, "y":0}, {"label":"", "x":7, "y":0}, {"label":"", "x":8, "y":0}, {"label":"", "x":9, "y":0}, {"label":"", "x":10, "y":0}, {"label":"", "x":11, "y":0}, {"label":"", "x":12, "y":0}, {"label":"|", "x":13, "y":0}, {"label":"~", "x":14, "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":"Backspace", "x":11.5, "y":1, "w":1.5}, {"label":"{", "x":13, "y":1}, {"label":"}", "x":14, "y":1},
{"label":"Ctrl", "x":0.25, "y":2, "w":1.25}, {"label":"A", "x":1.5, "y":2}, {"label":"S", "x":2.5, "y":2}, {"label":"D", "x":3.5, "y":2}, {"label":"F", "x":4.5, "y":2}, {"label":"G", "x":5.5, "y":2}, {"label":"H", "x":6.5, "y":2}, {"label":"J", "x":7.5, "y":2}, {"label":"K", "x":8.5, "y":2}, {"label":"L", "x":9.5, "y":2}, {"label":":", "x":10.5, "y":2}, {"label":"Enter", "x":11.5, "y":2, "w":2.25}, {"label":"\u201d", "x":13.75, "y":2},
{"label":"Shift", "x":0.25, "y":3, "w":1.75}, {"label":"Z", "x":2, "y":3}, {"label":"X", "x":3, "y":3}, {"label":"C", "x":4, "y":3}, {"label":"V", "x":5, "y":3}, {"label":"B", "x":6, "y":3}, {"label":"N", "x":7, "y":3}, {"label":"M", "x":8, "y":3}, {"label":"<", "x":9, "y":3}, {"label":">", "x":10, "y":3}, {"label":"?", "x":11, "y":3}, {"label":"Shift", "x":12, "y":3}, {"label":"\u2191", "x":13, "y":3}, {"label":"Fn", "x":14, "y":3},
{"label":"Rotary", "x":0, "y":4}, {"label":"Caps", "x":1, "y":4}, {"label":"Opt", "x":2, "y":4, "w":1.25}, {"label":"Cmd", "x":3.25, "y":4, "w":1.25}, {"label":"Space & Shift", "x":4.5, "y":4, "w":2}, {"label":"Space & Raise", "x":6.5, "y":4, "w":2}, {"label":"Cmd", "x":8.5, "y":4, "w":1.25}, {"label":"Opt", "x":9.75, "y":4, "w":1.25}, {"label":"Ctrl", "x":11, "y":4}, {"label":"\u2190", "x":12, "y":4}, {"label":"\u2193", "x":13, "y":4}, {"label":"\u2192", "x":14, "y":4}
]
}
}
}
70 changes: 70 additions & 0 deletions keyboards/unison/v04/keymaps/sequencer/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
/* Copyright 2021 Takeshi Nishio
*
* 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

// double tap to toggle
#define TAPPING_TOGGLE 2

// time for long press
#define TAPPING_TERM 200

#ifdef AUDIO_ENABLE
#define MUSIC_MAP
#endif

#ifdef RGB_DI_PIN
// // settings for adding Underglow
// #undef RGBLED_NUM
// #define RGBLED_NUM 15 // Layer Indicator(2) + Rotary Encoder(5) + Under(8)

// #undef RGBLIGHT_LED_MAP
// #define RGBLIGHT_LED_MAP {1, 2, 3, 0, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14} // Left to Right to Under Right to Under Left
#endif

#define RGBLIGHT_MAX_LAYERS 10

#ifdef MIDI_ENABLE
/*
* MIDI options
*/

/* Prevent use of disabled MIDI features in the keymap */
//#define MIDI_ENABLE_STRICT 1

/* enable basic MIDI features:
- MIDI notes can be sent when in Music mode is on
*/
#define MIDI_BASIC

/* enable advanced MIDI features:
- MIDI notes can be added to the keymap
- Octave shift and transpose
- Virtual sustain, portamento, and modulation wheel
- etc.
*/
#define MIDI_ADVANCED
#endif


#ifdef NKRO_ENABLE
#define FORCE_NKRO
#endif

#ifdef SEQUENCER_ENABLE
#define SEQUENCER_STEPS 32 // default: 16
#define SEQUENCER_TRACKS 8
#endif
Loading