An Xbox 360 Controller emulator for linux. (Keyboard only)
make
It will be installed in $HOME/.local/bin
sudo xipade -k "DEVICE" [-v]
"DEVICE" -> The path to the keyboard (should look something like /dev/input/eventX) run "sudo evtest" to get your device path.
-v -> To show more output. Useful for debugging.
-l -> Alternate buttons layout.
Button | Key | Alternate Key |
---|---|---|
A | K | |
B | L | LALT |
X | J | |
Y | I | |
BACK | X | B |
START | N | |
LB | Q | R |
RB | E | Y,LSHIFT |
LT | Z | SPACE,4 |
RT | C | 6 |
LS Click | TAB | 5 |
RS Click | V | |
DPAD_UP | T | |
DPAD_DOWN | G | . |
DPAD_LEFT | F | |
DPAD_RIGHT | H | |
LSTICK_UP | W | |
LSTICK_DOWN | S | |
LSTICK_LEFT | A | |
LSTICK_RIGHT | D | |
RSTICK_UP | 1 | 8 |
RSTICK_DOWN | 2 | 9 |
RSTICK_LEFT | U | |
RSTICK_RIGHT | O | |
GUIDE | ENTER |
KEY | USAGE | ALTERNATE |
---|---|---|
F2 | Toggle Pause Controller to Type | |
F12 | Close Program | Can be closed by clicking the tray icon |
Thanks to the original project:
https://github.com/niehoff90/ControllerEmulator
And this project for the analog sticks code: