Gamepad Not Detected in Browser? How to Fix It in Minutes
A controller that works in games but shows nothing on a web page is usually not broken. Browsers hide a gamepad until you press a button on it, pause input when the tab is not in front, and sometimes lose the device to Steam or a remapping tool. Here is the order to check, from the 10-second fixes to the ones that mean a repair.
The short answer
Plug the controller in or pair it, click once on the page so the tab has focus, then press any face button. Browsers do not list a gamepad until it sends its first input; Firefox documents this as a step against fingerprinting, and Chrome, Edge and Safari behave the same way in practice. If the controller still does not appear, the next suspects are, in order: the tab is not focused, a cable that only charges, Steam or a remapping tool holding the device, a Bluetooth pairing that half-failed, and finally the operating system not seeing the controller at all. Our gamepad tester shows the controller the moment the browser does, so you can tell within seconds which step fixed it.
Step-by-step checks
- Open the gamepad tester in Chrome, Edge, Firefox or Safari on a computer. Click anywhere on the page.
- Press A (Cross on PlayStation) two or three times. Stick movement is not always enough to wake the device; a button press is. The page should switch from “Connect a controller” to the live view.
- Keep the browser window in front. Gamepad input stops while another window or tab is active. Alt-tabbing to a game or to Discord and back is a common reason a controller “keeps disconnecting” on a web page.
- Try a cable. If you were on Bluetooth, plug in with USB. Some USB-C cables carry power only, so use the cable that came with the controller or one you know transfers data (one that works for a phone file transfer, for example).
- Close Steam, DS4Windows and any remapping software. Steam Input and similar tools can take the controller for themselves and present the browser with nothing, or with a second, virtual controller that has no buttons mapped. Quit them fully from the system tray, then unplug and replug the controller.
- Check the operating system sees it.
- Windows: press Win + R, type
joy.cpland press Enter. The controller should be listed with status OK. Click Properties and press buttons: if nothing lights up here, the browser cannot help, and the fault is in the controller, cable, driver or pairing. - Mac: open System Settings → Bluetooth and check the controller shows as connected. On macOS Ventura 13 and later there is also a Game Controllers entry in System Settings once a supported controller is connected.
- Android and iPhone: most phone browsers do not expose gamepads to web pages reliably, so test on a computer before deciding the controller is faulty.
- Windows: press Win + R, type
- Re-pair Bluetooth from scratch. Remove the controller from the computer’s Bluetooth list, put the controller back in pairing mode (hold its pairing button until the light flashes quickly), and pair again. A controller that is still paired to a console or phone nearby will often connect there first; turn that device’s Bluetooth off while you test.
- Try another browser, then another computer. This is the step that tells you where the fault is. Works in Firefox but not Chrome: a browser setting or extension. Works on another computer: a driver or Bluetooth problem on the first one. Works nowhere, including
joy.cpl: the controller or cable.
What the result means
- Appears after a button press: nothing is wrong. Every web game and tester needs that first press; some show a “press any button” screen and some do not.
- Appears, then goes grey when you switch windows: normal. Input resumes when the tab is in front again.
- Appears with the wrong name, or as “Wireless Controller” with no buttons responding: a remapping tool or Steam is presenting a virtual device. Quit it and reconnect.
- Two controllers listed, one dead: a stale entry from a previous connection, or a non-game device (some microphones and racing wheels register as game controllers). Unplug everything else, refresh the page, and pick the right one in the tester’s controller menu.
- Mapping shows as something other than “standard”: the browser does not know this controller’s layout, so buttons may appear in the wrong order. The buttons still work; only the labels are off. Switching the controller to its Xbox-style (XInput) mode, where it has one, usually fixes the labels.
- Buttons work but a stick shows movement at rest: that is stick drift, not a detection problem. The tester shows the resting value for each stick; see the repair section below.
- Nothing on any browser or computer, and
joy.cplis empty: the controller is not talking to the computer at all. Charge it, try the original cable, and reset the controller using the maker’s steps before assuming it is dead.
Browser settings worth checking
These matter only when the controller works in one browser and not another.
- Extensions: privacy and anti-fingerprinting extensions can block the Gamepad API because it can be used to identify a device. Open a private or incognito window, where extensions are usually off, and test again. If it works there, disable extensions one at a time.
- Firefox: type
about:configin the address bar and check thatdom.gamepad.enabledis true. Firefox also only exposes a controller after you interact with it while the page is visible. - Embedded games: when a game runs inside another page (an iframe), the outer page has to allow gamepad access. If the same game works when you open it in its own tab, the site that embeds it is the problem, and there is nothing to fix on your side.
- Old browsers: the Gamepad API has worked in all major browsers since 2017, but a very old browser or a locked-down work browser may lack it. The tester tells you if the API is missing.
Xbox, PlayStation and Switch Pro notes
- Xbox: use a USB cable or Bluetooth. Only Xbox One controllers from the second revision onwards (the ones with a 3.5 mm headphone jack) and all Xbox Series controllers have Bluetooth; the original 2013 Xbox One controller needs a cable or Microsoft’s Xbox Wireless Adapter. Firmware updates come through the Xbox Accessories app on Windows or an Xbox console, and an out-of-date controller can pair badly.
- PS5 DualSense and PS4 DualShock 4: both work over USB and Bluetooth in Chrome, Edge and Firefox on Windows and Mac. Browsers label them with Xbox-style names (A, B, X, Y) in the standard layout; our tester shows both names. On Windows, DS4Windows is the most common reason a DualShock appears as a dead second controller. Firmware updates for the DualSense are done through Sony’s updater on Windows or on a PS5.
- Nintendo Switch Pro Controller: works over Bluetooth on Windows and Mac. The Joy-Cons pair as two separate controllers, each with half the buttons, so a web game may only see one of them.
- Third-party controllers (8BitDo, GameSir, PowerA and others): most have a mode switch or a start-up key combination that chooses between Xbox (XInput), Switch and Android modes. Xbox mode gives the most predictable results in a browser.
When to repair or replace
- Detected everywhere once you pressed a button: nothing to repair.
- Only works on a cable: charge the battery fully, update the firmware and re-pair. If Bluetooth still fails on two different computers, the controller’s radio is at fault. Many people keep using it wired; a repair is rarely worth the cost on a budget controller.
- Only works with one cable: replace the cable, not the controller. If every cable is loose in the port, the port on the controller is worn; that is a repairable fault on most Xbox and PlayStation controllers.
- Stick drift of more than a few percent at rest: cleaning around the stick base with electrical contact cleaner helps for a while. A permanent fix is a new stick module, which repair shops fit for well under the price of a new controller on Xbox and PlayStation pads. If the controller is under warranty, claim it first; drift is a recognised fault.
- Buttons that need a hard press, or register twice: worn membranes or switches. The tester’s button grid shows which ones. Cheap to fix on most controllers, but check the warranty first.
- Buying used: run the tester before you pay. Press every button, hold each trigger fully, let both sticks rest and read the drift value, and try the vibration test. Our keyboard keys not working guide and the laptop hardware test guide cover the same approach for the rest of a gaming laptop, and the Bluetooth check shows whether the computer’s radio can see nearby devices at all.
Spelling note: UK, Canadian and Australian readers write “recognised” and “grey”. The steps, settings and tool names are the same everywhere.
Frequently asked questions
Why is my controller not detected in my browser?
Most often because you have not pressed a button on it yet. Browsers hide a connected gamepad until it sends its first input. Click the page, press A or Cross, and check again in the gamepad tester. After that, check the tab is in front, try a USB cable, and close Steam or any remapping tool.
How do I test if my Xbox controller works on PC?
Plug it in or pair it over Bluetooth, open the gamepad tester in Chrome or Edge, and press any button. Every button, trigger and stick shows live. For a check outside the browser, press Win + R, type joy.cpl and open the controller’s Properties.
Does a PS5 controller work in a web browser?
Yes. The DualSense works over USB and Bluetooth in Chrome, Edge and Firefox on Windows and Mac. The browser labels its buttons with Xbox names in the standard layout, so Cross shows as A. Vibration works in Chrome and Edge.
Why does my gamepad keep disconnecting on a website?
Usually the tab lost focus. Browsers pause gamepad input while another window or tab is active, and some games show that as a disconnect. On Bluetooth, a low battery or a controller still paired to a nearby console also causes drop-outs.
Why does Chrome not see my controller but Firefox does?
A Chrome extension is the usual cause, often a privacy or anti-fingerprinting one. Test in an incognito window with extensions off. If it works there, disable extensions one by one until you find it.
Why does my controller show as two controllers?
One is a virtual controller created by Steam Input, DS4Windows or a remapping tool, or a stale entry from an earlier connection. Quit those programs, unplug everything, refresh the page and reconnect. Pick the live one in the tester’s controller menu.
How do I check for stick drift online?
Connect the controller to the gamepad tester, press a button so it appears, and leave both sticks untouched. The “At rest” value for each stick should be close to zero. A stick that reads several percent with nobody touching it is drifting.