Documentation for this section has not yet been entered.
Will return -1 if no custom buttons have been set.
Button indices are zero based. They start at zero and increment by one for each button that is added.