SFML community forums

Help => Window => Topic started by: Cmdu76 on February 28, 2016, 11:55:47 pm

Title: Android and Keys
Post by: Cmdu76 on February 28, 2016, 11:55:47 pm
Hi !

In Android, I find (by myself) that the right button (return/escape) is mapped with sf::Keyboard::Escape.

But I can't find anywhere on the website documentation or tutorials.

So maybe SFML team should add it (if it isn't already the case)

And also I want to know, if others smartphones keys are accessible with sf::Keyboard ?

I tried sf::Keyboard::Menu but not worked...

Thanks in advance for any help
Title: Re: Android and Keys
Post by: Demir on February 29, 2016, 01:31:46 am
Hi

I'm not expert at Android environment.
I also examine and try to learn SFML&Android nowadays.

May be it is usefull for you  ... there is a list in androidKeyToSF function
SFML\src\SFML\Window\Android\WindowImplAndroid.cpp
Title: Re: Android and Keys
Post by: Mario on February 29, 2016, 09:11:52 am
Didn't check, but as far as I remember, other hardware keys (like volume) aren't mapped yet, due to no existing sf::Key member. Feel free to write up a list of your most wanted mappings.