How to map wasd keys on mobile devices

I was thinking about how to map when a player is walking without the character moving, just detecting touch movements, on the joystick to be more specific. If u guys have any Idea of possible ways It would help a Lot!

I am not sure but I think you could use bindactions?