SFML community forums

Help => Window => Topic started by: Robert42 on September 12, 2011, 11:02:44 am

Title: KeyCode Shift+Tab Bug
Post by: Robert42 on September 12, 2011, 11:02:44 am
I am programming a GUI system and want to navigate through it using Tab and Shift+Tab

using Tab works perfect, but Shift+Tab sends KeyCode 0

I am using Ubuntu x64 and SFML 2.0
Title: Re: KeyCode Shift+Tab Bug
Post by: Robert42 on September 12, 2011, 12:42:43 pm
Hmm, I see now SFML has an issue tracker on github
https://github.com/SFML/SFML/issues

@Laurent: Do you wish us to report Bugs there?
Title: KeyCode Shift+Tab Bug
Post by: Laurent on September 12, 2011, 01:29:21 pm
Quote
@Laurent: Do you wish us to report Bugs there?

Of course you can use it ;)

But I'll test your problem this evening so it's not necessary to create a new issue for it.
Title: KeyCode Shift+Tab Bug
Post by: Laurent on September 12, 2011, 05:59:14 pm
It seems that X11 defines a special key code for the Shift+Tab combination, which is not handled by SFML.

This kind of problems will be solved when SFML handle correctly the keyboard layouts, which is planned for SFML 2.x.
Title: KeyCode Shift+Tab Bug
Post by: Robert42 on September 15, 2011, 10:24:12 am
Quote from: "Laurent"

This kind of problems will be solved when SFML handle correctly the keyboard layouts, which is planned for SFML 2.x.

thx