Different affiliate commissions for each product

I would like to pay different commission rate based on the type of product being sold. I've noticed in the forums this has been a requested feature for over three years now. Has this been addressed? How can this be done?