Hi,
I'm developing a solution that allows one to use a PC keyboard+mouse to control an Android game (e.g Shadowgun) as a Gamepad.
I want to do this via emulating an HID device connection (as one would connect a real gamepad), but instead I want to inject my own events to this virtual device.
The problem is, I don't know where to start, there is a shocking amount of material and I'm not quite a kernel/linux professional.
For example, injecting events to the touch input subsystem is easy: just write appropriate events to /dev/input/event2.
Can anyone point me to a resource or suggest a place to start looking for a solution?
Many thanks ahead,
s.v
I'm developing a solution that allows one to use a PC keyboard+mouse to control an Android game (e.g Shadowgun) as a Gamepad.
I want to do this via emulating an HID device connection (as one would connect a real gamepad), but instead I want to inject my own events to this virtual device.
The problem is, I don't know where to start, there is a shocking amount of material and I'm not quite a kernel/linux professional.
For example, injecting events to the touch input subsystem is easy: just write appropriate events to /dev/input/event2.
Can anyone point me to a resource or suggest a place to start looking for a solution?
Many thanks ahead,
s.v