Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 3922 → Rev 3923

/trunk/uspace/lib/libc/generic/kbd.c
50,9 → 50,9
return -1;
 
ev->type = r0;
ev->c = r1;
ev->key = r2;
ev->mods = r3;
ev->key = r1;
ev->mods = r2;
ev->c = r3;
 
return 0;
}
/trunk/uspace/lib/libc/generic/io/stream.c
67,7 → 67,7
do {
rc = kbd_get_event(&ev);
if (rc < 0) return -1;
} while (ev.c == 0);
} while (ev.c == 0 || ev.type == KE_RELEASE);
 
((char *) buf)[i++] = ev.c;
}