Mapping/Linking Hardware bottons to android device via USB port
I'm an engineering student, and im working on a graduation project, and i just had an idea and need to ask this question.
Lets say we have 3 bottons, (X,Y,Z) 4 others UP,DOWN,LEFT,RIGHT, ANALOG(All directions)
If i press X, is it possible to associate it to specific area on the screen?
Is it possible to move a specific character in any game up/down/left and right using a hardware device?
Also moving the camera in all directions using the analog stick?
If i sent a signal from the device lets say X, will it communicate with the game it self or the device? Is it possible to make it communicate with the device a if i pressed X it press a specific are on the screen?
Sorry for the long post but i just had the thoughts and i want to know the possibilities of it.