joystick hook

A Forum dedicated to the Suggestion, Creation and Editing of XWA Dynamic Link Library Files

Moderator: JeremyaFr

Re: joystick hook

MamiyaOtaru
Cadet 4th Class
Posts: 17
Joined: Mon Nov 04, 2019 4:17 am

Post by MamiyaOtaru » Sun Dec 13, 2020 9:01 pm

with the new xwa2020 megapack, I can't get more than 20fps in game (in menu shows 100+). If I replace Hook_Joystick_Ff.dll with a previous one (from July 22, 2020) my FPS is where it was before: 100+, dropping some with a ton of stuff on screen.

Alternatively, if I unplug my stick (Thrustmaster t16000m), FPS also goes back up.

Stick with old dll is fine. No stick with new dll (nov 29, 2020) is fine. Stick with new dll means FPS limited to 20. What's going on?

*edit* same issue with December 11 2020 dll

User avatar
JeremyaFr
XWAU Member
Posts: 3061
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Mon Dec 14, 2020 8:25 pm

WIP

Hello,
I've improved performance of the hook.

xwa_hook_joystick_ff_WIP_2012142124.zip
You do not have the required permissions to view the files attached to this post.

User avatar
JeremyaFr
XWAU Member
Posts: 3061
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Fri Dec 18, 2020 3:49 pm

UPDATE

Hello,
I've updated the joystick hook.
I've merged the changes from the WIP version into the stable version.

MamiyaOtaru
Cadet 4th Class
Posts: 17
Joined: Mon Nov 04, 2019 4:17 am

Post by MamiyaOtaru » Wed Dec 30, 2020 10:09 pm

cheers man, hook causing no performance degradation that I can see now :)

ChildOfGod32798
Recruit
Posts: 4
Joined: Tue Nov 08, 2016 6:43 pm

Post by ChildOfGod32798 » Fri Jan 08, 2021 1:56 am

Does anyone have a working profile for Thrustmaster Warthog? I keep getting unconntrollable left roll if my joystick is set as the roll controller with axis 2 used. I can fix the roll with a different axis on my throttle but that's not exactly very practical. Any suggestions?

killsinthenight
Recruit
Posts: 6
Joined: Tue Jan 12, 2021 8:31 am

Post by killsinthenight » Tue Jan 12, 2021 8:44 am

I'm running into an issue with my X-56, the axes on the stick work perfectly; however, as I like to map Roll to the top rotary on the throttle, i am not able to simultaneously map both the throttle and and the roll to the axes on the throttle device (even after the JoystickConfig update from 12/18/2020). Roll continues to be mapped to stick twist. (Unfortunately, VJOY is not a solution for me.) Any thoughts? Thank you in advance!!!

User avatar
ual002
XWAU Member
Posts: 889
Joined: Wed Sep 24, 2008 2:23 am

Post by ual002 » Tue Jan 12, 2021 4:48 pm

Can't say I've tried that setup myself, so I can't chime in, however I do have an X-56. Maybe I can try to replicate what you are trying and report back.

Question for everyone, has anyone tried to say setup an Xbox controller or have a working profile for one they got working that they could share?
Image Image Image Image Image

Luke_Skywalker
Cadet 1st Class
Posts: 146
Joined: Fri Mar 11, 2005 12:01 am

Post by Luke_Skywalker » Wed Jan 13, 2021 12:36 am

ChildOfGod32798 wrote:
Fri Jan 08, 2021 1:56 am
Does anyone have a working profile for Thrustmaster Warthog? I keep getting unconntrollable left roll if my joystick is set as the roll controller with axis 2 used. I can fix the roll with a different axis on my throttle but that's not exactly very practical. Any suggestions?
Don't forget that axes start with 0, not 1, so the uncontrollable roll might be tied to a different axis.
When 900 years old you reach, look as good, you will not. Hmm?" -Yoda

User avatar
JeremyaFr
XWAU Member
Posts: 3061
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Sat Jan 16, 2021 9:48 pm

WIP

Hello,
Here is a WIP version of the joystick hook.

You can now select the controllers either by their index (position starting from 0) or by their ID (Product identifier).

xwa_hook_joystick_ff_WIP_2101162245.zip
You do not have the required permissions to view the files attached to this post.

killsinthenight
Recruit
Posts: 6
Joined: Tue Jan 12, 2021 8:31 am

Post by killsinthenight » Mon Jan 18, 2021 12:27 am

JeremyaFr wrote:
Sat Jan 16, 2021 9:48 pm
WIP

Hello,
Here is a WIP version of the joystick hook.

You can now select the controllers either by their index (position starting from 0) or by their ID (Product identifier).


xwa_hook_joystick_ff_WIP_2101162245.zip
thank you. is this part of the Mega Patch?

User avatar
JeremyaFr
XWAU Member
Posts: 3061
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Mon Jan 18, 2021 5:15 pm

UPDATE

Hello,
I've merged the changes from the WIP version into the stable version.

killsinthenight
Recruit
Posts: 6
Joined: Tue Jan 12, 2021 8:31 am

Post by killsinthenight » Mon Jan 18, 2021 9:38 pm

JeremyaFr wrote:
Mon Jan 18, 2021 5:15 pm
UPDATE

Hello,
I've merged the changes from the WIP version into the stable version.
Any updated force feedback hook creates a ghosting effect with every input, including this one, I have to revert. (using hotas and trackir)

User avatar
ual002
XWAU Member
Posts: 889
Joined: Wed Sep 24, 2008 2:23 am

Post by ual002 » Mon Jan 18, 2021 10:11 pm

I don't mean to derail, but are there modern Joysticks still offering force feedback?
Image Image Image Image Image

killsinthenight
Recruit
Posts: 6
Joined: Tue Jan 12, 2021 8:31 am

Post by killsinthenight » Wed Jan 20, 2021 6:27 am

JeremyaFr wrote:
Mon Jan 18, 2021 5:15 pm
UPDATE

Hello,
I've merged the changes from the WIP version into the stable version.
fook yea!!!! finally got it. reinstalled the updated Joystick FF hook, but then set the "select a joystick with force feedback" to -1 and activated FF in game.
so now on the X56, we have both throttle mapped to throttle (index 0) & roll mapped to throttle rotary (index 2)
kinda goofy work around but, we got it. thanks for your help JeremyaFr

mvantosh
Recruit
Posts: 3
Joined: Tue Oct 27, 2020 2:13 am

Post by mvantosh » Sun Feb 28, 2021 9:57 pm

does anyone have a gamepad they'd recommend? thinking about getting a ps4 controller (currently have a logitech f310) and am looking for something better, but not super expensive. thanks!

D_Dorchagraine
Recruit
Posts: 1
Joined: Tue Apr 06, 2021 12:29 pm

Post by D_Dorchagraine » Tue Apr 06, 2021 12:35 pm

Hello everyone. I am new to this forum but not to this game.
I had a question. I have the Rhino X56G Logitech Hotas. The hat switch you normally use for looking around, keeps on moving the look upwards in a complete circle, I changed the hat switch command to not use the hat switch anymore and it stopped it. However now if I select any switch on my control stick power to shields from lasers, target near craft, anything it changes the weapons by cycling through them. I have no figured out how to stop this from happening. I have changed and calibrated everything. Any suggestions?

I find it strange that the joystick when plugged by itself does this, I am not using the throttle as that will not work. It would be great if one day it does with a update. I have tried calibrating everything, setting all the buttons, double checking it and still this problem persists.
Angel from the Tie fighter conversion mod sent me over here for some help.

Post Reply