Code for the Touch_Pad_Class