| With an enhanced keyboard each key can be | | | | released "789" will be transmitted. |
| assigned a macro that reproduces any sequence | | | | The repeat ability can be used with control and |
| of characters or commands on a standard | | | | function keys as in Example B. |
| computer keyboard. Many programs you use | | | | Example B: |
| could be made more user-friendly with the | | | | {010=}{RE-}{PGUP}{-PEAT} |
| addition of an enhanced keyboard. A configuration | | | | When the key #10 is pressed, the up cursor will |
| file containing a macro for each key is created | | | | be transmitted until the key is released. |
| and then downloaded into the enhanced keyboard. | | | | In a previous article I discussed the ability to alter |
| To repeat a key on a standard computer | | | | the rate at which characters are sent to the |
| keyboard the user simply holds down the key. | | | | computer. By adding a delay the repeat maximum |
| We all use this ability in our word processor when | | | | flexibility can be added to the macro. |
| we press and hold down an arrow key or the | | | | Example C: |
| page up key. An enhanced keyboard improves | | | | {010=}{RE-}{PGUP}{DELAY |
| upon this repeat ability. | | | | 400}{RDELAY}{-PEAT} |
| With an enhanced keyboard a macro, or a part of | | | | When the key #10 is pressed the page up |
| a macro, can be repeated as long as the user | | | | command is sent and the macro wait one second. |
| keeps holding the key down. In Example A the | | | | If the key is not released in that second another |
| macro's central part will be repeated until the user | | | | page up command is sent. If the key is released |
| stops releases the key. The macro will then | | | | the macro ends. The delay gives the user time to |
| conclude. | | | | react to the results of the page up. |
| Example A: | | | | This example would also be especially useful with |
| [010=]123{RE-}456{-PEAT}789 | | | | people who have muscle control problems. Many |
| As shown, when the user presses on key #10 | | | | times they don't release a key before the repeat |
| ({010=} specifies key #10), "123" will be | | | | function kicks in. This macro would give them a |
| transmitted, then "456" will appear as long as the | | | | second to release the key before the next page |
| user keeps the key pressed. When the key is | | | | up would occur. |