Added device input method, it works