Usb with python?

Gerhard Häring gh_pythonlist at
Fri Oct 19 20:42:33 CEST 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

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.

mail:   gerhard <at> bigfoot <dot> de       registered Linux user #64239
web:    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