FFB only centering spring

Need help? Ask here and someone will help
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: FFB only centering spring

Post by Matlo »

GIMX creator
adventourer
Posts: 8
Joined: Wed May 09, 2018 1:28 pm

Re: FFB only centering spring

Post by adventourer »

Hi Matlo,

Unfortunately it goes back to centering spring.

Below is what is shown if I run the GIMX launcher

Code: Select all

src/windows/gprio.c:26 gprio: failed to set priority class
global option -c with value `LogitechG27_G29.xml'
controller #1: option -p with value `COM9'
now reading arguments for controller #2
subpos flag is set
force_updates flag is set
auto-grab flag is set
GIMX adapter detected, controller type is: G29 PS4.
found pass-through device 0x054c:0x09cc
Timer resolution: min=156250 max=5000 current=5013
rounding timer period to 501
registered joystick 0 with name "PS4 Controller"
using default refresh period: 5.00ms
Warning: macros are not available for: joystick PS4 Controller (0)
Haptic core has source haptic_source_lg for device 046d:c260
Haptic core has sink haptic_sink_lg for joystick 1 (Logitech G27 Racing Wheel USB)
FFB invert: no
FFB gain: constant=100 spring=100 damper=100
Press the PS button to activate the controller.
rounding timer period to 4511


I have post the debug with haptic selected in below link

https://pastebin.com/Tm3k4vaw
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: FFB only centering spring

Post by Matlo »

Thanks. I made another test version: https://gimx.fr/download/4dce5bb2c2903f ... x86_64.exe
GIMX creator
adventourer
Posts: 8
Joined: Wed May 09, 2018 1:28 pm

Re: FFB only centering spring

Post by adventourer »

Matlo,

Now the FFB is working perfectly OK even though it shows below in the terminal i.e." macros are not available" & "FFB gain: constant=100 spring=100 damper=100".

Code: Select all

src/windows/gprio.c:26 gprio: failed to set priority class
global option -c with value `LogitechG27_G29.xml'
controller #1: option -p with value `COM9'
now reading arguments for controller #2
subpos flag is set
force_updates flag is set
auto-grab flag is set
GIMX adapter detected, controller type is: G29 PS4.
found pass-through device 0x054c:0x09cc
Timer resolution: min=156250 max=5000 current=5013
rounding timer period to 501
registered joystick 0 with name "PS4 Controller"
using default refresh period: 5.00ms
Warning: macros are not available for: joystick PS4 Controller (0)
Haptic core has source haptic_source_lg for device 046d:c260
Haptic core has sink haptic_sink_lg for joystick 1 (Logitech G27 Racing Wheel USB)
FFB invert: no
FFB gain: constant=100 spring=100 damper=100
Press the PS button to activate the controller.
rounding timer period to 4511
Warning: skipping unsupported command DEFAULT_SPRING_ON
wheel range adjusted to 900 degrees
wheel range adjusted to 546 degrees

I have posted the haptic checked log file in below link.

https://pastebin.com/FV88xLAY
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: FFB only centering spring

Post by Matlo »

The macro feature only works for the first joystick device found in the configuration - in your case it is the G27 - and the FFB gain has default values 100%. You can safely ignore these messages.

The fix will land in GIMX 7.4. Thanks a lot for the feedback and your patience for the tests!
GIMX creator
adventourer
Posts: 8
Joined: Wed May 09, 2018 1:28 pm

Re: FFB only centering spring

Post by adventourer »

You're welcome. Thank you also for your responsive support to fix this.
isamu
Posts: 86
Joined: Tue Dec 10, 2013 11:19 pm

Re: FFB only centering spring

Post by isamu »

Hi Matlo it's Julian. Hope you're doing well my friend.

Wanted to let you know I tried the latest two test versions you posted a few days ago in this thread. Not sure if adventourer is getting the same thing on his end, but on my end using the PC, the changes you've made results in the spring effect going dead during the race. I've tried a few games like Daytona USA and Sega Rally and during the race the spring effect goes limp randomly and *ONLY* comes back when a different effect activates such as "constant". Then the spring will turn back on but then goes dead again. The good news is that at least with this latest test version, the spring effect doesn't stay on after closing the game.

I want to point out that this issue described above does not happen in version 7.0 or previous to that. However, the issue with 7.0 and earlier versions is that once the spring effect activates when running the game, it remains active at all times even after closing the emulator. I don't really mind it remaining active at all times during the game, but when I close the game/emulator, the spring effect should de-activate. If there was a way to deactivate the spring effect somehow without having to restart gimx, and by pressing some kind of hotkey, I could live with that. The only way to de-activate it in 7.0 is to close gimx and restart it. I will post a log file of what happens using your latest 7.3 test version shortly.
isamu
Posts: 86
Joined: Tue Dec 10, 2013 11:19 pm

Re: FFB only centering spring

Post by isamu »

Text is too big for the forum. Emailing you the log file instead.
User avatar
GoDlike
Posts: 1318
Joined: Thu Apr 28, 2016 12:47 pm
Location: Poland

Re: FFB only centering spring

Post by GoDlike »

You can always use a service like pastebin and give us a link here
My hardware: PS3 Slim CFW 4.80 | PS4 Pro 500 Million LE | PS5 | Xbox Series X
Steam: Godlike_RU | PSN: GoDlike_RU | XBL: GoDlike
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: FFB only centering spring

Post by Matlo »

The bug fixed in the test version linked earlier in this topic made the spring effect (not all games use it) remain active all the time (once started). The stop command sent for the spring effect was misinterpreted as a stop command for the constant effect.
GIMX creator
Post Reply