| View previous topic :: View next topic |
| Author |
Message |
HiNtZ
Joined: 27 Dec 2007 Posts: 67
Digg It |
Posted: Thu Jan 10, 2008 2:32 pm Post subject: A good way to have lots of inputs with limited buttons! |
|
|
I was sitting here thinking that I only have 11 buttons on my wiimote, then add the accelerometers + tilt fuctions and you can add about another 16 or so outputs.
So what about the IR? I was wondering if it would be possible to write some code to enable specific movements to result in key presses?
So for instance, if i wanted to make media player full screen, the key press is ALT + Enter....
How would i make it so to enable this keypress, the IR camera will track my movement from bottom left of screen, to top right of screen whilst holding B button?
If no one can help me with that, then at least point me somewhere to learn how to write code for IR capabilities.
Thanks |
|
| Back to top |
|
 |
HiNtZ
Joined: 27 Dec 2007 Posts: 67
Digg It |
Posted: Fri Jan 11, 2008 10:50 am Post subject: |
|
|
No one agree?
You could literally have a whole array of outputs using this method! |
|
| Back to top |
|
 |
jakweeze
Joined: 13 Feb 2008 Posts: 7
Digg It |
Posted: Fri Feb 15, 2008 8:40 am Post subject: |
|
|
| I believe in searching for the answer to my own questions i've come across something like this already, gesture movements mapping to shortcuts. If I find it again I'll post you a link |
|
| Back to top |
|
 |
HiNtZ
Joined: 27 Dec 2007 Posts: 67
Digg It |
Posted: Tue Feb 19, 2008 3:53 pm Post subject: |
|
|
Thanks Jak....would be very helpful  |
|
| Back to top |
|
 |
TheDro
Joined: 10 Feb 2008 Posts: 39 Location: Canada
Digg It |
Posted: Mon Feb 25, 2008 10:04 pm Post subject: |
|
|
That's a really good question. I can't help you yet anyways but is there a way to have glovepie count something. For example, can we make it count by how many pixels the IR sensory has moved since I last pressed the A button. If so, it might just be possible to write a code that works like you want it. Of course you might not be able to just move the wiimote from one corner to the other but you could say, if within 1 second of pressing wiimote1.two, wiimote1.dot1x changes by at most -900 and wiimote1.dot1y changes by at least 600 (I think the signs are right), then press ALT+ENTER.
I really don't know how to write that type of script but I hope it helps a little bit at least. |
|
| Back to top |
|
 |
HiNtZ
Joined: 27 Dec 2007 Posts: 67
Digg It |
Posted: Wed Feb 27, 2008 10:27 pm Post subject: |
|
|
| TheDro wrote: | That's a really good question. I can't help you yet anyways but is there a way to have glovepie count something. For example, can we make it count by how many pixels the IR sensory has moved since I last pressed the A button. If so, it might just be possible to write a code that works like you want it. Of course you might not be able to just move the wiimote from one corner to the other but you could say, if within 1 second of pressing wiimote1.two, wiimote1.dot1x changes by at most -900 and wiimote1.dot1y changes by at least 600 (I think the signs are right), then press ALT+ENTER.
I really don't know how to write that type of script but I hope it helps a little bit at least. |
I shouldn't think its a complex script, I'm not all that good with the IR. Its beyond me. |
|
| Back to top |
|
 |
|