With this function you can find out how many pad "slots" are active for the current user (see xboxlive_pad_for_user() for further details).
xboxlive_pad_count_for_user(user_id, slot);
| Argument | Description |
|---|---|
| user_id | The user ID (a pointer) to check |
Integer
global.slots[0] = xboxlive_pad_count_for_user(user_id[0])
The above code stores the number of pads associated with the given user ID pointer.