Concerning similar question: i have mouse with 9 separate button (4 normal, 1 wheel click + scroll up/down + right and left of tilt wheel) but two direction of tilt wheel is not captured by mouse button configuration of e17 and nor by xev.
The key names correspond to number of button because to the extreme right called button9 for button 9 for e17