Skip to content

Commit

Permalink
fix: use #Include to load accmodel
Browse files Browse the repository at this point in the history
  • Loading branch information
snomiao committed Apr 20, 2022
1 parent 32452eb commit b11d2c8
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
3 changes: 3 additions & 0 deletions Modules/01.1-插件-鼠标模拟.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
; 版权:Copyright © 2017-2022 Snowstar Laboratory. All Rights Reserved.
; ========== CapsLockX ==========

; will include once
#Include, Modules/AccModel/AccModel.ahk

if (!CapsLockX) {
MsgBox, % "本模块只为 CapsLockX 工作"
ExitApp
Expand Down
3 changes: 3 additions & 0 deletions Modules/01.2-插件-编辑增强.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
; ========== CapsLockX ==========
; 光标加速度微分对称模型(不要在意这中二的名字hhhh

; will include once
#Include, Modules/AccModel/AccModel.ahk

if (!CapsLockX) {
MsgBox, % "本模块只为 CapsLockX 工作"
ExitApp
Expand Down
File renamed without changes.
10 changes: 5 additions & 5 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,9 +222,9 @@ TODO:FN 键、方向键、编辑操作、61 配列 vs 87 键配列、

| 作用于 | 按键 | 功能 |
| ------ | --------------------- | -------------------------------- |
| 全局 | CapsLockX + - | 临时显示热键提示 |
| 全局 | CapsLockX + Alt + - | 🔗 打开 CapsLockX 的完整文档页面 |
| 全局 | CapsLockX + Shift + - | 🕷 提交 bug、建议等 |
| 全局 | CapsLockX + / | 临时显示热键提示 |
| 全局 | CapsLockX + Alt + / | 🔗 打开 CapsLockX 的完整文档页面 |
| 全局 | CapsLockX + Shift + / | 🕷 提交 bug、建议等 |

<!-- 模块文件名:01.1-插件-鼠标模拟.ahk-->

Expand Down Expand Up @@ -401,7 +401,7 @@ TODO:FN 键、方向键、编辑操作、61 配列 vs 87 键配列、
| 在 Anki-学习界面 | `4 或 NumPad4` | 顺利(原键位不动) |
| 在 Anki-学习界面 | `5 或 NumPad5` | 撤销 |
| 在 Anki-学习界面 | `6 或 NumPad6` | 暂停卡片 |
| 在 Anki-学习界面 | `Alt + i` | 快速导入剪贴版的内容(按 Tab 分割) - 比如可以从 Excel 复制 |
| 在 Anki-学习界面 | `Alt + i` | 快速导入剪贴版的内容(按 Tab 分割) / 比如可以从 Excel 复制 |
| 在 Anki-添加卡片界面 | `Alt + s` | 按下 添加 按钮 |

> 此插件可配合手柄使用,使用 XPadder 配置手柄摇杆映射到方向键即可。
Expand Down Expand Up @@ -430,7 +430,7 @@ TODO:FN 键、方向键、编辑操作、61 配列 vs 87 键配列、
| `Alt + /` | 热键帮助、提示 | 开发中 |
| `F2 F3` | 重命名、查找笔记 | |

## 详细按键表 - CheatSheet
## 详细按键表 / CheatSheet

| 作用于 | 格式热键 | 功能 |
| ------------------------ | ------------------------------ | ------------------------------------------------------------------------- |
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"start": "CapsLockX.exe",
"test": "CapsLockX.exe CapsLockX.ahk /CI_TEST",
"prepare": "husky install",
"prerelease": "git diff --quiet || echo worktree not clean, commit it first",
"release": "pnpm upgrade & standard-version --commit-all && git push --follow-tag --all",
"build-tauri": "cd DevTools/CLXConfig.js && npm run build"
},
Expand Down

0 comments on commit b11d2c8

Please sign in to comment.