Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - sfml_noob

Pages: [1]
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:

// 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.
Is it possible to get the Numpad Enter key working?
Thanks!

Pages: [1]
anything