Fix Select button on Windows.
Merge pull request #2626 from thedax/master

Fix Select button input on Windows.