-
-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding support for the Jogcon's motor #15
Comments
After some experiments I've got it working on MAME with racing games and simulating an Force Feedback Wheel. https://www.youtube.com/watch?v=NGUYPHisn0s And then my psx shield died :( |
That is very cool! Thanks a lot! I'm very busy at the moment, but I will hopefully get to merging this soon. Can you contribute a short document on how to configure MAME for this? Also, did you fix your shield? |
Sure I can. The shield is still dead. I can code the shield LEDs to turn on. Pins are ok - tested them with a multimeter. |
If you happen to accidentally bend the connector, sometimes the pins will break in an almost unnoticeable way, try looking at them with a lens. You can also check the solder joints of the MOSFETs. |
Hi. It's all there. Arduino sketch and MAME plugin. For MAME you should read the FFBArcadePlugin readme.
This will let MAME send FFB commands to the plugin. On the plugin side you just need to edit the included FFBPlugin.ini and set the correct serial com port. |
Hi! This sounds really great. I already have a JogCon working as wheel/paddle/spinner using Sorgelig's JogConUSB code on an Arduino Micro, so trying your project seems quite straightforward. I flashed your Arduino sketch with your patched PSX lib and the paddle/spinner modes seem to work (with FFB stops for the paddle mode). The wheel mode does not have FFB enabled (it does not self-center) but I understand that it is because it is expecting to receive FFB serial commands. I replaced the Mame FFB plugin by your patched version and put the Arduino's port in the .ini file. All seem to be set properly but I get no FFB effects at all. I've tried to monitor serial communication on the Arduino port while running some FFB-enabled mame games but there was nothing. The regular FFB plugin was working fine with other controllers I have so Mame outputs seem to be working fine. So, it seems that the patched FFB plugin is not sending FFB commands to the jogcon for some reason. I'm using mame 233 if this means anything. Do you have any clues on what may be happening? |
Hi! Please test this app. It will send serial commands to the arduino. Be aware that you need to press any button on the jogcon from time to time or it will disable the motor. |
Thanks! This worked fine: the app connected to the proper port (the same i set in the FFB plugin ini file) and the FFB commands produced the expected effects. So it seems that for some reason the FFB plugin is not sending the serial commands. Does it maybe need special permissions? I'm using Windows 7 by the way. |
Don't need any special permission. |
Ok, this is what the log looks like when playing Outrunners:
|
Try with only the arduino connected. Remove all other joysticks. |
Got it working with SF Rush. Thanks! For the other games, the problem was that I was not using the correct versions. For instance, for Out Run only the deluxe sitdown version has FFB. I also tried other Jogcon compatible controllers (not Namco's), such as the Logic3 topdrive reactor, and the driving feeling and FFB is even better. Great! |
Yeah. on VR you have to enter the service menu and set it as deluxe cab I think. Done this project for fun. The Jogcon is not a great controller to play those arcade games. If you want to use common FFB wheels I recommend to use a newer version of the FFB Plugin (from Boomslang). Mine is outdated. |
Hi!
Recently I've got an Jogcon and I've been messing with it's motors.
There's some documentation of it's commands here
After some experiments I've got it working on PsxNewLib. Please take a look at my fork
Basically it needs to be in analog mode with rumble enabled. Then when pooling, we don't set the two motors bytes. Instead it's one byte with the Mode and Power. Mode can be like rotate left, rotate right, return to center...
There's also an working sketch example to trigger the effects with button presses.
The text was updated successfully, but these errors were encountered: