touch sensor

Added touch sensor and changed the type of output.