case 13: return "Return"; case 27: return "Escape"; case 127: return "Delete";
case SWT.CR: return "Return"; case SWT.ESC: return "Escape"; case SWT.DEL: return "Delete";
String keysymName (int keysym) {	switch (keysym) {		case 8: return "BackSpace";		case 9: return "Tab";		/*		* Bug in Motif. For some reason, the XmNaccelerator		* resource will not accept XK_Linefeed and prints Xt		* warnings.  The fix is to use XK_Return instead.		*///		case 10://		case OS.XK_Linefeed: return "Linefeed";		case 10:		case OS.XK_Linefeed:		case 13: return "Return";		case 27: return "Escape";		case 127: return "Delete";	}	if (('0' <= keysym && keysym <= '9') ||		('a' <= keysym && keysym <= 'z') ||		('A' <= keysym && keysym <= 'Z')) {			return new String (new char [] {(char) keysym});	}	/*	 * Note that XKeysymToString returns a value in a static	 * area which must not be modified or freed.	 */	int ptr = OS.XKeysymToString (keysym);	if (ptr == 0) return "";	int length = OS.strlen (ptr);	byte [] buffer = new byte [length];	OS.memmove (buffer, ptr, buffer.length);	/* Use the character encoding for the default locale */	return new String (Converter.mbcsToWcs (null, buffer));}