#define KB_HASHSIZE 128 // yes, yes - I know. 128 is not exactly prime :-)
// ... but we are dealing with ASCII chars mostly.
#define KB_HASHSIZE 128 // yes, yes - I know. 128 is not exactly prime :-)
// ... but we are dealing with ASCII chars mostly.
/// Bind a key-sequence to an action
/** Returns 0 on success. Otherwise, position in string where
/// Bind a key-sequence to an action
/** Returns 0 on success. Otherwise, position in string where
/// Look up a key in the keymap
int lookup(KeySym key, unsigned mod, kb_sequence * seq);
/// Look up a key in the keymap
int lookup(KeySym key, unsigned mod, kb_sequence * seq);
int defkey(kb_sequence * seq, int action, int idx = 0);
/// Size of the table (<0: hashtab)
int defkey(kb_sequence * seq, int action, int idx = 0);
/// Size of the table (<0: hashtab)
/// Add a key to the key sequence and look it up in the curmap
/** Add a key to the key sequence and look it up in the curmap
/// Add a key to the key sequence and look it up in the curmap
/** Add a key to the key sequence and look it up in the curmap