Teste de segurar e arrastar — Detectar quedas do switch
Segure ou arraste na área de teste. Se o mouse soltar sozinho durante o pressionamento, o microswitch está falhando.
Total de pressões
0
Mais longo
--ms
Interrupções de pressão
0
Interrupções de arraste
0
Clique e segure aqui
InativoClique e segure aqui
Pressione e segure para testar a estabilidade
Área de arraste
Arraste a alça sem soltarRegistro de eventos (últimos 100)
Sem eventos
What is a Hold & Drag Test?
A hold-and-drag test verifies that a mouse button maintains an unbroken electrical contact for the entire duration of a press. The browser fires `pointerdown` when you press the button and `pointerup` only when you release it. If a `pointerup` event arrives while you are still physically holding the button, the switch has dropped the connection — a clear hardware failure signal.
The drag portion of the test confirms the same behavior under sustained lateral pressure, which is how the issue most often shows up in everyday use: file moves, FPS aim-down-sights, MOBA box-selection, and CAD lasso tools all rely on the button staying down.
Why Test Hold & Drag?
Hold and drag dropouts are the second most common micro-switch failure after chatter (double-click). Where chatter produces extra phantom clicks, a dropout produces a missing click — the OS receives a release event that the user never asked for.
In games, a dropped press during ADS aiming or skill channeling can decide a fight. In office work, a dropped drag scatters files across the wrong folder. Identifying the issue early lets you replace the switch before it becomes intermittent enough to ruin productive work.
How the Test Works
The hold area listens for `pointerdown` and `pointerup` and uses Pointer Capture so a release outside the element is still detected. A live timer (driven by `requestAnimationFrame`) shows the current hold duration so you can spot a sudden reset visually.
Two release events arriving within 50 ms of each other are flagged as a hold interrupt — a normal user cannot intentionally release and re-press that fast. The drag handle is implemented with the same Pointer Events API; a `pointercancel` mid-drag is logged as a drag interrupt.
How to Fix Switch Dropouts
Contact cleaner: Open the mouse, drop a small amount of electronics-safe contact cleaner (e.g. DeoxIT D5) into the switch through the actuator slot, then rapidly click the switch 50–100 times. This dislodges oxidation and dust on many older switches.
Switch replacement: For a permanent fix, desolder the failing switch and replace it with a fresh Omron, Kailh, or Huano unit. Switches typically cost $1–3 each. Optical switches (Razer, Bloody) are immune to contact dropouts because they trigger via an LED beam rather than physical contact.
If neither is feasible, file a warranty claim — most premium gaming mice cover switch failures within 2 years.
Perguntas frequentes
Usually oxidation or wear of the metal contacts inside the micro-switch. After thousands of clicks the contact spring also weakens, which can cause the connection to release mid-press even though you are still pressing the button.
Yes if you can solder. Common drop-in replacements are Omron D2F-01F, Kailh GM 8.0, and Huano Blue Shell. Otherwise contact the manufacturer for warranty service or take the mouse to a repair shop.
Yes, usually the same root cause. A worn switch can both double-click (contact bounce) and drop a held press (contact failure) — both are signs the switch should be replaced.
Dragging applies sustained pressure in a specific direction, which can expose weak spots in the switch mechanism that don't show up during normal clicks.
Hold for 5–10 seconds at a time, then repeat 5–10 times. A healthy switch should record zero interruptions across the whole session.