[python-nl] Joystick

Dorian Hoxha dorian.hoxha at gmail.com
Tue Feb 24 00:14:13 CET 2015


Hi Marc,


I can't run the program right now, but is the error on line 30?

Maybe you should change:
j.get.axis(1)
to
j.get*_*axis(1)

The same thing with line 31. Does that fix it?



2015-02-23 22:41 GMT+01:00 Marc Stevens <marcs at ziggo.nl>:

>   Geachte heer /mevrouw,
> Ik heb het bijgevoegde programmaatje geschreven, na aanleiding van wat
> voorbeelden.
> Het werkt goed maar gaat op het laatst end gaat ie de mist in.
> De computer geeft de volgende foutmelding ’AttributeError:  ‘Joystick’
> object has no attribute ‘get’
> Ik heb me suf gepiekerd maar ik kom er niet achter waar de fout zit.
> Misschien dat jullie mij een beetje kunnen helpen.
>
>                                                 Alvast bedankt, Marc
> Stevens
>
>
> _______________________________________________
> Python-nl mailing list
> Python-nl at python.org
> https://mail.python.org/mailman/listinfo/python-nl
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-nl/attachments/20150224/5987bdbf/attachment.html>


More information about the Python-nl mailing list