steamcontroller icon indicating copy to clipboard operation
steamcontroller copied to clipboard

Right trigger button forces mouse movement

Open FrauH0lle opened this issue 9 years ago • 11 comments

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?

FrauH0lle avatar Dec 21 '15 18:12 FrauH0lle

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

ynsta avatar Jan 04 '16 14:01 ynsta

Do you use xinput test in wine ?

ynsta avatar Jan 04 '16 21:01 ynsta

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.

ynsta avatar Jan 04 '16 21:01 ynsta

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....

FrauH0lle avatar Jan 06 '16 08:01 FrauH0lle

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.

ynsta avatar Jan 06 '16 11:01 ynsta

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!

FrauH0lle avatar Jan 06 '16 12:01 FrauH0lle

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

InkStein avatar Jan 21 '16 00:01 InkStein

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 [email protected] 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 .

ynsta avatar Jan 26 '16 09:01 ynsta

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?

Dominator86 avatar Mar 24 '16 19:03 Dominator86

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

adlainewson avatar Jul 24 '16 10:07 adlainewson