fix(gamepad): 修正校準視覺與短震體感#17
Merged
Merged
Conversation
Contributor
perditavojo
commented
Apr 19, 2026
- 修正高 DPI 下 LS/RS 標籤在 500% 縮放時被圖形遮蔽的問題
- 調整多組短震設定檔的強度與時長,提升弱震模式下的可感知性
- 將需要主馬達啟動時間的短脈衝補到更穩定的範圍
- 修正高 DPI 下 LS/RS 標籤在 500% 縮放時被圖形遮蔽的問題 - 調整多組短震設定檔的強度與時長,提升弱震模式下的可感知性 - 將需要主馬達啟動時間的短脈衝補到更穩定的範圍
Contributor
There was a problem hiding this comment.
Pull request overview
修正控制器校準視覺化在高 DPI 縮放下的標籤遮蔽問題,並微調多組短震動設定檔的強度/時長以提升弱震模式的可感知性與穩定度。
Changes:
- 調整多個短脈衝/收尾類震動設定檔的 Strength 與 Duration,使短震更容易跨過馬達啟動閾值且節奏更穩定。
- 校準視覺化繪製流程加入/擴大 DPI scale 的套用範圍(margin、labelHeight、plotGap、LS/RS 標籤區域),避免在高縮放時被圖形干擾。
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| src/InputBox/Core/Feedback/VibrationPatterns.cs | 更新多組 VibrationProfile 參數,提升短震可感知性與一致性。 |
| src/InputBox/Core/Controls/GamepadCalibrationDialog.cs | 將校準視覺化的多個排版/標籤尺寸改為 DPI-aware,改善高縮放遮蔽。 |
Contributor
Author
|
@copilot apply changes based on the comments in this thread |
Agent-Logs-Url: https://github.com/rubujo/InputBox/sessions/2ce2af2a-8aa6-4f30-a2fa-5c2374039315 Co-authored-by: perditavojo <117562794+perditavojo@users.noreply.github.com>
Contributor
Done in 85c833c. Extracted |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.