strange gamepad problem

strange gamepad problem

Postby fari3 » 05 Jan 2019, 23:25

Hi,

Its my first post in this forum and I have already figured out there is a search function but I have a strange gamepad problem.

The gamepad actually works fine with e.g. jstest-gtk
The gamepad interacts with STK. Starting with the --gamepad-debug option indicates correct axis and button recognition. This is even true once I entered the gamepad configuration in STK. However, I can't assign a command of type "axis" to the to the "turn left" or "turn right" event. It's however possible to assign "gamepadbutton3" or another button to the steer left or right. if I move the joystick style controls on the gamepad or even the "cross-like" axis button it happens just: nothing.

The configuration works actually with another gamepad, so it's probably related to the specific hardware.

The gamepad with the issue identifies as Bus 002 Device 008: ID 07b5:0312 Mega World International, Ltd Gamepad
The one that works properly is a Bus 002 Device 009: ID 0079:0006 DragonRise Inc. PC TWIN SHOCK Gamepad

For your information I have posted the output generated by the gamepad-debug option with the non-working gamepad (see below).

Would be great to get some hints. The game is great, my children (and I) love it! Just no way to play multiplayer as long as one gamepad doesnt work :-(

Thanks in advance!

gamepad-debug output:
[verbose ] main: Error messages and other text output will be logged to /home/kinder/.config/supertuxkart/0.8.2/stdout.log.
[info ] [FileManager]: Data files will be fetched from: '/usr/share/games/supertuxkart/data/'
[info ] [FileManager]: User directory is '/home/kinder/.config/supertuxkart/0.8.2/'.
[info ] [FileManager]: Addons files will be stored in '/home/kinder/.local/share/supertuxkart/addons/'.
[info ] [FileManager]: Screenshots will be stored in '/home/kinder/.cache/supertuxkart/screenshots/'.
[info ] [FileManager]: User-defined grand prix will be stored in '/home/kinder/.local/share/supertuxkart/grandprix/'.
[info ] [FileManager]: Asset 0 will be loaded from '/usr/share/games/supertuxkart/data/challenges/'.
[info ] [FileManager]: Asset 1 will be loaded from '/usr/share/games/supertuxkart/data/fonts/'.
[info ] [FileManager]: Asset 2 will be loaded from '/usr/share/games/supertuxkart/data/gfx/'.
[info ] [FileManager]: Asset 3 will be loaded from '/usr/share/games/supertuxkart/data/grandprix/'.
[info ] [FileManager]: Asset 4 will be loaded from '/usr/share/games/supertuxkart/data/gui/'.
[info ] [FileManager]: Asset 5 will be loaded from '/usr/share/games/supertuxkart/data/library/'.
[info ] [FileManager]: Asset 6 will be loaded from '/usr/share/games/supertuxkart/data/models/'.
[info ] [FileManager]: Asset 7 will be loaded from '/usr/share/games/supertuxkart/data/music/'.
[info ] [FileManager]: Asset 8 will be loaded from '/usr/share/games/supertuxkart/data/tracks/'.
[info ] [FileManager]: Asset 9 will be loaded from '/usr/share/games/supertuxkart/data/sfx/'.
[info ] [FileManager]: Asset 10 will be loaded from '/usr/share/games/supertuxkart/data/shaders/'.
[info ] [FileManager]: Asset 11 will be loaded from '/usr/share/games/supertuxkart/data/skins/'.
[info ] [FileManager]: Asset 12 will be loaded from '/usr/share/games/supertuxkart/data/textures/'.
[info ] [FileManager]: Asset 13 will be loaded from '/usr/share/games/supertuxkart/data/po/'.
[verbose ] translation: Env var LANGUAGE = 'de_DE'.
[verbose ] translation: Language 'German (Germany)'.
[warn ] tinygettext: no.po: warning: ignoring, unknown language
[warn ] tinygettext: no_NO.po: warning: ignoring, unknown language
[error ] tinygettext: /usr/share/games/supertuxkart/data/po//de.po line 2742 expected 'msgstr' or 'msgid_plural': ""
[error ] tinygettext: /usr/share/games/supertuxkart/data/po//de.po line 3799 expected empty line: "msgstr "Launchpad Contributions:\nAuria https://launchpad.net/~auria-mg\nBendetto https://launchpad.net/~biengo\ncmdrhenner https://launchpad.net/~cmdrhenner\nDaBASCHT https://launchpad.net/~dabascht\nDavid Roth https://launchpad.net/~davidroth9\nDawid Gan https://launchpad.net/~deveee\nDennis https://launchpad.net/~theradialactive\nDHermit https://launchpad.net/~dhermit\ne https://launchpad.net/~e-blosz\nenz https://launchpad.net/~markus-enzenberger\nEttore Atalan, 2015\nEvolution https://launchpad.net/~marcken-ritter\nFelix https://launchpad.net/~felixk\nFlakebi, 2015\nGerjet Kleine-Weischede https://launchpad.net/~gerjet-deactivat ... tedaccount\nGregor Santner https://launchpad.net/~gregi94\nH0ff1 https://launchpad.net/~stefhoff\nhiker https://launchpad.net/~hiker-luding\nJoerg Henrichs, 2015\nJohn Doe https://launchpad.net/~kulok1493-deactivatedaccount\nkonstin https://launchpad.net/~konstin\nkonstin, 2015\nMatthias Lange https://launchpad.net/~lange-matthias\npert7 https://launchpad.net/~pert7-deactivatedaccount\nRobert Kurz https://launchpad.net/~e-robert-kurz-hd\nSalesome https://launchpad.net/~xaver-bastiani-d ... tedaccount\nSimeon https://launchpad.net/~simeon5\nSTK-team https://launchpad.net/~stk\nTobias Bannert https://launchpad.net/~toba\nTobias Markus, 2015\nWasilis Mandratzis-Walz, 2015\nWolfs https://launchpad.net/~pizzaservice\nWuzzy https://launchpad.net/~wuzzy\nWuzzy, 2015""
Adding language fallback de
[warn ] tinygettext: no.po: warning: ignoring, unknown language
[warn ] tinygettext: no_NO.po: warning: ignoring, unknown language
[error ] tinygettext: /usr/share/games/supertuxkart/data/po//de.po line 2742 expected 'msgstr' or 'msgid_plural': ""
[error ] tinygettext: /usr/share/games/supertuxkart/data/po//de.po line 3799 expected empty line: "msgstr "Launchpad Contributions:\nAuria https://launchpad.net/~auria-mg\nBendetto https://launchpad.net/~biengo\ncmdrhenner https://launchpad.net/~cmdrhenner\nDaBASCHT https://launchpad.net/~dabascht\nDavid Roth https://launchpad.net/~davidroth9\nDawid Gan https://launchpad.net/~deveee\nDennis https://launchpad.net/~theradialactive\nDHermit https://launchpad.net/~dhermit\ne https://launchpad.net/~e-blosz\nenz https://launchpad.net/~markus-enzenberger\nEttore Atalan, 2015\nEvolution https://launchpad.net/~marcken-ritter\nFelix https://launchpad.net/~felixk\nFlakebi, 2015\nGerjet Kleine-Weischede https://launchpad.net/~gerjet-deactivat ... tedaccount\nGregor Santner https://launchpad.net/~gregi94\nH0ff1 https://launchpad.net/~stefhoff\nhiker https://launchpad.net/~hiker-luding\nJoerg Henrichs, 2015\nJohn Doe https://launchpad.net/~kulok1493-deactivatedaccount\nkonstin https://launchpad.net/~konstin\nkonstin, 2015\nMatthias Lange https://launchpad.net/~lange-matthias\npert7 https://launchpad.net/~pert7-deactivatedaccount\nRobert Kurz https://launchpad.net/~e-robert-kurz-hd\nSalesome https://launchpad.net/~xaver-bastiani-d ... tedaccount\nSimeon https://launchpad.net/~simeon5\nSTK-team https://launchpad.net/~stk\nTobias Bannert https://launchpad.net/~toba\nTobias Markus, 2015\nWasilis Mandratzis-Walz, 2015\nWolfs https://launchpad.net/~pizzaservice\nWuzzy https://launchpad.net/~wuzzy\nWuzzy, 2015""
Irrlicht Engine version 1.8.0
Linux 4.15.0-43-generic #46~16.04.1-Ubuntu SMP Fri Dec 7 13:31:08 UTC 2018 x86_64
[info ] IrrDriver: OpenGL version: 4.3
[info ] IrrDriver: OpenGL vendor: NVIDIA Corporation
[info ] IrrDriver: OpenGL renderer: GeForce 840M/PCIe/SSE2
[info ] IrrDriver: OpenGL version string: 4.3.0 NVIDIA 384.130
[info ] GLDriver: ARB Buffer Storage Present
[info ] GLDriver: ARB Base Instance Present
[info ] GLDriver: ARB Draw Indirect Present
[info ] GLDriver: ARB Compute Shader Present
[info ] GLDriver: ARB Texture Storage Present
[info ] GLDriver: ARB Texture View Present
[info ] GLDriver: ARB Bindless Texture Present
[info ] GLDriver: ARB Image Load Store Present
[info ] GLDriver: ARB Shader Atomic Counters Present
[info ] GLDriver: ARB Shader Storage Buffer Object Present
[info ] GLDriver: ARB Multi Draw Indirect Present
[info ] GLDriver: EXT Texture Compression S3TC Present
[info ] GLDriver: ARB Uniform Buffer Object Present
[info ] GLDriver: ARB Geometry Shader 4 Present
[info ] irr_driver: GLSL supported.
[info ] GUIEngine: scale: 2.154255
[info ] shader: Compiling shader : texturedquad.vert
[info ] shader: Compiling shader : texturedquad.frag
[info ] shader: Compiling shader : texturedquad.vert
[info ] shader: Compiling shader : uniformcolortexturedquad.frag
[info ] GrandPrixManager: Loading Grand Prix files from /usr/share/games/supertuxkart/data/grandprix/
[info ] GrandPrixManager: Loading Grand Prix files from /home/kinder/.local/share/supertuxkart/grandprix/
fari3
 
Posts: 2
Joined: 05 Jan 2019, 23:04

Re: strange gamepad problem

Postby Auria » 06 Jan 2019, 00:14

Hi,

unfortunately this issue might be hard to debug since we do not have access to the hardware :/

One possibility is that the gamepad is not correctly calibrated and the computer sees the axis as being only halfway-pressed or something similar. I cannot give specific instructions as this can vary quite a bit depending on your system, but maybe check to calibrate the gamepad.

You can launch stk in a special debug mode by running "supertuxkart --gamepad-visualisation", this will boot STK into a special screen that just displays the raw gamepad input. Once on this screen, try the various buttons and axes and you can see if they register. Especially, press the problematic axis and see what happens. Does it register? Does it seem correctly calibrated (if you press the axis fully, does the visualisation reach the maximum value?)

Another possibility is to simply finish the configuration by hand. Locate the config file, probably in /home/kinder/.local/share/supertuxkart/ for you (otherwise check the FAQ https://supertuxkart.net/FAQ ) and locate input.xml - it shouldn't be too hard to find your way around the file and we can help if needed
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Re: strange gamepad problem

Postby fari3 » 06 Jan 2019, 20:38

Hi Auria,

thanks for your quick reply. I have copied the section from the working gamepad to the one with the config issue in input.xml. The configuration was not perfect but it used the right joystick commands (left, right, accel, brake). Following that I was now able to use the gamepad dialogue to configure the remaining buttons.

Cheers!
Fari
fari3
 
Posts: 2
Joined: 05 Jan 2019, 23:04

Who is online

Users browsing this forum: No registered users and 1 guest