if (button < 0 || button > 3) button = 3; return ' ' + (KeyState(event->state) << 2) + button;
int result = 32 + (KeyState(event->state) << 2);  if (button < 0 || button > 5) { result += 3; } else { if (button > 3) result += (64 - 4); if (event->type == MotionNotify) result += 32; result += button; } return result;
BtnCode(XButtonEvent *event, int button){	if (button < 0 || button > 3)		button = 3;	return ' ' + (KeyState(event->state) << 2) + button;}