Hi there, I was wondering if someone can help me. I'm trying to write an app that will simply allow edges of the screen as a dpad. For example if I want to emulate the up key I would simply press the top edge. I don't know how simple is but I know that there are KeyEvents for the appropriate keys and all I would like to do is simply call the KeyEvent if a certain part of the screen is touched. I know its possible because virtual keyboards are in almost all emulators. Like I said I am very nooby at all this, but nonetheless I am simply trying to learn.
If you would like to know, I want to implement this "virtual keyboard" in a premade game; snake to be exact.
I so far have the game recognizing the the touch to start, part, just controlling the movement is my only problem.