Hi all,
I have just modified a mouse so that the left mouse button gets activated when a puck hits the net in ice hockey...
Now all I need is for python to react to the hit by sending an output of voltage for a period of time and adding the hit to a list.
I've sorted out the database and circuits, now all I need is some help with the following:
Having the LMB click registered
Having output voltage for (eg) 3 seconds
What module would be the best for this, I was thinking of pyparalell but my laptop doesnt have the port...
Any help is greatly apreciated,

Recommended Answers

You can try either PySerial or PyUSB.

Jump to Post

All 2 Replies

Thanks, I'll give it a try

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.