Electronic device with slave unit and method for receiving character thereof

Various embodiments of the present invention relates to an electronic device having a detachable auxiliary device. The disclosed apparatus includes a first electronic device with a touch screen layout; And is disposed in close contact with at least a partial area of ​​the touch screen surface, comprising: a second electronic device to input data to the touch screen by pressing operation, the second electronic device including a plurality of key tops arranged is pressed keypad unit; And can by pressing load of the key top to contain a substrate for operating the touch screen.