mirror of
https://github.com/Ed94/pikuma_ps1.git
synced 2026-08-05 07:08:49 +00:00
drafting
This commit is contained in:
@@ -21,3 +21,29 @@ enum {
|
||||
};
|
||||
|
||||
#define v3s4_fp_one() v3s4(fp_one, fp_one, fp_one)
|
||||
|
||||
#ifdef INTELLISENSE_DIRECTIVES
|
||||
# include "duffle/pad.h"
|
||||
#endif
|
||||
|
||||
/* ============================================================
|
||||
* Raw SIO0 pad subsystem (raw_sio_pad_poll_20260802)
|
||||
* ============================================================ */
|
||||
|
||||
typedef Struct_(Binds_PadSioStep) {
|
||||
PadState* state0;
|
||||
PadState* state1;
|
||||
U4 sio_base_addr0;
|
||||
U4 sio_base_addr1;
|
||||
};
|
||||
|
||||
typedef Struct_(Binds_PadApplyInput) {
|
||||
PadState* state;
|
||||
V3_S2* cube_rot;
|
||||
V3_S2* floor_rot;
|
||||
};
|
||||
|
||||
/* Populates smem.pad_sio_init with the two PadState pointers and the
|
||||
* KSEG1 SIO0 base. The caller (main()) runs this once at boot before
|
||||
* the first tb_emit(pad_sio_init). */
|
||||
void pad_sio_init_setup(PadSioInit* init, PadState* s0, PadState* s1);
|
||||
|
||||
Reference in New Issue
Block a user