port: allow using N64 control schemes

change from Ext to another control scheme to activate

note that this will require rebinding keys, as the default config is for the Ext scheme
This commit is contained in:
fgsfds committed 2023-11-26 18:07:35 +01:00
1 parent 3a1d08509b
commit 600dae58e2
18 files changed
+470 -311

No files matched your search

+1
View File
@@ -694,6 +694,7 @@
#define CONTROLMODE_22 5
#define CONTROLMODE_23 6
#define CONTROLMODE_24 7
#define CONTROLMODE_PC 8 // "pc port" controls; enabled in the .ini file
#define COUNTDOWNTIMERREASON_AI 0x01
#define COUNTDOWNTIMERREASON_NOCONTROL 0x10
+2 -1
View File
@@ -5072,8 +5072,8 @@ struct movedata {
/*0xa0*/ s32 analogpitch;
/*0xa4*/ s32 analogstrafe;
/*0xa8*/ s32 analogwalk;
/*0xac*/ s32 alt1tapcount;
#ifndef PLATFORM_N64
/*0xac*/ s32 alt1tapcount;
/* */ f32 freelookdx; // how much the mouse moved ...
/* */ f32 freelookdy; // ... scaled by sensitivity
/* */ f32 analoglean; // how much we're trying to lean
@@ -6135,6 +6135,7 @@ struct extplayerconfig {
s32 crouchmode;
f32 radialmenuspeed;
f32 crosshairsway;
s32 extcontrols;
};
#endif