InputDeviceConnectionStateFromString extension

on