Added hotplug support for Linux input devices. #2435

Merged
1 commit merged into from Apr 6, 2013

4 participants

@dezi

I have bluetooth devices in my Raspberry running XBMC. These devices are not present, unless i wake them up.

This patch makes sure, unplugged devices are recognized and thus freeing the devices handle. New devices are scanned for every 10 seconds and integrated into the existing device configuration w/o flushing old devices.

Also i added a scan for /dev/tty1 to obtain a valid keyboard-layout, since /dev/tty0 is unconfigured in some linux flavours.

@t-nelson

Please rebase and drop the extraneous commits. You can just force push to your branch to avoid opening a new PR.

@dezi

Done.

@ghost ghost merged commit d55df9a into xbmc:master Apr 6, 2013
@hjheins

This is also an issue for Android. Is there some way this patch can also be applied for the Android version?

@silverhammermba

As far as I can tell, hotplugging does not work in the current XBMC version on Linux. At least not for my Xbox 360 controllers.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment