Giter Site home page Giter Site logo

bengardiner / xboxdrv Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xboxdrv/xboxdrv

0.0 2.0 0.0 6.16 MB

Xbox Gamepad Userspace Driver for Linux

Home Page: http://pingus.seul.org/~grumbel/xboxdrv/

License: GNU General Public License v3.0

Makefile 0.16% Python 3.87% Logos 4.06% C++ 91.60% Ruby 0.09% Shell 0.23%

xboxdrv's Introduction

Xbox/Xbox360 USB Gamepad Driver for Userspace

Xboxdrv is a Xbox/Xbox360 gamepad driver for Linux that works in userspace. It is an alternative to the xpad kernel driver and has support for Xbox1 gamepads, Xbox360 USB gamepads and Xbox360 wireless gamepads. The Xbox360 guitar and some Xbox1 dancemats might work too. The Xbox 360 racing wheel is not supported, but shouldn't be to hard to add if somebody is interested.

Some basic support for the Xbox360 Chatpad on USB controller is provided, Chatpad on wireless ones is not supported. The headset is not supported, but you can dump raw data from it.

This driver is only of interest if the xpad kernel driver doesn't work for you or if you want more configurabity. If the xpad kernel driver works for you there is no need to try this driver.

Newest version of the driver can be found at:

The development version can be optained via:

Compilation

Required libraries and tools:

  • g++ - GNU C++ Compiler
  • libusb-1.0
  • pkg-config
  • libudev
  • boost
  • scons
  • uinput (userspace input kernel module)
  • git (only to download the development version)
  • X11
  • libdbus
  • glib

Once everything installed, you can compile by typing:

scons

On Ubuntu 10.10 you can install all the required libraries via:

sudo apt-get install \
 g++ \
 libboost1.42-dev \
 scons \
 pkg-config \
 libusb-1.0-0-dev \
 git-core \
 libx11-dev \
 libudev-dev \
 x11proto-core-dev \
 libdbus-glib-1-dev

To load the uinput kernel module automatically on boot add it /etc/modules, to load it manually type:

sudo modprobe uinput

On other distributions exact install instructions might be slightly different.

Installation

Once the compilation process is complete you can install xboxdrv with:

make install

You can also change the install PREFIX and DESTDIR as usual with:

make install PREFIX=/usr DESTDIR=/tmp

Note that there is no need to install xboxdrv, you can run it directly from the source directory if you prefer.

Running

Extensive documentation on running xboxdrv can be found in the RUNNING XBOXDRV section of the xboxdrv manpage. When you haven't installed xboxdrv the man page can be found in doc/xboxdrv.1 and be read with:

man -l doc/xboxdrv.1

Documentation on xboxdrv-daemon, a daemon that will automatically launch xboxdrv when a pad is plugged in can be read via:

man -l doc/xboxdrv-daemon.1

xboxdrv's People

Contributors

analogue avatar barchiesi avatar evanpurkhiser avatar grumbel avatar hansihe avatar saik0 avatar steveedson avatar tgurr avatar thor27 avatar timo avatar v10lator avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.