Keyboard and mouse emulation by gamepad for X Window System on Linux