ynsta / steamcontroller

Standalone Steam Controller Driver
MIT License
816 stars 59 forks source link

Right trigger button forces mouse movement #11

Open FrauH0lle opened 8 years ago

FrauH0lle commented 8 years ago

Hey there,

I'd like to ask for help for the following problem:

When I enable the Xbox controller emulation, everythin seems to work fine. However, as soon as I press the right trigger, my mouse pointer moves up and continues doing that. (edit: This behavior does not depend on the emulation, it always happens when I press the trigger) Looking at XInputTest it appears that these buttons are always pressed. image

Is there anything I can do to solve this problem?

ynsta commented 8 years ago

Never saw this behavior maybe a bug was introduced, I'll try to check tonight.

ynsta commented 8 years ago

Do you use xinput test in wine ?

ynsta commented 8 years ago

If I understand xinput test is used to test an emulator of xbox 360 pads. My driver already creates the same events as the xbox pad (tested with "wine control") so xbox 360 emulation is nod needed.

If you want to use it anyway you need to setup the axis in the xbox360cemu.ini file.

FrauH0lle commented 8 years ago

Thanks a lot for your answer! However the problem is not related to wine. image The screenshot was taken directly after I run sc-xbox.py start. As you can see, two axes are active without being touched. Could it be that my controller is faulty? On the other hand, I can use it flawlessly without the emulator to play Linux Steam games....

ynsta commented 8 years ago

I reproduced what is it done with the real xbox 360 controller (Linux kernel driver), I have the same default value with my xbox360 controller.

FrauH0lle commented 8 years ago

I discovered that the Arch Wiki was updated regarding the steam controller and your package. https://wiki.archlinux.org/index.php/Gamepad#Steam_Controller Now the emulation is also covered and applying the proposed setting, everything works now! Thus, thanks a lot for your help!

InkStein commented 8 years ago

My apologies if this question seems naive (new to many things in Linux and Github), but... will the fix noted on the Arch Wiki be applied to this package at some point in the future, or is the fix outside the scope of this program? The Wiki makes it sound like it needs to be applied on a per program basis (haven't tried it yet).

Thank you

ynsta commented 8 years ago

The solution is outside of this driver but I should add information into the documentation of this project.

On Thu, Jan 21, 2016 at 1:32 AM, InkStein notifications@github.com wrote:

My apologies if this question seems naive (new to many things in Linux and Github), but... will the fix noted on the Arch Wiki be applied to this package at some point in the future, or is the fix outside the scope of this program? The Wiki makes it sound like it needs to be applied on a per program basis (haven't tried it yet).

Thank you

— Reply to this email directly or view it on GitHub https://github.com/ynsta/steamcontroller/issues/11#issuecomment-173412447 .

Dominator86 commented 8 years ago

I'm also experiencing this issue and can't find the aforementioned solution on the Arch Wiki.

My udev rule: SUBSYSTEM=="usb", ATTRS{idVendor}=="28de", MODE="0666" KERNEL=="uinput", MODE="0660", GROUP="wheel", OPTIONS+="static_node=uinput"

I don't get any output from sc-desktop.py debug or sc-xbox.py debug if that matters.

What am I missing?

adlainewson commented 8 years ago

I had the same problem; removing xf86-input-joystick did the trick for me - see here: https://github.com/ValveSoftware/steam-for-linux/issues/4237

Jezza commented 1 month ago

Debian here, xserver-xorg-input-joystick is the package that I removed that fixed this.