Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix keypad keys not being detected on Linux #910
Thanks for the fix. Your patch however, is based on an outdated revision. The current codebase looks quite different (albeit still containing the bug), so it would be nice if you could modify your commit to apply to the current master instead.
Also, you shouldn't bother keeping the old lines. SFML should only look up a single keysym that maps to an
Ok, I believe I've got it sorted out now: I've updated to master and removed the old lines as requested.
I also made the fix in InputImpl.cpp, so that sf::Keyboard::isKeyPressed() will pick up the keypad as well. This might be a bad idea though, the status of the numlock key affects what gets returned by isKeyPressed.