On Thu, Aug 13, 2015 at 6:05 PM, CrazyFace <[email protected]> wrote: > 1: Does xboxdrv save any of this information and update it every time a new > controller is added to a file anywhere that would be accessible to my > program, so I could then read the information at regular intervals and use > it to issue the commands to RF module to light up necessary LED's?.
There are two ways, one is via the daemon mode that has hooks to call user scripts whenever a controller connects or disconnects: sudo xboxdrv --daemon --on-connect your_script_here --on-disconnect your_script_here The other alternative is via dbus, xboxdrv in daemon mode will listen to dbus can be remote controlled via xboxdrvctl to toggle LED or to report the connection status of the controller. Problem however is that xboxdrv daemon mode is currently a bit broken and need some fixing of dbus, as you will get this error message: [ERROR] XboxdrvDaemon::run(): fatal exception: failed to get unique dbus name: Connection ":1.131" is not allowed to own the service "org.seul.Xboxdrv" due to security policies in the configuration file So some fixing is required before this will work. -- Blog: http://grumbel.blogspot.com/ JabberID: xmpp:[email protected] ICQ: 59461927 -- 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.
