1
Window / Enter key from Numpad not working (contrary to "main" Enter key)
« on: November 17, 2020, 06:56:13 pm »
Hi!
I'm following the book "Beginning C++ Game Programming" from John Horton.
One of the first project uses the Enter key:
Is it possible to get the Numpad Enter key working?
Thanks!
I'm following the book "Beginning C++ Game Programming" from John Horton.
One of the first project uses the Enter key:
// Start the game
if (Keyboard::isKeyPressed(Keyboard::Enter))
{
...
}
It's working with the central Enter key, but I'm surprised that pressing the right Enter key (the one with the numpad) does nothing.if (Keyboard::isKeyPressed(Keyboard::Enter))
{
...
}
Is it possible to get the Numpad Enter key working?
Thanks!