Get Most Recently Used Input Device Id

Get Most Recently Used Input Device Id