mirror of
https://github.com/rfivet/uemacs.git
synced 2024-11-17 18:16:22 -05:00
18 lines
463 B
C
18 lines
463 B
C
#ifndef _EBIND_H_
|
|
#define _EBIND_H_
|
|
|
|
#include "names.h"
|
|
|
|
/* Structure for the key bindings table. */
|
|
typedef struct key_tab {
|
|
unsigned k_code ; /* Key code */
|
|
fnp_t k_fp ; /* Routine to handle it */
|
|
const name_bind *k_nbp ; /* entry in name to function map table */
|
|
} key_tab ;
|
|
|
|
/* keycode to function mapping table */
|
|
#define NBINDS 256 /* max # of bound keys */
|
|
extern key_tab keytab[ NBINDS] ; /* key bind to functions table */
|
|
|
|
#endif
|