Hi,
 
after I installed the xboxdrv and tested that it works, I started to 
program a C-File on my own. There is a problem I cannot solve. Maybe you 
can help me. 
 
I already have spent plenty of time in finding a way of detecting a 
connect/disconnect of a wireless xbox 360 controller. The wireless 
transceiver is always connected to the pi. 
 
Here is what I tried and why it failed:
 

ioctl ( EVIOCGSW…) -> Get all switches -> ERRNO.h Message: Function not 
implemented

ioctl (EVIOGSREP..) -> Set auto repeat time -> ERRNO.h Message: Function 
not implemented

ioctl (EVIOCGVERSION / EVIOGID / EVIOCGNAME) -> shows potentially 
connectable devices. It doesn't detect wether the wireless controller 
is actually connected nor it can detect wether I put out batteries.

lsusb /dev/input à as long as the xbox transceiver is connected to my pi, 
all 4 possible controller modules are loaded. Same problem as one line 
above.

Libusb_get_device_list () –> seems to be like lsusb, only written in C 
using the libusb

I send force feedback (rumble) and so on. It always succeeds, regardless a 
controller is connected to the wireless transceiver or not.

 

Can you tell me wether and how it is possible to detect wether a controller 
connects/disconnects  to the wireless transceiver ?

Can I force the controller to send me all key / axis statuses? How to do 
that?

 

best regards

André

 

-- 
You received this message because you are subscribed to the Google Groups 
"xboxdrv" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/xboxdrv.
For more options, visit https://groups.google.com/d/optout.

Reply via email to