=== modified file 'termkey.c' --- termkey.c 2009-11-24 01:22:55 +0000 +++ termkey.c 2009-11-23 23:59:46 +0000 @@ -920,10 +920,6 @@ case TERMKEY_TYPE_FUNCTION: l = snprintf(buffer + pos, len - pos, "F%d", key->code.number); break; - case TERMKEY_TYPE_MOUSE: - l = snprintf(buffer + pos, len - pos, "MOUSE(0x%02x,%d,%d)", - key->code.mouse.buttons, key->code.mouse.line, key->code.mouse.col); - break; } if(l <= 0) return pos; === modified file 'termkey.h.in' --- termkey.h.in 2009-11-24 01:22:55 +0000 +++ termkey.h.in 2009-07-15 19:40:44 +0000 @@ -89,8 +89,7 @@ typedef enum { TERMKEY_TYPE_UNICODE, TERMKEY_TYPE_FUNCTION, - TERMKEY_TYPE_KEYSYM, - TERMKEY_TYPE_MOUSE, + TERMKEY_TYPE_KEYSYM } TermKeyType; typedef enum { @@ -112,10 +111,6 @@ long codepoint; // TERMKEY_TYPE_UNICODE int number; // TERMKEY_TYPE_FUNCTION TermKeySym sym; // TERMKEY_TYPE_KEYSYM - struct { - short buttons; - short col, line; - } mouse; // TERMKEY_TYPE_MOUSE } code; int modifiers;