[Bug] Rumble is muted after any keyboard/mouse input - Test Vibration button does nothing when clicked with the mouse
まだ誰も着手していません。
評価
調査の方向性
Start by tracing how keyboard or mouse input changes the active input mode and where that mode silences the rumble manager; the issue identifies this as a separate path from the pause-screen fix in #430. Check the Test Vibration action in controller settings alongside in-game rumble effects. Done when mouse input no longer prevents the test button from triggering vibration and the expected in-game rumble behavior is restored.
索引モデルが issue の本文から書いたものです。
説明
Current Behaviour
The "Test Vibration" button in the controller settings (Vibration section) does nothing when it is clicked with the mouse. There is no vibration at all and nothing is logged.
I can reproduce this deterministically:
- If I use the mouse at all (move it, scroll, or click anything - including the Test Vibration button itself), rumble stops working.
- If I then press any button on the controller and trigger Test Vibration using the controller, it vibrates normally.
- Touching the mouse again silences it again.
The same thing happens in-game: after any keyboard/mouse input, rumble effects are suppressed until the controller is used again.
I don't think this is a controller or SDL problem. While the game was running, a debug dump showed the controller has a rumble component, SDL reports SDL.joystick.cap.rumble = true, and calling SDL's rumble function for the connected gamepad directly vibrates the controller normally. The rumble manager is simply being silenced.
In Controlify 2.0.3 (older modpack) the Test Vibration button worked while using the mouse. In 3.0.x, rumble appears to be muted whenever the last input was keyboard/mouse, so clicking Test Vibration with the mouse mutes rumble at the same moment. I also checked the 3.5.3 release source on GitHub and the same input-mode-based muting is present there, so current versions are likely affected as well.
If muting rumble for keyboard/mouse users is intentional, being unable to use the Test Vibration button with the mouse still seems like a bug - the mouse is the natural way to click it. #430 fixed a very similar issue for the pause-screen silencing; this looks like a second, separate silencing path.
Expected Behaviour
Test Vibration should trigger rumble when clicked, regardless of whether the last input was keyboard/mouse. Alternatively, mouse input inside the settings screen should not silence the rumble manager.
Screenshots
No response
Reproduction Steps
- Launch with Controlify 3.0.1+lts on Minecraft 1.21.10, connect a rumble-capable controller.
- Join a world (or stay in the menu) and use the mouse to open Controlify's controller settings.
- Go to Vibration and click "Test Vibration" with the mouse.
- Observe: no vibration, and no error in the log.
- Press any button on the controller, select "Test Vibration" with the controller and press it -> the controller vibrates.
- Move/click the mouse again, then click the button with the mouse -> no vibration again.
Logs
No errors are logged (the mute is silent). Relevant lines only:
[..] [ControllerManager] Controller connected: 'Switch Controller'#SDL-1-HID[VID=0x057e, PID=0x2009] (Switch Controller)
Happy to provide a full log or a debug dump if needed.
Mod Version
3.0.1+lts+1.21.10-fabric (Minecraft 1.21.10, Fabric Loader 0.17.3)
Controller
8BitDo SN30 Pro (Bluetooth, "Switch" mode; SDL identifies it as a Switch Controller, VID 0x057E / PID 0x2009). Rumble works fine via SDL when invoked directly.
Bluetooth
- Yes
Operating System
Windows
ARM
- Yes
Additional Information
- I am on Minecraft 1.21.10 because my modpack is on it; 3.0.1+lts is the newest Controlify build listed for that version. I also confirmed the same input-mode-based rumble muting in the 3.5.3 release source, so this probably affects current versions too.
- Related reports I checked: #404, #546, #640, #1001. They cover "low amplitude events feel weak / nothing" symptoms, but none mention rumble being muted by keyboard/mouse input, which in my case makes the Test Vibration button unusable when clicked with the mouse.
- On this specific controller in Switch mode, low-amplitude effects like block breaking are also barely perceptible even at 100% strength (water splash and damage are fine). I saw the reply in #546 about weak motors and increasing the vibration strength - I mainly want to report the keyboard/mouse silencing, which is separate: even strong rumble is dropped after mouse input.
- No other controller-related mods are installed.
- This report is based on the unmodified 3.0.1+lts release.
Just to make sure...
- I have made sure I am using the latest version of Controlify for the latest version of Minecraft.
- I have made sure there are no other issues describing the same problem on the issue tracker.
- 主要言語
- Java
- スター
- 355
- フォーク
- 106
- 平均マージ
- 2日 8時間
- マージ済み PR(30日)
- 2
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
isXander/Controlify のほかの issue
-
[Bug] LB/RB (GUI Next/Previous Tab) don't switch recipe book tabs in crafting table on 26.3 (worked on 26.1)対応中かも @isXander が 4 日前に担当しました。 オープンbug
isXander/Controlify#1014 · 担当者 1 名 ·
-
[Bug] Flickering and focus issues対応中かも @isXander が 4 日前に担当しました。 オープンbug
isXander/Controlify#1013 · コメント 2 件 · 担当者 1 名 ·
-
Xbox controller対応中かも @isXander が 6 日前に担当しました。 オープンbug
isXander/Controlify#1011 · 担当者 1 名 ·
-
[Bug] Game freezes on controller conection対応中かも @isXander が 7 日前に担当しました。 オープンbug
isXander/Controlify#1010 · コメント 1 件 · 担当者 1 名 ·
-
Shift Click Offhandオープンenhancement
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
isXander/Controlify#1009 · コメント 1 件 ·
isXander/Controlify の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
quarkiverse/quarkus-google-cloud-services#1188 ·
メンテナーはふだん 1 日以内に返信
-
Component: Frontend Component: Web Component Type: Maintenance
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
it-at-m/refarch-templates#1944 ·
メンテナーはふだん 2 日以内に返信
-
priority: p2 type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
googleapis/java-genai#1372 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 60/100
-
GeoSeries scale and skew tests fail with pytest 9.2.0対応中かも @jiayuasu が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信