Input apparatus with scrolling function on cursor key and method thereof
First Claim
1. A method for selectively providing a scrolling function on a keyboard having at least one cursor key and a hot key for use with a data processing system having a central processing unit (CPU) and a screen, said hot key being selectively at a first status and a second status, comprising:
- setting a value of a flag to be a first value;
detecting whether status of said hot key is changed;
changing said value of said flag to be a second value when said status of said hot key is changed;
determining whether said value of said flag is said first value to generate a result;
determining a corresponding key code of said cursor key according to said result, wherein when said value of said flag is said first value, said corresponding key code of said cursor key is a first key code, when said value of said flag is said second value, said corresponding key code of said cursor key is a second key code; and
transmitting said corresponding key code to said central processing unit when said cursor key is operated so that said first key code is for controlling a cursor movement on said screen, and said second key code is for scrolling data displayed on said screen.
1 Assignment
0 Petitions
Accused Products
Abstract
An input apparatus having a scrolling function includes a cursor key and a hot key. The cursor key is configured to selectively control a cursor movement on a screen and scroll data displayed on the screen. When the hot key is at a first status, in response to action of a user, the cursor key scrolls data displayed on the screen. When the hot key is at a second status, in response to action of the user, the cursor key controls the cursor movement on the screen. Methods for selectively providing a scrolling function on the input apparatus are also provided.
-
Citations
15 Claims
-
1. A method for selectively providing a scrolling function on a keyboard having at least one cursor key and a hot key for use with a data processing system having a central processing unit (CPU) and a screen, said hot key being selectively at a first status and a second status, comprising:
-
setting a value of a flag to be a first value; detecting whether status of said hot key is changed; changing said value of said flag to be a second value when said status of said hot key is changed; determining whether said value of said flag is said first value to generate a result; determining a corresponding key code of said cursor key according to said result, wherein when said value of said flag is said first value, said corresponding key code of said cursor key is a first key code, when said value of said flag is said second value, said corresponding key code of said cursor key is a second key code; and transmitting said corresponding key code to said central processing unit when said cursor key is operated so that said first key code is for controlling a cursor movement on said screen, and said second key code is for scrolling data displayed on said screen. - View Dependent Claims (2)
-
-
3. An input apparatus having a scrolling function, comprising:
-
a cursor key for selectively controlling a cursor movement on a screen and scrolling data displayed on said screen; and a hot key; wherein said cursor key is configured to scroll data displayed on said screen when said hot key is at a first status, and said cursor key is configured to control said cursor movement on said screen when said hot key is at a second status. - View Dependent Claims (4, 5, 6, 7)
-
-
8. A method for selectively providing a scrolling function on an input apparatus having
a cursor key and a hot key, comprising: -
detecting status of said hot key; and determining a function of said cursor key in response to said status of said hot key; wherein said cursor key is set to scroll data displayed on a screen when said hot key is at a first status, and said cursor key is set to control a cursor movement on said screen when said hot key is at a second status. - View Dependent Claims (9, 10)
-
-
11. A method for selectively providing a scrolling function on a keyboard having at least one cursor key and a hot key, said hot key being selectively at a first status and a second status, comprising:
-
setting a value of a flag to be selectively a first value and a second value respectively corresponding to said first status and said second status of said hot key; detecting whether status of said hot key is changed; changing said value of said flag when said status of said hot key is changed; determining whether said value of said flag is said first value or said second value to generate a result; and determining a function of said cursor key according to said result; wherein said cursor key is configured to scroll data displayed on a screen when said value of said flag is said first value, and said cursor key is configured to control a cursor movement on said screen when said value of said flag is said second value. - View Dependent Claims (12, 13, 14, 15)
-
Specification