Build Your Own Arcade Controls Forum
Main => Main Forum => Topic started by: wizzy on March 19, 2018, 12:43:31 pm
-
Hello I'm new here and I hope you can help me:
I'm trying to make Dualshock 4 controller to act as a trackball in Mame64 for windows.
Dualshock 4 has a touchpad that is perfect for a trackball, the program DS$Windows (that enable DS4 to function on PC through xinput), also have dedicated option to trackball functions.
The problem is that in Mame64, moving the DS4 touchpad will only move the cursor, when assigning inputs it's not recognized at all.
Mouse is instead recognized (assining tracjball inputs with mouse will give "mouse X" or "Mouse Y").
I have tried many option in DS4Windows and in mame.ini file, no luck.
ANyone know how can I oslve this?
Thank you
-
Have you enabled multi-mouse in the mame settings? It might only be recognizing the first mouse if you have not. As long as the touch pad moves the mouse cursor in windows it should work in Mame.
-
It should be enabled, hers my mame.ini file:
#
# CORE INPUT OPTIONS
#
coin_lockout 1
ctrlr
mouse 1
joystick 1
lightgun 1
multikeyboard 0
multimouse 1
steadykey 0
ui_active 0
offscreen_reload 0
joystick_map auto
joystick_deadzone 0.3
joystick_saturation 0.85
natural 0
joystick_contradictory 0
coin_impulse 0
#
# CORE INPUT AUTOMATIC ENABLE OPTIONS
#
paddle_device keyboard
adstick_device keyboard
pedal_device keyboard
dial_device keyboard
trackball_device mouse
lightgun_device keyboard
positional_device keyboard
mouse_device mouse
With the dualshock 4 touchpad I can move the cursor in both windows and inside mame.
-
I tried also setting multimouse 0 and moving the mame.ini in the ini folder, still no results.
-
sorry to bother again guys, but I can't seems to solve this, anyone has any clues about this issue?
-
I tried this time using the DS4 touchpad as a lightgun input (so a different kind of input) and it doesn't work as well.
So it seems the problem is not only the trackball input, any clue?
DS4 touchpad works normally in windows as a "mouse device", it's only mame that has trouble detecting it.
-
Do you have both the touchpad and a mouse plugged in at the same time? It should still work but try unplugging the regular mouse and reboot using just the touchpad and see if that helps. Might be some kind of ID issue?
PS4 pad seems kind of small to get any use out of it.
-
Thanks for the advice, I tried to unplug mouse and using DS4 solo, but mame don't want to detect the touchpad input from DS4.
The curious thing is that I can move the mouse cursor with ds4 touchpad inside mame64.