I suspect the mouse button autoconfiguration should be done by mdetect or a similar package. It could ask about mouse button emulation on PPC.