Which controller(s) are you trying to use? For the XBOX, I did ass the 
following: vrpn_Microsoft_Controller_Raw_Xbox_S, 
vrpn_Microsoft_Controller_Raw_Xbox_360, vrpn_Afterglow_Ax1_For_Xbox_360. With 
the controller, I did find them very easy to add. I have implemented using VRPN 
in my application using C++, Qt, etc. Even though it is cross-platform, I am 
not sure how much help I can be under Linux. As Russ mentioned, you can do some 
teszts to see if everything is set up correctly before even writing one line of 
code in your application.
Thomas

--------------------------------------------
On Mon, 7/13/15, Russell M. Taylor II <[email protected]> wrote:

Subject: Re: Xbox 360 / Xbox One controller support in Ubuntu
To: "Andrés Odio" <[email protected]>
Cc: [email protected]
Date: Monday, July 13, 2015, 7:42 AM


It turns out that neither of the controllers you listed were on the 
supported-devices list for the raw microsoft controller.  I added a _Wireless 
driver for the 360 to the most-recent commit 
7332f69b708f8bc22e81911cae973efa8f2a196e (I happen to have one of those, and it 
just required changing the productID to make it work).  I tested it under 
Windows, but not under Linux.

The minimal working example should be running the server and then running 
vrpn_print_devices, so you did the right thing.  It is just that those devices 
were not yet supported.

If you end up writing an Xbox One driver, we'd love to have a pull request!

Note that if the device is recognized as a joystick by Joylin, then the Linux 
drivers don't like to share.  In that case, you should open it using the Joylin 
VRPN driver and read from it that way.

Russ

At 11:37 PM 7/12/2015, Andrés Odio wrote:

Hi Russell,

No worries, we've all got a lot of other things to look after :)

Yes, I was already running vrpn_server prior to running vrpn_print_devices, and 
I invoked the latter with microsoft0@localhost since everything is running on 
the same machine.

Do you know who implemented the Xbox 360/One controller support? It would be 
very helpful if there was a minimal working example for how to get it to work 
under Linux.

Thanks,

Andrés

On Thu, Jul 9, 2015 at 7:21 AM, Russell M. Taylor II < 
[email protected]> wrote:
Sorry for the slow response.

Just want to make sure that you're running vrpn_server along with running 
vrpn_print_devices. The "@localhost" refers to the host name of the machine 
where the server is running.  You can also run it on another machine and then 
change that address.

Let me know if that fixes things.

Russ

At 12:34 AM 7/7/2015, Andrés Odio wrote:
Hi,

The vrpn.cfg file has a line for Xbox 360 controller support:

#vrpn_Microsoft_Controller_Raw_Xbox_360 microsoft0

I've tried uncommenting it and running "vrpn_print_devices 
microsoft0@localhost" in Ubuntu 15.04, but it doesn't show any data for either 
my (wireless) Xbox 360 controller nor my (wired) Xbox one controller.

I have tried both the xpad kernel driver and the xboxdrv userspace driver and 
the behavior is the same.

Note that I can get xboxdrv itself to detect my Xbox 360 and show raw data 
(coordinates for analog sticks, 1/0 for buttons).

Any ideas?

Thanks,

Andrés
_______________________________________________
vrpn-discuss mailing list
[email protected]
Options and Unsubscribe: 
http://lists.vrpn.org/options.cgi/vrpn-discuss-vrpn.org/taylorr%40cs.unc.edu
 Archives: http://lists.vrpn.org/pipermail/vrpn-discuss-vrpn.org

List homepage: http://lists.vrpn.org/listinfo.cgi/vrpn-discuss-vrpn.org
_______________________________________________
vrpn-discuss mailing list
[email protected]
Options and Unsubscribe: 
http://lists.vrpn.org/options.cgi/vrpn-discuss-vrpn.org/archive%40mail-archive.com
Archives: http://lists.vrpn.org/pipermail/vrpn-discuss-vrpn.org

List homepage: http://lists.vrpn.org/listinfo.cgi/vrpn-discuss-vrpn.org

Reply via email to