ValveSoftware / SteamOS

SteamOS community tracker
1.61k stars 70 forks source link

Can't return to Steam from desktop if controller is attached #168

Open pietchaki opened 10 years ago

pietchaki commented 10 years ago

Sometimes when I use the controller to go to Desktop mode, when trying to return to Steam, the BPM screen would flash and a window asking for the desktop password appears. after disconnecting the controller I can return to Steam. Iḿ using a wired XBOX 360 controller. In truth it is a Thrustmaster GPX LighBack.

Plagman commented 10 years ago

That means Steam thinks you're using the guide button; does this controller model have a guide button at all? Does it show as pressed in joystick test programs?

pietchaki commented 10 years ago

It has the guide button, it is a "copy" of the x360 controller, but made by Thrustmaster, fully compatible with x360, but with better axis resolution and HAT design. Using jstest-gtk in desktop mode, the guide button is not showing as pressed.

Sometimes the "A" button bugs and stay as pressed so I have to click it again to fix. This only happens in BPM, I never saw this on Windows, XBOX or during gameplay on SteamOS.

Balderick commented 10 years ago

Have you tried manualy setting controller buttons to each of their indicated location in steam@steamos bpm settings > controller > edit? Doing this may help. It did for me and my controllers's performance in steamos.

I can not replicate what you describe nor have experienced it.
BPM navigation was unpredictable and the button indicators were not always the ones needed to do the function associated with key/button indicator until i did what i suggest giving a far more predicable and enjoyable using controller. I do use a different make and model of controller but is still an xbox360 type.

pietchaki commented 10 years ago

My controller is fully compatible with xbox360, so the signals and button positions are identical to the x360 controller, and I never had any issues with misconfiguration. Also, in BPM on Window$, the controller is recognized as any original xBox360 controller and I can't remap the buttons. Anyway, I tried to remap this controller and got the pressed button bug with 3 buttons(A, B and LT) just after completing reconfiguration.

Other thing is that the 1st time I go to Desktop Mode I don't need any passwords, but every other time it asks for the desktop pass.

Balderick commented 10 years ago

You could try blacklisting xpad as per xboxdrv man pages and use xboxdrv as your controller driver.!?

200Puls commented 10 years ago

I have the same Problem. When clicking the "Return to steam Icon" I get thrown back to the Desktop with the Password prompt. I havent tried detaching the Controller but it is a wireless 360 Controller.

pietchaki commented 10 years ago

I'm using the xboxdrv and hadn't see any problems yet, good! Only thing is that the version on Debian ppa do not support my controller. I compiled from latest source. instructions here: https://github.com/Grumbel/xboxdrv Also, I'm using xboxdrv as a daemon, because it isn't always connected. Created a init.d following this: https://github.com/petrockblog/RetroPie-Setup/wiki/Setting-up-the-XBox360-controller Just had to fix DAEMON=/usr/local/bin/$NAME on the script.

200Puls : One workaround is pressing the A button when you're in the password screen, the press the guide button to return to steam. Or use the xboxdrv to solve the problem..

Balderick commented 10 years ago

Thx for sharing the RetroPie link @pietchaki. I have issue of flashing leds due to old xpad module/kernel being used by valve so being able to load xboxdrv automagically at boot time is pure dead brilliant as well as running in daemon mode. @Plagman Could pietchaki's issue described in op and my flashing home button led issues be related to SDL being used for mapping controller buttons when using steamos? It could also be related to microsoft licensing and how systems see controllers!? i.e. an official xbox controller for pc is seen as a "xbox360 controller" and third party controllers are seen as "xbox360 type controller"