https://bugs.winehq.org/show_bug.cgi?id=42358
Bug ID: 42358 Summary: Improve wine control game controllers with background pictures Product: Wine Version: 2.0 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: winetest@luukku.com Distribution: ---
I just started wine control and then Game controllers. I am a bit confused how this is supposed to work.
I was thinking it would be cool to have some generic background on some joysticks that can be recognized.
I did some googling and I found this site.
https://www.vecteezy.com/free-vector/joystick
It would require some work, but it would look a lot better with joystick background.
https://bugs.winehq.org/show_bug.cgi?id=42358
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement
--- Comment #1 from Bruno Jesus 00cpxxx@gmail.com --- Wine does not favor any joystick so the handling is as generic as is in Windows. It is not possible to predict what button index is what in the physical controller (unless for well known controllers like ps3,xbox...) so it is basically impossible to do this right like for example in x360ce.
Currently Wine relies on the joystick names passed up by their drivers so you do get PS3 and Xbox controller names, for generic HID controllers you have their generic name as expected.
What was the problem you had?
https://bugs.winehq.org/show_bug.cgi?id=42358
--- Comment #2 from winetest@luukku.com --- I was thinking about having this feature only on most commong and easily recogniced gamepads.
For some reason I have 2 joysticks. The only thing that seperates them is name event and js.
The name is "Logictech Logictech Cordless Rumblepad 2" (event or js)
[ 3650.985346] usb 1-12.2: new full-speed USB device number 9 using xhci_hcd [ 3651.096167] usb 1-12.2: New USB device found, idVendor=046d, idProduct=c219 [ 3651.096173] usb 1-12.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 3651.096176] usb 1-12.2: Product: Logitech Cordless RumblePad 2 [ 3651.096179] usb 1-12.2: Manufacturer: Logitech [ 3651.143043] input: Logitech Logitech Cordless RumblePad 2 as /devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12.2/1-12.2:1.0/0003:046D:C219.000A/input/input23
It seems to double the name?
The ball at X/Y axel should be centered? Right? For me it's constantly at top.
Changing the controller on and off moves the ball either top or center.
So far using arrow key top or bot doesnt seem to recogniced at all.
https://bugs.winehq.org/show_bug.cgi?id=42358
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com, | |winetest@luukku.com
https://bugs.winehq.org/show_bug.cgi?id=42358
--- Comment #3 from Bruno Jesus 00cpxxx@gmail.com --- On Linux the dinput implementation offers the same joystick using 2 flavors: - Using the older kernel joystick interface - (js) postfix - Using the newer event input interface - (event) postfix
You can check which works best for you and disable the other. The (event) one is the only that supports force feedback.
If you move the joystick does it auto center after you release it? Does it also stays in the top using native apps? eg jstest-gtk.
I have generic joysticks that also start at the top and require a first input to auto-center.
If the problem is not present in jstest-gtk please open a new bug attaching a +dinput log.
https://bugs.winehq.org/show_bug.cgi?id=42358
--- Comment #4 from winetest@luukku.com --- I don't see any autocentering and the issue seems to be the same with that program, the ball stays up. Also up and down arrow key has no impact. But you can move up and down with the 2 black big buttons in the mid.
The joystick looks like this
http://gaming.logitech.com/assets/47831/f710-gaming-gamepad-images.png
Logitech f710
https://bugs.winehq.org/show_bug.cgi?id=42358
--- Comment #5 from Bruno Jesus 00cpxxx@gmail.com --- A gamepad is divided (generally) in axes and buttons.
The left analog stick handle the axes X/Y movement while the right analog stick handle the axes rX/rY. In generic controllers the D-Pad (the four arrows for left/up/right/down) are recognized as buttons, sometimes as what is called a hat.
You can use jstest-gtk to remap the buttons/axes to whatever you want and that will reflect in Wine.
https://bugs.winehq.org/show_bug.cgi?id=42358
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Improve wine control game |Logitech Ff710 |controllers with background | |pictures |
https://bugs.winehq.org/show_bug.cgi?id=42358
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Logitech Ff710 |Logitech F710 joystick | |Y-axel is at it's max by | |default
--- Comment #6 from winetest@luukku.com --- I changed title. This is more important to fix now.
I opened Kde's joystick configuration. And this is how it looks default. I was about to calibrate the joystick but I don't what I should do when it asks these questions.
What position should I press the joystick for minimum? Center is the mid and maximum is the opposite of minium.
Steps 1 and 2 for x and y axel, but how about the next steps?
https://bugs.winehq.org/show_bug.cgi?id=42358
--- Comment #7 from winetest@luukku.com --- Created attachment 57154 --> https://bugs.winehq.org/attachment.cgi?id=57154 forgot to add from kde screenshot
https://bugs.winehq.org/show_bug.cgi?id=42358
--- Comment #8 from winetest@luukku.com --- Hmm I am starting to think that the joystick is broken or kernel has some bug. I haven't been able to get the y-axel work. It's always the maximum at some direction and don't respond.
https://bugs.winehq.org/show_bug.cgi?id=42358
--- Comment #9 from Bruno Jesus 00cpxxx@gmail.com --- Do the buttons and other axes work? If the controller does not work in native OS there is nothing we can do.
Does it work in Windows? If yes it could be a kernel bug.
https://bugs.winehq.org/show_bug.cgi?id=42358
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID
--- Comment #10 from winetest@luukku.com --- Other buttons and axes work. And it has worked before (for example steam big picture). Solving for now as invalid.
https://bugs.winehq.org/show_bug.cgi?id=42358
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Austin English austinenglish@gmail.com --- Closing.