1 Nov
2007
1 Nov
'07
3:54 p.m.
Hi
I think something is not working correct in HidMsg. Running the
following code and pressing "5" prints "34" but pressing "s" also prints
"34" (this is with a danish keyboard, things might look different with
other keyboards, I know). Shouldn't each key be associated with a unique
int?
1 => int device;
Hid hi;
HidMsg msg;
if( !hi.openKeyboard( device ) ) me.exit();
<<< "keyboard '" + hi.name() + "' ready", "" >>>;
while(true){
hi => now;
while(hi.recv(msg)){
<<