Skip to content
This repository has been archived by the owner on Dec 20, 2018. It is now read-only.

error: Xbox controller could not be found. #3

Closed
kfarr opened this issue Jun 3, 2013 · 3 comments
Closed

error: Xbox controller could not be found. #3

kfarr opened this issue Jun 3, 2013 · 3 comments

Comments

@kfarr
Copy link

kfarr commented Jun 3, 2013

Seeing "error: Xbox controller could not be found." when attempting to import the library.

However, I can see the xbox controller working fine inside of the controller driver preference panel in OS X. Unsure how to diagnose?

@andrew
Copy link
Owner

andrew commented Jun 3, 2013

It could be that your xbox controller has a different Human interface device name than on my machine "controller", so this line doesn't find it: https://github.com/andrew/node-xbox-controller/blob/master/lib/xbox.js#L94

It might be worth trying out something like:

var HID = require('node-hid')

console.log(HID.devices())

To see what things are plugged into your computer and how they are named.

@kfarr
Copy link
Author

kfarr commented Jun 3, 2013

I think you're exactly right, the controller I'm using is an off-brand and
has the brand name in the device name. Will experiment again later this
week and confirm for sure.

On Jun 3, 2013, at 12:57 AM, Andrew Nesbitt notifications@github.com
wrote:

It could be that your xbox controller has a different Human interface
device name than on my machine "controller", so this line doesn't find it:
https://github.com/andrew/node-xbox-controller/blob/master/lib/xbox.js#L94

It might be worth trying out something like:

var HID = require('node-hid')

console.log(HID.devices())

To see what things are plugged into your computer and how they are named.


Reply to this email directly or view it on
GitHubhttps://github.com//issues/3#issuecomment-18826678
.

@danfinlay
Copy link

You should mark this as closed, I was checking here to see if there were reasons the software didn't work!

@andrew andrew closed this as completed Jun 25, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants