Method for managing the input codes from keyboard and pointing device
First Claim
1. In a computer system having a keyboard controller, the keyboard controller having a first input/output port and a second input/output port adapted to couple to a keyboard and a PS/2 mouse respectively, a method for managing the input codes from the keyboard, comprising the steps of:
- (1) detecting if the keyboard controller is connected to a PS/2 mouse;
(2) if the result in step (1) is NO, detecting a Basic Assurance Test (BAT) code from the keyboard to determine whether the keyboard coupled is a hybrid keyboard, the hybrid keyboard including a keyboard device and a pointing device;
(3) if a hybrid keyboard is detected in step (2), requesting the hybrid keyboard to send a leading code designated to the pointing device;
(4) detecting whether a signal received by the keyboard controller is a command sent from the computer system or an input code from the hybrid keyboard;
(5) if, in step (4) , the signal received by the keyboard controller is the input code from the hybrid keyboard, detecting whether an input code from the hybrid keyboard has the designated leading code;
(6) if the result of the step (5) is YES, emulating the input code as a PS/2 mouse code and sending the emulated PS/2 mouse code to the computer system.
2 Assignments
0 Petitions
Accused Products
Abstract
A method for managing the input codes from the keyboard and the point device and an apparatus thereof are provided. When the computer system is not coupled to a PS/2 mouse and a hybrid keyboard is found to be connected to the computer system, the method first requests the hybrid keyboard to send a leading code designated to the pointing device. Afterwards, the method detects whether an input code from the hybrid keyboard has a leading code. And if there is a leading code, the method emulates the input code as a PS/2 mouse code and sends the emulated PS/2 mouse code to the computer system.
15 Citations
4 Claims
-
1. In a computer system having a keyboard controller, the keyboard controller having a first input/output port and a second input/output port adapted to couple to a keyboard and a PS/2 mouse respectively, a method for managing the input codes from the keyboard, comprising the steps of:
-
(1) detecting if the keyboard controller is connected to a PS/2 mouse; (2) if the result in step (1) is NO, detecting a Basic Assurance Test (BAT) code from the keyboard to determine whether the keyboard coupled is a hybrid keyboard, the hybrid keyboard including a keyboard device and a pointing device; (3) if a hybrid keyboard is detected in step (2), requesting the hybrid keyboard to send a leading code designated to the pointing device; (4) detecting whether a signal received by the keyboard controller is a command sent from the computer system or an input code from the hybrid keyboard; (5) if, in step (4) , the signal received by the keyboard controller is the input code from the hybrid keyboard, detecting whether an input code from the hybrid keyboard has the designated leading code; (6) if the result of the step (5) is YES, emulating the input code as a PS/2 mouse code and sending the emulated PS/2 mouse code to the computer system. - View Dependent Claims (2)
-
-
3. An input apparatus of a computer system, the input apparatus having a keyboard controller which has a first input/output port and a second input/output port adapted to couple to a keyboard and a PS/2 mouse respectively, the keyboard controller performs the steps of:
-
(1) detecting if the keyboard controller is connected to a PS/2 mouse; (2) if the result in step (1) is NO, detecting a Basic Assurance Test (BAT) code from the keyboard to determine whether the keyboard coupled is a hybrid keyboard, the hybrid keyboard including a keyboard device and a pointing device; (3) if a hybrid keyboard is detected in step (2), requesting the hybrid keyboard to send a leading code designated to the pointing device; (4) detecting whether a signal received by the keyboard controller is a command sent from the computer system or an input code from the hybrid keyboard; (5) if, in step (4), the signal received by the keyboard controller is the input code from the hybrid keyboard, detecting whether an input code from the hybrid keyboard has the designated leading code; (6) if the result of the step (5) is YES, emulating the input code as a PS/2 mouse code and sending the emulated PS/2 mouse code to the computer system. - View Dependent Claims (4)
-
Specification