ZDoom Mouse Issue
-
My ultimate goal is to get Brutal Doom running in the Ports section with a PS3 controller fully set up, but I'm having an issue first.
The problem:
When I start a game of Doom (with ZDoom) there is a mouse cursor stuck in the top-left of the screen so when I start a game DoomGuy just looks up and left, and runs around in circles.
Initial Info:
Pi Model or other hardware: 3b
Power Supply used: official 2.5A
RetroPie Version Used : 4.2
Built From: Torrent Image - "retropie-4.2-rpi2_rpi3.img.gz"
USB Devices connected: USB Keyboard, USB Mouse
Controller used: 8BitDo NES30 (connected via usb cable, not bluetooth), USB Sega Saturn controller (cheap knockoff version).
Emulator: ZDoomThe Process:
- I followed
- I installed ZDoom the same way.
- I tested Doom with the "lr-prboom" emulator and it worked fine, even with a controller without any extra setup.
- I changed the default emulator from "lr-prboom" to "zdoom".
- I tested Doom again, and there was immediately a problem
(Not really pictured is the menu icon zooming up the list constantly)
You can see there is an icon in the top left of the screen. It's actually 2 icons:There is the Doom mouse icon (that can be changed in the settings) and there is also a default mouse cursor icon. Moving the mouse moves the Doom icon, and I can use it to select menu options, but nothing I do will move the Default cursor.
Once you start a game, DoomGuy immediately looks up and to left, and starts running in left circles. Moving the mouse or pressing the keys will sort of work, but not much, and only temporarily.
I've tried turning the mouse off in the settings (mouse options -> enable mouse: no), and turning all the speed and sensitivity options to zero. I've tried starting ZDoom without the mouse plugged in. I've unplugged all my controllers so it's just the keyboard.
Nothing I do seems to effect the Default cursor. It just sits there in the top-left and makes DoomGuy look at the roof and run in circles.
Has anyone else run into this problem? @edmaul69, @mediamogul I'm pinging you two because it looked like you knew what you were talking about in this thread (which I was planning on following until this mouse issue popped up).
- I followed
-
@mattrixk change the cursor in options, mouse options and change cursor to system cursor. Now the system cursor is all that displays. To fix your viewing/spinning issue, go into joystick options. Any controller you are not using set all of the axis to none. For the controller you are using set any axis you do not have on your controller to none. For me i use a ps3 controller which only has 4 axis but it had 6 axis' turned on. It was set to turning on 5 and look up/down on axis 6 so my guy would spin non-stop while staring at the ceiling.
-
@edmaul69 Thank you so much! Now I just have to set up the controller so the buttons actually do something. I have the ps3 thumbsticks set up, but the buttons currently don't do anything (and I need to tweak the sensitivity).
What do you have each of your buttons set up for? I know there are basic things like jump, crouch, fire, swap weapons, and open doors, but are there other things I need to map?
-
@edmaul69 Wow, it says my PS3 controller has 29 axis.
Okay so I have my controller set up, except I can't map the menu to the start button, and I can't use my controller in the menus. Do you have that problem?
-
@mattrixk left and right on your analog moves up and down in the menu. You have to use xboxdrv to program escape and enter to your controller. I have no clue how to do that as my pi is built in an apple iie that has a built in keyboard and i have just been doing it that way. One of these days i will read @mediamogul 's info on doing that. Now that i think of it, i think my ps3 controller had 29 axis' as well.
-
@edmaul69 I'll have to look into that. I've seen xboxdrv mentioned quite a bit, but I have no idea how to use it.
-
@mattrixk
I think this sums up my initial feeling about setting up xboxdrv using @mediamogul's guide:
https://retropie.org.uk/forum/post/73493I've been planning to revisiting his guide but I think I'll need to level up a few more times.
-
I think I'll need to level up a few more times.
It's really more intimidating than it is difficult. After you've written a couple of commands and learn a few troubleshooting measures, it becomes as routine as anything else.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.