[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] pygame.Joystick Broken in 1.8.1?
- To: pygame-users@xxxxxxxx
- Subject: [pygame] pygame.Joystick Broken in 1.8.1?
- From: pymike <pymike93@xxxxxxxxx>
- Date: Sat, 14 Feb 2009 12:30:32 -0600
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Sat, 14 Feb 2009 13:30:34 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=9wL50wLuiafcAZP9s0mkenLc91rjn0DotDERfMwLj4Q=; b=sean6vcqV3bRIFHpwp5YMJ9SbNBf6WYaXRkvoaZm4nEKWkIE5gpHKuE25VpvZXBOKT dLgCP/DOQxsfQUwK97R9Tcq6xelJsM/d7g59mLpMDf7zZq+AvvYFjFbxaJxeyU4r2rTd 7B0qWdSjajS5Lq5R35uQpwMyLKgA0J3060hPo=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=j4VJB/5aKLQLluDGYbtfCMS58D/kqct6cG7J78noWQy1vBk5fzd8WXW+nFA5ctVvmp A+dT71fIBJfJ42b9x/2KAbPaKccE3tSj1u/SbamiDYHrsl5rhlIJYKkS8TZReeTqC5M+ 0cxOhMyVvGirI7QTewofPmH8pHaO6kWKmjfEA=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Hi all,
Me and my friend are having trouble with joysticks in pygame 1.8.1. We're both running Ubuntu 8.10 (on different machines in different countries)
Basically, joysticks are initializing fine. joystick.get_button() also is working. However, when printing joystick.get_numhats() and joystick.get_numaxes(), we're getting a zero. Obviously, executing joystick.get_hat(0) and joystick.get_axis(0) gives us errors. We've also tried running some pygames that use joysticks, and they crash due to hat/ball errors.
However, I've tried some other SDL games that use joysticks, and they all work perfectly. Help?
Thanks,
--
- pymike
"Python eggs me on."