New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In Win32, F15 is mapped to VK_F16 #516

Closed
Meoo opened this Issue Dec 26, 2013 · 4 comments

Comments

Projects
None yet
5 participants
@Meoo

Meoo commented Dec 26, 2013

Nothing serious.
In /src/SFML/Window/Win32/InputImpl.cpp, line 151:
case Keyboard::F15: vkey = VK_F16; break;

Function keys are pretty much never used (even less past F12), so I guess no one saw it before.

@ghost ghost assigned LaurentGomila Dec 26, 2013

@Alienwaren

This comment has been minimized.

Show comment
Hide comment
@Alienwaren

Alienwaren Jan 5, 2014

Wait, what? Where is F15 key, I cannot see it on my keyboard...

Alienwaren commented Jan 5, 2014

Wait, what? Where is F15 key, I cannot see it on my keyboard...

@MarioLiebisch

This comment has been minimized.

Show comment
Hide comment
@MarioLiebisch

MarioLiebisch Jan 5, 2014

Member

My keyboard has keys for Ä, Ü, Ö, and others. Yours as well? There are indeed some keyboards featuring a second row of F keys (F13-F24). They're just not really common in home PC use.

Member

MarioLiebisch commented Jan 5, 2014

My keyboard has keys for Ä, Ü, Ö, and others. Yours as well? There are indeed some keyboards featuring a second row of F keys (F13-F24). They're just not really common in home PC use.

@MarioLiebisch

This comment has been minimized.

Show comment
Hide comment
@MarioLiebisch

MarioLiebisch Jan 6, 2014

Member

Actually, is there any specific reason SFML only supports up to F15 (why not F12 or F24?), ignoring the fact those keyboards aren't that common? For Unix and Windows, those F keys are defined up to F24, with Mac even knowing F35?

Member

MarioLiebisch commented Jan 6, 2014

Actually, is there any specific reason SFML only supports up to F15 (why not F12 or F24?), ignoring the fact those keyboards aren't that common? For Unix and Windows, those F keys are defined up to F24, with Mac even knowing F35?

@LaurentGomila

This comment has been minimized.

Show comment
Hide comment
@LaurentGomila

LaurentGomila Jan 6, 2014

Member

The same reason as for the other missing keys.

Member

LaurentGomila commented Jan 6, 2014

The same reason as for the other missing keys.

@Bromeon Bromeon closed this in aeed9dd Feb 6, 2014

@Bromeon Bromeon assigned Bromeon and unassigned LaurentGomila Feb 9, 2014

MarioLiebisch added a commit to MarioLiebisch/SFML that referenced this issue Feb 12, 2014

jcowgill added a commit to jcowgill/SFML that referenced this issue Sep 22, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment