摘要 |
A chordal keyboard method and apparatus for generating a key code using a plurality of keys (301) coupled to a controller (302) with a first and second set of registers (303, 304). A user depresses (201) at least one of the keys (301). The controller (302) detects (202), which of the keys (301) are in a depressed position and which of the keys (301) are released from the depressed position. The controller (302) sets (203) in the first and the second set of registers (303, 304), bit locations of respective depressed keys, and clears in the second set of registers (304) bit locations of respective released keys. When the controller (302) detects (207) that all keys (301) are in a released position, a key code is generated (209) corresponding to bit locations set in the first set of registers (303). Then, the controller (302) clears (210) the first set of registers (304).
|