@dgraham1977 you have a few options.
start fresh with 4.0.2 and then manually edit your configs based on the aforementioned post or disable xpad, downgrade your kernel, and enable xboxdrv
or use an earlier version where xboxdrv isnt broken.
if you're updating from a previous version, update your setup script, select update all installed pacakges to update, then disable xboxdrv, install the xpad driver, and change your kodi configs
personally I would just recommend a fresh 4.0.2 and then modifying the kodi configs.
The kodi issue will be solved when kodi 17 stable is released.