Skip to content

Commit 614b8cb

Browse files
docs: document missing serial mode
1 parent d1dbbfd commit 614b8cb

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

README.md

+14
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,20 @@ By default, an extra 30px is added to the radius to compensate for this.
7979

8080
You can change compensation radius with config `touch.radius_compensation`, which could be positive or negative.
8181

82+
### Serial Mode
83+
84+
Toucca support communicating with serial port to control the game.
85+
86+
You need to bind COM3 and COM5, COM4 and COM6 using [com0com](https://sourceforge.net/projects/com0com/), enabling buffer overrun at the meantime.
87+
88+
Read more about configuration at the [WACVR](https://github.com/xiaopeng12138/WACVR#serial-not-recommended) project.
89+
90+
To enable it, simply set `touch.enable` to `0` to disable the hook-based touch input.
91+
92+
### Disable Toucca
93+
94+
If you want to disable toucca, please don't set `touch.enable` to `0`, instead, set the `path` to a different file.
95+
8296
## Build Yourself
8397

8498
I have only tried building on Windows since the game is Windows only. :)

README.zh.md

+14
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,20 @@ relative_threshold = 1 # 需要跨越的物理环数才能切换到下一个相
7777

7878
你可以通过 `touch.radius_compensation` 来调整这个值。
7979

80+
### 串口模式
81+
82+
Toucca 支持使用串口模式与游戏通信。
83+
84+
你需要使用 [com0com](https://sourceforge.net/projects/com0com/) 绑定 COM3 和 COM5,COM4 和 COM6,并同时启用缓冲区溢出。
85+
86+
你可以在 [WACVR](https://github.com/xiaopeng12138/WACVR#serial-not-recommended) 项目中了解更多关于配置的信息。
87+
88+
`touch.enable` 设置为 `0` 会禁用基于钩子的触摸输入并自动启用串口输入。
89+
90+
# 禁用 Toucca
91+
92+
如果你想禁用 toucca,请不要将 `touch.enable` 设置为 `0`,而是将 `touch.path` 设置为一个不同的文件。
93+
8094
## 自行构建
8195

8296
我只在 Windows 上进行过构建(毕竟原框体是基于 Windows 的),不过 Linux 应该也能构建。

0 commit comments

Comments
 (0)