I made this new bundle called GameController which is a portable c# class (could be easily extended to other langs)
and a mobile android app in java.
The clicks from the app are sent to the c# class which activates protected virtual Events.
The class is supposed to be extended to give it new functions via the events.
I would for you to take a look at the app,class maybe try to use it and tell me what do you think about it.
app:https://github.com/itaythepro1234/MobileGameController-Android
c# GameController class:https://github.com/itaythepro1234/MobileGameController-Server
The main purpose is so this app could be ported into other apps like unity and provide them with a mobile game controller.