dhewm3 icon indicating copy to clipboard operation
dhewm3 copied to clipboard

Can't look around using an Xbox controller

Open jacobn28 opened this issue 1 year ago • 8 comments

I have the newest RC for 1.5.4, and when I connect my Xbox One controller everything works great except I can't look around at all. I mapped the "turn right/left" and "look up/down" to the right stick on my controller, but it literally does nothing. I even mapped the same commands to the left stick, to see if it was a controller problem, but that still didn't work. Anything I'm missing here? I've been over all of the settings multiple times and nothing has fixed it.

jacobn28 avatar Aug 02 '24 00:08 jacobn28

What operating system are you using?

DanielGibson avatar Aug 02 '24 00:08 DanielGibson

Windows 10

jacobn28 avatar Aug 02 '24 00:08 jacobn28

I can't reproduce this on Win10 with my XBox360 pad (I don't have an XBox One controller)

DanielGibson avatar Aug 02 '24 02:08 DanielGibson

I did a quick test on linux with a xbox360 gamepad last night and it's the same issue. I couldn't look around with the right stick. A test today on Win10 seems to work. I think it's odd that I needed to map both analog sticks first, though. This works oob with the quake source ports QS, ironwail and vkquake. All I needed to do is map the buttons but not the analog sticks.

UPDATE: retried again on linux and no issue this time.

j4reporting avatar Aug 02 '24 11:08 j4reporting

I think it's odd that I needed to map both analog sticks first, though.

on the upside, you can configure/bind them however you like

DanielGibson avatar Aug 02 '24 17:08 DanielGibson

Very weird. NONE of my controllers work (XBOne, 360, and Switch) with the right stick, no matter what I do.

jacobn28 avatar Aug 03 '24 02:08 jacobn28

Very weird. NONE of my controllers work (XBOne, 360, and Switch) with the right stick, no matter what I do.

  1. can you test with the Windows calibration tool?
  2. does dhewm3 identify the connected controller correctly? Check the console or the log file in Document\My Games\dhewm3\dhewm3log.txt e.g. a Xbox 360 controller
Detected Gamepad Xbox 360 Controller as type XBox-like
  USB IDs: 045e:028e Joystick Name: "Xbox 360 Controller" GUID: < 32 byte hex decimal string >

  1. does the mouse pointer move in the main menu? Both analog sticks should move the mouse pointer.
  2. is any other software running that is mapping gamepad events to keys like rewasd?

j4reporting avatar Aug 03 '24 09:08 j4reporting

  1. Windows calibration tool shows all parts of the controller working fine. I even re-calibrated it.
  2. Yup. Same exact text you pasted except it actually identifies it as an Xbox One controller.
  3. Both analog sticks do move the cursor in the menu. I mapped the zoom button to the click-in on the right stick, and even that works in-game, but when I move the stick to look around, nothing. I definitely have them mapped correctly because I've done it over about a dozen times now.
  4. Nothing that I can see. Looked through task manager and nothing should be interfering. I don't even have Steam opened.

I'm at a loss lol.

jacobn28 avatar Aug 03 '24 17:08 jacobn28