i wanna make a game menu, simply three Buttons(RactangleShape) where i can switch between different Screens in sfml. I find a tutorial for it, but i am coding on a mobile phone, so i need every input control with the touch function, the tutorial is made for pc with keyboard. So i have to change it, but iam a newbie and i have problems with a place in the code that i have to change for the toch input, i cut out the following lines:
if (Event.type == sf::Event::KeyPressed)
{
switch
(Event.key.code)
{
case
sf::Keyboard::Up: menu = 0;
break;
case
sf::Keyboard::Down: menu = 1;
break
;
