Home
last modified time | relevance | path

Searched refs:hotkey_add (Results 1 – 11 of 11) sorted by relevance

/dports/games/shockolate/systemshock-0.8.2-43-ga9eb1b93/src/Libraries/UI/Tests/
H A Dhottest.c73 hotkey_add(' '|KB_FLAG_DOWN,PING|PONG,toggle_mode,NULL); in main()
76 hotkey_add(KB_FLAG_DOWN|'p',PING,ping,NULL); in main()
77 hotkey_add(KB_FLAG_DOWN|'p',PONG,pong,(void*)0xD00F); in main()
/dports/games/shockolate/systemshock-0.8.2-43-ga9eb1b93/src/Libraries/INPUT/Tests/
H A Dhottest.c78 hotkey_add(' '|KB_FLAG_DOWN,PING|PONG,toggle_mode,NULL); in main()
81 hotkey_add(KB_FLAG_DOWN|'p',PING,ping,NULL); in main()
82 hotkey_add(KB_FLAG_DOWN|'p',PONG,pong,(void*)0xD00F); in main()
H A Dhotkey.h107 errtype hotkey_add(short keycode, ulong context_mask, hotkey_callback func, void* state);
H A Dhotkey.c51 errtype hotkey_add(short keycode, ulong contexts, hotkey_callback func, void* state) in hotkey_add() function
/dports/games/shockolate/systemshock-0.8.2-43-ga9eb1b93/src/GameSrc/
H A Dsideicon.c203 hotkey_add(KB_FLAG_ALT | KB_FLAG_DOWN | '4', DEMO_CONTEXT, lantern_change_setting_hkey, 0); in init_side_icon_hotkeys()
204 hotkey_add(KB_FLAG_ALT | KB_FLAG_DOWN | '5', DEMO_CONTEXT, shield_change_setting_hkey, 0); in init_side_icon_hotkeys()
206 hotkey_add(KB_FLAG_DOWN | '0', DEMO_CONTEXT, side_icon_hotkey_func, NUM_SIDE_ICONS - 1); in init_side_icon_hotkeys()
208 hotkey_add('`', DEMO_CONTEXT, ide_icon_prog_hotkey_func, 0); in init_side_icon_hotkeys()
209 hotkey_add(KB_FLAG_DOWN | shiftnums[0], DEMO_CONTEXT, side_icon_progset_hotkey_func, in init_side_icon_hotkeys()
213 hotkey_add(KB_FLAG_DOWN | ('1' + i), DEMO_CONTEXT, side_icon_hotkey_func, i); in init_side_icon_hotkeys()
215 hotkey_add(KB_FLAG_DOWN | shiftnums[1 + i], DEMO_CONTEXT, side_icon_progset_hotkey_func, in init_side_icon_hotkeys()
H A Dinvent.c2449 hotkey_add(KEY_TAB | KB_FLAG_DOWN, DEMO_CONTEXT, cycle_weapons_func, 1); in init_invent_hotkeys()
2450 hotkey_add(KEY_TAB | KB_FLAG_DOWN | KB_FLAG_SHIFT, DEMO_CONTEXT, cycle_weapons_func, -1); in init_invent_hotkeys()
H A Dmfdfunc.c2611 hotkey_add(('0' + i) | KB_FLAG_DOWN, DEMO_CONTEXT, keypad_hotkey_func, 0); in install_keypad_hotkeys()
/dports/games/shockolate/systemshock-0.8.2-43-ga9eb1b93/src/Libraries/UI/Source/
H A Dhotkey.h108 errtype hotkey_add(ushort keycode, uint32_t context_mask, hotkey_callback func, intptr_t state);
H A Dhotkey.c53 errtype hotkey_add(ushort keycode, uint32_t contexts, hotkey_callback func, intptr_t state) in hotkey_add() function
/dports/games/shockolate/systemshock-0.8.2-43-ga9eb1b93/src/MacSrc/
H A DPrefs.c684 hotkey_add(ch, HotKeyLookup[i].contexts, HotKeyLookup[i].func, HotKeyLookup[i].state); in LoadHotkeyKeybinds()
711 if (ch) hotkey_add(ch, HotKeyLookup[i].contexts, HotKeyLookup[i].func, HotKeyLookup[i].state); in LoadHotkeyKeybinds()
715 if (ch) hotkey_add(ch, HotKeyLookup[i].contexts, HotKeyLookup[i].func, HotKeyLookup[i].state); in LoadHotkeyKeybinds()
/dports/audio/deadbeef/deadbeef-0.7.2/plugins/gtkui/
H A Dinterface.c1689 GtkWidget *hotkey_add; in create_prefwin() local
2677 hotkey_add = gtk_button_new_from_stock ("gtk-add"); in create_prefwin()
2678 gtk_widget_show (hotkey_add); in create_prefwin()
2679 gtk_container_add (GTK_CONTAINER (hbuttonbox3), hotkey_add); in create_prefwin()
2680 gtk_widget_set_can_default(hotkey_add, TRUE); in create_prefwin()
3130 g_signal_connect ((gpointer) hotkey_add, "clicked", in create_prefwin()
3357 GLADE_HOOKUP_OBJECT (prefwin, hotkey_add, "hotkey_add"); in create_prefwin()