Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/28/02 19:05
Read: times


 
#33393 - RE: keytable 8051
It would be a combination look-up table and a simple mechanism to store the previous keystrokes and the number of times it has been pressed. If the current keystroke doesnt match the previous, the count is reset. If its the same inc the count and if it exceeds the number of possible values, it is reset. This count is used it to determine the next character from the "string" (the byte array) picked up from the look-up table.

This will be slightly more difficult if all keys don't have the same number of possible values (e.g. key1->ab, key2->cde, key3->f etc)

kundi

List of 11 messages in thread
TopicAuthorDate
keytable 8051            01/01/70 00:00      
RE: keytable 8051            01/01/70 00:00      
RE: keytable 8051            01/01/70 00:00      
RE: keytable 8051            01/01/70 00:00      
RE: keytable 8051            01/01/70 00:00      
RE: keytable 8051            01/01/70 00:00      
RE: keytable 8051            01/01/70 00:00      
RE: keytable 8051            01/01/70 00:00      
RE: keytable 8051            01/01/70 00:00      
RE: keytable 8051 - Erik            01/01/70 00:00      
RE: keytable 8051            01/01/70 00:00      

Back to Subject List