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

Author Topic: NumLock behavior on Linux  (Read 2793 times)

0 Members and 1 Guest are viewing this topic.

Elias Daler

  • Hero Member
  • *****
  • Posts: 599
    • View Profile
    • Blog
    • Email
NumLock behavior on Linux
« on: April 22, 2018, 11:08:36 pm »
On most keyboards, if NumLock is off, pressing "7" on numpad produces "Home", and when NumLock is on, the "7" is produced.

Right now SFML doesn't reflect that, at least on Linux (didn't test on Windows yet). sf::KeyPressed reports  "sf::Keyboard::Numpad7" being pressed in both cases. Is this intended behavior?

If not, should we fix it? (I already figured out how to do it).
Tomb Painter, Re:creation dev (abandoned, doing other things) | edw.is | @EliasDaler