摘要 |
A keyboard includes a storage unit, a format generating unit, a character recognizing unit and an assigning unit. The storage unit is configured for storing a plurality of codes, each of the codes corresponds to a character assigned to a key on the keyboard. The format generating unit is configured for analyzing a digital picture reflecting a desired layout of keys on the keyboard and generating a location matrix of the desired layout according to the digital picture and the location matrix. The character recognizing unit is configured for recognizing the characters in the desired layout according to the digital picture and the location matrix. The assigning unit is configured for assigning the codes stored in the storage unit corresponding to the recognized characters to the corresponding keys, based upon the location matrix of the desired layout. |