[solved] Version: 7.10 (538068) Double Joystick Assignment with Joy2Key, AntiMicroX start both actions in Game

Ask here if you experience technical problems with X4: Foundations.

Moderator: Moderators for English X Forum

Schiffmeister13
Posts: 6
Joined: Fri, 27. May 22, 00:44
x4

[solved] Version: 7.10 (538068) Double Joystick Assignment with Joy2Key, AntiMicroX start both actions in Game

Post by Schiffmeister13 »

Version: 7.10 (538068)

update:
I was able to solve the problem by deleting the joystick buttons I had assigned to double functions in the game and instead mapping them to keyboard commands via Joy2Key. I assigned the "primary function" for the button in Joy2Key to a single keyboard key, like "o," and the secondary function to "ctrl+o" exclusively in the in-game controls, not in Joy2Key. In Joy2Key, I also reserved a key on each joystick, just like before, where only "ctrl" is assigned.

Essentially, I’m doing the same thing as before, except now, instead of combining a keyboard command in Joy2Key with a joystick button in-game, I’m linking a keyboard command with an in-game keyboard command. Unlike before, this doesn't trigger all actions associated with the corresponding joystick button but only the desired one. X4 seems to understand in this case that these are two separate actions when the command is combined exclusively via a joytokey keyboard command + ingame keyboard command and not via Joy2key keyboard command + in game joystick button.


I have already described this Problem in the beta thread:

viewtopic.php?t=464330

Because the problem is still there I post it here again more detailed. I know that there are not a lot of players who are using dual Joysticks and even less players who use dual button assignments but I still hope that this problem is at least recognized from Egosoft and hopefully will be fixed in the future.

Example of the Problem:

Joysticks used: Dual Thrustmaster T16000M

Controls inGame in X4:
Flares assigned to Button 4 on right joystick
Scanmodus assigned to ctrl+o

Settings in JoytoKey:
Ctrl Assigned to Button 2 on left Joystick
o assigned to Button 4 on right Joystick

In the past it worked without problems. Now it happens for every button which is double assigned that both actions are started. In this case Scanmodus and Flares are activated when pressing Button 2 on left joystick and Button 4 on right Joystick. It seems that the game doesn't recognize that two joysticks buttons are a separate action and instead additionally also triggers the action wich is assigned to one joystick button pressed alone. Therefore I think it is clearly a bug caused by one of Egosoft's last updates (probably the big update for timelines) because it worked in the first place and I tested it on Linux as well and there I was running in the same problem.


From my perspective there are two solutions to the problem:

1. The game recognizes that two pressed joystick buttons are a different action as pressing only one. This seems to be the case before the update.
2. Even better would be a solution where the game allows to configure actions in controls for two pressed joystick buttons and recognizes this as an separate action compared to one button only. In this case there would be no need for additional software like Joy2Key.


I have provided my save game, the illustration of my joystick config, the joystick config itself from Joy2Key and the input map under this link. If you need more Information please let me know.

https://drive.google.com/drive/folders/ ... sp=sharing

The following thinks I have already tried without success:
- Reinstalled X4
- installed X4 under Linux and using AnitMicroX there (Joy2key not available for Linux)
- Used other modification buttons than ctrl in x4
- Used other buttons in joytokey
- tried using AntiMicroX in Windows instead of Joy2Key
- deinstalled the latest windows updates because of the Following entrances in the FAQ of Joy2Key and also started Joy2Key as Admin in Windows: https://joytokey.net/en/posts/does-not- ... win7-8-10/ and https://joytokey.net/en/posts/problem-a ... ws-update/
- started X4 as Admin
- set higher priority for x4 process in windows task manager
- set higher priority for Joy2Key process in windows task manager
- changed input device types in Joy2Key
- tried all gamepad modi in x4 including "none"
- installed classic older version of joy2key
Last edited by Schiffmeister13 on Thu, 22. Aug 24, 00:44, edited 24 times in total.
Alan Phipps
Moderator (English)
Moderator (English)
Posts: 31814
Joined: Fri, 16. Apr 04, 19:21
x4

Re: Version: 7.10 (538068) Bug or Feature? Game allows input of two joystick buttons pressed at once.

Post by Alan Phipps »

This has a detailed description of a niche usecase and so I'll move it over to Tech Sp where a UI dev is more likely to see it.
A dog has a master; a cat has domestic staff.
Schiffmeister13
Posts: 6
Joined: Fri, 27. May 22, 00:44
x4

Re: Version: 7.10 (538068) Bug or Feature? Game allows input of two joystick buttons pressed at once.

Post by Schiffmeister13 »

Alan Phipps wrote: Fri, 9. Aug 24, 10:13 This has a detailed description of a niche usecase and so I'll move it over to Tech Sp where a UI dev is more likely to see it.
Thank you!

Return to “X4: Foundations - Technical Support”