mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-02 18:21:06 +00:00
- input code cleanup and addition of ZDoom's joystick code, which is not fully connected yet.
This commit is contained in:
parent
f2dd7326d0
commit
91f83d4c55
15 changed files with 1611 additions and 1092 deletions
|
@ -297,10 +297,7 @@ CUSTOM_CVARD(Bool, in_joystick, false, CVAR_ARCHIVE||CVAR_GLOBALCONFIG|CVAR_NOIN
|
|||
CONTROL_JoystickEnabled = (self && CONTROL_JoyPresent);
|
||||
}
|
||||
|
||||
CUSTOM_CVARD(Bool, in_mouse, true, CVAR_ARCHIVE|CVAR_GLOBALCONFIG|CVAR_NOINITCALL, "enables input from the mouse if it is present")
|
||||
{
|
||||
CONTROL_MouseEnabled = (self && CONTROL_MousePresent);
|
||||
}
|
||||
CVARD(Bool, in_mouse, true, CVAR_ARCHIVE|CVAR_GLOBALCONFIG|CVAR_NOINITCALL, "enables input from the mouse if it is present")
|
||||
|
||||
CVARD(Bool, in_mousemode, true, CVAR_ARCHIVE|CVAR_GLOBALCONFIG, "toggles vertical mouse view")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue