Abstract:
A method and apparatus for inputting data to an active application program running on a computer system includes the steps of displaying the image of a recognition keypad on a screen of the computer system, the keypad being adapted to receive user inputs; analyzing the user inputs to the recognition keypad; and inputting data to an application program running on the computer system based upon the analysis of the user inputs. The recognition keypad includes at least one button and a recognition area having at least two recognition modes. Preferably, the user inputs include inputs from a pointing device, and the recognition modes include a command mode and a character mode. The user preferably enters characters and gestures to the recognition area, and the buttons are preferably modifier buttons operative to modify the entered characters and gestures based on the current recognition mode.

Description:
BACKGROUND OF THE INVENTION 
     This invention relates generally to computer systems, and more particularly to graphical user interfaces for computer systems. 
     Graphical user interfaces or GUI are becoming increasingly popular with computer users. It is generally accepted that computers having graphical user interfaces are easier to use, and that it is quicker to learn an application program in a GUI environment than in a non-GUI environment. 
     A relatively new type of computer which is well suited for graphical user environments is the pen-based or pen-aware (&#34;pen&#34;) computer system. A pen-based computer system is typically a small, hand-held computer where the primary method for inputting data includes a &#34;pen&#34; or stylus. A pen-aware computer system is one which has been modified to accept pen inputs in addition to traditional input methods. A pen computer system is often housed in a relatively flat enclosure, and has a dual-function display assembly which serves as both an input device and an output device. When operating as an input device, the display assembly senses the position of the tip of a stylus on the viewing screen and provides this positional information to the computer&#39;s central processing unit (CPU). Some display assemblies can also sense the pressure of the stylus on the screen to provide further information to the CPU. When operating as an output device, the display assembly presents computer-generated images on the screen. 
     The dual-function display assemblies of pen-based computer systems permit users to operate the computer as a computerized notepad. For example, graphical images can be input into the pen-based computer by merely moving the stylus across the surface of the screen. A stroke is defined as the engagement of the screen with a stylus, the movement of the stylus across the screen (if any), and its subsequent disengagement from the screen. As the CPU senses the position and movement of the stylus, it generates a corresponding image on the screen to create the illusion that the stylus is drawing the image directly upon the screen, i.e. that the stylus is &#34;inking&#34; an image on the screen. With suitable recognition software, text and numeric information can also be entered into the pen-based computer system in a similar fashion. Besides serving as a notepad, pen-based computers can provide a number of useful functions, such as serving as an address book, an appointment calendar, a to-do list, etc. 
     Typical computer systems using GUI have typically been implemented using keyboards and pointing devices such as mice, trackballs, and the like for data input. Pen-based computer systems, in contrast, tend to discourage the use of a keyboard. Most of the software written for pen computers is designed to function well with pen strokes and &#34;clicking&#34; the stylus against the computer screen in defined areas. In addition, a primary feature of many pen computer systems is their portability, which a keyboard, if included with the pen system, would seriously degrade. 
     In some instances, however, the need arises on a pen-based computer for data entry in a keyboard-like fashion. For example, the pen-based computer might be running a program that normally accepts characters from a keyboard. Also, in some cases, the only way to enter data efficiently might be to use a keyboard-like input device. 
     In particular, a need might arise on a pen computer to enter a command or character that is normally or most efficiently executed with keystrokes on a keyboard-based system. Commands are simple, usually one character, instructions for an application program to execute a particular function. For example, in virtually all Macintosh word processing systems, a S (where the  signifies &#34;command&#34;) command will save the current document to a hard disk or other storage device. Such commands are conveniently entered in a keyboard-like fashion. 
     In many current GUI computer systems, commands for an application program may be executed by several methods, including pull-down menu commands and keyboard commands. For example, the S command for a word processing program might be implemented by either selecting the SAVE option from a pull-down menu or by pressing a key or keys from the keyboard. 
     In general, such keyboard entry of commands can be more efficient than selecting a command through a menu. A two-keystroke action generally is faster and easier than moving a pointing device to the top of a screen and searching for a particular command in a menu. Also, some users are more familiar with keyboard commands, and may find using menu commands time consuming and inefficient. 
     In some pen computer systems, such keyboard-like entry of commands can be accomplished using a keyboard image displayed on the screen of the pen computer. The keyboard image resembles a standard keyboard, and keys are selected using a stylus. Most keyboard commands and characters can be entered in this fashion. However, utilizing such an on-screen keyboard is still relatively time consuming and inconvenient. 
     In current pen software, commands for a program can be entered through specific interfaces written for that program. For example, in the PenPoint operating system by Go Corporation, a command can be applied to text characters in a word processing program by writing a special gesture directly over a selected word or text line. However, these commands are only applied to the selected word or text line. Also, each application program requires its own pen command interface, which increases the complexity and difficulty of using the computer system for the user. 
     In a pen software system called MacHandwriter II by Communication Intelligence Corporation, several characters may be entered in boxes to form characters or words. A button can then be selected to modify the characters entered and send the character or word to an application program. However, it does not include a method for entering and inputting a single character easily and quickly. 
     What is needed is a utility program that allows the user to input commands and characters to any currently-running application program. The utility should be able to be used about as quickly as a keyboard and should correspond to the keyboard commands and characters used on keyboard computer systems. 
     SUMMARY OF THE INVENTION 
     A recognition keypad of the present invention permits quick, straightforward input of commands and characters to an application program running on a pen computer system. The keypad can be displayed and used at any time to enter commands, characters, and gestures into an active application program. 
     A method for inputting data to an active application program includes displaying an image of a recognition keypad on a computer screen, where the keypad has at least one button and at least one recognition area. The recognition area includes at least two recognition modes. The method further includes analyzing user inputs to the recognition keypad, and inputting data to an application program running on the computer system based upon the analysis of the user inputs. 
     Two preferred recognition modes for the recognition area include a character mode, wherein a character or gesture is input to the application program, and a command mode, wherein a command is input to the application program. These modes are preferably controlled by one of the buttons. Alternate embodiments of the invention include a step of confirming the character or gesture entered by the user, and a step of inputting a character to the application program from the selection of a button. 
     A recognition keypad in accordance with the present invention includes a central processing unit (CPU), a screen coupled to the CPU, a pointer mechanism coupled to the CPU to provide user inputs which can be displayed on the screen, a recognition keypad displayed on the screen having at least one button and at least one recognition area and being adapted to receive user inputs on both the button and the recognition area, a mechanism for analyzing user inputs to the recognition keypad, and a mechanism for inputting data to an application program running on said computer system based upon the analysis of the user inputs. Preferably, the user inputs include inputs in the form of a character or gesture, and two recognition modes of the recognition area include a character mode and a command mode controlled by a button. The character mode inputs a character to the application program, and the command mode inputs a command to the application program, the command depending on the modifier buttons selected. Other more complex forms of the present invention include an extension pad button area with additional character buttons and a confirm button area. 
     The present invention allows quick input of commands to an active application program using pointer-based inputs. The recognition keypad is small and is preferably always active on the screen, allowing quick and easy command and character entry from the keypad to any active application program window. 
     These and other advantages of the present invention will become apparent upon a reading of the following descriptions and a study of the various figures of the drawing. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 is a block diagram of a pen computer system in accordance with the present invention; 
     FIG. 2a is a display screen of the computer system of FIG. 1 showing a word processing application window and illustrating the activation of a recognition keypad of the present invention; 
     FIG. 2b is a display screen as shown in FIG. 2a showing the recognition keypad of the present invention; 
     FIG. 3 is a display screen showing the selection of a word in the word processing window and the selection of the command button of the recognition keypad; 
     FIG. 4 is a display screen showing a pen-written command entered upon the recognition area of the recognition keypad; 
     FIG. 4a is a display screen showing a computer-printed character that the computer recognized; 
     FIGS. 5a and 5b are display screens of an alternate embodiment of the invention that includes a confirmation button on the recognition keypad; 
     FIGS. 6a through 6e are display screens illustrating the entry of characters to the word processing window from the recognition keypad; 
     FIGS. 7a and 7b are display screens illustrating the selection of a file by entering a character on the recognition keypad; 
     FIG. 8 is a flow diagram illustrating the method of implementing the recognition keypad of the present invention; 
     FIG. 9 is a flow diagram illustrating the &#34;Process Button&#34; step of FIG. 8; 
     FIG. 9a is a flow diagram illustrating the &#34;Process Input Character&#34; step of FIG. 9; 
     FIGS. 10a and 10b are a flow diagram illustrating the &#34;Process Recognition&#34; step of FIG. 8; and 
     FIG. 11 is a flow diagram illustrating the &#34;Process Manipulate Keypad&#34; step of FIG. 8. 
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS 
     The present invention is well suited for pointer based computer systems such as the pen-based, pen-aware and mouse-based systems that are currently popular. For the purposes of illustration, the invention will bedescribed in connection with a pen-based or pen-aware (&#34;pen&#34;) system. 
     As shown in FIG. 1, a pen computer system 10 in accordance with the presentinvention includes a central processing unit (CPU) 12, read only memory (ROM) 14, random access memory (RAM) 16, expansion RAM 17, input/output (I/O) circuitry 18, display assembly 20, and expansion bus 22. The pen computer system 10 may also optionally include a mass storage unit 24 suchas a disk drive unit or nonvolatile memory such as flash memory and a real-time clock 26. 
     The CPU 12 is preferably a commercially available, single chip microprocessor, and is preferably a complex instruction set computer (CISC) chip such as the 68040 microprocessor available from Motorola, Inc.CPU 12 is coupled to ROM 14 by a data bus 28, control bus 29, and address bus 31. ROM 14 contains the basic operating system for the pen computer system 10. CPU 12 is also connected to RAM 16 by busses 28, 29, and 31 to permit the use of RAM 16 as scratch pad memory. Expansion RAM 17 is optionally coupled to RAM 16 for use by CPU 12. CPU 12 is also coupled to the I/O circuitry 18 by data bus 28, control bus 29, and address bus 31 topermit data transfers with peripheral devices. 
     I/O circuitry 18 typically includes a number of latches, registers and direct memory access (DMA) controllers. The purpose of I/O circuitry 18 isto provide an interface between CPU 12 and such peripheral devices as display assembly 20 and mass storage 24. 
     Display assembly 20 of pen-based computer system 10 is both an input and anoutput device. Accordingly, it is coupled to I/O circuitry 18 by a bi-directional data bus 36. When operating as an output device, the display assembly 20 receives data from I/O circuitry 18 via bus 36 and displays that data on a suitable screen. The screen for display assembly 20 is preferably a liquid crystal display (LCD) of the type commercially available from a variety of manufacturers. The input device of display assembly 20 can be a thin, clear membrane which covers the LCD display andwhich is sensitive to the position of a stylus 38 on its surface. Alternatively, the screens can be provided with an embedded RF digitizer and an &#34;active&#34; RF stylus. There are also other types of confirmation screen/tablet technologies. Combination display assemblies such as displayassembly 20 are available from a variety of vendors. 
     Other types of user inputs can also be used in conjunction with the presentinvention. While the method of the present invention is described in the context of a pen system, other pointing devices such as a computer mouse, a track ball, or a tablet can be used to manipulate a pointer on a screen of a general purpose computer. Therefore, as used herein, the terms &#34;pointer&#34;, &#34;pointing device&#34;, &#34;pointer inputs&#34; and the like will refer to any mechanism or device for pointing to a particular location on a screen of a computer display. 
     Some type of mass storage 24 is generally considered desirable. However, the mass storage 24 can be eliminated by providing a sufficient amount of RAM 16 and expansion RAM 17 to store user application programs and data. In that case, RAMs 16 and 17 could be provided with a backup battery to prevent the loss of data even when the pen computer system 10 is mined off. However, it is generally desirable to have some type of long term storage 24 such as a commercially available miniature hard disk drive, nonvolatile memory such as flash memory, battery backed RAM, PC-data cards, or the like. 
     In operation, information is input into the pen computer system 10 by &#34;writing&#34; on the screen of display assembly 20 with the stylus 38. Information concerning the location of the stylus 38 on the screen of the display assembly 20 is input into the CPU 12 via I/O circuitry 18. Typically, this information comprises the Cartesian (i.e. x &amp; y) coordinates of a pixel of the screen of display assembly 20 over which thetip of the stylus is positioned. Commercially available combination displayassemblies include appropriate circuitry to provide the stylus location information as digitally encoded data to the I/O circuitry of the present invention. The CPU 12 then processes the data under control of an operating system and possibly an application program stored in ROM 14 and/or RAM 16. The CPU 12 then produces data which is output to the display assembly 20 to produce appropriate images on its screen. 
     Expansion bus 22 is coupled to the data bus 28, the control bus 29, and theaddress bus 31, similar to the other components in system 10. Expansion bus22 provides extra ports to couple devices such as modems, display switches,microphone, speaker, etc. to the CPU 12. 
     In FIG. 2a, a display screen 20 of a computer system is shown. In the preferred embodiment, screen 20 is the LCD input/output display of the pencomputer system shown in FIG. 1. A display from an Apple Macintosh System 7.0 operating system environment is shown as an example; however, any graphical user interface (GUI) used on a computer capable of running such an environment is applicable to the present invention. Menu titles 44, when touched with a pointing device, will display pull-down menus, which include selections that can be activated with the pointing device. Icon 46indicates which application program in memory is currently &#34;active&#34; (see below). 
     Window 48 is displayed by a currently active application program. A window,such as window 48, may be moved on the screen, erased (&#34;closed&#34;), or resized at the user&#39;s convenience, as is well-known to those skilled in the art. In FIG. 2a, window 48 is displayed from a word processing application program, Teach Text, in which text fries may be input, output,or edited. As referenced herein, &#34;application program&#34; refers to programs such as word processors, spreadsheets, drawing programs, etc. that can rununder a GUI environment. 
     Icon 46 and lines 49 indicates that Teach Text is the currently active application program. Herein, an &#34;active&#34; application program is one whose open window can be manipulated, edited, moved, etc. For example, a word processing program window, such as window 48, is active if the text that the word processor window displays can be changed or edited; the active word processing window can also be dragged, resized, or closed by clickingon specific areas of the window. In contrast, non-active program windows cannot be manipulated unless they are made active (usually by clicking on them or selecting them from a menu). A non-active window does not display lines 49 and does not display an icon 46. In the preferred embodiment, only one program window may be active at once, although alternate embodiments can support multiple active windows, where one of the active windows is designated as the &#34;input&#34; window. 
     Line of text 50 in window 48 has been entered and saved in a file &#34;Text&#34;, as indicated by display 52. Text 50 may be changed or edited by placing a cursor on the line 50 with a pointing device and entering or deleting characters from, for example, a keyboard. 
     A &#34;gadget bar&#34; 54 is also displayed on display screen 20. Gadget bar 54 is displayed by a utility that offers a selection of utilities for a computersystem. These programs are represented by icons 56, and are typically grouped according to related functionality. Gadget bar 54 is a form of &#34;palette&#34;; dotted bar 58 indicates this status. Gadget bar 54 (like other palettes) may be closed, dragged, or used freely at any time, regardless of any active window, such as window 48. In the preferred embodiment, gadget bar 54 is implemented using the Penboard software system, describedin U.S. Pat. No. 5,603,053, filed Mar. 5, 1996, entitled, &#34;System for Entering Data Into an Active Application Program Currently Running in the Foreground by Selecting an Input Icon in a Palette Representing Input Utility&#34;, which is a continuation of U.S. patent application Ser. No. 08/060,438, filed May 10, 1993 on behalf of Cough et at. entitled &#34;Method and Apparatus for Interfacing with a Computer System&#34;, now abandoned, bothassigned of the assignee of the present application, the disclosure of which is hereby incorporated by reference herein in its entirety. 
     Arrow 60 illustrates the activation of a utility from gadget bar 54. A pointing device selects a desired icon 56 and preferably drags the icon tothe screen location at which the utility program window will be displayed. &#34;Dragging&#34; an icon with a mouse is typically accomplished by holding down the selection button on the pointing device, then releasing the button after the object has been moved to its new location. &#34;Dragging&#34; with a penor stylus involves engaging the icon with the stylus and moving the stylus to the desired position on the screen. The stylus is then lifted from the screen to leave the icon in its new position. In FIG. 2a, the icon 57 for the recognition pad has been selected and dragged as suggested by arrow 60. Preferably, after the icon is dragged off of bar 54 it is converted into a phantom window 62. A recognition pad window will be displayed at the location of phantom window 62. 
     In FIG. 2b, a recognition keypad 64 of the present invention appears in place of phantom window 62 of FIG. 2a when the stylus is raised from the screen. Recognition keypad 64 is preferably a small enough size to be located in a seldom-used area of the screen and not interfere with the active application program. Recognition keypad 64 includes a header bar 66, buttons 68, and a recognition area 70. Header bar 66 has a dotted pattern, indicating that the recognition keypad 64 is a palette and alwaysactive, similar to gadget bar 54. That is, the buttons and functions of keypad 64 may always be selected by a pointing device, regardless of the active status of window 48 or any other application window. Icon 46 indicates that word processing window 48 is still active as well; text andfunctions of the window 48 may still be manipulated freely at any time. Thekeypad 64 may be dragged to any location on the screen by engaging header bar 66 with a pointing device. Header bar 66 includes a close box 69 that can be used to remove the keypad image 64 from the screen. Header bar 66 also includes a pad extension button 67 that, when selected by a pointing device, will display a pad extension with additional buttons and functions. The function of the button 67 is explained in more detail below. 
     Buttons 68 may be selected by a pointing device and preferably are equivalent to like keys on a typical keyboard. In the preferred embodiment, buttons 68 are &#34;modifier&#34; buttons; that is, on a keyboard, they are designed to modify the function of another key when pressed simultaneously with that other key. Modifier buttons and keys can also modify the selection of a pointing device when pressed simultaneously withthe pointing device button. Modifier buttons are often used, for example, to invoke a command. In the preferred embodiment, the buttons 68 include &#34;SHIFT&#34;, &#34;OPTION&#34;, &#34;COMMAND&#34; and &#34;CONTROL&#34;. For example, the button &#34;OPTION&#34; is normally used on a keyboard by holding down the OPTION key andpressing a second key simultaneously. The OPTION key modifies the function of the second key. For example, &#34;OPTION-S&#34; signifies that both the OPTION and S keys are pressed simultaneously; this combination may have the effect of, for example, deleting a paragraph of text in a word processing document. Other functions and commands typically executed by modifier keysinclude saving or loading a word processing document to and from a mass storage device, saving or loading data to and from buffer RAM (&#34;cutting and pasting&#34;), closing an active window, inserting and deleting text, printing a file, searching for text or filenames, etc. Examples of the useof buttons 68 using a pen computer system are described below. 
     Recognition area 70 is used to enter characters and gestures to the keypad 64 by means of a pointing device. Recognition area 70 is receptive to pen strokes and displays such strokes graphically (i.e. in &#34;ink&#34;) as they are being drawn. When the user lifts the pointing device from the recognition area 70 for a predetermined period of time, the CPU 12 assumes that a character or gesture has been completely entered, and attempts to recognize the strokes as an alphanumeric character or predefined gesture. Recognition software for recognizing such characters or gestures is well-known to those skilled in the art. The character or gesture entered is combined with any modifier button(s) 68 currently selected, and the resulting command is input to and executed in the active window 48. If none of the buttons 68 have been selected, the recognized character or gesture is input to the active window 48 as a character. These processes are described in more detail below. 
     In FIG. 3, active word processing window 48 and recognition keypad 64 are displayed on screen 20. In active word processing window 48, the word &#34;quick&#34; in text line 50 has been selected by the user with a pointing device or by some other selection mechanism, and is thus shown in reverse video in FIG. 3. The word &#34;quick&#34; will thus be modified or changed, depending on the user&#39;s next action or &#34;event&#34;. 
     Recognition keypad 64 is shown with the &#34;CMD&#34; (&#34;COMMAND&#34;) button 72 selected; i.e., &#34;CMD&#34; is in reverse video. This indicates that the recognition keypad 64 is in command mode: a character or gesture entered in recognition area 70 will be modified by the CMD key. Symbol 74 is displayed in recognition area 70 to indicate that the keypad is in commandmode. Depending on the computer system used, different symbols may be associated with specific modifier buttons. In the preferred embodiment, recognition keypad 64 is always opened with command mode selected. 
     Buttons 68, such as the COMMAND button, may be selected by a pointing device. The buttons may be selected with one click or tap, meaning that the pointing device has contacted the computer screen once on the button 68 and has been removed. A single click sets the selected button in a &#34;set&#34; state, in which the modifier button modifies the next character or gesture entered in recognition area 70. The modifier button 68 preferably automatically deselects after the next character or gesture has been entered into the recognized area. Buttons 68 may also be selected by clicking on the buttons twice, which, in the preferred embodiment, sets the selected modifier button to a &#34;lock&#34; state, so that the button always stays selected until the user clicks on it again at a future time. In the preferred embodiment, &#34;set&#34; state highlights the button on the computer screen as shown in FIG. 3. &#34;Lock&#34; state can be shown similar to the &#34;set&#34; state, or it can be distinguished from the &#34;set&#34; state with, for example, a different color or a border around the modifier button 68. 
     In FIG. 4, written character 76 has been drawn in recognition area 70 with a pointing device. Written character 76 is displayed with graphical lines of a predefined width that most closely follow the strokes of the pointingdevice, i.e., it is displayed as &#34;ink&#34;. As shown in FIG. 4, the character drawn most closely resembles an &#34;X&#34; or cross. 
     Gestures may also be written in recognition area 70. Such gestures may be predefined; for example, an arrow pointing to the left might be defined torepresent a printer control character, such as a RETURN character. Or, a gesture may represent a command, in which case commands could be entered without selecting the CMD button and keeping the keypad in character mode (character mode is detailed with reference to FIG. 6a). 
     In FIG. 4a, written character 76 of FIG. 4 has been recognized as an &#34;X&#34; bythe recognition software of the computer system. Recognition software is well-known to those skilled in the art. CPU 12 displays the recognized character 78 in place of the written character 76 in the recognition area 70 of keypad 64. Thus, in the example shown, the command &#34;CMD-X&#34; was recognized by the CPU. If the recognition software recognized a different character, that recognized character would be displayed in recognition area 70. The user thus receives quick visual feedback on the character that the CPU 12 recognized. 
     Word processing window 48 in FIG. 4a shows the result of the command entered in recognition keypad 64. CPU 12 sends the command entered in the keypad 64 to the currently active window 48. The command is then interpreted by the active program as it normally would if input by a keyboard. In FIG. 4a, the active window 48 received the &#34;CMD-X&#34; instruction from the CPU 12. For the Teach Text program, &#34;CMD-X&#34; is an instruction to &#34;cut&#34; the selected text, i.e. to delete it and store it in buffer RAM. Since &#34;quick&#34; was selected in the Teach Text window 48, &#34;quick&#34; was deleted from text 50. If a different application program window had been the active window (i.e., a different icon 46 displayed on the screen 20), the command might have been interpreted differently. For example, in a word processing program, the command &#34;CMD-S&#34; might instruct the program to save the current document to disk. In contrast, in a mall program, the command &#34;CMD-S&#34; might instruct the mall program to send a mail message. The recognition keypad 64 merely sends a command to the active window; the active program interprets how to implement the command. 
     FIG. 5a illustrates an alternate embodiment of the computer implemented process of the present invention. Recognition keypad 64 includes a confirmbutton 80, preferably located close to the recognition area 70. After the user has drawn a character or gesture in area 70, the computer displays the recognized character 78. No command has yet been sent to the active window 48, however. If the computer recognized and displayed the correct character, the user selects confirm button 80 with a pointing device, as shown in FIG. 5b, where the &#34;OK&#34; is shown in reverse video. The computer then sends the command to the active window 48, and the command is implemented by the active program, i.e., the selected word is deleted in the word processing window 48. If, however, the character was not recognized correctly and the computer displays the wrong character, the user has the option to draw the character over the displayed character 78.In this case, when the pointing device touches the recognition area 70, theold character disappears and the user can try writing the character again. 
     In FIG. 6a, the recognition keypad 64 is shown with no buttons 68 selected.Entry box 82 is displayed in recognition area 70, indicating that the keypad is in character mode. In character mode, a character or gesture maybe entered in the box 82 by a pointing device, and that character or gesture is directly input to the active program window 48. Active word processing window 48 shows text line 50, with &#34;I-beam&#34; cursor 84 marking where the next character entered will be displayed. 
     In FIG. 6b, pad extension button 67 on bar 66 has been selected by a pointing device. Extension pad 86 is displayed is response to this selection. Extension pad 86, in this example, includes extra or special characters that cannot easily be written in the entry box 82. In the preferred embodiment, such special characters include SPACE, TAB, RETURN, and DELETE buttons. Other characters may be added if necessary. The recognition software used may also be able to interpret different gesturesthat can be defined as these or other special characters. 
     In FIG. 6c, the SPACE button 88 of extension pad 86 has been selected as indicated in reverse video, and a space 89 has been added to the text line50. Extension pad 86 can be closed by selecting the pad extension button 67a second time. 
     In FIGS. 6d and 6e, additional characters are added to text line 50. In FIG. 6d, a &#34;j&#34; character 90 has been written by a pointing device in entrybox 82; the character is recognized by the recognition software and the recognized character is displayed in place of the written character (not shown). Window 48 shows a &#34;j&#34; character added to the text line 50, and cursor 84 indicates where the next character will be inserted. In FIG. 6e,the character &#34;u&#34; 92 has been added after character &#34;j&#34; in text line 50 by the same procedure as shown in FIG. 6d. A dimmed character &#34;j&#34; 90 is preferably displayed beneath the written &#34;u&#34;; this character is the previously-entered character, displayed for the user&#39;s convenience. 
     In FIG. 7a, the active window 48 is the display of a file management program. Icon 46 indicates the active window is the Apple Macintosh program Finder. Display 52 indicates that the window 48 is displaying the contents of a hard drive 24. Files 94 displayed in window 48 are present on the hard disk. Recognition keypad 64 is shown in character mode (no buttons 68 are selected). 
     In FIG. 7b, a character 96 has been written in entry box 82. The character is recognized as a &#34;c&#34;, and the recognized character is input to the active window 48. The active program Finder receives the &#34;c&#34; character andselects the first alphabetical file whose filename begins with &#34;c&#34;; thus, the &#34;Cat&#34; file 98 is selected. Finder normally selects files in this manner when a user presses a specific letter key on a keyboard. 
     FIG. 8 is a flow diagram 100 of a preferred computer implemented process inaccordance with the present invention. In a first step 102, the recognitionkeypad is activated. This is accomplished, in the preferred embodiment, as shown in FIGS. 2a and 2b, by dragging the recognition keypad icon 57 to a desired location on the computer screen with a pointing device. In step 104, the location of the pointing device (referred to as &#34;stylus&#34; henceforth) is determined to see if any area of the recognition keypad is being selected. If it is not selecting the recognition keypad 64, step 104is executed repeatedly until the stylus is selecting the keypad. 
     If the stylus is selecting the keypad, there are several locations within the keypad that may be selected. Step 106, Process Button, is implemented if the stylus is selecting buttons 68 or 86 within the keypad. Process button is described with reference to FIG. 9. Step 108, Process Recognition, is implemented if the stylus is selecting the recognition area 70 of the keypad. Process recognition is described with reference to FIGS. 10a and 10b. Step 110, Process Manipulate Keyboard, is implemented if the stylus is selecting or activating one of the manipulation functions, such as dragging the keypad or closing the keypad. Process Manipulate Keyboard is described with reference to FIG. 11. 
     FIG. 9 is a flow diagram 112 of the Process Button step of FIG. 8. In a step 114, it is determined whether the stylus is selecting a modifier button 68, which includes the SHIFT, OPTION, COMMAND and CONTROL buttons. If the stylus is not selecting a modifier button, then a character button on the extension pad 86 must have been selected and Process Input Character step 116 is then implemented (see FIG. 9a). If the stylus is selecting a modifier button, then step 118 is implemented. In step 118, the selected modifier button is checked if it is already active, i.e., if had been selected at an earlier time. If the modifier button is already active, step 120 is implemented, in which the active modifier button is checked if it is the command button. If the active button is the command button, step 122 is implemented, in which the display in the recognition area of the keypad is set to character mode; the command button has thus been toggled off. The process then moves to step 124. If the active buttonis not the command button in step 120, the process moves directly to step 124. In step 124, the state of the active modifier button is set to &#34;off&#34; and the button is unhighlighted on the computer screen. The process is then complete as shown in step 126, and the process flow loops back to step 104 of FIG. 8. 
     In step 118, if the selected modifier button is not already active, step 128 is implemented. In step 128, the selection status of the modifier button is checked. If the modifier button were double-clicked, step 134 isinitiated, in which the state of the modifier button is set to &#34;lock&#34;. A &#34;double-click&#34; is simply two, distinct clicks within a predetermined period of time. A button set in &#34;lock&#34; state stays selected until the userselects the button again. In step 136, the button is displayed in &#34;lock&#34; state on the, computer screen. If the modifier button had been clicked once or more than twice at step 128, the process proceeds to step 130, which sets the state of the modifier button to &#34;set&#34; and then continues tostep 132, which highlights the button on the computer screen to indicate the &#34;set&#34; state. 
     Step 138 is implemented next, in which the selected modifier button is checked if it is the command button. If it is not the command button, the process is complete at step 126. If the modifier button is the command button, the command symbol, &#34;&#34;, signifying command mode, is displayed in the recognition area 70 of the keypad in step 140. The process is then complete at step 126. 
     In FIG. 9a, Process Input Character step 116 of FIG. 9 is detailed. In a first step 144, the recognition keypad sends a recognized character to theevent queue of the operating system. In the preferred embodiment, the operating system is the Macintosh System 7 operating system. In this operating system, the event queue includes a list of input data &#34;events&#34; that were input by the user to be sent to the active application window. Each event, such as dragging a window, inputting a character, selecting a menu, etc., is placed in the event queue to be executed by the operating system in the same order the events arrived. The event queue, and the method used by Penboard to add events to the event queue, are described inthe aforementioned co-pending application entitled, &#34;Method and Apparatus for Interfacing with a Computer System&#34; by inventors Gough et al. assignedto the same assignee as the present invention. 
     In step 146, the operating system checks if any modifier buttons were active at the time the recognized character was sent to the event queue. If one or more modifier buttons were active, appropriate flags are set in the event queue for the recognized character in step 148 so that the character is recognized as a command by the application program. Step 150 is then implemented, in which the recognized character is displayed in therecognition area of the recognition keypad. If no modifier buttons were active in step 146, the process continues directly at step 150, in which the recognized character is displayed on the keypad. 
     In step 152, any modifier buttons selected are checked if they were selected with a single click. A single click selection indicates that the button is only used to modify the next recognized character. If a single click was not used to select any modifier buttons, the process is completeas indicated in step 154. If any modifier buttons were selected with a single click, those buttons are reset, as shown in step 156. The next step158 checks if the command mode is set to the &#34;off&#34; state; if it is not off,the process is complete at step 154. If the command mode is set to &#34;off&#34;, the display in the recognition area of the keypad is set to character mode, as shown in step 160. The process is then done, as shown by step 154. 
     FIG. 10a is a flow diagram of Process Recognition step 108 of FIG. 8. In a first step 164, the stylus is checked for contact with the display screen.If the stylus is contacting the screen (&#34;down&#34;), step 166 is initiated, in which stroke points are collected and ink is displayed on the screen as the stylus moves across the screen surface. The process then loops back tostep 164, in which the stylus is again checked for contact with the screen.Once the stylus is determined to be &#34;up&#34;, a stroke is assumed to be complete and step 168 is initiated. In step 168, the TIME variable is set to zero, and in step 170, the stylus is checked if it is contacting the screen. If it is touching the screen, a new stroke is assumed to have begun, and step 172 is implemented to collect the stroke points and display the ink in similar fashion to step 166. Step 174 checks if the stylus is up; if it is not, the user is still entering a stroke and step 172 is cycled through once more. If the stylus is up, the stroke is completed, and the process cycles back to step 170 to check if another stroke is begun by the user. 
     In step 170, if the stylus is not down, a loop begins at step 176 in which the variable TIME is compared to a predefined time amount TIMEOUT. If TIMEis less then TIMEOUT, the elapsed time is added to TIME in step 178 and thestylus is checked once more at step 170. If the stylus continues to be up and TIME becomes greater than TIMEOUT, the user is assumed to be finished entering his strokes and the character is completely entered. A typical time for TIMEOUT is one-half second. Step 180 is then initiated, in which the stroke points are sent to the gesture recognizer. The gesture recognizer analyzes the stroke points in step 182 to determine if the entered strokes comprise a predefined gesture; if so, the gesture is processed in step 184. If the strokes do not comprise a known gesture, thestroke points are sent to the character recognizer in step 186. If a character is not recognized in step 188, then the original strokes are again displayed in step 190 along with feedback informing the user that nothing was recognized, and the process is done in step 192. If a character is recognized in step 188, the process continues in FIG. 10b. 
     FIG. 10b continues Process Recognition step 108 begun in FIG. 10a. In step 194, confirm mode is checked if active. If not active, the displayed ink is erased in step 196 and Process Input Character step 116 (FIG. 9a) is then implemented. If confirm mode is active in step 194, then, in step 200, the ink is erased and the recognized character and the confirm buttonare displayed in the recognition area of the keypad. In step 202, the location of the next stroke of the user is checked. If the stroke is in the recognition area of the keypad, it is assumed that the user wishes to rewrite his strokes, and step 204 is implemented to erase the confirm button and the recognized character. The process then moves to step 104 ofFIG. 8 as shown in step 206. If the next stroke of the user in step 202 is not in the recognition area of the keypad, step 208 is implemented, in which the status of the confirm button is monitored. If the user selects the confirm button within a predefined time limit, the Process Input Character step 116 of FIG. 9a is implemented. If the user does not select the confirm button within the time limit, step 204 is implemented and the process goes to step 104 of FIG. 8. 
     FIG. 11 is a flow diagram of Process Manipulate Keyboard step 110 of FIG. 8. The process starts in step 216, which checks if the stylus is selectingthe close box on the keypad. If the close box is selected, the keypad is closed and erased from the screen in step 218 and the process is complete at step 220. If the close box is not selected, a step 222, checks to see if the title bar of the keypad is selected. If it is selected, step 224 checks if the stylus is moving. If the stylus is moving, step 226 moves the keypad with the stylus; if the stylus is not moving, the process is completed as indicated in step 220. 
     If the stylus is not on the title bar, step 228 checks if the stylus is on the pad extension button. If not, the process is complete. If the pad extension button is selected, step 230 checks if the extension pad is already open. If the extension pad is already open, it is closed in step 232. If the extension pad is not open in step 230, it is opened in step 234. After step 232 or 234, the process is complete at step 220. 
     Of course, the multiple decision steps 216, 222, 224, 228, and 230 can alsobe handled concurrently with appropriate software. 
     While this invention has been described in terms of several preferred embodiments, there are alterations, permutations, and equivalents which fall within the scope of this invention. It is therefore intended that thefollowing appended claims be interpreted as including all such alterations,permutations, and equivalents as fall within the true spirit and scope of the present invention.