Set up the key bindings. More...
Include dependency graph for init.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| void | km_init (void) |
| Initialise all the menu keybindings. | |
| void | km_menu_add_bindings (const struct MenuOpSeq *map, enum MenuType mtype) |
| Attach a set of keybindings to a Menu. | |
| void | km_set_abort_key (void) |
| Parse the abort_key config string. | |
| void | km_cleanup (void) |
| Free the key maps. | |
Variables | |
| keycode_t | AbortKey |
| key to abort edits etc, normally Ctrl-G | |
Set up the key bindings.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file init.h.
| void km_init | ( | void | ) |
Initialise all the menu keybindings.
Definition at line 91 of file init.c.
Here is the call graph for this function:
Here is the caller graph for this function:Attach a set of keybindings to a Menu.
| map | Key bindings |
| mtype | Menu type, e.g. MENU_PAGER |
Definition at line 45 of file init.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void km_set_abort_key | ( | void | ) |
Parse the abort_key config string.
Parse the string into $abort_key and put the keycode into AbortKey.
Definition at line 137 of file init.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void km_cleanup | ( | void | ) |
Free the key maps.
Definition at line 121 of file init.c.
Here is the call graph for this function:
Here is the caller graph for this function: