How can I get my kensington expert mouse trackball to work?

My trackball’s lower left and right keys work correctly but the upper left and right keys do nothing.
I ran a small app that generated characters on the screen indicating that the keys are actually
sending data. They just don’t work.
What can I do to fix this?