摘要 |
An input device includes a plurality of keys, each having an exclusive input key code corresponding to an illumination unit, a notification unit and a detection unit. An electronic device includes an execution unit and a first comparison unit. The execution unit generates a preset key code and an illumination command. The corresponding illumination unit emits light according to the illumination command. The detection unit detects whether one of the keys is activated, if a key is activated, generate an input key code. The comparison unit compares the preset key code and the input key code. If the two codes are the same, the comparison unit generates a stop signal. The illumination unit stops shinning according to the stop signal. If the two codes are different, the comparison unit generates a notification. The notification unit issues a notification accordingly. |