It shouldn't be too difficult to port your input and windowing code to use SDL2. It's just a platform translation wrapper, so you can keep the same codebase and you should be able to compile to Windows, Mac and Linux without really changing much in your build system.