For permanent settings its best to use the libinput config files rather than xinput. Then
you dont need to edit your .xinitrc. I only use xinput for temporary settings, and do
catch all devices in my config files for things that i want permanent.
But if you like it that way and its working, have a good one!