Input: move the 1st/3rd-person view toggle to TAB
Per request, bind the cockpit (1st person) / external chase camera (3rd person) toggle to TAB instead of F1. Still a desktop-only convenience on `focused` (always live, even under PadRIO); V remains look-behind only. TAB is otherwise unbound (the 0x09 in bindings.txt is a RIO button ADDRESS on the C key, not the TAB virtual key). Dist README updated. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -2684,15 +2684,14 @@ void
|
||||
const int xNow = gfocus && (pAsync('X') & dn) ? 1 : 0;
|
||||
if (xNow && !sPrevX) gBTDrive.allStop = 1; // edge -> one all-stop
|
||||
sPrevX = xNow;
|
||||
// F1: toggle the view between the authentic COCKPIT eyepoint
|
||||
// (the pod's only view) and the external chase camera. Moved
|
||||
// off 'V' -- which is the authentic look-behind (held) above --
|
||||
// so the two no longer collide (pressing V used to also flip
|
||||
// the camera). Desktop-only convenience with no RIO equivalent:
|
||||
// stays on `focused` (not the BT_DEVKEYS `gfocus` gate), always
|
||||
// live even under PadRIO.
|
||||
// TAB: toggle the view between the authentic COCKPIT eyepoint
|
||||
// (1st person -- the pod's only view) and the external chase
|
||||
// camera (3rd person). Kept off 'V' (the authentic look-behind,
|
||||
// held, above) so the two no longer collide. Desktop-only
|
||||
// convenience with no RIO equivalent: stays on `focused` (not the
|
||||
// BT_DEVKEYS `gfocus` gate), always live even under PadRIO.
|
||||
static int sPrevViewKey = 0, sViewInside = 0;
|
||||
const int viewKeyNow = focused && (pAsync(0x70 /*VK_F1*/) & dn) ? 1 : 0;
|
||||
const int viewKeyNow = focused && (pAsync(0x09 /*VK_TAB*/) & dn) ? 1 : 0;
|
||||
if (viewKeyNow && !sPrevViewKey)
|
||||
{
|
||||
sViewInside = !sViewInside;
|
||||
|
||||
+1
-1
@@ -195,7 +195,7 @@ XInput controller + keyboard through bindings.txt; edit that file to rebind.
|
||||
the Secondary columns (full layout in bindings.txt)
|
||||
mouse click the on-screen cockpit buttons
|
||||
Always-live desktop keys (not rebindable):
|
||||
F1 toggle cockpit / external chase camera
|
||||
TAB toggle 1st person (cockpit) / 3rd person (chase cam)
|
||||
` (backtick) hide / show the secondary displays (MFDs + radar)
|
||||
V (hold) look behind (rear view; rear-mounted weapons fire)
|
||||
(The engine's built-in WASD / 1-4 quick keys overlap the bindings, so they
|
||||
|
||||
Reference in New Issue
Block a user