Using mice and composite devices seems to require that they are connected in the required order. Comment out the mouse support code, add some commented out code that supports composite devices.