| | 837 | | { |
| | 838 | | keys = g_hash_table_new((GHashFunc) g_str_hash, |
| | 839 | | (GCompareFunc) g_str_equal); |
| | 840 | | default_keys = g_hash_table_new((GHashFunc) g_str_hash, |
| | 841 | | (GCompareFunc) g_str_equal); |
| | 842 | | keyinfos = NULL;
|
| | 843 | | key_states = g_tree_new((GCompareFunc) strcmp); |
| | 844 | | key_config_frozen = 0; |
| | 845 | | memset(used_keys, 0, sizeof(used_keys)); |
| | 846 | | |
| Wrong Number of Parameters | 847 | | key_bind("command", "Run any command", NULL, NULL, (SIGNAL_FUNC) sig_command);
|
| | 848 | | key_bind("key", "Specify name for key binding", NULL, NULL, (SIGNAL_FUNC) sig_key);
|
| | 849 | | key_bind("multi", "Run multiple commands", NULL, NULL, (SIGNAL_FUNC) sig_multi);
|
| | 850 | | key_bind("nothing", "Do nothing", NULL, NULL, (SIGNAL_FUNC) sig_nothing);
|
| | 851 | | |
| | 852 | | |
| | 853 | | signal_add(" init read settings", (SIGNAL_FUNC) read_keyboard_config);
|
| | 854 | | signal_add("setup reread", (SIGNAL_FUNC) read_keyboard_config);
|
| | 855 | | signal_add("complete command bind", (SIGNAL_FUNC) sig_complete_bind);
|
| | 856 | | |
| | 857 | | command_bind("bind", NULL, (SIGNAL_FUNC) cmd_bind);
|