Added writing touch registers in protocol handler