So I can get DuckGame working through wine, with 4 controllers, by running 
a script that forks 4 instances of xboxdrv.

I also kill the processes at the end of the script and they successfully 
unload. 

Trouble is, this leaves the controllers in an unusable state for all the 
other games that can use them just fine without xboxdrv.  I guess the 
original driver has been unloaded and needs to be re-loaded back in?

Here is my script;


#!/bin/bash

xboxdrv --config xboxdrv_conf --wid 0&
child1=$!
xboxdrv --config xboxdrv_conf --wid 1&
child2=$!
xboxdrv --config xboxdrv_conf --wid 2&
child3=$!
xboxdrv --config xboxdrv_conf --wid 3&
child4=$!

export WINEARCH="win32"
export WINEPREFIX=~/.wine-duck/
chown root /home/domarius/.wine-duck/
wineboot -u
wine DuckGame.exe

kill $child4
wait $child4

kill $child3
wait $child3

kill $child2
wait $child2

kill $child1
wait $child1


-- 
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 https://groups.google.com/group/xboxdrv.
For more options, visit https://groups.google.com/d/optout.

Reply via email to