jbuck / input.js

Input.js is a JavaScript library to map controller and OS-specific USB enumerations provided by the Gamepad API in Mozilla Firefox to an ideal virtual gamepad.
MIT License
58 stars 11 forks source link

InputJS and Ubuntu #5

Open diogogmt opened 13 years ago

diogogmt commented 13 years ago

I've been trying to get inputJS working on Ubuntu, but without success.

I don't know if this is a bug or a problem with my controller.

Specs: Ubuntu 64bit 11.04 Xbox360 wireless controller Driver: xboxdrv 0.8.2

rhung commented 13 years ago

Bring your laptop tomorrow to FSOSS, I'll bring my controller that works on Windows and we can see if inputJS works for you, and I can get the linux mapping done. =)

diogogmt commented 13 years ago

I followed ted suggestions and the browser now recognizes the controller.

Apparently I was missing a library, after I installed the libudev-dev the browser started capturing all the controller events.