Maschell / dynamic_libs

21 stars 5 forks source link

Replace BOOL by s32 #19

Closed Crayon2000 closed 6 years ago

Crayon2000 commented 6 years ago

This is to fix issue #18.

Here is a small test for the VPADData structure. It will show these values:

    Vec2D lstick, rstick;        /* Each contains 4-byte X and Y components */
    s8 error;                    /* Error */
    VPADTPData tpdata;           /* Normal touchscreen data */
    s32 headphone;               /* Set to TRUE if headphones are plugged in, FALSE otherwise */
    u8 volume;                   /* 0 to 255 */
    u8 battery;                  /* 0 to 6 */
    u8 mic;                      /* Microphone status */
    u8 unk_volume;               /* One less than volume */

I have also converted some tabs to spaces.