Hi all,
I'm using SFML 2.3.2 x32 and I have problem with key events.
When I press Alt + s to input "ś" (in Polish keyboard) I gets event with key = { code: 18, alt: true, control: true }
Control is wrongly set to true.
Is there any fix for that?
EDIT: Note that it's right alt. Left alt works fine.
BTW. I know about event TextEntered, but I pass events into external library (GWEN) and it checks control variable in order to perform special actions.
Code sample to debug error:
bool handleEvent(const sf::Event& event)
{
if(event.type == 5)
std::cout << event.key.code << " a: " << (int) event.key.alt << " c: " << (int) event.key.control << " s: " << (int) event.key.shift << "\n";
return EventHandler::handleEvent(event);
}