Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kodi doesn't recognize the right analog stick of my gamepad #15033

Open
EmilVogt opened this issue Dec 10, 2018 · 2 comments
Open

Kodi doesn't recognize the right analog stick of my gamepad #15033

EmilVogt opened this issue Dec 10, 2018 · 2 comments

Comments

@EmilVogt
Copy link
Contributor

Bug report

Describe the bug

I got myself a gamepad from Thrustmaster called Dual Analog 4. It hase the same shape as the classic Xbox 360 controller. When going to Settings>System settings>Input>Configure attached controllers, I choose the controller profile "Kodi" and map the buttons of my gamepad. I have to skip "Guide", because the controller doesn't have enough buttons. The last entry is the configuration of the right analog stick. But when it says to move the right stick up, Kodi doesn't recognize any input from the right stick and the time runs out.

Expected Behavior

Kodi recognizes the right stick and maps the correct actions.

Actual Behavior

Kodi doesn't recognize any input from the right stick.

To Reproduce

Steps to reproduce the behavior:

  1. connect the Dual Analog 4 gamepad to the computer
  2. in Settings go to System settings>Input>Configure attached controllers and choose the "Kodi" profile
  3. map all the buttons
  4. the last mapping ("right stick") does not work

Debuglog

The debuglog can be found here:
https://paste.kodi.tv/alecoqagor.kodi
Note: I've gone through the mapping of all buttons in this log file.

Additional context

The content of my Thrustmaster_dual_analog_3.2_v044F_pB315_12b_1h_4a.xml-file located at %APPDATA%\kodi\userdata\addon_data\peripheral.joystick\resources\buttonmaps\xml\directinput can be found here: https://paste.kodi.tv/adifabocib.kodi
This is what Windows 10 (joy.pcl>Properties) shows me:
controller_properties
The left stick controls the cross in the square and the right stick controls both bars next to "Schieberegler" and "Z-Rotation".

Your Environment

Operating system version/name: Windows 10 (1803), 64bit
Kodi version: 18 (Leia) RC2, 64bit

@garbear
Copy link
Member

garbear commented Dec 26, 2018

Thanks for uploading a debug log, but unfortunately I can't see the reason for the bug. In the log:

INFO: AddOnLog: Joystick Support: Initialized joystick 0: "Thrustmaster dual analog 3.2", axes: 4, hats: 1, buttons: 12

Kodi sees all 4 axes (both sticks)

When the controller mapper is run:

DEBUG: Starting configuration wizard
...
DEBUG: Axis 0 discovered at position 0.0000 after 0 frames
DEBUG: Axis 1 discovered at position 0.0000 after 0 frames
DEBUG: Axis 2 discovered at position 0.0000 after 0 frames
DEBUG: Axis 3 discovered at position 0.0000 after 0 frames

The controller mapper sees all 4 axes

When left stick is mapped:

DEBUG: game.controller.default: Waiting for input for feature "leftstick"
DEBUG: BUTTON [ 7 ] on "Thrustmaster dual analog 3.2" released
DEBUG: CAddonSettings[plugin.video.mediathekview]: loading setting definitions
DEBUG: Normal axis detected on axis 1
DEBUG: game.controller.default: mapping feature "leftstick" for device Thrustmaster dual analog 3.2
DEBUG: game.controller.default: Waiting for input for feature "leftstick"
DEBUG: Normal axis detected on axis 0
DEBUG: game.controller.default: mapping feature "leftstick" for device Thrustmaster dual analog 3.2
DEBUG: game.controller.default: Waiting for input for feature "leftstick"
DEBUG: game.controller.default: mapping feature "leftstick" for device Thrustmaster dual analog 3.2
DEBUG: game.controller.default: Waiting for input for feature "leftstick"
DEBUG: game.controller.default: mapping feature "leftstick" for device Thrustmaster dual analog 3.2

All four directions are mapped for axis 0 and 1.

When right stick is prompted to be mapped:

DEBUG: game.controller.default: Waiting for input for feature "rightstick"

<prompt times out after 6 seconds>

DEBUG: AddOnLog: Joystick Support: Loaded device "Mouse" with 1 controller profiles and 10 total features
DEBUG: AddOnLog: Joystick Support: game.controller.mouse: Removing pointer from button map
DEBUG: AddOnLog: Joystick Support: Loaded device "Keyboard" with 1 controller profiles and 139 total features
DEBUG: Failed to load button map for "Tastatur"
DEBUG: Configuration wizard ended

Kodi simply doesn't see the input.

That's where the problem is occurring. I can't look into this now, but I wanted to highlight the problem in the log for when I can.

@funkymaster
Copy link

funkymaster commented Mar 4, 2019

I have got the same problem with my Logitech Cordless RumblePad 2. You can find the content of my Logitech_Cordless_RumblePad_2_USB_v046D_pC219_12b_1h_4a.xml here: https://paste.kodi.tv/bijipemava.kodi I don't remember how long this issue exists on my win7 x64 machine, but at least since v17 x86 and it is still the same with v18 x64. Please notify if someone needs a debug log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants