Re: [pygame] Steam Controller

2015-10-23 Thread Jake b
Steam uses SDL2, pygame uses 1. Maybe it's not the issue, SDL2 docs sounded like it might be: Joystick events now refer to an SDL_JoystickID. This is because SDL 2.0 can > handle joysticks coming and going, as devices are plugged in and pulled out > during your game's lifetime, so the index into

Re: [pygame] Steam Controller

2015-10-22 Thread Bartosz Debski
Tom, Absolutely this is just to work with Steam and works fine but pygame.joystick does not see the controller. In my game I have created an 'auto-switch' when a controller is detected via pygame.joystick, game will switch into controller mode (on screen prompts, etc). As Valve's gamepad is not be

Re: [pygame] Steam Controller

2015-10-21 Thread Jake b
Have you tried the controller using SDL2? On Wed, Oct 21, 2015 at 6:21 PM, Bartosz Debski wrote: > Hi All, > > I know this is quite fresh but if anyone wonders do Steam Controller works > with PyGame? > Well answer is a NO at the moment. I have tested it on Win and on Linux. > Results are the sa

Re: [pygame] Steam Controller

2015-10-21 Thread Tom Rothamel
It works for me on both Windows and Linux, although it seems to work a lot better under Windows. It only works when steam is running, and really only works when steam launches your game. Steam does let you add shortcuts to non-Steam games, and when you launch through the shortcut, the controller wo

[pygame] Steam Controller

2015-10-21 Thread Bartosz Debski
Hi All, I know this is quite fresh but if anyone wonders do Steam Controller works with PyGame? Well answer is a NO at the moment. I have tested it on Win and on Linux. Results are the same. >>> import pygame >>> pygame.init() (6, 0) >>> pygame.joystick.init() >>> pygame.joystick.get_count()