Project

General

Profile

Actions

Emulator Issues #1288

closed

Request: More nJoy rumble settings/controller support (specifically DualShock 3)

Added by knuckles500 over 14 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
Category:
Controls
% Done:

0%

Operating system:
N/A
Issue type:
Feature request
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

This is assuming you have a DualShock 3. If you have one and you'd like to
get it working, look around on this site: www.motioninjoy.com

What steps will reproduce the problem?

  1. Plug in your controller (in this case, i'll be plugging in my ds3)
  2. Make sure your controller's working and can be found in Windows
  3. Open up Dolphin
  4. Go to Options>Configure
  5. Click on the Plugins tab
  6. From the drop down box of the Pad plugin, select nJoy 0.3 and click on
    "Config..." right next to it
  7. Configure your controller, but most importantly, enable rumble
  8. Close the configuration window and run a game. The following should show
    up (or something similar):

Device 1 doesn't seem to work !
Rumble for device 61952 is now Disabled !

Device 2 doesn't seem to work !
Rumble for device 61952 is now Disabled !

Device 3 doesn't seem to work !
Rumble for device 61952 is now Disabled !

Device 4 doesn't seem to work !
Rumble for device 61952 is now Disabled !

Then the game will resume like normal, and will actually be playable with
your controller. However, just as the error message says, rumble has been
disabled and will not work.

What is the expected output? What do you see instead?
I expect rumble support, since lilypad/pj64/epsxe and some other misc games
that support rumble can use it. However, nJoy yells at me because somehow
the device doesn't work - but it clearly does.

What version of the product are you using? On what operating system?
Dolphin R3971 x64 - Windows 7 x64 7600

Please provide any additional information below.
This is both a request and possibly a bug report. Bug report because I'm
sure nJoy would've been able to see the rumble - but you can't specifically
configure the motor(s) (saw/constant/etc) separately. Request because it
would be nice to have some more specific settings for rumble (as well as
other things) - like lilypad.

However, DS3 support for the PC is sorta a hack job, but the thing is - if
rumble works for other emulators and games, it should work for Dolphin as
well. So maybe it's just the way nJoy identifies either a controller has
motors or not? Not sure, but I hope you figure it out.

Thank you (this should be the last issue report I make - providing I come
across something in linux again)!


Related issues 1 (0 open1 closed)

Is duplicate of Emulator - Emulator Issues #1602: Rumble(DInput) does not work on x64Fixed

Actions
Actions #1

Updated by knuckles500 over 14 years ago

By the way, if it helps, here are the drivers for the DualShock3 controller:

Actions #2

Updated by death2droid over 14 years ago

I don't have a dual shock3 controller but i might be able to piece something to
gether if i found some other open source plugin that has support for it.

Actions #3

Updated by knuckles500 over 14 years ago

Well, lilypad works well with it. Not sure if any input plugin for epsxe or pj64 is
open source, but lilypad should be good enough. Either way, I don't think it's the
controller/drivers themselves - I think it just might be how nJoy handles something
like rumble/etc.

If the nJoy plugin ever needed a make over, lilypad's a good source for ideas. :P

You can grab the source code to lilypad here:

http://code.google.com/p/pcsx2/source/browse/trunk/plugins/LilyPad/

Actions #4

Updated by marcus over 14 years ago

  • Status changed from New to Accepted
  • Issue type set to Feature request
  • Priority set to Normal
  • Category set to controls
Actions #5

Updated by sl1nk3.s over 14 years ago

Unfortunately rumble in nJoy is already kind of a (bad) hack :P
we're currently using SDL 1.2 in nJoy to get the input which doesn't support force
feedback, so we hacked in some DirectInput code to do the rumble part, the bad thing
is we have to use a Device ID, but we can't accurately know which device is used by
SDL, so we're assuming SDL ID == DIDeviceID, but unfortunately, that's not always
true, and in your case, you're getting an insanely high ID which doesn't match
anything :P

The good news is that SDL 1.3 which is still in dev now has support for multiplatform
force feedback :)
I know we already tried it a while back, but maybe we should try once again to switch
to SDL 1.3 ? :P

Actions #6

Updated by MofoMan2000 over 14 years ago

Yeah I don't get rumble either when I should, and this rumble works in PJ64 and
others and it's not a DualShock controller. Starred.

Actions #7

Updated by sl1nk3.s over 14 years ago

I'll have to do it sometime soon :P

Actions #8

Updated by sl1nk3.s over 14 years ago

  • Status changed from Accepted to Work started

Started working on SDL 1.3 implementation, needs more work obviously...

Actions #9

Updated by marcel.werner3 over 14 years ago

Is SDL 1.3 on its way (though it might be a long one ;) )? Or does using the DLL (by
renaming) it already change anything?

Actions #10

Updated by ayuanx about 14 years ago

  • Status changed from Work started to Duplicate
Actions #11

Updated by knuckles500 almost 14 years ago

This can be considered fixed since nJoy is no longer used.

Actions

Also available in: Atom PDF