[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] Joystick is picked up but Joystick.get_button(n) and Joystick.get_axis(n) return 0.0
- To: pygame-users@xxxxxxxx
- Subject: [pygame] Joystick is picked up but Joystick.get_button(n) and Joystick.get_axis(n) return 0.0
- From: Adam <adam.jtm30@xxxxxxxxx>
- Date: Tue, 18 Jul 2006 15:28:38 +0100
- Delivered-to: archiver@seul.org
- Delivered-to: pygame-users-outgoing@seul.org
- Delivered-to: pygame-users@seul.org
- Delivery-date: Tue, 18 Jul 2006 10:28:51 -0400
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=ne0fg+HvgRKWHoxPxN1NKLBEsePGdlUCJTCo/wnbT5Dj23IbEiEpTe1VK3y476ePRfLmyZ0ZxibQwJaJNhe+p9+RY8hUonM9mQjzVsMcxPq42xEOjFkacP/2k8dsCTXvefvq/JIpl3BZzRq96cyR8pHG+WkkhdNORZHNPnKklSY=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Python 2.4.1, pygame 1.7.1 linux kernel 2.6.17.6 logitech attack 3 joystick. The joystick works in planet penguin racer and cat /dev/js0 prints loads of rubbish as the joystick is moved or buttons are pressed but get_button and get_axis always return 0 whether the buttons are pressed or the axes are centralised or not. Is there anything I can do to fix this?
Adam