摘要 |
PURPOSE: A computer system and its scroll control method are provided to install a hooker for converting the data, input via a scroll up/down button of a keyboard, into scroll instructions so that it can perform scroll operations without other specific pointing input devices or drive programs. CONSTITUTION: The system comprises a keyboard and a hooker. The keyboard executes the scroll function by using standardized data formats, and can be applied to various computers, input devices or drive programs to enhance system interoperability. The hooker is a program for calling a routine by using an address of the routine, not by directly calling the routine itself. The hooker can easily change the process routine to enhance flexibility. The hooker receives the data packet corresponding to the scroll function from the keyboard, converts the data packet into scroll instructions, and outputs the instructions to a BIOS, an OS or an application program. The keyboard includes scroll up/down buttons and a microcomputer. The scroll up/down buttons has mechanical structure for a switching operation, are connected between a power source(Vcc) and a ground(GND), and connected to the microcomputer to recognize the switching operation. The microcomputer checks if the buttons are pushed or released, and outputs key scan codes according to the check result.
|