public String getTypeName ()
	{
	    switch (type) {
		case 0:		return "RST";
		case 1:		return "KEY";
		case 2:		return "REL";
		case 3:		return "ABS";

		case 0x11:	return "LED";
		case 0x12:	return "SND";
		case 0x14:	return "REP";
		default:
		    if (type > 0x1f)
			throw new IllegalStateException ();
	    }
	    return "Unknown-0x" + Integer.toHexString (type);
	}