Spacemouse on Linux: 2 Axes detected as triggers

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

Moderator: Moderators for English X Forum

Forum rules
See full rules at Technical Support Request Rules

Required Information in all Technical Support Requests

Please ensure that you provide the following information for all questions posted in this Technical Support forum.
  • Version and language (e.g. 8.00 Hotfix 3, English, etc.).
  • Whether or not your game is modified using any third party scripts or mods (see note below).
  • The game start you originally selected for the game in which the problem occurred.
  • Exact nature of the problem, where and when it occurs and what you were doing at the time.
  • Any possibly relevant changes you have made to your game, system, or software before the issue occurred.
  • Where appropriate, additional symptoms, error messages, links to saves, screenshots and crash dump files (see this Wiki entry).
  • Your system specifications in the form of a DxDiag report and vulkaninfo (see this Wiki entry).
Failure to provide all this information will make it pretty much impossible for people to help you and may mean that it takes longer for your problem to be identified and hopefully solved. So please don't waste your own time and everyone else's by just posting something like "My game freezes. Help!!!".

If you are supplying information that will not conveniently fit into posts in this forum (approx 70,000 character limit per post), in the worst case you can split long text files across 2 consecutive posts, or ideally you can upload the data to a reputable public fileshare site (a few examples are Google Drive, DropBox or PasteBin, etc) but please don't use sites that spam advertising or require registration for downloads. Please use in your post the open public sharing link to your file(s) that will not require any account or registration for others to download.

Note: Support for third party modifications must be provided by the authors of those modifications, and any requests for such support should be posted in the appropriate thread in the Scripts and Modding forum.
kermit_frog
Posts: 2
Joined: Sat, 14. Jan 23, 10:50

Spacemouse on Linux: 2 Axes detected as triggers

Post by kermit_frog »

Hi,

the forum just failed to subit and forgot my text, so I'm gonna rewrite it in shorter form because I don't have the patience to do it all in nice well formated sentences again... >.<

using inputmangler to remap REL events of Spacemouse to ABS. Worked fine before, now it's detected as controller and game thinks ABS_Z & ABS_RZ are triggers. -> only working in one direction

Steam Input also thinks it's XBOX controller - turned off for the game, but
steam -console contains:
Game 392160 created interface SteamController008 /
Game 392160 created interface SteamFriends017 /
Game 392160 created interface SteamInput006 /

so maybe X4 is using it despite that?

other axes (ABS_(THROTTLE|RUDDER|WHEEL|HATX0)) not recognized at all

theory: X4 believes Spacemouse is a controller and ignores them.

What are the criterie to differ controller/trigger from stick?
Alan Phipps
Moderator (English)
Moderator (English)
Posts: 32950
Joined: Fri, 16. Apr 04, 19:21
x4

Re: Spacemouse on Linux: 2 Axes detected as triggers

Post by Alan Phipps »

At a pure guess as I don't know the hardware involved, trigger and button outputs should be mapped to in-game digital inputs, and sticks and throttles should be mapped to in-game analogue inputs. If that is all done, then I don't know what else to suggest, sorry.
A dog has a master; a cat has domestic staff.
kermit_frog
Posts: 2
Joined: Sat, 14. Jan 23, 10:50

Re: Spacemouse on Linux: 2 Axes detected as triggers

Post by kermit_frog »

The hardware here is basically a 6-axis joystick.
What goes wrong is that the game falsly believes 2 of these 6 axes to be triggers. These still can be used to provide analogue input events - but only in one direction, e.g. only turn right.
Movements in the other direction are ignored by the game.
enyophaze
Posts: 37
Joined: Fri, 25. Apr 25, 16:55
x4

Re: Spacemouse on Linux: 2 Axes detected as triggers

Post by enyophaze »

kermit_frog wrote: Sun, 15. Jan 23, 17:06 The hardware here is basically a 6-axis joystick.
What goes wrong is that the game falsly believes 2 of these 6 axes to be triggers. These still can be used to provide analogue input events - but only in one direction, e.g. only turn right.
Movements in the other direction are ignored by the game.
Does the linux installation use the same types of xml profiles for apps as the PC version?
Alan Phipps
Moderator (English)
Moderator (English)
Posts: 32950
Joined: Fri, 16. Apr 04, 19:21
x4

Re: Spacemouse on Linux: 2 Axes detected as triggers

Post by Alan Phipps »

Asking questions of posters in a 3 year old thread is likely unhelpful.
A dog has a master; a cat has domestic staff.

Return to “X4: Foundations - Technical Support”