Thursday 28 October 2021

Treadstone48 and Rhymestone

 The following is the translation made by the author Marksard for the JIS mode. 


# The like jis type keyboard keymap for treadstone48

## Description

## How to use

# JISキーボードライクなキーマップ
#JIS keyboard-like keymap

## 概要
## Overview

 デフォルトキーマップの記号類をJISライクな配置に揃えなおしたものです。  
 オプションのRhymestone用のマップを使用するために拡張しています。RhymestoneのpromicroにもTreadstone48のキーマップを入れてください。  
 Rhymestoneは基本的には左手側を使うことを想定していますが、右手側を使用する場合はconfig.hの以下の行を有効にしてください。   

```#define RHYMESTONE_RIGHTHAND```

The symbols of the default keymap have been rearranged in a JIS-like layout.
Expanded to use the optional map for Rhymestone. Put the Treadstone 48 keymap in the Rhymestone pro micro as well.
Rhymestone basically assumes that the left hand side is used, but when using the right hand side, enable the following line in config.h.

`` `#define RHYMESTONE_RIGHTHAND```

## キーマップの見かた
## How to read the key map

qmk_firmware\tmk_core\common\keycode.h  
に基本的なキーコードがあります。また、Keymap.cの上部にカスタムしたKC_で始まるものを登録しています。  
キーマップに書くときは「KC_」を省略して書いています。
例:KC_A → A  

Leyer Tap、Mod Tap、Tap DanceというQMKの機能を使っています。  

Layer Tapはタップで指定したキー、長押しで指定したレイヤーに移動します。  
例:LT(RAISE, KC_V) → タップでV、長押しでRAISEレイヤー移動

Mod Tapはタップで視程したキー、長押しで視程したレイヤーに移動します。  
例:LSFT_T(KC_Z) → タップでZ、長押しで左シフト

もう少し詳しい内容についてはQMK Documentをお読みいただくかネットを検索すれば情報が載っていますので別途検索してみてください。  

qmk_firmware \ tmk_core \ common \ keycode.h
Has a basic key code in. Also, the ones starting with custom KC_ are registered at the top of Keymap.c.
When writing on the keymap, "KC_" is omitted.
Example: KC_A → A

I use QMK features such as Leyer Tap, Mod Tap, and Tap Dance.

Layer Tap moves to the specified key by tapping and the specified layer by long pressing.
Example: LT (RAISE, KC_V) → Tap to move V, long press to move RAISE layer

Mod Tap moves to the visible key with a tap and the visible layer with a long press.
Example: LSFT_T (KC_Z) → Tap to Z, long press to shift left

For more details, please read the QMK Document or search the internet for more information, so please search separately.

## 機能

 QWERTYキーマップをベースにしていて、LowerレイヤーとRaiseレイヤーに他のキーを配置しています。  
 LowerとRaiseを同時押しでAdjustレイヤーを使うことが出来ます。  
 マウスキーの割り当てがありますので、もし使用したい場合はrules.mkでMOUSEKEY_ENABLE = yesにしてmakeすると使用することができます。  

## 48キー目について

 このキーボードはEnterキーの上の2Uキーを1Ux2個にして使用する事が出来るようになっています。  使用する場合はキーマップの書き換えが必要です。  

 各レイヤーの最下段の

```c
      XXXXXXX \
  // ExtraKey: This key is an extra key. REV1 is a split back space. REV2 is to the right of the arrow-up key.
```

 のXXXXXに任意のキーを入れることでPの右隣のキーとして動作するようになっています。その右隣りに従来のキーが配置されています。  

## function

Based on the QWERTY keymap, other keys are placed on the Lower layer and Raise layer.
You can use the Adjust layer by pressing Lower and Raise at the same time.
There is a mouse key assignment, so if you want to use it, you can use it by setting MOUSEKEY_ENABLE = yes in rules.mk.

## About the 48th key

This keyboard can be used with 1Ux2 2U keys above the Enter key. If you want to use it, you need to rewrite the keymap.

At the bottom of each layer

`` `c
      XXXXXXX \
  // ExtraKey: This key is an extra key. REV1 is a split back space. REV2 is to the right of the arrow-up key.
`` ```

By putting an arbitrary key in XXXXX, it works as the key to the right of P. The conventional key is placed to the right of it.

## OS切り替え方法
## OS switching method

 Adjustレイヤーにあります。LowerとRaiseを同時押しでAdjustレイヤーを使うことが出来ます。  

- KNRM: QMKのノーマル状態です。macだと正常に使える(はず)です
- KSWP: ノーマル状態のままWindowsで使用するとALTキーとGUI(win)キーが逆ですので、それを入れ換えます。Windowsユーザーはこちらのモードにしてください

Located in the Adjust layer. You can use the Adjust layer by pressing Lower and Raise at the same time.

--KNRM: QMK is in the normal state. It can be used normally on a mac (should)
--KSWP: If you use it on Windows in the normal state, the ALT key and GUI (win) key are reversed, so replace them. Windows users should switch to this mode

## NUMPADモードについて
## About NUMPAD mode

 Lower + DLNPキーを一度押下するとNumpadモードになります。通常モードに戻す場合はDLBSキーを押下してください。  
Press the Lower + DLNP key once to enter Numpad mode. To return to normal mode, press the DLBS key.

## IME切り替え方法
## IME switching method

 Winの場合、LowerレイヤーにKANJIキー(半角/全角 漢字)がありますので、Lower+KANJIで切り替えてください。  

In the case of Win, there is a KANJI key (half-width / full-width kanji) in the Lower layer, so switch with Lower + KANJI.


## ソフトウェアリセットについて
## About software reset

 キーボードにはハードウェアのリセットボタンが付いていますが、ソフトウェアリセットをかけられます。  
 LowerとRaiseを同時押しでAdjustレイヤーを使うことが出来、AdjustレイヤーのRSTを押下するとリセットがかかります。  

The keyboard has a hardware reset button, but you can do a software reset.
The Adjust layer can be used by pressing Lower and Raise at the same time, and reset will be applied when the RST of the Adjust layer is pressed.

## LEDの点灯切り替え方法
## How to switch LED lighting

 Adjustレイヤーにあります。LowerとRaiseを同時押しでAdjustレイヤーを使うことが出来ます。  

- RGBRST: LEDのリセット
- RGB_TOG: LEDのON/OFF切り替え
- RGB_MOD: LEDの光り方の変更
- RGB_HUI: Hue+ 色合いを変更
- RGB_HUD: Hue- 色合いを変更
- RGB_SAI: Saturation+ 色の濃さを変更
- RGB_SAD: Saturation- 色の濃さを変更
- RGB_VAI: Value+ 明るさを変更
- RGB_VAD: Value- 明るさを変更

Located in the Adjust layer. You can use the Adjust layer by pressing Lower and Raise at the same time.

--RGBRST: LED reset
--RGB_TOG: LED ON / OFF switching
--RGB_MOD: Change of LED lighting
--RGB_HUI: Hue + change color
--RGB_HUD: Hue- Change hue
--RGB_SAI: Saturation + Change color depth
--RGB_SAD: Saturation-Change color saturation
--RGB_VAI: Value + Change brightness
--RGB_VAD: Value- Change brightness