Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [00A9CCD4] // pointer to joystick data
- // Joystick values
- // 00 X Axis +
- // 01 Y Axis +
- // 02 Z Axis +
- // 03 X Rotate +
- // 04 Y Rotate +
- // 05 Z Rotate +
- // 06 Slider +
- // 07 X Axis +
- // 08 Y Axis +
- // 09 Z Axis +
- // 0A X Rotate +
- // 0B Y Rotate +
- // 0C Z Rotate +
- // 0D Slider +
- // FF None
- // Button values
- // 00000000 None
- // 00000001 B1
- // 00000002 B2
- // 00000004 B3
- // 00000008 B4
- // 00000010 B5
- // 00000020 B6
- // 00000040 B7
- // 00000080 B8
- // 00000100 B9
- // 00000200 B10
- // 00000400 B11
- // 00000800 B12
- // 00001000 B13
- // 00002000 B14
- // 00004000 B15
- // 00008000 B16
- // 00010000 POV Y +
- // 00020000 POV Y -
- // 00040000 POV X +
- // 00080000 POV X -
- typedef struct NO_ALIGN st_joystick
- {
- int8_t movLR;
- int8_t movFB;
- int8_t movRALR;
- int8_t movRAFB;
- uint32_t selectUp;
- uint32_t selectDown;
- uint32_t selectLeft;
- uint32_t selectRight;
- uint32_t apMiddle;
- uint32_t apRight;
- uint32_t apLeft;
- uint32_t apTop;
- uint32_t menuOpenClose;
- uint32_t prevPage_camera;
- uint32_t nextPage_apAlt;
- uint32_t menuOpenDecide;
- uint32_t unknown01;
- } JOYSTICK_CONFIG;
- // To edit it, open the pad button config menu, this will make use of the pointer stated above, then you can copy your own data on it
- // When closing the menu the data will be sent to the ship and saved
- // Setting a button to NONE doesn't seem to work and the game overwrites it with the default value
- // Setting to an invalid value seems to work but might break things
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement