Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0776867B2 - Cursor movement control device - Google Patents
[go: Go Back, main page]

JPH0776867B2 - Cursor movement control device - Google Patents

Cursor movement control device

Info

Publication number
JPH0776867B2
JPH0776867B2 JP63022914A JP2291488A JPH0776867B2 JP H0776867 B2 JPH0776867 B2 JP H0776867B2 JP 63022914 A JP63022914 A JP 63022914A JP 2291488 A JP2291488 A JP 2291488A JP H0776867 B2 JPH0776867 B2 JP H0776867B2
Authority
JP
Japan
Prior art keywords
cursor
key
cursor movement
time
software
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP63022914A
Other languages
Japanese (ja)
Other versions
JPH01200285A (en
Inventor
茂樹 加藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP63022914A priority Critical patent/JPH0776867B2/en
Publication of JPH01200285A publication Critical patent/JPH01200285A/en
Publication of JPH0776867B2 publication Critical patent/JPH0776867B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Digital Computer Display Output (AREA)
  • Controls And Circuits For Display Device (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はワードプロセツサ等においてデータ入力の際、
カーソル移動を制御するカーソル移動制御装置に関す
る。
DETAILED DESCRIPTION OF THE INVENTION [Industrial field of application] The present invention relates to data input in a word processor, etc.
The present invention relates to a cursor movement control device that controls cursor movement.

〔従来の技術〕 従来、この種のカーソル移動制御装置ではカーソル移動
用のキーを継続して押下し続けた場合、キーを連続して
打鍵する連打の場合と同様にカーソルを一定の速度で連
続的に移動していた。
[Prior Art] Conventionally, in this type of cursor movement control device, when the cursor movement key is continuously pressed, the cursor is continuously pressed at a constant speed as in the case of continuous tapping of the key. Was moving.

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

上述した従来の装置ではカーソル移動用のキーを継続し
て押下し続けた場合、ある時間経過するとカーソルが連
続移動を開始するが、その際カーソルの移動速度が変ら
ないため、カーソルの移動距離が長い場合にはキーを連
打した場合と同じだけ時間がかかり、カーソル移動が次
第に遅く感じられるという欠点がある。
In the conventional device described above, when the cursor movement key is continuously pressed, the cursor starts to move continuously after a certain period of time, but since the cursor movement speed does not change at that time, the cursor movement distance is If it is long, it takes the same amount of time as when keys are repeatedly hit, and there is a drawback that the cursor movement feels gradually slower.

〔課題を解決するための手段〕[Means for Solving the Problems]

本発明は、カーソル移動用キーが所定時間継続して押し
下げられたことを検出した時点で計数を開始し、この計
数値が予め設定された時間よりも大きくなった場合に単
位時間当たりのカーソル移動量を大きくするようにした
ものである。
The present invention starts counting at the time when it is detected that the cursor movement key is continuously pressed down for a predetermined time, and when the count value becomes larger than a preset time, the cursor movement per unit time is moved. It is designed to increase the amount.

〔作 用〕[Work]

本発明は、カーソル移動用のキーが所定時間以上押下さ
れたときにカーソルの移動速度を速くするので、長距離
のカーソルの移動が短時間で行える。
According to the present invention, when the cursor moving key is pressed for a predetermined time or longer, the moving speed of the cursor is increased, so that the cursor can be moved over a long distance in a short time.

〔実施例〕〔Example〕

次に本発明の実施例について図を用いて説明する。 Next, an embodiment of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例を示す構成図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

図において、1はワードプロセツサ(以下、ワープロと
称す)、2はワープロ1と接続されたCRT、3はCRT2上
に表示されたカーソル、4はワープロ1にデータ等を入
力するキーボード(以下、KBと称す)、5はCRT2の表示
を制御するCRT制御ソフトウエア、6はKB4を制御するKB
制御ソフトウエア、7はワープロ1内において時間管理
を行うタイマーソフトウエア、8はKB4から入力された
キーが業務に適応した有効なキーか否かを判断し、有効
なキーであれば所定の処理を行い、有効でなければ再び
キー入力を要求し、さらに入力キーがカーソル移動用の
キー(以下、カーソルキーと称す)であれば所定時間継
続して押下された場合にカーソルの移動速度を速くする
よう制御を行うアプリケーシヨンソフトウエア(以下、
APソフトウエアと称す)、9は以上のソフトウエア全体
を効率的に実行させる中核制御ソフトウエアである。
In the figure, 1 is a word processor (hereinafter referred to as a word processor), 2 is a CRT connected to the word processor 1, 3 is a cursor displayed on the CRT 2, and 4 is a keyboard for inputting data etc. to the word processor 1 (hereinafter, 5) CRT control software for controlling the display of CRT2, 6 for controlling KB4
Control software, 7 is timer software that manages time in the word processor 1, 8 is whether the key input from KB4 is a valid key adapted to the work, and if it is a valid key, a predetermined process is performed. If it is not valid, key input is requested again, and if the input key is a cursor movement key (hereinafter referred to as the cursor key), the cursor movement speed is increased if it is continuously pressed for a predetermined time. Application software (hereinafter,
AP software), 9 is core control software that efficiently executes the above software.

次に、APソフトウエア8の動作を第2図により説明す
る。
Next, the operation of the AP software 8 will be described with reference to FIG.

図において、まずKBソフトウエア6に業務に適応したキ
ー入力を要求する(ステツプA1)。この時、KBソフトウ
エア6へ起動がかかる。入力されたキーが有効なキーか
否かを判断し(ステツプA2)、有効でなければステツプ
A1へ戻り、有効であればそのキーがカーソルキーか否か
を判断する(ステツプA3)。カーソルキーであればカー
ソルキーが継続して押下されたままかを連続フラグのオ
ン・オフによつて判断し(ステツプA4)、押下されたま
ま(フラグオン)なら内部のカウンタで既にカウント中
か否かを判断し(ステツプA5)、カウント中であればカ
ウントを継続し(ステツプA7)、カウントがされていな
ければカウンタをリセツトし、カウントを開始する(ス
テツプA6)。そして、カーソルキーの継続押下をカウン
トしているカウンタが別途指定された時間Tiとを比較し
(ステツプA8)、カウンタの値がTiより大きければカー
ソルを一度にn個移動させ(ステツプA9)、Tiより小さ
ければそのまま終了する。なお、ステツプA4において連
続フラグオフならカーソルを1個移動させ(ステツプA1
0)た後に終了する。
In the figure, first, the KB software 6 is requested to input a key adapted to the task (step A1). At this time, the KB software 6 is activated. It judges whether the entered key is a valid key (step A2).
If it is valid, the process returns to A1 and it is determined whether or not the key is the cursor key (step A3). If it is the cursor key, it is judged whether the cursor key is continuously pressed or not by turning on / off the continuous flag (step A4). If it is pressed (flag on), it is already counted by the internal counter. It is judged (step A5), if the counting is in progress, the counting is continued (step A7), if it is not counted, the counter is reset and the counting is started (step A6). Then, the counter that counts the continuous pressing of the cursor key is compared with the separately designated time Ti (step A8), and if the counter value is larger than Ti, the cursor is moved n times at a time (step A9). If it is smaller than Ti, it ends. If the continuous flag is off at step A4, move the cursor by one (step A1
0) and then finish.

第3図はKB制御ソフトウエア6の動作を示すフローチヤ
ートである。
FIG. 3 is a flow chart showing the operation of the KB control software 6.

KB制御ソフトウエア6はメインルーチン((a)図)と
割込みルーチン((b)図)とから構成される。
The KB control software 6 is composed of a main routine (Fig. (A)) and an interrupt routine (Fig. (B)).

(a)図のメインルーチンは、システム(図示せず)の
OSにより起動される(ステツプK1)。その起動の原因と
して、1)キーの押下、その離脱により起動される割込
みルーチン((b)図)からの起動、2)APソフトウエ
ア8のステツプA1のコマンドからの起動、3)タイムア
ウトによる起動があり、その原因により処理内容を切分
けている(ステツプK2)。なお、3)のタイムアウトは
第4図(b)のステツプC1でタイマー起動された状態で
処理が終了し、一定時間経過すると生じることをいう。
また、(a)図の,,は各々前述の1)〜3)の
起動の種類と対応している。(b)図の割込みルーチン
はKB4からのキー入力により起動される(ステツプK
3)。まず入力されたキーのコードを読み(ステツプC
2)、次にメイク信号(キーが押下されている時に発生
する信号)かブレーク信号(キーの押下を離した時に発
生する信号)かを判断し(ステツプK5)、ブレイク信号
であればそのコードをFIFOメモリに設定し(ステツプK
6)、その後メインルーチン((a)図)を起動する
(ステツプK7)。なお、ステツプK5でブレーク信号の場
合もステツプK7へ移行する。
The main routine shown in (a) is a system (not shown).
It is started by the OS (step K1). The causes of the activation are 1) activation from an interrupt routine (Fig. (B)) activated by pressing the key and its release, 2) activation from the AP software 8 step A1 command, and 3) activation by a timeout. However, the processing content is divided according to the cause (step K2). It should be noted that the timeout 3) means that the processing is completed in a state where the timer is started in step C1 of FIG.
Further, in FIG. 5A ,, and correspond to the types of startup described in 1) to 3). The interrupt routine shown in (b) is activated by key input from KB4 (step K
3). First read the code of the entered key (step C
2) Next, determine whether it is a make signal (a signal generated when the key is pressed) or a break signal (a signal generated when the key is released) (step K5), and if it is a break signal, the code To the FIFO memory (step K
6) Then, the main routine ((a) figure) is started (step K7). If a break signal is output at step K5, the process proceeds to step K7.

第4図(a)〜(c)は第3図(a)のステツプK2で
〜で切分けられた後の各処理に対応する。
FIGS. 4 (a) to 4 (c) correspond to the respective processes after being divided by to in step K2 of FIG. 3 (a).

(a)図は割込みルーチンからの起動、(b)図はAPソ
フトウエア8のコマンドによる起動、(c)図はタイム
アウトによる起動の場合の処理である。
FIG. 7A shows the processing from the interrupt routine, FIG. 8B shows the processing by the command of the AP software 8, and FIG.

(a)図において、まず任意のコマンドを実行中か否か
を判断(ステツプW1)、実行中の場合はタイマーを一旦
リセツトし(ステツプW2)、再度タイマーを起動させる
(ステツプW3)。その後、割込みの種類を判断し(ステ
ツプW4)、ブレーク信号の場合であればそのまま終了
し、メイク信号の場合はステツプW5へ移り、FIFOメモリ
に設定されたコードを読込み、そのコードがKB4上の所
定のフアンクシヨンキーに対応するフアンクシヨンコー
ド(以下、Fコードと称す)かFコード以外のデータコ
ードかを判断する(ステツプW6)。データであればバツ
フアに格納し(ステツプW7)、そのデータが指定長か否
かを判断し(ステツプW8)、APソフトウエア8で指定さ
れた指定長より小さければ終了し、指定長以上であれば
ステツプW9へ移る。ステツプW6でFコードと判断された
場合もステツプW6へ移り、そのFコード又はデータコー
ドをAPソフトウエア8へ引渡し、タイマーをリセツトす
ると(ステツプW10)、コマンドが終了し(ステツプW1
1)、これらの処理を終了する。
In the figure (a), first, it is judged whether or not an arbitrary command is being executed (step W1), and if it is being executed, the timer is once reset (step W2) and the timer is started again (step W3). After that, the type of interrupt is judged (step W4), if it is a break signal, it ends as it is, and if it is a make signal, it moves to step W5 and the code set in the FIFO memory is read. It is determined whether it is a function code (hereinafter referred to as an F code) corresponding to a predetermined function key or a data code other than the F code (step W6). If it is data, it is stored in the buffer (step W7), it is judged whether or not the data has the specified length (step W8), and if it is smaller than the specified length specified by the AP software 8, the process ends, and if it is the specified length or more. If so, move to step W9. Even if it is determined to be an F code in step W6, the process moves to step W6, the F code or data code is passed to the AP software 8, and the timer is reset (step W10), and the command ends (step W1).
1) End these processes.

(b)図ではまず、タイマーを起動し(ステツプC1)、
コードをFIFOメモリから読込み(ステツプC2)、データ
コードの有無を判断し(ステツプC3)、データコードが
有れば(a)図のステツプW6へ移行し、データが無けれ
ば処理を終了する。
In the figure (b), first, start the timer (step C1),
The code is read from the FIFO memory (step C2), the presence / absence of a data code is determined (step C3), and if there is a data code, the process proceeds to step W6 in (a), and if there is no data, the process ends.

(c)図では、コマンド実行中か否かを判断し(ステツ
プT1)、実行中であれば、ブレーク信号待ちか否かを判
断し(ステツプT2)、ブレーク信号待ちであればカウン
タをインクリメントし(ステツプT3)、カウンタが任意
の時間tより大きいか否かを判断する(ステツプT4)。
この時間tはシステム又は操作者が決定する値であり、
どの位の間キーが押下し続けられたらAPソウトウエア8
においてカーソルが連続動作をするかという指定値であ
り、この値が小さすぎるとカーソルキー押下するとすぐ
にカーソルの移動量が大きくなる。時間tより大きけれ
ばカウンタの継続フラグをオンにし(ステツプT5)終了
する。なお、ステツプT1でコマンド実行中でない場合又
はステツプT2でブレーク信号待ちでない場合はステツプ
T6へ移行し、カウンタを0とし、カウンタの連続フラグ
をオフし(ステツプT7)て終了する。ステツプT4でカウ
ンタが時間tより小さい場合も連続フラグをオフし終了
する。
In the figure (c), it is judged whether or not a command is being executed (step T1), and if it is being executed, it is judged whether or not it is waiting for a break signal (step T2). If it is waiting for a break signal, the counter is incremented. (Step T3), it is judged whether or not the counter is longer than an arbitrary time t (Step T4).
This time t is a value determined by the system or the operator,
If you keep pressing the key for a while, AP software 8
Is a specified value indicating whether the cursor moves continuously. If this value is too small, the amount of movement of the cursor increases immediately when the cursor key is pressed. If it is longer than the time t, the continuation flag of the counter is turned on (step T5), and the process ends. If the command is not being executed at step T1 or the break signal is not waiting at step T2, step
The process proceeds to T6, the counter is set to 0, the continuous flag of the counter is turned off (step T7), and the process is ended. If the counter is smaller than the time t at step T4, the continuous flag is turned off and the process is ended.

以上のように本実施例によれば、APソフトウエア8によ
り、カーソルキーが継続して押下されたことを検知し、
所定時間以上経過したらカーソルの単位時間当りの移動
量を大きくするようにしたので、カーソルを長距離移動
するような場合にも短時間で行うことができる。
As described above, according to the present embodiment, the AP software 8 detects that the cursor key is continuously pressed,
Since the amount of movement of the cursor per unit time is increased after the lapse of a predetermined time or more, it is possible to move the cursor for a long distance in a short time.

〔発明の効果〕〔The invention's effect〕

以上のように本発明によれば、カーソルキーが所定時間
以上継続して押下された場合にはカーソルの移動速度を
速くするようにしたので、カーソルを長距離移動すると
きも短時間で行えるという効果がある。
As described above, according to the present invention, when the cursor key is continuously pressed for a predetermined time or more, the moving speed of the cursor is increased, so that the cursor can be moved in a short distance in a short time. effective.

【図面の簡単な説明】[Brief description of drawings]

第1図は本発明の一実施例を示す構成図、 第2図はAPソフトウエア8の動作を示すフローチヤー
ト、 第3図(a),(b)はKBソフトウエア6の動作を示す
メインルーチン及び割込みルーチンのフローチヤート、 第4図(a),(b),(c)は各々割込みルーチンか
らの起動、APソフトウエア8からの起動、タイムアウト
による起動による処理を示すフローチヤートである。 1……ワープロ、2……CRT、3……カーソル、4……K
B、5……CRT制御ソフトウエア、6……KB制御ソフトウ
エア、7……タイマー制御ソフトウエア、8……APソフ
トウエア、9……中核制御ソフトウエア。
1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a flow chart showing the operation of the AP software 8, and FIGS. 3 (a) and 3 (b) are main diagrams showing the operation of the KB software 6. Flow charts of the routine and the interrupt routine, FIGS. 4 (a), (b), and (c) are flow charts showing the processing by the activation by the interrupt routine, the activation by the AP software 8, and the activation by the timeout. 1 ... Word processor, 2 ... CRT, 3 ... cursor, 4 ... K
B: 5 ... CRT control software, 6 ... KB control software, 7 ... timer control software, 8 ... AP software, 9 ... core control software.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】キーボード上のカーソル移動用キーを押し
下げることにより表示装置上のカーソルを任意の方向に
移動させるカーソル移動制御装置において、 前記カーソル移動用キーが所定時間継続して押し下げら
れたことを検出した時点で計数を開始し、この計数値が
予め設定された時間よりも大きくなった場合に単位時間
当たりのカーソル移動量を大きくすることを特徴とする
カーソル移動制御装置。
1. A cursor movement control device for moving a cursor on a display device in an arbitrary direction by depressing a cursor movement key on a keyboard, wherein the cursor movement key is depressed continuously for a predetermined time. A cursor movement control device, which starts counting at the time of detection, and increases the amount of cursor movement per unit time when the counted value becomes larger than a preset time.
JP63022914A 1988-02-04 1988-02-04 Cursor movement control device Expired - Lifetime JPH0776867B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63022914A JPH0776867B2 (en) 1988-02-04 1988-02-04 Cursor movement control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63022914A JPH0776867B2 (en) 1988-02-04 1988-02-04 Cursor movement control device

Publications (2)

Publication Number Publication Date
JPH01200285A JPH01200285A (en) 1989-08-11
JPH0776867B2 true JPH0776867B2 (en) 1995-08-16

Family

ID=12095908

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63022914A Expired - Lifetime JPH0776867B2 (en) 1988-02-04 1988-02-04 Cursor movement control device

Country Status (1)

Country Link
JP (1) JPH0776867B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SG44879A1 (en) * 1993-06-14 1997-12-19 Philips Electronics Nv Speed adaptive positioning of cursor in cd-i
KR100594456B1 (en) * 2004-11-15 2006-07-03 엘지전자 주식회사 How to retrieve the menu list of the electronic device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60260088A (en) * 1984-06-06 1985-12-23 松下電器産業株式会社 Key input device for cursor movement

Also Published As

Publication number Publication date
JPH01200285A (en) 1989-08-11

Similar Documents

Publication Publication Date Title
KR100342801B1 (en) Misoperation prevention method and apparatus, and storage medium for storing software product for preventing misoperation
US6100875A (en) Keyboard pointing device
JPH08234952A (en) Display device capable of tossing window
JPH0776867B2 (en) Cursor movement control device
WO1997005542A3 (en) Computer input device and method of operation
JPH09258899A (en) Touch panel controller
JPH053005B2 (en)
JPH0659802A (en) Device for controlling pen input
JPH06119112A (en) Mouse cursor speed controller
JP2543256B2 (en) Input panel surface switching processing method
JPH0282871A (en) Cursor movement control method in display device
JPH07120234B2 (en) Keyboard control system
JP3250278B2 (en) Electronic musical instrument
JPH08202523A (en) Control device
JPS62222322A (en) Keyboard control system
JP3257800B2 (en) Touch panel type multi-item input device
JPH06187079A (en) Data input device
JPH05257590A (en) Key input character confirmation device
JPH0615127U (en) Data input device
JPH0540576A (en) Pointer move controller
JPH0836464A (en) Pointing data controller
JPH08272527A (en) Information processing apparatus for controlling cursor position of pointing device and method for controlling cursor position of pointing device of information processing apparatus
JPH01100619A (en) information processing equipment
JPH1195972A (en) Method and device for preventing pointing device from being erroneously operated
JPS63140315A (en) Key input device