Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PS3 controller reworked #139

Merged
merged 25 commits into from
Nov 1, 2014
Merged

PS3 controller reworked #139

merged 25 commits into from
Nov 1, 2014

Conversation

beaumanvienna
Copy link
Contributor

This should fix #70 and the device indices bug for /dev/input/js*.

It contains a new function to start RetroRig automatically when the first controller is switched on. This function can be enabled or disabled during retrorig-setup.

@beaumanvienna
Copy link
Contributor Author

I have amended the system call service rescan restart in gamepads.shinc.

Headsup: In gp_autostart_xbmc.sh we still have upstart code. We could issue some system depending sed instructions during setup. I'll think of something when I'm back from my vacation.

@mdeguzis
Copy link
Owner

I'll prepare something maybe too.

On October 31, 2014 6:27:53 PM EDT, Jens-Christian [email protected] wrote:

I have amended the system call service rescan restart in
gamepads.shinc.

Headsup: In
gp_autostart_xbmc.sh
we still have upstart code. We could issue some system depending sed
instructions during setup. I'll think of something when I'm back from
my vacation.


Reply to this email directly or view it on GitHub:
#139 (comment)

Sent from my Android device with K-9 Mail. Please excuse my brevity.

@beaumanvienna
Copy link
Contributor Author

That would be awesome. Please feel free to continue this code! Can you check on your Arch box if you get something like

yo@yo:~$ ps aux |grep "/bin/dbus-daemon --config-file"|grep -v grep
yo        1542  0.0  0.0  39380  2024      S    21:07   0:00 /bin/dbus-daemon --config-file=/etc/at-spi2/accessibility.conf

? Maybe you can figure out a better way how to detect the owner of the current X session.

The PS3 controller should be pretty much finished with this PR. What about hotplug support for the XBox360 controller? I remember we had some open items there as well? I still don't have such a controller.

Should we add the auto start function for the XBox360 controller as well?

Thanks!

@beaumanvienna
Copy link
Contributor Author

From my side you can pull this in. I recommend to push this quickly to master.

I installed Linux Mint 17 (64bit version) from scratch this morning, with retrorig-setup.deb from my test repository as installation source. I've squashed one more bug, it was in the installation code for GensGs, and removed the hints to reboot for PS3/USB since this is not necessary anymore.

I love how fast the Debian-package based installation is: http://i.imgur.com/ZWj864i.png

The final version 0:0.9.5.4.5, created after testing and after all final amendments (commit count 25) can be installed via

add-apt-repository -y ppa:beauman/retrorig-testing && sudo update && sudo apt-get install -y retrorig-setup

Professor, this is a stable version! Please test this one more time, either from my test repository or after the PR was pulled in. Then please move this to master.

@mdeguzis
Copy link
Owner

mdeguzis commented Nov 1, 2014

What about hotplug support for the XBox360 controller? I remember we had some open items there as well? I still don't have such a controller.

For USB Xbox 360 controllers, it bases how many to sync up (via sed replace) on /etc/default/xboxdrv and then when you plug them in, it then assigns the number. I believe all it would take is a restart of xboxdrv for that. But yes, I can look at this soon.

mdeguzis added a commit that referenced this pull request Nov 1, 2014
@mdeguzis mdeguzis merged commit 99d0c05 into mdeguzis:beta Nov 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants