Merge pull request #11885 from Filoppi/devices_deadlock_fix_v2 Input: Improve Controller Interface devices threading