---
title: "Discussion on \"Why navigator.getGamepads() Returns 0.0 for a Drifting Analog Stick\" | Hashnode"
description: "Discussion on \"Why navigator.getGamepads() Returns 0.0 for a Drifting Analog Stick\". Chromium masks any gamepad axis it has not seen at rest, so a badly drifting stick reports 0.0. Why it happens, and how to detect drift anyway."
url: "https://hashnode.com/posts/navigator-getgamepads-returns-zero-stick-drift/6a74d157410420e19421fd8b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Why navigator.getGamepads() Returns 0.0 for a Drifting Analog Stick](https://taimoorbamazai.hashnode.dev/navigator-getgamepads-returns-zero-stick-drift?utm_source=hashnode&utm_medium=feed)

Chromium masks any gamepad axis it has not seen at rest, so a badly drifting stick reports 0.0. Why it happens, and how to detect drift anyway.

Aug 6 · 9 min read · taimoorbamazai.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#webdev](https://hashnode.com/tag/webdev)
-   [#browsers](https://hashnode.com/tag/browsers)
-   [#debugging](https://hashnode.com/tag/debugging)
-   [#chromium](https://hashnode.com/tag/chromium)

## Written by

[taimoor bamazai](https://hashnode.com/@taimoorbamazai)

@taimoorbamazai · Dublin, Ireland

  
[View profile](https://hashnode.com/@taimoorbamazai)

Founder of Elites Algorithm. I build privacy-first browser tools for controller and hardware diagnostics.

Founder of Elites Algorithm. I build privacy-first browser tools for controller and hardware diagnostics.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
