摘要 |
A key assembly includes a touching portion, and a detecting unit. The detecting unit includes a power source, a first detector, a second detector, a processor, a first resistor layer, and a second resistor layer parallel spaced from the first resistor layer. The first resistor layer includes a first end and a second end. The second resistor layer includes a third end and a fourth end. The first end is connected to a first electrode of the power source via the first detector, and the fourth end is connected to the first electrode of the power source via the second detector. The second and the third ends are connected to a second electrode of the power source. The processor electrically connected to the first detector and the second detector performs a predetermined function of the electronic device in response to electrical signals from the first and second detectors. |