#include "lx.h" #include "internal.h" int lx_max_keycode(LX_CONN *xc) { if (xc->flags & XCF_FAIL) return(-1); return(xc->keycode_max); }