Compare commits

..

61 Commits

Author SHA1 Message Date
3ff635b9a8 Add missing dependency for Void Linux to util/linux-install.sh (#9637) 2020-07-04 00:27:56 +01:00
2c98c4dd4e Backlight docs wordsmithing (#9631) 2020-07-03 10:05:59 +01:00
8c66c5aa9b Fix incorrect layout for GHS.rar (#9597)
Co-authored-by: Ryan <fauxpark@gmail.com>
2020-07-03 19:05:44 +10:00
b7dc2eb9ab Add movement hook to ps2_mouse (#8805)
Process mouse movement in the keymap before it is sent to the host. Example uses
include filtering noise, adding acceleration, and automatically activating a
layer. To use, define the following function in your keymap:

void ps2_mouse_moved_user(report_mouse_t *mouse_report);
2020-07-02 21:54:15 +01:00
00fc35539d Make sendstring respect TAP_CODE_DELAY (#9623) 2020-07-02 18:08:19 +01:00
65c9da5a65 [Keymap] Adding a Custom Keymap for Matrix Noah (#9581)
Co-authored-by: Ryan <fauxpark@gmail.com>
2020-07-02 18:05:38 +01:00
d1819f02df Fix sharing of mouse button state from mousekeys to ps2_mouse (#9124)
With this change, when ps2_mouse is disabled, mousekeys works as usual. With
ps2_mouse enabled, mousekeys button state is shared with ps2_mouse for clicking,
dragging, and scrolling, mousekeys clicks are produced by ps2_mouse only, and
mouskeys button state is transferred to mousekeys without generating clicks to
enable mousekeys dragging.

Co-authored-by: Drashna Jaelre <drashna@live.com>

Co-authored-by: Drashna Jaelre <drashna@live.com>
2020-07-02 18:04:55 +01:00
e1cdfdc0e7 Add xjtian keymap for Planck (#9502) 2020-07-02 16:33:57 +01:00
97c18bfbc4 Arisu keymapping, and corresponding via keymap (#9560)
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Erovia <Erovia@users.noreply.github.com>
Co-authored-by: Will <wailinnyu@gmail.com>
Co-authored-by: Andrew Koh <andrew@springlabs.com>
2020-07-02 16:09:23 +01:00
0e76b27661 Add Eon95 (#9334)
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Maarten Dekkers <maartenn2001@gmail.com>
2020-07-02 16:02:39 +01:00
bd4c66a26b Eon65 (#9331)
Co-authored-by: Maarten Dekkers <maartenn2001@gmail.com>
2020-07-02 09:19:17 +01:00
7c57efaaf9 Fix layouts for FM2U (#9604)
* Fix layouts for FM2U

* Leave old layout names as deprecated aliases
2020-07-01 22:47:53 -07:00
d4dc2a577f Quefrency rev1: Fix default VIA layout options (#9618)
Apparently VIA allocates bits in the layout options field from the
lowest bit, but starting from the **last** option defined in the JSON
file.  So the default value 0x06 was actually trying to set the value
`3` (`0b11`) for the second-to-last option ("Right Shift"), which had
only 3 values defined, and the attempt to set an undefined option value
caused the VIA app to hang with a black window.

Fix the default layout options so that it works as intended (the
"Macropad" and "65% Column" options are set).
2020-07-01 21:32:21 +01:00
92839f8a09 Mojito-keymap (#9566)
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
2020-07-01 21:29:06 +01:00
907c1c64cf [Keymap] AutoHotKey Companion keymap for Super16 (#9216)
* Started AHK Companion Development

* Updated the readme

* Added AutoHotKey companion file

* Updated documentation

* Cleaned up the files and revised documentation

* Finished the readme.md updates

* Fixed the LED issue where the last LED did not reflect the right color
2020-06-30 23:49:16 -07:00
8b9e3e9979 [Keyboard] Add "choc taro" keyboard (#9556)
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Erovia <Erovia@users.noreply.github.com>
2020-06-30 20:04:47 +01:00
6600f32d35 Add VIA support on XiuDi (XD) keyboards (#8829)
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Erovia <Erovia@users.noreply.github.com>
2020-06-30 18:27:24 +01:00
e9fa41631c XD87 qmk info fixes (#9601)
* Fixed `Nested layout macro detected. Matrix data not available!`

* Updated info for XD87

* Layout fixes.
2020-06-30 10:16:22 -07:00
91efcfb43a Add layouts for split 3x5 and 3x6 keyboards (#9562)
Co-authored-by: Ryan <fauxpark@gmail.com>
2020-06-30 18:14:42 +01:00
24f59c2d72 Add more missing info.json layouts (#9595) 2020-06-30 17:53:24 +01:00
398a7e5b3f re-added mouse and media keys plus slight changes (#9515)
Co-authored-by: Ryan <fauxpark@gmail.com>
2020-06-30 12:23:31 +01:00
48db3ad6ef Fix Herringbone keymap typo (#9578)
* Change TILD to GRV
2020-06-29 19:30:04 -07:00
12b43f55d6 [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
2020-06-29 18:39:07 -07:00
6d6340a82b [Keyboard] Add UNK keyboard. (#9571)
* Add UNK keyboard.

* Update keyboards/handwired/unk/info.json

* Use KC_NO to block out nonexistent matrix positions.

* Update keyboards/handwired/unk/readme.md

* Update keyboards/handwired/unk/keymaps/default/keymap.c
2020-06-29 16:32:59 -07:00
67beec5e94 [Keyboard] Rotr (#9546)
* Add files via upload

* Add files via upload

Edited code to fix the formatting so that it follows the conventions.

* Create README.md

* Update config.h

* Update keyboards/rotr/config.h

* Update keyboards/rotr/config.h

* Update keyboards/rotr/config.h

* Update keyboards/rotr/kb.h

* Update keyboards/rotr/keymaps/default/keymap.c

* Update keyboards/rotr/keymaps/default/keymap.c

* Update keyboards/rotr/rules.mk

* Update keyboards/rotr/keymaps/default/keymap.c

* Update keyboards/rotr/kb.c

* Delete Makefile

* Rename kb.c to rotr.c

* Rename kb.h to rotr.h

* Update rules.mk

* Rename README.md to readme.md

* Create info.json

* Update keyboards/rotr/keymaps/default/keymap.c

* Update keyboards/rotr/readme.md

* Update keyboards/rotr/readme.md

* Update keyboards/rotr/readme.md

* Update keymap.c

* Update rotr.c

* Update info.json

* Update keyboards/rotr/readme.md
2020-06-29 15:00:36 -07:00
09a53d1aa3 [Keyboard] Fallacy (#9499)
* Add Fallacy

* Accept suggestions

* fixed build error, renamed readme, added keymap specific config to force enable NKRO

* remove FORCE_NKRO on VIA keymap, fix header

* fix info.json to accurately reflect keymap

* remove additional empty layers from default_split_bs keymap

* Accept keymap formatting suggestions

* remove empty config files at keymap level
2020-06-29 13:52:17 -07:00
4f9e5d4cde Adding VIA support for CannonKeys/Practice60 (#8169)
* Adding VIA support for 40percentclub/luddite

* Update config.h

* Update rules.mk

* Delete config.h

config.h was created to override the "default" of RGBLED_NUM 8
deleting the file to keep with defaults

* Removing block and comment as suggested

* Update PRODUCT_ID

Changing from:

 #define PRODUCT_ID      0x0A0C 

To:

 #define PRODUCT_ID      0x4C55 // "LU"

* Changing Vendor ID

Changing Vendor ID from:
#define VENDOR_ID       0xFEED
To:
#define VENDOR_ID       0x3430 // "40"

* Adding VIA support to cannonkeys/practice60

Adding VIA support to cannonkeys/practice60

 * updated VENDOR_ID to match other CannonKeys boards
 * changed PRODUCT_ID to be unique
 * added additional notes to readme.md
 * keymap.c and config.h for VIA support

* Update readme.md

* Update keyboards/cannonkeys/practice60/readme.md

* Update keyboards/cannonkeys/practice60/readme.md

* Update keyboards/cannonkeys/practice60/config.h

* Update rules.mk

* Update keyboards/cannonkeys/practice60/config.h

* Update config.h

* Rebased from Master

Rebased from Master
2020-06-29 12:16:14 -07:00
cf17a8eb95 Add Via support for Hasu FC660C controller (#9563)
Co-authored-by: Ryan <fauxpark@gmail.com>
2020-06-29 19:58:15 +01:00
207b17bc4d [keymap] adding a new keymap to planck and crkbd (#9374)
Co-authored-by: Ryan <fauxpark@gmail.com>
2020-06-29 19:27:29 +01:00
1baa99c647 [Keymap] Adding my keymaps for ergodox_ez and kyria (#9365)
* Trying to fix problems in my kyria steez

* repeating last commit.....

* repeating last commit on EDIT layer but swapping direction

exit

* moving the reversed desktop moves to the symbol layers on the same hand, for easier activation

* adding mac desktop movement keys to Kyria layout

* Adding readmes to my keymaps

* Removing a png...

* Update keyboards/ergodox_ez/keymaps/rmw/keymap-mac.c removing EPRM case

* Apply suggestions from code review

Great updates to various old-school or outdated ways I was doing things, removing some commented out code, etc.

* Apply suggestions from code review

Additional improvements

* Moving tapdances.cpp to userspace as tapdances.c

* reindenting the Kyria keymap to follow four-spaces convention, turning off oled on my kyria, improving the led handling on the Ergodox.

* updating led stuff on the other two versions of the keymap, removing EPRM key from main keymap

* Apply suggestions from code review

I'm adding these various removals to the config file because it seems that at this time those settings are in harmony with the ergodox_ez defaults.

* Moving encoder functions into their own userspace file

* Apply suggestions from code review

Removing settings that are now defaults, clearing out placeholder custom keycodes (smh)

* updating encoder functions.

* Moving to LAYOUT_stack for all layers, adding end of file newlines, switching to some shorter keycode aliases

* Okay, refactor is well underway.

* refactored! Also improved led handling for ergodox and rgb handling for kyria

* removing mac/windows swappable version because I don't feel like dealing with it when reflashing is so easy.

* moving LAYOUT_stack into kyria.h

* moving the alternate default layer down next to QWERTY
2020-06-29 10:23:13 -07:00
e9e6054ee7 [Keyboard] Refactor: add adelais rev.3 (#9496)
* Refactor: add adelais rev.3

* update

* Update keymap.c

* update

* update

* update
2020-06-29 01:19:09 -07:00
umi
4e4a3449a7 [Docs] Japanese translation of docs/compatible_microcontrollers.md (#9518)
* add compatible_microcontrollers.md translation

* update based on comment

* update based on comment
2020-06-29 00:30:16 -07:00
7c17b87215 Fix WORKMAN layer typo in dudeofawesome planck/preonic (#9576) 2020-06-29 12:54:50 +10:00
62ceb46e9d Fixed MACLOCK key (#9555) 2020-06-29 12:52:23 +10:00
2c0201e80f [Keyboard] Coupe and Sedan keyboards (#9539)
* Initial upload - sedan and coupe keyboards

* Update coupe.h

* Update coupe.h

* Update coupe.h

* Update sedan.h

* Update keyboards/clawsome/coupe/readme.md

* Update keyboards/clawsome/sedan/config.h

* Update keyboards/clawsome/sedan/config.h

* Update keyboards/clawsome/coupe/config.h

* Update keyboards/clawsome/sedan/readme.md

* Update keyboards/clawsome/sedan/info.json

* Update keyboards/clawsome/sedan/readme.md

* Update keyboards/clawsome/coupe/readme.md

* Update keyboards/clawsome/coupe/info.json

* Update keyboards/clawsome/coupe/coupe.h

* Update keyboards/clawsome/coupe/info.json

* Update keyboards/clawsome/coupe/info.json

* Update keyboards/clawsome/coupe/keymaps/default/keymap.c

* Update keyboards/clawsome/sedan/info.json

* Update keyboards/clawsome/sedan/sedan.h

* Update keyboards/clawsome/sedan/rules.mk

* Update keyboards/clawsome/sedan/sedan.h

* Update keyboards/clawsome/sedan/keymap/default/keymap.c

* Update keyboards/clawsome/sedan/keymap/default/keymap.c

* Update keyboards/clawsome/coupe/rules.mk

* Update keyboards/clawsome/sedan/info.json

* Update keyboards/clawsome/sedan/info.json

* Rename keymap.c to keymaps.c

* Rename keymap.c to keymaps.c

* folder name updated

* updated keymaps

* remove erroneously added files

* extend keymap functionality

* Update config.h

* Update config.h

* added URL on line #3 for image of Coupe

* Added URL to line #3

* Update keyboards/clawsome/sedan/readme.md

* Update keyboards/clawsome/coupe/readme.md
2020-06-28 18:37:47 -07:00
51509ec07b Add DZ60 keymap lint_kid (#9477)
* adding dz60 layout lint_kid

* adding dz60 layout lint_kid, removed readme

* removing wrong commented layout from dz60 lint_kid layout

* added readme

* Apply suggestions from code review

Co-authored-by: Joel Challis <git@zvecr.com>

Co-authored-by: Joel Challis <git@zvecr.com>
2020-06-28 23:26:33 +01:00
b215bc3aba Add workman layout in JJ50 default keymap (#9574) 2020-06-28 22:47:33 +01:00
0928496220 [Keyboard] Refactor JJ50 keyboard mapping to current standard (#9415) 2020-06-28 18:45:16 +01:00
a8904d47b7 Add GHS.RAR keyboard (#9561)
Co-authored-by: Ryan <fauxpark@gmail.com>
2020-06-28 17:12:35 +01:00
32a47e7af4 Add Herringbone keyboard (#9495)
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Erovia <Erovia@users.noreply.github.com>
2020-06-28 16:22:11 +01:00
b27c20d204 Added DFU instructions for XD004 board (#9565) 2020-06-28 15:38:41 +01:00
b87895dc12 Move Wete to ramonimbao folder (#9569)
* [Breaking] Move Wete to ramonimbao folder

* Delete files

* Move files with git instead

* Update readme with new directory
2020-06-28 15:09:14 +01:00
2344b6865a Fix siemens_tastatur info.json (#9568) 2020-06-28 22:21:37 +10:00
3d45861216 Fix ordering for new info.jsons (#9567) 2020-06-28 12:51:48 +01:00
e184da91a6 [Update] Japanese translation of docs/cli.md and docs/cli_commands.md (#9536)
* update docs/ja/cli.md

* update docs/ja/cli_commands.md

* Update docs/ja/cli.md

Co-authored-by: shela <shelaf@users.noreply.github.com>

* update docs/ja/cli_commands.md

Co-authored-by: shela <shelaf@users.noreply.github.com>
2020-06-28 20:27:06 +09:00
d36d5ecfad Klackygears add user and handwired brain (#9154)
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Erovia <Erovia@users.noreply.github.com>
2020-06-28 12:07:57 +01:00
7baeaae9bb Trinity XT tkl - New Keyboard (#9483)
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Erovia <Erovia@users.noreply.github.com>
2020-06-28 12:04:47 +01:00
c85e010d45 Add missing info.jsons for a few boards (#9549) 2020-06-28 11:56:50 +01:00
umi
097df6afdb [Docs] Japanese translation of docs/documentation_templates.md (#9523)
* add documentation_templates.md translation

* update based on comment

* update based on comment
2020-06-27 20:02:43 -07:00
umi
6574ac52ad [Docs] Japanese translation of docs/documentation_best_practices.md (#9522)
* add documentation_best_practices.md translation

* update based on comment

* update based on comment
2020-06-27 20:00:55 -07:00
751a1789b5 Add JD40 keymap for myoung34 (#9545)
Co-authored-by: Ryan <fauxpark@gmail.com>
2020-06-27 20:36:08 +01:00
ac7b1d0bf3 [Update]JISplite89 Readme and LED nums (#9554)
1.Update the URL and photos in the build guide.
2.Changed the number of LEDs.
2020-06-27 20:33:02 +01:00
7369e195c2 tap toggle to lower layer (#9542) 2020-06-26 22:04:09 +01:00
30f4b4d763 [Keymap] pinpox keymap for dz60 (#9494)
* pinpox keymap for dz60

* Update keyboards/dz60/keymaps/pinpox/rules.mk

* Update keyboards/dz60/keymaps/pinpox/keymap.c

* Update keyboards/dz60/keymaps/pinpox/rules.mk
2020-06-26 04:19:19 -07:00
9236c3a9d0 [Keymap] Adding custom keymaps (#9426)
* Adding custom keymaps

* Update keyboards/kbdfans/kbd75/keymaps/adamdehaven/keymap.c
2020-06-26 03:17:31 -07:00
c2dd19de51 Fix error_log complaint about Helix boards (#9528) 2020-06-25 22:11:39 +01:00
6d88794960 M0lly: add support for VIA (#9535)
Co-authored-by: Ryan <fauxpark@gmail.com>
2020-06-25 22:02:27 +01:00
7a710fb426 [Keyboard] adding Rewind keyboard (#9497)
* adding rewind

* keymap cleanup

* keymap cleanup

* improve keymap

* improved keymap

* reduntant

* deletions

* typos

* readme img size and default bootloader
2020-06-24 23:09:06 -07:00
c8b35b6230 Jotanck (#9531)
* add_adjust_layer

* add_adjust_layer
2020-06-24 23:08:24 -07:00
995464cb9c [Docs] fix file path (#9540) 2020-06-25 15:58:36 +10:00
45c73b13e1 Minor keymap fix (#9534)
Changed bottom-right keys in WOW and DESTINY layers from KC_ENT
to KC_RCTL.
2020-06-24 22:57:51 -07:00
345 changed files with 21452 additions and 1794 deletions

View File

@ -61,4 +61,4 @@ This page describes my cool feature. You can use my cool feature to make coffee
|KC_SUGAR||Order Sugar|
```
Place your documentation into `docs/feature_<my_cool_feature>.md`, and add that file to the appropriate place in `docs/_sidebar.md`. If you have added any keycodes be sure to add them to `docs/keycodes.md` with a link back to your feature page.
Place your documentation into `docs/feature_<my_cool_feature>.md`, and add that file to the appropriate place in `docs/_summary.md`. If you have added any keycodes be sure to add them to `docs/keycodes.md` with a link back to your feature page.

File diff suppressed because it is too large Load Diff

View File

@ -294,3 +294,13 @@ To debug the mouse, add `debug_mouse = true` or enable via bootmagic.
#define PS2_MOUSE_DEBUG_HID
#define PS2_MOUSE_DEBUG_RAW
```
### Movement Hook :id=movement-hook
Process mouse movement in the keymap before it is sent to the host. Example
uses include filtering noise, adding acceleration, and automatically activating
a layer. To use, define the following function in your keymap:
```c
void ps2_mouse_moved_user(report_mouse_t *mouse_report);
```

View File

@ -1,8 +1,8 @@
# QMK CLI :id=qmk-cli
<!---
original document: 0.8.58:docs/cli.md
git diff 0.8.58 HEAD -- docs/cli.md | cat
original document: 0.9.19:docs/cli.md
git diff 0.9.19 HEAD -- docs/cli.md | cat
-->
## 概要 :id=overview
@ -11,25 +11,24 @@ QMK CLI を使用すると QMK キーボードの構築と作業が簡単にな
### 必要事項 :id=requirements
CLI は Python 3.5 以上を必要とします。我々は必要事項の数を少なくしようとしていますが、[`requirements.txt`](https://github.com/qmk/qmk_firmware/blob/master/requirements.txt) に列挙されているパッケージもインストールする必要があります。これらは QMK CLI をインストールするときに自動的にインストールされます。
QMK は Python 3.6 以上を必要とします。我々は必要事項の数を少なくしようとしていますが、[`requirements.txt`](https://github.com/qmk/qmk_firmware/blob/master/requirements.txt) に列挙されているパッケージもインストールする必要があります。これらは QMK CLI をインストールするときに自動的にインストールされます。
### Homebrew を使ったインストール (macOS、いくつかの Linux) :id=install-using-homebrew
[Homebrew](https://brew.sh) をインストールしている場合は、タップして QMK をインストールすることができます:
```
brew tap qmk/qmk
brew install qmk
brew install qmk/qmk/qmk
export QMK_HOME='~/qmk_firmware' # オプション、`qmk_firmware` の場所を設定します
qmk setup # これは `qmk/qmk_firmware` をクローンし、オプションでビルド環境をセットアップします
```
### easy_install あるいは pip を使ってインストール :id=install-using-easy_install-or-pip
### pip を使ってインストール :id=install-using-easy_install-or-pip
のリストにあなたのシステムがない場合は、QMK を手動でインストールすることができます。最初に、python 3.5 (以降)をインストールしていて、pip をインストールしていることを確認してください。次に以下のコマンドを使って QMK をインストールします:
で列挙した中にあなたのシステムがない場合は、QMK を手動でインストールすることができます。最初に、python 3.6 (以降)をインストールしていて、pip をインストールしていることを確認してください。次に以下のコマンドを使って QMK をインストールします:
```
pip3 install qmk
python3 -m pip install qmk
export QMK_HOME='~/qmk_firmware' # オプション、`qmk_firmware` の場所を設定します
qmk setup # これは `qmk/qmk_firmware` をクローンし、オプションでビルド環境をセットアップします
```

View File

@ -1,48 +1,18 @@
# QMK CLI コマンド
<!---
original document: 0.8.58:docs/cli.md
git diff 0.8.58 HEAD -- docs/cli.md | cat
original document: 0.9.19:docs/cli_command.md
git diff 0.9.19 HEAD -- docs/cli_command.md | cat
-->
# CLI コマンド
## `qmk cformat`
このコマンドは clang-format を使って C コードを整形します。
引数無しで実行すると、変更された全てのコアコードを整形します。デフォルトでは `git diff``origin/master` をチェックし、ブランチは `-b <branch_name>` を使って変更できます。
`-a` で全てのコアコードを整形するか、コマンドラインでファイル名を渡して特定のファイルに対して実行します。
**指定したファイルに対する使い方**:
```
qmk cformat [file1] [file2] [...] [fileN]
```
**全てのコアファイルに対する使い方**:
```
qmk cformat -a
```
**origin/master で変更されたファイルのみに対する使い方**:
```
qmk cformat
```
**branch_name で変更されたファイルのみに対する使い方**:
```
qmk cformat -b branch_name
```
# ユーザー用コマンド
## `qmk compile`
このコマンドにより、任意のディレクトリからファームウェアをコンパイルすることができます。<https://config.qmk.fm> からエクスポートした JSON をコンパイルするか、リポジトリ内でキーマップをコンパイルするか、現在の作業ディレクトリでキーボードをコンパイルすることができます。
このコマンドはディレクトリを認識します。キーボードやキーマップのディレクトリにいる場合、自動的に KEYBOARD や KEYMAP を入力します。
**Configurator Exports での使い方**:
```
@ -113,6 +83,8 @@ $ qmk compile -kb dz60
このコマンドは `qmk compile` に似ていますが、ブートローダを対象にすることもできます。ブートローダはオプションで、デフォルトでは `:flash` に設定されています。
違うブートローダを指定するには、`-bl <bootloader>` を使ってください。利用可能なブートローダの詳細については、[ファームウェアを書き込む](ja/flashing.md)を見てください。
このコマンドはディレクトリを認識します。キーボードやキーマップのディレクトリにいる場合、自動的に KEYBOARD や KEYMAP を入力します。
**Configurator Exports での使い方**:
```
@ -141,16 +113,6 @@ qmk flash -b
qmk config [-ro] [config_token1] [config_token2] [...] [config_tokenN]
```
## `qmk docs`
このコマンドは、ドキュメントを参照または改善するために使うことができるローカル HTTP サーバを起動します。デフォルトのポートは 8936 です。
**使用法**:
```
qmk docs [-p PORT]
```
## `qmk doctor`
このコマンドは環境を調査し、潜在的なビルドあるいは書き込みの問題について警告します。必要に応じてそれらの多くを修正できます。
@ -175,6 +137,32 @@ qmk doctor [-y] [-n]
qmk doctor -n
## `qmk info`
QMK のキーボードやキーマップに関する情報を表示します。キーボードに関する情報を取得したり、レイアウトを表示したり、基礎となるキーマトリックスを表示したり、JSON キーマップをきれいに印刷したりするのに使用できます。
**使用法**:
```
qmk info [-f FORMAT] [-m] [-l] [-km KEYMAP] [-kb KEYBOARD]
```
このコマンドはディレクトリを認識します。キーボードやキーマップのディレクトリにいる場合、自動的に KEYBOARD や KEYMAP を入力します。
**例**:
キーボードの基本情報を表示する:
qmk info -kb planck/rev5
キーボードのマトリクスを表示する:
qmk info -kb ergodox_ez -m
キーボードの JSON キーマップを表示する:
qmk info -kb clueboard/california -km default
## `qmk json2c`
QMK Configurator からエクスポートしたものから keymap.c を生成します。
@ -185,6 +173,86 @@ QMK Configurator からエクスポートしたものから keymap.c を生成
qmk json2c [-o OUTPUT] filename
```
## `qmk list-keyboards`
このコマンドは現在 `qmk_firmware` で定義されている全てのキーボードを列挙します。
**使用法**:
```
qmk list-keyboards
```
## `qmk list-keymaps`
このコマンドは指定されたキーボード(とリビジョン)の全てのキーマップを列挙します。
このコマンドはディレクトリを認識します。キーボードのディレクトリにいる場合、自動的に KEYBOARD を入力します。
**使用法**:
```
qmk list-keymaps -kb planck/ez
```
## `qmk new-keymap`
このコマンドは、キーボードの既存のデフォルトのキーマップに基づいて新しいキーマップを作成します。
このコマンドはディレクトリを認識します。キーボードやキーマップのディレクトリにいる場合、自動的に KEYBOARD や KEYMAP を入力します。
**使用法**:
```
qmk new-keymap [-kb KEYBOARD] [-km KEYMAP]
```
---
# 開発者用コマンド
## `qmk cformat`
このコマンドは clang-format を使って C コードを整形します。
引数無しで実行すると、変更された全てのコアコードを整形します。デフォルトでは `git diff``origin/master` をチェックし、ブランチは `-b <branch_name>` を使って変更できます。
`-a` で全てのコアコードを整形するか、コマンドラインでファイル名を渡して特定のファイルに対して実行します。
**指定したファイルに対する使い方**:
```
qmk cformat [file1] [file2] [...] [fileN]
```
**全てのコアファイルに対する使い方**:
```
qmk cformat -a
```
**origin/master で変更されたファイルのみに対する使い方**:
```
qmk cformat
```
**branch_name で変更されたファイルのみに対する使い方**:
```
qmk cformat -b branch_name
```
## `qmk docs`
このコマンドは、ドキュメントを参照または改善するために使うことができるローカル HTTP サーバを起動します。デフォルトのポートは 8936 です。
**使用法**:
```
qmk docs [-p PORT]
```
## `qmk kle2json`
このコマンドにより、生の KLE データから QMK Configurator の JSON へ変換することができます。絶対パスあるいは現在のディレクトリ内のファイル名のいずれかを受け取ります。デフォルトでは、`info.json` が既に存在している場合は上書きしません。上書きするには、`-f` あるいは `--force` フラグを使ってください。
@ -207,36 +275,6 @@ $ qmk kle2json -f kle.txt -f
Ψ Wrote out to info.json
```
## `qmk list-keyboards`
このコマンドは現在 `qmk_firmware` で定義されている全てのキーボードを列挙します。
**使用法**:
```
qmk list-keyboards
```
## `qmk list-keymaps`
このコマンドは指定されたキーボード(とリビジョン)の全てのキーマップを列挙します。
**使用法**:
```
qmk list-keymaps -kb planck/ez
```
## `qmk new-keymap`
このコマンドは、キーボードの既存のデフォルトのキーマップに基づいて新しいキーマップを作成します。
**使用法**:
```
qmk new-keymap [-kb KEYBOARD] [-km KEYMAP]
```
## `qmk pyformat`
このコマンドは `qmk_firmware` 内の python コードを整形します。

View File

@ -0,0 +1,42 @@
# 互換性のあるマイクロコントローラ
<!---
original document: 0.9.19:docs/compatible_microcontrollers.md
git diff 0.9.19 HEAD -- docs/compatible_microcontrollers.md | cat
-->
QMK は十分な容量のフラッシュメモリを備えた USB 対応 AVR または ARM マイクロコントローラで実行されます - 一般的に 32kB 以上ですが、ほとんどの機能を無効にすると*ほんの* 16kB に詰め込むことができます。
## Atmel AVR
以下は、USB スタックとして [LUFA](https://www.fourwalledcubicle.com/LUFA.php) を使います:
* [ATmega16U2](https://www.microchip.com/wwwproducts/en/ATmega16U2) / [ATmega32U2](https://www.microchip.com/wwwproducts/en/ATmega32U2)
* [ATmega16U4](https://www.microchip.com/wwwproducts/en/ATmega16U4) / [ATmega32U4](https://www.microchip.com/wwwproducts/en/ATmega32U4)
* [AT90USB64](https://www.microchip.com/wwwproducts/en/AT90USB646) / [AT90USB128](https://www.microchip.com/wwwproducts/en/AT90USB1286)
組み込みの USB インターフェースを持たない、いくつかの MCU は代わりに [V-USB](https://www.obdev.at/products/vusb/index.html) を使います:
* [ATmega32A](https://www.microchip.com/wwwproducts/en/ATmega32A)
* [ATmega328P](https://www.microchip.com/wwwproducts/en/ATmega328P)
* [ATmega328](https://www.microchip.com/wwwproducts/en/ATmega328)
## ARM
[ChibiOS](http://www.chibios.org) がサポートする USB 付きの ARM チップを使うこともできます。ほとんどのチップには十分な容量のフラッシュメモリがあります。動作するとわかっているのは:
### STMicroelectronics (STM32)
* [STM32F0x2](https://www.st.com/en/microcontrollers-microprocessors/stm32f0x2.html)
* [STM32F103](https://www.st.com/en/microcontrollers-microprocessors/stm32f103.html)
* [STM32F303](https://www.st.com/en/microcontrollers-microprocessors/stm32f303.html)
### NXP (Kinetis)
* [MKL26Z64](https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/general-purpose-mcus/kl-series-cortex-m0-plus/kinetis-kl2x-72-96-mhz-usb-ultra-low-power-microcontrollers-mcus-based-on-arm-cortex-m0-plus-core:KL2x)
* [MK20DX128](https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/general-purpose-mcus/k-series-cortex-m4/k2x-usb/kinetis-k20-50-mhz-full-speed-usb-mixed-signal-integration-microcontrollers-based-on-arm-cortex-m4-core:K20_50)
* [MK20DX256](https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/general-purpose-mcus/k-series-cortex-m4/k2x-usb/kinetis-k20-72-mhz-full-speed-usb-mixed-signal-integration-microcontrollers-mcus-based-on-arm-cortex-m4-core:K20_72)
## Atmel ATSAM
Atmel の ATSAM マイクロコントローラの一つである、[Massdrop keyboards](https://github.com/qmk/qmk_firmware/tree/master/keyboards/massdrop) で使用されている [ATSAMD51J18A](https://www.microchip.com/wwwproducts/en/ATSAMD51J18A) には限定的なサポートがあります。

View File

@ -0,0 +1,69 @@
# ドキュメントベストプラクティス
<!---
original document: 0.9.19:docs/documentation_best_practices.md
git diff 0.9.19 HEAD -- docs/documentation_best_practices.md | cat
-->
このページは QMK のためのドキュメントを作成する時のベストプラクティスを文章化するためのものです。これらのガイドラインに従うことで、一貫したトーンとスタイルを維持することでき、他の人が QMK をより理解しやすくすることができます。
# ページの開始
ドキュメントページは通常 H1 ヘッダで始まり、最初の段落を使ってこのページの内容を説明します。この見出しと段落は目次の次にあるため、見出しは短くして空白の無い長い文字列を避けるように気を付けてください。
例:
```
# My Page Title
This page covers my super cool feature. You can use this feature to make coffee, squeeze fresh oj, and have an egg mcmuffin and hashbrowns delivered from your local macca's by drone.
```
# 見出し
通常、ページには複数の "H1" 見出しが有るべきです。H1 と H2 見出しのみが目次に含まれるので、適切に計画してください。目次が広くなりすぎないように、H1 と H2 の見出しでは幅を広げないようにしてください。
# スタイル付きのヒントブロック
注意を引くためにテキストの周りにスタイル付きのヒントブロックを描くことができます。
### 重要なもの
```
!> This is important
```
以下のように表示されます:
!> This is important
### 一般的なヒント
```
?> This is a helpful tip.
```
以下のように表示されます:
?> This is a helpful tip.
# 機能を文章化する
QMK のために新しい機能を作成した場合、そのドキュメントページを作成してください。長い必要は無く、機能を説明する幾つかの文と、関連するキーコードを列挙した表で十分です。以下は基本的なテンプレートです:
```markdown
# My Cool Feature
This page describes my cool feature. You can use my cool feature to make coffee and order cream and sugar to be delivered via drone.
## My Cool Feature Keycodes
|Long Name|Short Name|Description|
|---------|----------|-----------|
|KC_COFFEE||Make Coffee|
|KC_CREAM||Order Cream|
|KC_SUGAR||Order Sugar|
```
ドキュメントを `docs/feature_<my_cool_feature>.md` に配置し、そのファイルを `docs/_summary.md` の適切な場所に追加します。キーコードを追加した場合は、機能ページに戻るリンクとともに `docs/keycodes.md` に追加するようにしてください。

View File

@ -0,0 +1,45 @@
# ドキュメントテンプレート
<!---
original document: 0.9.19:docs/documentation_templates.md
git diff 0.9.19 HEAD -- docs/documentation_templates.md | cat
-->
このページでは、新しいキーマップやキーボードを QMK に提出する際に使うべきテンプレートをまとめています。
## キーマップ `readme.md` テンプレート :id=keyboard-readmemd-template
ほとんどのキーマップには、レイアウトを表す画像があります。画像を作成するには、[Keyboard Layout Editor](http://keyboard-layout-editor.com) を使うことができます。画像は [Imgur](http://imgur.com) や別のホスティングサービスにアップロードし、プルリクエストに画像を含めないでください。
画像の下には、キーマップを理解してもらうための簡単な説明文を書いてください。
```
![Clueboard Layout Image](http://i.imgur.com/7Capi8W.png)
# Default Clueboard Layout
This is the default layout that comes flashed on every Clueboard. For the most
part it's a straightforward and easy to follow layout. The only unusual key is
the key in the upper left, which sends Escape normally, but Grave when any of
the Ctrl, Alt, or GUI modifiers are held down.
```
## キーボード `readme.md` テンプレート
```
# Planck
![Planck](http://i.imgur.com/q2M3uEU.jpg)
A compact 40% (12x4) ortholinear keyboard kit made and sold by OLKB and Massdrop. [More info on qmk.fm](http://qmk.fm/planck/)
* Keyboard Maintainer: [Jack Humbert](https://github.com/jackhumbert)
* Hardware Supported: Planck PCB rev1, rev2, rev3, rev4, Teensy 2.0
* Hardware Availability: [OLKB.com](https://olkb.com), [Massdrop](https://www.massdrop.com/buy/planck-mechanical-keyboard?mode=guest_open)
Make example for this keyboard (after setting up your build environment):
make planck/rev4: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).
```

View File

@ -0,0 +1,104 @@
#Persistent
#SingleInstance force
;=================================================================
; Macro Pad Shortcuts ;
;=================================================================
;=================================================================
; Layer 0
;;=================================================================
;Row 1
F13::Send a
F14::Send b
F15::Send c
F16::Send d
;Row 2
F17::Send e
F18::Send f
F19::Send g
F20::Send h
;Row 3
F21::Send i
F22::Send j
F23::Send k
F24::Send l
;=================================================================
; Layer 1
;;=================================================================
;Row 1
!F13::Send m
!F14::Send n
!F15::Send o
!F16::Send p
;Row 2
!F17::Send q
!F18::Send r
!F19::Send s
!F20::Send t
;Row 3
!F21::Send u
!F22::Send v
!F23::Send w
!F24::Send x
;=================================================================
; Layer 2
;;=================================================================
;Row 1
+F13::Send y
+F14::Send z
+F15::Send A
+F16::Send B
;Row 2
+F17::Send C
+F18::Send D
+F19::Send E
+F20::Send F
;Row 3
+F21::Send G
+F22::Send H
+F23::Send I
+F24::Send J
;=================================================================
; Layer 3
;;=================================================================
;Row 1
^F13::Send K
^F14::Send L
^F15::Send M
^F16::Send N
;Row 2
^F17::Send O
^F18::Send P
^F19::Send Q
^F20::Send R
;Row 3
^F21::Send S
^F22::Send T
^F23::Send U
^F24::Send V

View File

@ -0,0 +1,19 @@
#pragma once
// Time out one shot layers after 3 seconds
#define ONESHOT_TIMEOUT 3000
#define RGBLED_NUM 16
// Undef and redefine default brightness to half of 255
#undef RGBLIGHT_LIMIT_VAL
#define RGBLIGHT_LIMIT_VAL 128
//Define a preview timeout for RGB reviews
#define PREVIEW_TIMEOUT 5000
#define TAPPING_TERM 200
// Enable Light Layers implementation
#define RGBLIGHT_LAYERS
// Allow Light Layers to override RGB off configuration
#define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF

View File

@ -0,0 +1,136 @@
#include QMK_KEYBOARD_H
#if defined(RGBLIGHT_ENABLE) && defined(RGBLIGHT_LAYERS)
static uint32_t rgb_preview_timer = 0;
#endif
extern rgblight_config_t rgblight_config;
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
//Layer 0 - Base Layer (F13 to F24, and One Shot Layer 1,2,3 or Toggle Layer 4)
[0] = LAYOUT_ortho_4x4(
KC_F13, KC_F14, KC_F15, KC_F16,
KC_F17, KC_F18, KC_F19, KC_F20,
KC_F21, KC_F22, KC_F23, KC_F24,
OSL(1), OSL(2), OSL(3), TG(4) //Transparent to let you go between layers
),
[1] = LAYOUT_ortho_4x4(
LALT(KC_F13), LALT(KC_F14), LALT(KC_F15), LALT(KC_F16),
LALT(KC_F17), LALT(KC_F18), LALT(KC_F19), LALT(KC_F20),
LALT(KC_F21), LALT(KC_F22), LALT(KC_F23), LALT(KC_F24),
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS //Transparent to let you go between layers
),
//Layer 2 - Shift + Function Key Layer
[2] = LAYOUT_ortho_4x4(
LSFT(KC_F13), LSFT(KC_F14), LSFT(KC_F15), LSFT(KC_F16),
LSFT(KC_F17), LSFT(KC_F18), LSFT(KC_F19), LSFT(KC_F20),
LSFT(KC_F21), LSFT(KC_F22), LSFT(KC_F23), LSFT(KC_F24),
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS //Transparent to let you go between layers
),
//Layer 3 - Control + Function Key
[3] = LAYOUT_ortho_4x4(
LCTL(KC_F13), LCTL(KC_F14), LCTL(KC_F15), LCTL(KC_F16),
LCTL(KC_F17), LCTL(KC_F18), LCTL(KC_F19), LCTL(KC_F20),
LCTL(KC_F21), LCTL(KC_F22), LCTL(KC_F23), LCTL(KC_F24),
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS //Transparent to let you go between layers
),
//Layer 4 - Multimedia
[4] = LAYOUT_ortho_4x4(
KC_MPRV, KC_MPLY, KC_MNXT, KC_VOLU,
KC_NO, KC_NO, KC_NO, KC_MUTE,
KC_NO, RESET, EEP_RST, KC_VOLD,
TG(5), KC_TRNS, KC_TRNS, KC_TRNS //Transparent to let you go between layers
),
//Layer 5 - Keyboard Lights, Programming and Special Functions
[5] = LAYOUT_ortho_4x4(
RGB_MOD, RGB_HUI, RGB_SAI, RGB_VAI,
RGB_RMOD, RGB_HUD, RGB_SAD, RGB_VAD,
RGB_TOG, EEP_RST, RESET, KC_LSHIFT,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS //Transparent to let you go between layers
),
};
const rgblight_segment_t PROGMEM my_layer0_layer[] = RGBLIGHT_LAYER_SEGMENTS(
{0,16,HSV_ORANGE}
);
const rgblight_segment_t PROGMEM my_layer1_layer[] = RGBLIGHT_LAYER_SEGMENTS(
{0,16,HSV_GREEN}
);
const rgblight_segment_t PROGMEM my_layer2_layer[] = RGBLIGHT_LAYER_SEGMENTS(
{0,16,HSV_RED}
);
const rgblight_segment_t PROGMEM my_layer3_layer[] = RGBLIGHT_LAYER_SEGMENTS(
{0,16,HSV_BLUE}
);
const rgblight_segment_t PROGMEM my_layer4_layer[] = RGBLIGHT_LAYER_SEGMENTS(
{0,16,HSV_WHITE}
);
const rgblight_segment_t PROGMEM my_layer5_layer[] = RGBLIGHT_LAYER_SEGMENTS(
{0,16,HSV_TEAL}
);
const rgblight_segment_t* const PROGMEM my_rgb_layers[] = RGBLIGHT_LAYERS_LIST(
my_layer0_layer,
my_layer1_layer,
my_layer2_layer,
my_layer3_layer,
my_layer4_layer,
my_layer5_layer
);
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
return true;
}
void post_process_record_user(uint16_t keycode, keyrecord_t *record) {
// Allow for a preview of changes when modifying RGB
# if defined(RGBLIGHT_ENABLE) && defined(RGBLIGHT_LAYERS)
switch (keycode) {
case RGB_TOG ... VLK_TOG:
for (uint8_t i = 0; i < RGBLIGHT_MAX_LAYERS; i++) {
rgblight_set_layer_state(i, false);
}
rgb_preview_timer = timer_read32();
break;
}
# endif
return;
}
//Set the appropriate layer color
layer_state_t layer_state_set_user(layer_state_t state) {
rgblight_set_layer_state(1, layer_state_cmp(state, 1));
rgblight_set_layer_state(2, layer_state_cmp(state, 2));
rgblight_set_layer_state(3, layer_state_cmp(state, 3));
rgblight_set_layer_state(4, layer_state_cmp(state, 4));
rgblight_set_layer_state(5, layer_state_cmp(state, 5));
return state;
}
void keyboard_post_init_user(void) {
//Enable the LED layers
rgblight_layers = my_rgb_layers;
layer_state_set_user(layer_state);
}
void matrix_scan_user(void) {
# if defined(RGBLIGHT_ENABLE) && defined(RGBLIGHT_LAYERS)
// Allow preview for
if (rgb_preview_timer && TIMER_DIFF_32(timer_read32(), rgb_preview_timer) > PREVIEW_TIMEOUT) {
rgb_preview_timer = 0;
default_layer_state_set_user(default_layer_state);
layer_state_set_user(layer_state);
led_update_user((led_t) host_keyboard_leds());
}
# endif
}
//EEPROM Reset Function
void eeconfig_init_user(void) {
rgblight_enable(); // Enable RGB by default
rgblight_sethsv_orange(); // Set it to orange by default
}

View File

@ -0,0 +1,58 @@
## AutoHotKey Companion ##
### Overview ###
AutoHotKey Companion Keymap for <a href="https://www.1upkeyboards.com/shop/keyboard-kits/macro-pads/super-16-macro-pad/">1upkeyboards Super16</a> is designed be a quick and easy way to get started with AutoHotKey and to provide a foundation for customizing your own macropad. I chose the Super16 because it provided an easy way (RGB) to identify what layer I was on with a quick glance or peripheral vision. The F13 to F24 keys were selected as they are rarely used so you won't run into conflicts with existing application shortcuts and AutoHotKey recognizes them without any issues.
Same functionality can be accomplished with other similar applications on the host system like Keyboard Maestro, AutoIt, etc.
* <a href="https://www.autohotkey.com">AutoHotKey</a>(Windows)
* <a href="https://www.autoitscript.com/site/autoit/">AutoIT</a> (Windows)
* <a href="https://www.keyboardmaestro.com/main/">Keyboard Maestro</a>(Mac)
* <a href="https://github.com/autokey/autokey">AutoKey</a>(Linux)
This keymap allows for a total of 48 Function/Macro keys that are accessible within 2 sequential key presses (or more when extended with your own code and additional layers)
### Alternate Implementations ###
I chose to use <a href="https://docs.qmk.fm/#/feature_layers?id=switching-and-toggling-layers">QMK OSL</a> (One Shot Layer) functionality to avoid having to hold a key while selecting the next key and to have my layers always go back to the default layer as the starting point. This also helps me avoid having to cognitively remember what layer I am on.
If persistent behavior is prefered, OSL can be swapped for TG which will toggle the layer on/off with a key press instead of clearing the layer once the Function key is pressed. This is useful if a layer contains several keys that need to be used in sequence. I also added a OSL timeout of 3 seconds, so that if the key is not pressed within 3 seconds the layer will go back to default. This can be adjusted in the config.h file by increasing 3000 to a desired value: `#define ONESHOT_TIMEOUT 3000`
### Layers ###
While the first 5 layers are accessible with only 1 key press at most, the 5th (less frequently used) layer is accessed by first going to the 4th layer, which makes the TG(5) button available on the bottom left. Space for additional 2 more layer toggles is available on the 2 middle buttons on the bottom row. Please refer to the layer diagrams.
* Layer 0 (Base Layer) - the default layer and functions like sending the F13 to F24 keys along with the bottom row to activate another 4 layers.
![Image of Base Layer ](https://i.imgur.com/0LhityX.png)
* Layer 1 (Alt Layer) - Equivalent to Alt+Fxx key being pressed
![Image of Layer 1 ](https://i.imgur.com/ZblqLZt.png)
* Layer 2 (Shift Layer) - Equivalent to Shift+Fxx key being pressed
![Image of Layer 2 ](https://i.imgur.com/ZQHwLC0.png)
* Layer 3 (Control Layer) - Equivalent to Ctrl+Fxx key being pressed
![Image of Layer 3 ](https://i.imgur.com/JkM8bqV.png)
* Layer 4 (Config Layer) - Layer for multimedia. You can replace the KC_TRNS on this layer in keymap.c to TG(x) to enable additional layers.
![Image of Layer 4 ](https://i.imgur.com/srDp5Lv.png)
* Layer 5 (RGB Control/QMK) - RGB control layer and Quantum functions (Reset, EEPROM Reset, )
![Image of Layer 5 ](https://i.imgur.com/Os3n8dx.png)
### Host Configuration ###
Once the keymap has been flashed to the Super16, you can download the accompanying AutoHotKey file or create your own and have it start automatically either via a Windows Task or another way. Using AutoHotKey allows adjustment of functionality of the buttons without the need to change your map and reflash the macropad every time.
Starting the AHK file can be done either by:
* Creating a Windows Task
* Adding the AHK to the startup folder
* Launch manually

View File

@ -0,0 +1,2 @@
RGB_MATRIX_ENABLE = no
RGBLIGHT_ENABLE = yes

View File

@ -0,0 +1,130 @@
{
"keyboard_name": "Aegis",
"url": "",
"maintainer": "qmk",
"width": 19.5,
"height": 6.75,
"layouts": {
"LAYOUT_aegis": {
"layout": [
{"x": 0, "y": 0},
{"x": 1, "y": 0},
{"x": 2, "y": 0},
{"x": 3, "y": 0},
{"x": 4.5, "y": 0},
{"x": 6.5, "y": 0},
{"x": 7.5, "y": 0},
{"x": 8.5, "y": 0},
{"x": 9.5, "y": 0},
{"x": 11, "y": 0},
{"x": 12, "y": 0},
{"x": 13, "y": 0},
{"x": 14, "y": 0},
{"x": 15.5, "y": 0},
{"x": 16.5, "y": 0},
{"x": 17.5, "y": 0},
{"x": 18.5, "y": 0},
{"x": 0, "y": 1.5},
{"x": 1, "y": 1.5},
{"x": 2, "y": 1.5},
{"x": 3, "y": 1.5},
{"x": 4.5, "y": 1.5},
{"x": 5.5, "y": 1.5},
{"x": 6.5, "y": 1.5},
{"x": 7.5, "y": 1.5},
{"x": 8.5, "y": 1.5},
{"x": 9.5, "y": 1.5},
{"x": 10.5, "y": 1.5},
{"x": 11.5, "y": 1.5},
{"x": 12.5, "y": 1.5},
{"x": 13.5, "y": 1.5},
{"x": 14.5, "y": 1.5},
{"x": 15.5, "y": 1.5},
{"x": 16.5, "y": 1.5},
{"x": 17.5, "y": 1.5},
{"x": 18.5, "y": 1.5},
{"x": 0, "y": 2.5},
{"x": 1, "y": 2.5},
{"x": 2, "y": 2.5},
{"x": 3, "y": 2.5},
{"x": 4.5, "y": 2.5, "w": 1.5},
{"x": 6, "y": 2.5},
{"x": 7, "y": 2.5},
{"x": 8, "y": 2.5},
{"x": 9, "y": 2.5},
{"x": 10, "y": 2.5},
{"x": 11, "y": 2.5},
{"x": 12, "y": 2.5},
{"x": 13, "y": 2.5},
{"x": 14, "y": 2.5},
{"x": 15, "y": 2.5},
{"x": 16, "y": 2.5},
{"x": 17, "y": 2.5},
{"x": 18, "y": 2.5, "w": 1.5},
{"x": 0, "y": 3.5},
{"x": 1, "y": 3.5},
{"x": 2, "y": 3.5},
{"x": 3, "y": 3.5},
{"x": 4.5, "y": 3.5, "w": 1.75},
{"x": 6.25, "y": 3.5},
{"x": 7.25, "y": 3.5},
{"x": 8.25, "y": 3.5},
{"x": 9.25, "y": 3.5},
{"x": 10.25, "y": 3.5},
{"x": 11.25, "y": 3.5},
{"x": 12.25, "y": 3.5},
{"x": 13.25, "y": 3.5},
{"x": 14.25, "y": 3.5},
{"x": 15.25, "y": 3.5},
{"x": 16.25, "y": 3.5},
{"x": 17.25, "y": 3.5, "w": 2.25},
{"x": 0, "y": 4.5},
{"x": 1, "y": 4.5},
{"x": 2, "y": 4.5},
{"x": 3, "y": 4.5},
{"x": 4.25, "y": 4.75},
{"x": 5.5, "y": 4.5, "w": 1.25},
{"x": 6.75, "y": 4.5},
{"x": 7.75, "y": 4.5},
{"x": 8.75, "y": 4.5},
{"x": 9.75, "y": 4.5},
{"x": 10.75, "y": 4.5},
{"x": 11.75, "y": 4.5},
{"x": 12.75, "y": 4.5},
{"x": 13.75, "y": 4.5},
{"x": 14.75, "y": 4.5},
{"x": 15.75, "y": 4.5},
{"x": 16.75, "y": 4.5, "w": 1.75},
{"x": 18.5, "y": 4.5},
{"x": 0, "y": 5.5},
{"x": 1, "y": 5.5},
{"x": 2, "y": 5.5},
{"x": 3.25, "y": 5.75},
{"x": 4.25, "y": 5.75},
{"x": 5.25, "y": 5.75},
{"x": 6.5, "y": 5.5, "w": 1.25},
{"x": 7.75, "y": 5.5, "w": 1.25},
{"x": 9, "y": 5.5, "w": 6.25},
{"x": 15.25, "y": 5.5, "w": 1.5},
{"x": 16.75, "y": 5.5, "w": 1.25},
{"x": 18, "y": 5.5, "w": 1.5}
]
}
}
}

View File

@ -0,0 +1,110 @@
{
"keyboard_name": "Ext65",
"url": "",
"maintainer": "qmk",
"width": 20.5,
"height": 5,
"layouts": {
"LAYOUT_ext65": {
"layout": [
{"x": 0, "y": 0},
{"x": 1, "y": 0},
{"x": 2, "y": 0},
{"x": 3, "y": 0},
{"x": 4.5, "y": 0},
{"x": 5.5, "y": 0},
{"x": 6.5, "y": 0},
{"x": 7.5, "y": 0},
{"x": 8.5, "y": 0},
{"x": 9.5, "y": 0},
{"x": 10.5, "y": 0},
{"x": 11.5, "y": 0},
{"x": 12.5, "y": 0},
{"x": 13.5, "y": 0},
{"x": 14.5, "y": 0},
{"x": 15.5, "y": 0},
{"x": 16.5, "y": 0},
{"x": 17.5, "y": 0},
{"x": 18.5, "y": 0},
{"x": 19.5, "y": 0},
{"x": 0, "y": 1},
{"x": 1, "y": 1},
{"x": 2, "y": 1},
{"x": 3, "y": 1},
{"x": 4.5, "y": 1, "w": 1.5},
{"x": 6, "y": 1},
{"x": 7, "y": 1},
{"x": 8, "y": 1},
{"x": 9, "y": 1},
{"x": 10, "y": 1},
{"x": 11, "y": 1},
{"x": 12, "y": 1},
{"x": 13, "y": 1},
{"x": 14, "y": 1},
{"x": 15, "y": 1},
{"x": 16, "y": 1},
{"x": 17, "y": 1},
{"x": 18, "y": 1, "w": 1.5},
{"x": 19.5, "y": 1},
{"x": 0, "y": 2},
{"x": 1, "y": 2},
{"x": 2, "y": 2},
{"x": 3, "y": 2},
{"x": 4.5, "y": 2, "w": 1.75},
{"x": 6.25, "y": 2},
{"x": 7.25, "y": 2},
{"x": 8.25, "y": 2},
{"x": 9.25, "y": 2},
{"x": 10.25, "y": 2},
{"x": 11.25, "y": 2},
{"x": 12.25, "y": 2},
{"x": 13.25, "y": 2},
{"x": 14.25, "y": 2},
{"x": 15.25, "y": 2},
{"x": 16.25, "y": 2},
{"x": 17.25, "y": 2, "w": 2.25},
{"x": 19.5, "y": 2},
{"x": 0, "y": 3},
{"x": 1, "y": 3},
{"x": 2, "y": 3},
{"x": 3, "y": 3},
{"x": 4.5, "y": 3, "w": 2.25},
{"x": 6.75, "y": 3},
{"x": 7.75, "y": 3},
{"x": 8.75, "y": 3},
{"x": 9.75, "y": 3},
{"x": 10.75, "y": 3},
{"x": 11.75, "y": 3},
{"x": 12.75, "y": 3},
{"x": 13.75, "y": 3},
{"x": 14.75, "y": 3},
{"x": 15.75, "y": 3},
{"x": 16.75, "y": 3, "w": 1.75},
{"x": 18.5, "y": 3},
{"x": 19.5, "y": 3},
{"x": 0, "y": 4},
{"x": 1, "y": 4},
{"x": 2, "y": 4},
{"x": 3, "y": 4},
{"x": 4.5, "y": 4, "w": 1.5},
{"x": 6, "y": 4},
{"x": 7, "y": 4, "w": 1.5},
{"x": 8.5, "y": 4, "w": 6.25},
{"x": 14.75, "y": 4, "w": 1.25},
{"x": 16, "y": 4},
{"x": 17.5, "y": 4},
{"x": 18.5, "y": 4},
{"x": 19.5, "y": 4}
]
}
}
}

16
keyboards/arisu/arisu.c Normal file
View File

@ -0,0 +1,16 @@
/* Copyright 2019 Fate
*
* 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 "arisu.h"

42
keyboards/arisu/arisu.h Normal file
View File

@ -0,0 +1,42 @@
/* Copyright 2019 Fate
*
* 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 "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 XXX KC_NO
#define LAYOUT( \
k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, k0E, k1E, \
k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1D, k2E, \
k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2C, k3E, \
k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3D, \
k40, k42, k44, k45, k47, k49, k4C, k4D, k4E \
) \
{ \
{ 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, k1E }, \
{ k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2C, XXX, k2E }, \
{ k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, XXX, k3D, k3E }, \
{ k40, XXX, k42, XXX, k44, k45, XXX, k47, XXX, k49, XXX, XXX, k4C, k4D, k4E } \
}

208
keyboards/arisu/config.h Normal file
View File

@ -0,0 +1,208 @@
/*
Copyright 2019 Fate
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 0xFA7E
#define PRODUCT_ID 0x0000
#define DEVICE_VER 0x0001
#define MANUFACTURER Fate
#define PRODUCT arisu
#define DESCRIPTION alice counterpart keyboard
/* 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 { D0, D1, D2, D3, D5 }
#define MATRIX_COL_PINS { F0, F1, E6, C7, C6, B6, D4, B1, B0, B7, B5, B4, D7, D6, B3 }
#define UNUSED_PINS
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
// #define BACKLIGHT_PIN B7
// #define BACKLIGHT_BREATHING
// #define BACKLIGHT_LEVELS 3
// #define RGB_DI_PIN E2
// #ifdef RGB_DI_PIN
// #define RGBLED_NUM 16
// #define RGBLIGHT_HUE_STEP 8
// #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 */
// /*== 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
// #endif
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
#define DEBOUNCE 5
/* define if matrix has ghost (lacks anti-ghosting diodes) */
//#define MATRIX_HAS_GHOST
/* number of backlight levels */
/* 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
/* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
* This is userful for the Windows task manager shortcut (ctrl+shift+esc).
*/
// #define GRAVE_ESC_CTRL_OVERRIDE
/*
* Force NKRO
*
* Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
* state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
* makefile for this to work.)
*
* If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
* until the next keyboard reset.
*
* NKRO may prevent your keystrokes from being detected in the BIOS, but it is
* fully operational during normal computer usage.
*
* For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
* or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
* bootmagic, NKRO mode will always be enabled until it is toggled again during a
* power-up.
*
*/
//#define FORCE_NKRO
/*
* Magic Key Options
*
* Magic keys are hotkey commands that allow control over firmware functions of
* the keyboard. They are best used in combination with the HID Listen program,
* found here: https://www.pjrc.com/teensy/hid_listen.html
*
* The options below allow the magic key functionality to be changed. This is
* useful if your keyboard/keypad is missing keys and you want magic key support.
*
*/
/* key combination for magic key command */
/* defined by default; to change, uncomment and set to the combination you want */
// #define IS_COMMAND() (get_mods() == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)))
/* control how magic key switches layers */
//#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true
//#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true
//#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM false
/* override magic key keymap */
//#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS
//#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS
//#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM
//#define MAGIC_KEY_HELP H
//#define MAGIC_KEY_HELP_ALT SLASH
//#define MAGIC_KEY_DEBUG D
//#define MAGIC_KEY_DEBUG_MATRIX X
//#define MAGIC_KEY_DEBUG_KBD K
//#define MAGIC_KEY_DEBUG_MOUSE M
//#define MAGIC_KEY_VERSION V
//#define MAGIC_KEY_STATUS S
//#define MAGIC_KEY_CONSOLE C
//#define MAGIC_KEY_LAYER0 0
//#define MAGIC_KEY_LAYER0_ALT GRAVE
//#define MAGIC_KEY_LAYER1 1
//#define MAGIC_KEY_LAYER2 2
//#define MAGIC_KEY_LAYER3 3
//#define MAGIC_KEY_LAYER4 4
//#define MAGIC_KEY_LAYER5 5
//#define MAGIC_KEY_LAYER6 6
//#define MAGIC_KEY_LAYER7 7
//#define MAGIC_KEY_LAYER8 8
//#define MAGIC_KEY_LAYER9 9
//#define MAGIC_KEY_BOOTLOADER B
//#define MAGIC_KEY_BOOTLOADER_ALT ESC
//#define MAGIC_KEY_LOCK CAPS
//#define MAGIC_KEY_EEPROM E
//#define MAGIC_KEY_EEPROM_CLEAR BSPACE
//#define MAGIC_KEY_NKRO N
//#define MAGIC_KEY_SLEEP_LED Z
/*
* 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
//#define NO_ACTION_MACRO
//#define NO_ACTION_FUNCTION
/*
* 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
/* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
//#define MIDI_TONE_KEYCODE_OCTAVES 1

View File

@ -0,0 +1,34 @@
/* Copyright 2019 Fate
*
* 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(
KC_GESC, 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_BSLS, KC_GRV, KC_PGUP,
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_BSPC, KC_PGDN,
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, MO(1),
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_LCTL, KC_LALT, KC_SPC, KC_LGUI, KC_SPC, KC_RALT, KC_LEFT, KC_DOWN, KC_RGHT
),
[1] = LAYOUT(
_______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, _______,
_______, _______, _______, _______, RESET, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______
)
};

View File

@ -0,0 +1 @@
# The default keymap for arisu

View File

@ -0,0 +1,67 @@
/* Copyright 2019 Fate
*
* 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
enum arisu_layers {
_QWERTY,
_FN,
_ADJUST
};
// Tap Dance Declarations
enum {
TD_LALT_LGUI = 0,
TD_RALT_RGUI
};
#define FN MO(_FN)
#define ADJUST MO(_ADJUST)
#define LALT_LG TD(TD_LALT_LGUI)
#define RALT_RG TD(TD_RALT_RGUI)
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_QWERTY] = LAYOUT(
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_BSLS, KC_GRV, KC_PGUP,
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_BSPC, KC_PGDN,
KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, ADJUST,
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_LCTL, LALT_LG, KC_SPC, FN, KC_SPC, RALT_RG, KC_LEFT, KC_DOWN, KC_RGHT
),
[_FN] = LAYOUT(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
KC_CAPS, _______, _______, _______, _______, _______, _______, KC_PSCR, KC_SLCK, KC_PAUS, _______, _______, _______, KC_DEL, _______,
_______, 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_APP, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______
),
[_ADJUST] = LAYOUT(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_HOME,
KC_CAPS, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL, KC_END,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MPLY, _______,
_______, _______, _______, _______, _______, RESET, _______, _______, _______, _______, _______, _______, KC_VOLU,
_______, _______, _______, _______, _______, _______, KC_MPRV, KC_VOLD, KC_MNXT
)
};
// Tap Dance Definitions
qk_tap_dance_action_t tap_dance_actions[] = {
// Tap once for L-Alt, twice for L-GUI
[TD_LALT_LGUI] = ACTION_TAP_DANCE_DOUBLE(KC_LALT, KC_LGUI),
// Tap once for R-Alt, twice for R-GUI
[TD_RALT_RGUI] = ACTION_TAP_DANCE_DOUBLE(KC_RALT, KC_RGUI)
};

View File

@ -0,0 +1 @@
# The keymap of arisu's creator

View File

@ -0,0 +1 @@
TAP_DANCE_ENABLE = yes

View File

@ -0,0 +1,39 @@
/* Copyright 2019 Fate
*
* 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 the keycodes used by our macros in process_record_user
#define FN MO(1)
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT( /* Base */
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_GRV, KC_BSPC, KC_PGUP,
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_BSPC, KC_PGDN,
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, FN,
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_LCTL, KC_LALT, KC_SPC, KC_LGUI, KC_SPC, KC_RALT, KC_LEFT, KC_DOWN, KC_RGHT
),
[1] = LAYOUT(
_______, 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, KC_HOME,
_______, _______, _______, _______, RESET, _______, _______, _______, _______, _______, KC_PSCR, _______, _______, _______, KC_END,
_______, 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_BSLS, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______
)
};

View File

@ -0,0 +1,49 @@
/* Copyright 2019 Fate
*
* 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(
KC_GESC, 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_BSLS, KC_GRV, KC_PGUP,
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_BSPC, KC_PGDN,
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, MO(1),
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_LCTL, KC_LALT, KC_SPC, KC_LGUI, KC_SPC, KC_RALT, KC_LEFT, KC_DOWN, KC_RGHT
),
[1] = LAYOUT(
_______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, _______,
_______, _______, _______, _______, RESET, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______
),
[2] = LAYOUT(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______
),
[3] = LAYOUT(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______
)
};

View File

@ -0,0 +1 @@
VIA_ENABLE = yes

17
keyboards/arisu/readme.md Normal file
View File

@ -0,0 +1,17 @@
# arisu
![Arisu](https://i.imgur.com/knt518E.jpg)
![Arisu-top](https://i.imgur.com/wsqCuEu.jpg)
![アリス](https://i.redd.it/n80mvj5v7ji21.jpg)
A keyboard inspired by Lyn's EM7 and TGR Alice.
* Keyboard Maintainer: [Fate](https://github.com/FateNozomi)
* Hardware Supported: Arisu
* Hardware Availability: [PCB](https://github.com/FateNozomi/arisu-pcb) + [Case](https://github.com/FateNozomi/arisu-case)
Make example for this keyboard (after setting up your build environment):
make arisu: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).

24
keyboards/arisu/rules.mk Normal file
View File

@ -0,0 +1,24 @@
# MCU name
MCU = atmega32u4
# Bootloader selection
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 = no # 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 = no # Enable keyboard RGB underglow
MIDI_ENABLE = no # MIDI support
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

View File

@ -86,7 +86,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_SLSH,
KC_GRV, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_MINS,
KC_LSFT, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_RSFT,
KC_LCTL, KC_LALT, KC_LEFT, KC_RGHT, LOWER, KC_BSPC, KC_LALT, CTL_ENT, KC_SPC, RAISE, KC_UP, KC_DOWN, KC_RGUI, KC_ENT
KC_LCTL, KC_LALT, KC_LEFT, KC_RGHT, LOWER, KC_BSPC, KC_LALT, CTL_ENT, KC_SPC, RAISE, KC_UP, KC_DOWN, KC_RGUI, KC_RCTL
),
[_DESTINY] = LAYOUT ( /* Dvorak with minor modifications for playing Destiny 2 and other FPS Looters */
@ -94,7 +94,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_SLSH,
KC_GRV, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_MINS,
KC_LSFT, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_RSFT,
KC_LCTL, KC_LALT, KC_LEFT, KC_RGHT, LOWER, KC_BSPC, KC_DEL, KC_ENT, KC_SPC, RAISE, KC_UP, KC_DOWN, KC_RGUI, KC_ENT
KC_LCTL, KC_LALT, KC_LEFT, KC_RGHT, LOWER, KC_BSPC, KC_DEL, KC_ENT, KC_SPC, RAISE, KC_UP, KC_DOWN, KC_RGUI, KC_RCTL
),
[_LOWER] = LAYOUT (

File diff suppressed because it is too large Load Diff

Some files were not shown because too many files have changed in this diff Show More