Giter VIP home page Giter VIP logo

ouya-controller-steam-linux's Introduction

Ouya Controller Steam Configuration

This is a little tutorial for use an Ouya controller in steam.

Motivation

I have an Ouya and is a cool paperweight. I was bored and i wanted to play Super Meat Boy. I'm a very occacional gamer and i don't want buy an xbox controller for play 30 or 40 minutes. So i tried to use my Ouya controller for play steam in my Arch Linux system. This repository contains the knowledge obtained during my experiment, i did this in an Antergos Distro, but i think that is possible implements in others Linux Distros.

Tutorial

First Steps

  1. Download this repository
  2. Verify the number of your last event in the /dev/input/eventXX, example:

input event before pair control

If your last event is equals to event16 the script ./conf/xboxdrv is ready to use, In case it is not so please edit the line evdev = /dev/input/event17 in ./conf/xboxdrv

Example, if your last event before pair the controller is /dev/input/event17 update evdev = /dev/input/event17 to evdev = /dev/input/event18. If the last port is /dev/input/event15 update evdev = /dev/input/event17 to evdev = /dev/input/event16 this event will be the number of the ouya controller when you connect to the system.

Installing Dependencies

For use the Ouya controller in our system we need connect it via Bluetooth, and for use it in Steam we need emulate a XBox© controller. So, you need install the bluetooth dependencies and the xboxdrv dependency. the install.sh script install the dependencies and copy the needed configuration for emulate the Xbox controller with the Ouya Controller.

sh install.sh

Connect the ouya controller to the system

When the instalation finish. Set the controller in listen mode and use bluetoothctl for connect the controller from the terminal.

For set the controller in listen mode, press the middle button until you only see two lights

Set Controller in listen mode

$ bluetoothctl
[NEW] Controller XX:XX:XX:XX:XX:XX JuanCrg90-Asus [default]
[NEW] Device XY:XY:XY:XY:XY:XY OUYA Game Controller
[bluetooth]# power on
Changing power on succeeded
[bluetooth]# connect XY:XY:XY:XY:XY:XY
Attempting to connect to XY:XY:XY:XY:XY:XY
[CHG] Device XY:XY:XY:XY:XY:XY Connected: yes
Connection successful
[CHG] Device XY:XY:XY:XY:XY:XY ServicesResolved: yes
[OUYA Game Controller]#

Connecting ouya controller to system

Now You can move the mouse pointer with the controller touchpad area. In /etc/input you can check that now you have a new input

Ouya controller connected

Use xboxdrv for emulate an Xbox Controller

Now you can use the command

xboxdrv -c /etc/default/xboxdrv

For emulate the controller

Example xboxdrv

The load takes a moment, The load takes a moment, you will be able to use the controller in steam when you see the following data:

Example Controller Ready

Also you can see the controller in the Steam Big picture config. Steam config

TODO Record a video using the ouya controller

Final Notes

The scripts that are in the conf directory i took them from the arch linux forum, the original author is cited in the references. I only organize the information and i try to explain in detail how to connect the controller. i hope you found this tutorial useful.

References

ouya-controller-steam-linux's People

Contributors

juancrg90 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  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.