Splitting the Windows-specific input device code into its own file