port: simplify the keyboard input a bit and match it to port-net's

backspace key now repeats properly

TYPE WITH KEYBOARD changes into a tooltip when typing

players with controllers are allowed to type, because that seems more convenient

players 2, 3 and 4 are allowed to type too if they hit the button, but only one player can have keyboard focus at a time
This commit is contained in:
fgsfds committed 2025-01-05 15:27:45 +01:00
1 parent a05c4290f5
commit 5084b4be39
5 files changed
+285 -288

No files matched your search

+1 -2
View File
@@ -538,6 +538,7 @@ extern const struct weathercfg g_DefaultWeatherConfig;
extern const struct weathercfg *g_CurWeatherConfig;
extern s32 g_MenuUsingMouse;
extern s32 g_MenuKeyboardPlayer;
extern f32 g_ViShakeIntensityMult;
extern u32 g_TexFilter2D;
@@ -554,8 +555,6 @@ extern s32 g_TickExtraSleep;
extern s32 g_MusicDisableMpDeath;
extern s32 g_BgunGeMuzzleFlashes;
extern s32 g_FileAutoSelect;
extern s32 g_MenuTypeWithKeyboard;
extern s32 g_MenuTypeBackspace;
#define PLAYER_EXTCFG() g_PlayerExtCfg[g_Vars.currentplayerstats->mpindex & 3]
#define PLAYER_DEFAULT_FOV (PLAYER_EXTCFG().fovy)