Go to the source code of this file.
|
| #define | MAX_PLAYERS 4 |
| | Number of input slots.
|
| #define | INPUT_HISTORY_SIZE 128 |
| | The button changes a player's input remembers, for the cheat codes.
|
| #define | INPUT_RECORDERS 2 |
| | The recordings of the input a player can make at once.
|
◆ MAX_PLAYERS
◆ INPUT_HISTORY_SIZE
| #define INPUT_HISTORY_SIZE 128 |
The button changes a player's input remembers, for the cheat codes.
◆ INPUT_RECORDERS
| #define INPUT_RECORDERS 2 |
The recordings of the input a player can make at once.
◆ PlayerInputState
| typedef struct PlayerInputState PlayerInputState |
◆ ConsumeInputFlags()
Drop from the input the held buttons that are still pressed, and forget the held buttons that are released.
- Parameters
-
| state | The input of the player. |
- Ghidra address:
- USA: 0x80255934
- Ghidra address:
- Asia: 0x80255484
- Ghidra address:
- EUR: 0x80256f04
- Ghidra address:
- JPN: 0x80256894
◆ TransferFlags()
Move buttons out of the input until they are released, for a single action per press.
- Parameters
-
| state | The input of the player. |
| mask | The buttons to move. |
- Ghidra address:
- USA: 0x80255910
- Ghidra address:
- Asia: 0x80255460
- Ghidra address:
- EUR: 0x80256ee0
- Ghidra address:
- JPN: 0x80256870
◆ InitPlayerInputState()
Reset the input of a player.
- Parameters
-
- Ghidra address:
- USA: 0x80255b54
- Ghidra address:
- Asia: 0x802556A4
- Ghidra address:
- EUR: 0x80257124
- Ghidra address:
- JPN: 0x80256ab4
◆ g_aPlayerInputState
Input state of every player.
- Ghidra address:
- USA: 0x8036a8e0
- Ghidra address:
- Asia: 0x8036A390
- Ghidra address:
- EUR: 0x8036cde0
- Ghidra address:
- JPN: 0x8036ba50
- Ghidra address:
- BRD3D: 0x106c6678
- Ghidra address:
- BRGlide: 0x106ed708
◆ g_aContPadData
Emulated controller pads for four ports, or every player slot on SDL.
- Ghidra address:
- USA: 0x8031a3e0
- Ghidra address:
- Asia: 0x80319E90
- Ghidra address:
- EUR: 0x8031c8e0
- Ghidra address:
- JPN: 0x8031b510
- Ghidra address:
- BRD3D: 0x106c65a0
- Ghidra address:
- BRGlide: 0x106ed630