Clone or Download
button, then Download ZIP
. [...]/src/xpad_device.cpp
. Open it, and you will find a long list of entries like{ GAMEPAD_XBOX, 0x0d2f, 0x0002, 'Andamiro Pump It Up pad' },
{ GAMEPAD_XBOXONE, 0x????, 0x????, 'Your product description' },
watch lsusb
Bus 002 Device 013: ID 0e6f:02b2 Logic3
xpad_device.cpp
check that your controller's ID isn't already among the xbox one controllers. If it is, you can skip the rest of this step.{ GAMEPAD_XBOXONE, 0x0e6f, 0x02b2, '@Play - Wired Controller for Xbox One' },
sudo apt-get install scons g++ libboost-dev scons pkg-config libusb-1.0-0-dev git-core libx11-dev libudev-dev x11proto-core-dev libdbus-glib-1-dev
scons
make install
sudo xboxdrv
sudo xboxdrv --silent