Home
last modified time | relevance | path

Searched refs:buttonscan (Results 1 – 10 of 10) sorted by path

/dports/games/bstone/bstone-1.1.9/src/
H A D3d_def.h3210 extern ScanCodes buttonscan;
H A D3d_main.cpp6650 buttonscan = { in set_vanilla_controls()
7165 if (index0 >= 0 && index0 < static_cast<int>(::buttonscan.size())) in read_text_config()
7167 ::buttonscan[index0] = get_scan_code_by_name(value_string); in read_text_config()
7464 write_x_scan_config(::buttonscan, in_kb_binding_name, writer); in write_text_config()
H A D3d_menu.cpp2941 auto it = std::find(buttonscan.begin(), buttonscan.end(), Scan); in TestForValidKey()
2943 if (it == buttonscan.end()) { in TestForValidKey()
3162 buttonscan[order[which]] = LastScan; in EnterCtrlData()
3475 US_Print(IN_GetScanName(buttonscan[order[i]]).c_str()); in PrintCustKeybd()
H A D3d_play.cpp128 ScanCodes buttonscan; variable
381 if (Keyboard[buttonscan[i]]) { in PollKeyboardButtons()
H A Did_in.cpp1702 return Keyboard[buttonscan[bt_strafe]]; in in_is_binding_pressed()
1714 return Keyboard[buttonscan[bt_run]]; in in_is_binding_pressed()
1717 return Keyboard[buttonscan[bt_attack]]; in in_is_binding_pressed()
1857 Keyboard[buttonscan[bt_strafe]] = false; in in_reset_binding_state()
1874 Keyboard[buttonscan[bt_run]] = false; in in_reset_binding_state()
1878 Keyboard[buttonscan[bt_attack]] = false; in in_reset_binding_state()
/dports/games/rottdc/rottdc-1.0-2/rott/
H A Drt_cfg.c565 ReadInt ("Fire", &buttonscan[0]); in ParseConfigFile()
566 ReadInt ("Strafe", &buttonscan[1]); in ParseConfigFile()
567 ReadInt ("Run", &buttonscan[2]); in ParseConfigFile()
568 ReadInt ("Use", &buttonscan[3]); in ParseConfigFile()
569 ReadInt ("LookUp", &buttonscan[4]); in ParseConfigFile()
570 ReadInt ("LookDn", &buttonscan[5]); in ParseConfigFile()
571 ReadInt ("Swap", &buttonscan[6]); in ParseConfigFile()
572 ReadInt ("Drop", &buttonscan[7]); in ParseConfigFile()
573 ReadInt ("TargetUp", &buttonscan[8]); in ParseConfigFile()
574 ReadInt ("TargetDn", &buttonscan[9]); in ParseConfigFile()
[all …]
H A Drt_main.c2168 if ( ( Keyboard[ buttonscan[ bt_message ] ] ) && ( BATTLEMODE ) ) in PollKeyboard()
2180 else if ( ( Keyboard[ buttonscan[ bt_directmsg ] ] ) && ( BATTLEMODE ) ) in PollKeyboard()
H A Drt_menu.c3912 buttonscan[ (unsigned int)order[ handlewhich ] ] = key; in DefineKey()
5113 IN_GetScanName( buttonscan[ (unsigned int)order[ i ] ] ) ); in DrawCustomKeyboard()
H A Drt_playr.c175 int buttonscan[NUMBUTTONS] = {sc_Control, sc_Alt, sc_RShift, sc_Space, variable
1847 if (Keystate[buttonscan[i]]) in PollKeyboardButtons()
H A Drt_playr.h214 extern int buttonscan[NUMBUTTONS];