Questions (#2) - no timeout on wii remote search? (#9) - Message List
Hi,
Im wondering if there's some way to make it so that the wii remote search will not time out when invoking wminput. Basically I have a MythTV box and would like to be able to pick up the wii remote, press 1 + 2, and have it automagically connect to wminput (if the Wii's not on, that is).
Right now I have a bash script in /usr/bin that just reads:
wminput -c mythfrontend & mythfrontend
... but it needs me to press 1 + 2 immediately upon starting the script.
Thanks for the help!
spiderworm
-
Message #33
Sure - I'm going to tear into that part of the code pretty soon any way, that should be an easy option to implement while I'm there. Submit a ticket so I don't forget about it.
dsmith03/27/07 04:03:26 (6 years ago) -
Message #50
done
dsmith04/03/07 01:31:59 (6 years ago)-
Message #24320
Hi,
Can I use this option from the python bindings?
I tried some things like wiimote = cwiid.Wiimote("w")
but it doesn't work.
Thanks! Beau
Beau03/04/08 12:01:32 (5 years ago)-
Message #24321
The Wiimote init function takes 2 optional arguments: a bluetooth address string, and a flag field.
dsmith03/04/08 13:00:12 (5 years ago)-
Message #24322
Thanks for the fast reply.
Could you tell me what the flags are or where I can find them?
Beau03/04/08 20:24:11 (5 years ago)-
Message #24323
The python documentation is lacking, but the functions closely mirror the C API.
dsmith03/05/08 04:15:51 (5 years ago)
-
-
-
-
