mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2025-02-12 15:15:29 +00:00
Merge pull request #20 from petr666/feature/turning-as-mappable-command
Turning as mappable command
This commit is contained in:
commit
4c8719b9b8
1 changed files with 1 additions and 2 deletions
|
@ -1061,6 +1061,7 @@ static void IN_VRButtons( qboolean isRightController, uint32_t buttons )
|
|||
{
|
||||
if (cl.snap.ps.pm_flags & PMF_FOLLOW)
|
||||
{
|
||||
controller->buttons |= ovrButton_X;
|
||||
//Switch follow mode
|
||||
vr.follow_mode = (vr.follow_mode+1) % VRFM_NUM_FOLLOWMODES;
|
||||
}
|
||||
|
@ -1106,8 +1107,6 @@ static void IN_VRButtons( qboolean isRightController, uint32_t buttons )
|
|||
IN_SendButtonAction(action, qfalse, qfalse, 0);
|
||||
}
|
||||
}
|
||||
|
||||
controller->buttons = buttons;
|
||||
}
|
||||
|
||||
void IN_VRInputFrame( void )
|
||||
|
|
Loading…
Reference in a new issue