spacemouse rewrite for plugininterface 2

spacemouse tested for x64
phidgetrfid tested for x64