Mobile Gamepad is not available for Linux but there are some alternatives that runs on Linux with similar functionality. The best Linux alternative is Wifipad, which is free. If that doesn't suit you, our users have ranked more than 10 alternatives to Mobile Gamepad and five of them are available for Linux so hopefully you can find a suitable replacement. Other interesting Linux alternatives to Mobile Gamepad are DroidPad (Free, Open Source), nJoy (Paid), Ultimate Gamepad (Free) and Pcon (Free, Open Source).
WifiPad transforms your iPhone/iPod Touch into a wireless gamepad. It simulates keyboard events on a computer running the WifiPad Server over the Wifi network. It works with any games that accepts keyboard keys as input.
nJoy is a complete PC remote controlling solution! FEATURES - nJoy includes a gaming joystick layout and a comprehensive desktop control - layout consist of media controls, web surfing and text input options - efficient and easy to use mouse controls