title: Android: simulate a physical button press of keyboard input
body: <p>This might be a bit of an ambiguous question but I'll do my best at describing what I want to do. I need to make a service that will trigger a physical button press or input code to the currently active application. I'm trying to make a mapper for the Xperia Play touch pads so they can be used with apps and games that don't support them but mapping each axis corner to a physical keyboard key or input.</p>
  
  <p>I can imagine such a feature would be a security risk to include in the standard Android SDK, although I may be wrong in which case there might be some kind of Intent or Receiver to handle those events.</p>
  
  <p>If there isn't, does anyone know how I could go about doing what I want to do?</p>