remove redundant src dependencies, remove dot references to current dir
set errno to EBADF when functions are called with an unset file descriptor for a spacemouse device