3

So I am trying to emulate an xbox 360 controller with my keyboard and mouse. use The OS I am using is parrotOS. As far as I can see there is not really any type of program which is able to emulate.

List of things I have tried:

wejoy - emulates joystick instead of controller

xboxdrv, vjoypad, pyvjoy, antimicrox all require a controller or gamepad so I cannot use them as I only have keyboard and mouse

I also tried to run Universal Control Mapper using wine but it crashes everytime.

So, anybody has got any idea how do I emulate an xbox 360 controller on linux or getting windows is the only option?

Haze
  • 61

2 Answers2

2

I made the emulator myself. Here's the link if anyone has the same problem: https://github.com/CommanderRag/xbox-controller-emulator-linux/

Haze
  • 61
0

This one also works https://github.com/iosonofabio/virtual_gamepad. You might need some python environment for running it. I.e. using nix-shell with this shell.nix:

{ pkgs ? import <nixpkgs> { } }:
let
  pythonEnv = pkgs.python3.withPackages(ps: with pkgs.python3Packages; [ pynput python-uinput ]);
in
pkgs.mkShell { packages = [ pythonEnv ]; }