Ok, I tried everything I could think of and xinput just wouldn't recognize more than five buttons on that trackball. So, I convinced it it wasn't what it thought it was by using a ps2 to usb converter. Then xinput configured it as a generic usb input device. However, the adapter is a keyboard & mouse usb adapter, so the name for both the keyboard and mouse were the same (some kind of blah blah adapter yadda yadda). So, I couldn't configure it by name. However, since it will often be reordered on boot and not always be the same number, I couldn't start it by number either.
Well, I thought if I can't configure just one input device with xinput, then I'll configure all of them exactly the same. If it's a keyboard, or something else, it will completely ignore the xinput mouse settings anyway.
Lo and behold, it worked. I had to put this into my autostart.sh and reboot:
xinput set-int-prop 0 "Evdev Wheel Emulation Axes" 8 6 7 4 5 &
xinput set-int-prop 0 "Evdev Wheel Emulation Button" 8 2 &
xinput set-int-prop 0 "Evdev Wheel Emulation" 8 1 &
xinput set-int-prop 0 "Evdev Wheel Emulation Inertia" 16 5 &
xinput set-int-prop 1 "Evdev Wheel Emulation Axes" 8 6 7 4 5 &
xinput set-int-prop 1 "Evdev Wheel Emulation Button" 8 2 &
xinput set-int-prop 1 "Evdev Wheel Emulation" 8 1 &
xinput set-int-prop 1 "Evdev Wheel Emulation Inertia" 16 5 &
xinput set-int-prop 2 "Evdev Wheel Emulation Axes" 8 6 7 4 5 &
xinput set-int-prop 2 "Evdev Wheel Emulation Button" 8 2 &
xinput set-int-prop 2 "Evdev Wheel Emulation" 8 1 &
xinput set-int-prop 2 "Evdev Wheel Emulation Inertia" 16 5 &
xinput set-int-prop 3 "Evdev Wheel Emulation Axes" 8 6 7 4 5 &
xinput set-int-prop 3 "Evdev Wheel Emulation Button" 8 2 &
xinput set-int-prop 3 "Evdev Wheel Emulation" 8 1 &
xinput set-int-prop 3 "Evdev Wheel Emulation Inertia" 16 5 &
xinput set-int-prop 4 "Evdev Wheel Emulation Axes" 8 6 7 4 5 &
xinput set-int-prop 4 "Evdev Wheel Emulation Button" 8 2 &
xinput set-int-prop 4 "Evdev Wheel Emulation" 8 1 &
xinput set-int-prop 4 "Evdev Wheel Emulation Inertia" 16 5 &
xinput set-int-prop 5 "Evdev Wheel Emulation Axes" 8 6 7 4 5 &
xinput set-int-prop 5 "Evdev Wheel Emulation Button" 8 2 &
xinput set-int-prop 5 "Evdev Wheel Emulation" 8 1 &
xinput set-int-prop 5 "Evdev Wheel Emulation Inertia" 16 5 &
xinput set-int-prop 6 "Evdev Wheel Emulation Axes" 8 6 7 4 5 &
xinput set-int-prop 6 "Evdev Wheel Emulation Button" 8 2 &
xinput set-int-prop 6 "Evdev Wheel Emulation" 8 1 &
xinput set-int-prop 6 "Evdev Wheel Emulation Inertia" 16 5 &
xinput set-int-prop 7 "Evdev Wheel Emulation Axes" 8 6 7 4 5 &
xinput set-int-prop 7 "Evdev Wheel Emulation Button" 8 2 &
xinput set-int-prop 7 "Evdev Wheel Emulation" 8 1 &
xinput set-int-prop 7 "Evdev Wheel Emulation Inertia" 16 5 &
xinput set-int-prop 8 "Evdev Wheel Emulation Axes" 8 6 7 4 5 &
xinput set-int-prop 8 "Evdev Wheel Emulation Button" 8 2 &
xinput set-int-prop 8 "Evdev Wheel Emulation" 8 1 &
xinput set-int-prop 8 "Evdev Wheel Emulation Inertia" 16 5 &
I don't know why I had to configure 8 devices, but that's how many xinput says I have. I think xinput is messed up.
Anyway, this doesn't actually solve the problem of xinput not recognizing more buttons on my trackball, but it's a way around it. Hopefully it's helpful to someone besides me. If not, at least I can scroll vertically and horizontally now.