Added input method for device id.