Skip to content

Commit

Permalink
[Docs] Update Japanese translation of feature_ps2_mouse.md. (qmk#9815)
Browse files Browse the repository at this point in the history
  • Loading branch information
shelaf authored and nicocesar committed Aug 12, 2020
1 parent 64db386 commit 5b3dd69
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions docs/ja/feature_ps2_mouse.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# PS/2 マウスサポート :id=ps2-mouse-support

<!---
original document: 0.8.147:docs/feature_ps2_mouse.md
git diff 0.8.147 HEAD -- docs/feature_ps2_mouse.md | cat
original document: 0.9.44:docs/feature_ps2_mouse.md
git diff 0.9.44 HEAD -- docs/feature_ps2_mouse.md | cat
-->

PS/2 マウス (例えばタッチパッドあるいはトラックポイント)を複合デバイスとしてキーボードに接続することができます。
Expand Down Expand Up @@ -291,3 +291,13 @@ X 軸と Y 軸を反転するには、以下を config.h に配置します:
#define PS2_MOUSE_DEBUG_HID
#define PS2_MOUSE_DEBUG_RAW
```

### 動作フック :id=movement-hook

ホストに送信される前にキーマップでマウスの動作を処理します。使用例として、
ノイズのフィルタリング、加速の追加、レイヤーの自動アクティブ化が含まれます。
使用するには、キーマップで次の関数を定義します:

```c
void ps2_mouse_moved_user(report_mouse_t *mouse_report);
```

0 comments on commit 5b3dd69

Please sign in to comment.