Interesting.  I'm not sure @pieterlexis added this code to the original input plugin, so I'd love to get his input here.