RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    ZDoom Mouse Issue

    Scheduled Pinned Locked Moved Help and Support
    doomzdoommouse
    8 Posts 4 Posters 3.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mattrixkM
      mattrixk
      last edited by

      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: ZDoom

      The Process:

      • I followed
        which showed me how to get Doom running using the "lr-prboom" emulator.
      • 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

      Imgur

      (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:

      Imgur

      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).

      My ES themes: MetaPixel | Spare | Io | Indent

      edmaul69E 1 Reply Last reply Reply Quote 0
      • edmaul69E
        edmaul69 @mattrixk
        last edited by edmaul69

        @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.

        mattrixkM 2 Replies Last reply Reply Quote 1
        • mattrixkM
          mattrixk @edmaul69
          last edited by

          @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?

          My ES themes: MetaPixel | Spare | Io | Indent

          1 Reply Last reply Reply Quote 0
          • mattrixkM
            mattrixk @edmaul69
            last edited by

            @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?

            My ES themes: MetaPixel | Spare | Io | Indent

            edmaul69E 1 Reply Last reply Reply Quote 0
            • edmaul69E
              edmaul69 @mattrixk
              last edited by

              @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.

              mattrixkM 1 Reply Last reply Reply Quote 0
              • mattrixkM
                mattrixk @edmaul69
                last edited by

                @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.

                My ES themes: MetaPixel | Spare | Io | Indent

                B 1 Reply Last reply Reply Quote 0
                • B
                  backstander @mattrixk
                  last edited by

                  @mattrixk
                  I think this sums up my initial feeling about setting up xboxdrv using @mediamogul's guide:
                  https://retropie.org.uk/forum/post/73493

                  I've been planning to revisiting his guide but I think I'll need to level up a few more times.

                  mediamogulM 1 Reply Last reply Reply Quote 0
                  • mediamogulM
                    mediamogul Global Moderator @backstander
                    last edited by mediamogul

                    @backstander

                    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.

                    RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                    1 Reply Last reply Reply Quote 1
                    • First post
                      Last post

                    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.