File in which WiiCan detects buttons

Asked by David Dixon II on 2010-08-29

I was wondering, which file does wiican use to see which buttons were pressed?

Question information

Language:
English Edit question
Status:
Answered
For:
WiiCan Edit question
Assignee:
No assignee Edit question
Last query:
2010-08-30
Last reply:
2010-09-02
J. Félix Ontañón (fontanon) said : #1

Hi David,

Wiican still being a sophisticated frontend for wminput[1], part of cwiid. Once you edit or launch the mapping wminput do the work.

David Dixon II (dbdii407) said : #3

Thank you Félix OntañÓn. I guess I should mention what I want to do.

I have cwiid installed and what I want to do is have python figure out whenever I touch, hold, release a button on the controller. I did use a time.sleep() but that really didn't do much. I looked at WiiCan cause it does this REALLY well. (FretsOnFire for example)

I'm new to this cwiid/bluetooth business itself (not actually python) so I don't know how to do what I need.

J. Félix Ontañón (fontanon) said : #4

David, so you need to code down with python-cwiid not with Wiican. There's a lot of python-cwiid doc on the web.

Here you got some kind of abstract library i coded:

http://github.com/fontanon/wiimidi/blob/master/wiiasynclib/wiimotecontroller.py

It abstract some of the cwiid managing issues. Maybe it could help you.

Can you help with this problem?

Provide an answer of your own, or ask David Dixon II for more information if necessary.

To post a message you must log in.