TRACE(("...Input keypad before was %#04lx\n", keysym));
TranslateFromSUNPC(KeySym keysym){	static struct {		KeySym before, after;	} table[] = {#ifdef DXK_Remove		{ XK_Delete,       DXK_Remove },#endif		{ XK_Home,         XK_Find },		{ XK_End,          XK_Select },#ifdef XK_KP_Home		{ XK_Delete,       XK_KP_Decimal },		{ XK_KP_Delete,    XK_KP_Decimal },		{ XK_KP_Insert,    XK_KP_0 },		{ XK_KP_End,       XK_KP_1 },		{ XK_KP_Down,      XK_KP_2 },		{ XK_KP_Next,      XK_KP_3 },		{ XK_KP_Left,      XK_KP_4 },		{ XK_KP_Begin,     XK_KP_5 },		{ XK_KP_Right,     XK_KP_6 },		{ XK_KP_Home,      XK_KP_7 },		{ XK_KP_Up,        XK_KP_8 },		{ XK_KP_Prior,     XK_KP_9 },#endif	};	unsigned n;	for (n = 0; n < sizeof(table)/sizeof(table[0]); n++) {		if (table[n].before == keysym) {			keysym = table[n].after;			TRACE(("...Input keypad changed to %#04lx\n", keysym));			break;		}	}	return keysym;}