I can't guarantee that this will work with vpython for what you want to do,
but pyGame is probably worth a look. It can work with a variety of input
devices. Take a look at http://www.pygame.org/.
---
Patrick K. O'Brien
Orbtech
"I am, therefore I think."
-----Original Message-----
From: vis...@li...
[mailto:vis...@li...]On Behalf Of Gary
Strangman
Sent: Monday, June 11, 2001 12:06 PM
To: vis...@li...
Cc: Gary Strangman
Subject: [Visualpython-users] Input devices
Hello,
Sorry if this is a dumb question (and hope this hasn't already been
posted--mail firewall issues), but ...
I'm brand new to Visual Python (though a long-time Python user), and I was
unable to find info on this question in the archives or doc. I'm
interested in using VPython for a navigation-in-3D task which requires
input devices other than the mouse (esp. joysticks and keyboard). I see
that the mouse worked automatically when I ran the little demo program,
and the archives suggest that a trackball (i.e., a mouse-alike) works fine
too. Is there a way to handle other input devices as well? And if so, how?
Cheers,
Gary Strangman
--------------------------------------------------------------
Gary Strangman, PhD | Neural Systems Group
Office: 617-724-0662 | Massachusetts General Hospital
Fax: 617-726-4078 | 13th Street, Bldg 149, Room 9103
st...@nm... | Charlestown, MA 02129
http://www.nmr.mgh.harvard.edu/Neural_Systems_Group/gary/
_______________________________________________
Visualpython-users mailing list
Vis...@li...
http://lists.sourceforge.net/lists/listinfo/visualpython-users
|