Daniel Skarda		0rfelyus@ucw.cz

  some code borrowed from linux input driver utilities by

Vojtech Pavlik		vojtech@ucw.cz
