Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[Bug] Rumble is muted after any keyboard/mouse input - Test Vibration button does nothing when clicked with the mouse

オープン
#1,015 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
66/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
java
領域
game-dev

調査の方向性

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
  1. Launch with Controlify 3.0.1+lts on Minecraft 1.21.10, connect a rumble-capable controller.
  2. Join a world (or stay in the menu) and use the mouse to open Controlify's controller settings.
  3. Go to Vibration and click "Test Vibration" with the mouse.
  4. Observe: no vibration, and no error in the log.
  5. Press any button on the controller, select "Test Vibration" with the controller and press it -> the controller vibrates.
  6. 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 を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

isXander/Controlify のほかの issue

isXander/Controlify の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。