mednaffe icon indicating copy to clipboard operation
mednaffe copied to clipboard

input gamepad don't work

Open uratom962 opened this issue 3 years ago • 8 comments

Hi everyone,

When I want to configure my gamepad, on archlinux with Mednaffe, I try to set button, Mednaffe attribute auto assign touch for all button I Need, Like that : mednaffegif

For zsnes this gamepad work fine, but I need to desactive mouse in xorg, with this conf: /etc/X11/xorg.conf.d/51-joystick.conf

Maybe I have to enter a line for this touch ( Axis 2 - ST-LIS3LV02DL ) ?

uratom962 avatar Apr 13 '21 06:04 uratom962

ST-LIS3LV02DL is not a touchpad but an accelerometer.

Some laptops (HP, ThinkPad...) has one and it can acts like an analogic gaming device. See: https://www.kernel.org/doc/html/latest/misc-devices/lis3lv02d.html

Does it work fine if you set buttons into mednafen emulator (via ALT+SHIFT+1)?

AmatCoder avatar Apr 13 '21 13:04 AmatCoder

I don't know where I do that ? Window ?

uratom962 avatar Apr 14 '21 01:04 uratom962

I can confirm I've run into this issue as well, and you're right it was HP's hard drive fall protection accelerometer. This was easily solved in my case by running sudo rmmod hp_accel to remove the acceleration driver for the current session before launching mednaffe. I was then able to successfully bind my controller inputs.

mirrornoir avatar May 06 '21 05:05 mirrornoir

I have a similar issue when using a Dualshock 4 controller where it keeps assigning each input as something like "Axis 4- (Wireless Controller). I had the same exact thing happening with a different Dualshock 4 controller. Untitled Also assigning controls within Mednafen itself didn't seem to do anything but cause movement to freak out.

Just to see if it would work, I decided to use my older Xbox 360 controller, and managed to assign buttons as normal. Works perfectly. I'm still curious about what's happening on my system though, or whether there's a setting I'm missing that effects the DS4 or whatever. (Unless both of my PS4 controllers have the same exact issue)

EDIT: For anyone looking this stuff up, looks like you can get around it by using DS4Windows.

dirtwatcher avatar Aug 16 '21 05:08 dirtwatcher

Not sure if this is the same problem is this thread, but I tried the gui input settings for pc-engine to map my inputs with my ps3 controller and it would auto assign the same key without me pressing anything for every input. But if I used shift+alt+1 in game, it let me map the buttons correct.

goodstuff626 avatar Aug 10 '22 21:08 goodstuff626

Can you tell me which key? And your OS?

AmatCoder avatar Aug 19 '22 06:08 AmatCoder

I'm using Windows 10 & dshidmini "SDF mode" for ps3 controller input. I will check exactly which key when I set up mednaffe on another PC i have, just give me a few days. (I think it was either a d-pad or analog directional input automatically inputting without pressing anything.)

Edit. - Ok. Just set it up on another PC, same as other setup, PS3 controller, Windows 10. It keeps registering "Axis-7" as soon as I clear the input without me pressing anything on the controller.

goodstuff626 avatar Aug 25 '22 18:08 goodstuff626

Having this same issue today with my DS4. Is it possible Axis 4- is the gyro, and it's only an issue on DPad because DPad accepts axis inputs (instead of only accepting button inputs)?

I have a similar issue when using a Dualshock 4 controller where it keeps assigning each input as something like "Axis 4- (Wireless Controller). I had the same exact thing happening with a different Dualshock 4 controller. Untitled Also assigning controls within Mednafen itself didn't seem to do anything but cause movement to freak out.

Just to see if it would work, I decided to use my older Xbox 360 controller, and managed to assign buttons as normal. Works perfectly. I'm still curious about what's happening on my system though, or whether there's a setting I'm missing that effects the DS4 or whatever. (Unless both of my PS4 controllers have the same exact issue)

EDIT: For anyone looking this stuff up, looks like you can get around it by using DS4Windows.

TheTaraStark avatar Apr 24 '24 18:04 TheTaraStark