Usb with python?
Gerhard Häring
gh_pythonlist at gmx.de
Fri Oct 19 14:42:33 EDT 2001
On Fri, Oct 19, 2001 at 11:14:39AM -0700, Fredrik Persson wrote:
> Do anyone know how to access the usb-port in win98 using python? I
> want to use a usb steeringwheel in my pyhton application.
I think you're on the wrong track if you want to interface the hardware
directly.
The steering wheel surely is supported as a DirectInput device. DirectX
has a COM interface nowadays, so you should be able to interface it with
the Python win32 extensions from ActiveState.
Gerhard
--
mail: gerhard <at> bigfoot <dot> de registered Linux user #64239
web: http://www.cs.fhm.edu/~ifw00065/ OpenPGP public key id 86AB43C0
public key fingerprint: DEC1 1D02 5743 1159 CD20 A4B6 7B22 6575 86AB 43C0
reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))
More information about the Python-list
mailing list