[[[again, meant for the list. Dunno why Gmail is defaulting weirdly....]]]
On 6/18/08, AlgoMantra <algomantra(a)gmail.com> wrote:
Do you have any midi-keyboard around? Because stdio won't tell you that
a key has been released, only that it has been
hit.
Interesting!!! It'll be fun to find a way around this.
This limits the "toy
Casio experience" somewhat ... There is of
course a workaround - given
that you have root permission, you could read the keyboard
from /dev/input/ instead. This is unfortunately a bit like having a
"keyboard sniffer" installed, which may not be ideal in your
environment. Next step up the ladder I think is fullblown X ...
A virtual midi-keyboard would solve that, perhaps vkeybd?
Just for myself, I would love to play with a lot of different external
HIDs actually..I'm planning to code for playing C code music with
one of those old Nintendo joysticks modded for USB. It's quite
cheap here (around $8 USD).
But the class I teach coding barely knows how to TYPE!!!! Grrrr....
--
------- -.-
1/f ))) --.
------- ...
http://www.algomantra.com
--
------- -.-
1/f ))) --.
------- ...