pls help me,, about reading /dev/kbd

i open the file /dev/kbd in C and successfully read the keyboard buffer,
everytime i press a key,
a char is appended to the file
however, i find that the first bit of the char do represent sth but i don’t
know what that mean
also, when i press several keys at the same time, it will only show one of
them( since it adds one char only )
could anyone teach me how the handle the keyboard input more accurately ??
thx a lot