JPH01200285A - Cursor movement controller - Google Patents

Cursor movement controller

Info

Publication number
JPH01200285A
JPH01200285A JP63022914A JP2291488A JPH01200285A JP H01200285 A JPH01200285 A JP H01200285A JP 63022914 A JP63022914 A JP 63022914A JP 2291488 A JP2291488 A JP 2291488A JP H01200285 A JPH01200285 A JP H01200285A
Authority
JP
Japan
Prior art keywords
cursor
key
software
time
cursor movement
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.)
Granted
Application number
JP63022914A
Other languages
Japanese (ja)
Other versions
JPH0776867B2 (en
Inventor
Shigeki Kato
茂樹 加藤
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)

Abstract

PURPOSE:To move a cursor for a long distance in a short time by providing software which increases the moving speed of the cursor at the time of continuously depressing a cursor key for a prescribed time or longer. CONSTITUTION:Application software 8 judges whether a key inputted on a keyboard 4 is an effective key adapted to the work or not. If it is an effective key, prescribed processing is performed; but otherwise, the key input is requested again. When the input key is a cursor moving key and is continuously depressed for a prescribed time or longer, the cursor moving speed is increased. Thus, the cursor 3 is moved in a short time though it is moved for a long distance.

Description

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

〔従来の技術〕[Conventional technology]

従来、この種のカーソル移動制御装置ではカーソル移動
用のキーを継続して押下し続けた場合、キーを連続して
打鍵する連打の場合と同様にカーソルを一定の速度で連
続的に移動していた。
Conventionally, in this type of cursor movement control device, when a cursor movement key is pressed continuously, the cursor is moved continuously at a constant speed, similar to when a key is pressed repeatedly. Ta.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

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

〔課題を解決するための手段〕[Means to solve the problem]

本発明は、コントローラ内に、所定時間以上カーソル移
動用のキーが継続して押下された時にカーソルの移動速
度を速くするように制御するアプリケーションソフトウ
ェアを設けたものである。
According to the present invention, application software is provided in the controller to control the cursor movement speed to be increased when a cursor movement key is continuously pressed for a predetermined period of time or more.

〔作 用〕[For production]

本発明はコントローラ内のアプリケーションソフトウェ
アにより、カーソル移動用のキーが所定時節以上押下さ
れたときにカーソルの移動速度を速くするので、長距離
のカーソルの移動が短時間で行える。
In the present invention, the application software in the controller increases the cursor movement speed when the cursor movement key is pressed for a predetermined period of time or more, so that the cursor can be moved over long distances in a short time.

〔実施例〕〔Example〕

次に本発明の実施例について図を用いて説明する。 Next, embodiments 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と接続されたCBr13はCB
r4上に表示されたカーソル、4はワープロ1にデータ
等を入力するキーボード(以下、回と称す)、5はCB
r2の表示を制御するCRT制御ソフトウェア、6はK
H2を制御するKB制御ソフトウェア、7はワープロ1
内において時間管理を行うタイマーソフトウェア、8は
KH2から入力されたキーが業務に適応した有効なキー
か否かを判断し、有効なキーであれば所定の処理を行い
、有効でなければ再びキー人力を要求し、さらに入カキ
−がカーソル移動用のキー(以下、カーソルキーと称す
)であれば所定時間継続して押下された場合にカーソル
の移動速度を速くするよう制御を行つアプリケーション
ソフトウエア(以下、APソフトウェアと称す)、9は
以上のソフトウェア全体を効率的に実行させる中核制御
ソフトウェアである。
In the figure, 1 is a word processor (hereinafter referred to as a word processor), 2 is a CBr 13 connected to the word processor 1 is a CB
cursor displayed on r4, 4 is a keyboard for inputting data etc. to word processor 1 (hereinafter referred to as "time"), 5 is CB
CRT control software that controls the display of r2, 6 is K
KB control software that controls H2, 7 is word processor 1
The timer software 8, which manages time within the KH2, determines whether the key input from the KH2 is a valid key suitable for work.If it is a valid key, it performs the specified process, and if it is not valid, it presses the key again. An application software that requires human power and controls the cursor movement speed to be increased if the input key is a cursor movement key (hereinafter referred to as a cursor key) and is pressed continuously for a predetermined period of time. Software (hereinafter referred to as AP software) 9 is core control software that efficiently executes the entire software described above.

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

図において、まずKBソフトウェア6に業務に適応した
キー人力を要求する(ステップAI  )。
In the figure, first, a request is made to the KB software 6 for key personnel suitable for the business (step AI).

この時、KBソフトウェア6へ起動がかかる。入力され
たキーが有効なキーか否かを判断しくステップA2)、
有効でなければステップA1へ戻り、有効であればその
キーがカーソルキーか否か全判断する(ステップA3 
)。カーソルキーであればカーソルキーが継続して押下
されたままかを連続フラグのオン・オフによって判断し
くステップA4)、押下されたまま(フラグオン)なら
内部のカウンタで既にカウント中か否かを判断しくステ
ップA5)、カウント中であればカウントを継続しくス
テップA7  )、カウントがされていなければカウン
タをリセットし、カウントを開始する(ステップA6 
 )。そして、カーソルキーの継続押下をカウントして
いるカウンタが別途指定され九時間TI とを比較しく
ステップA8)、カウンタの値がTi よシ大きければ
カーソルを一度にn個移動させ(ステップA9) 、T
i よシ小さければそのまま終了する。なお、ステップ
A4において連続フラグオフならカーソルを1個移動さ
せ(ステップA10)た後に終了する。
At this time, the KB software 6 is started. Step A2) to determine whether the input key is a valid key or not;
If it is not valid, the process returns to step A1, and if it is valid, it is determined whether the key is a cursor key or not (step A3).
). If it is a cursor key, check whether the cursor key has been pressed continuously by checking whether the continuous flag is on or off (step A4). If the cursor key remains pressed (flag on), determine whether the internal counter is already counting. If counting is in progress, continue counting (Step A7); if not, reset the counter and start counting (Step A6).
). Then, a counter that counts the number of continuous presses of the cursor key is separately designated and compared with 9 hours TI (Step A8), and if the value of the counter is larger than Ti, the cursor is moved n at a time (Step A9). T
If i is smaller, just exit. Note that if the continuous flag is off in step A4, the cursor is moved by one position (step A10) and then the process ends.

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

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

(a)図のメインルーチンは、システム(図示せず)の
O8により起動される(ステップKl  )。その起動
の原因として、1)キーの押下、その離脱により起動さ
れる割込みルーチン((b)図)からの起動、2)  
APソフトウェア8のステップA1  のコマンドから
の起動、3)タイムアウトによる起動があシ、その原因
により処理内容を切分けている(ステップに2 ’)。
(a) The main routine shown in the figure is started by O8 of the system (not shown) (step Kl). The causes of its activation are: 1) activation from an interrupt routine (Figure (b)) activated by pressing or leaving a key; 2)
Activation from the command in step A1 of the AP software 8, 3) activation due to timeout, and the processing contents are separated depending on the cause (2' in step).

なお、3)のタイムアウトは第4図(b)のステップC
1でタイマー起動された状態で処理が終了し、一定時間
経過すると生じることをいう。また、(a)図の■、■
、■は各々前述の1)〜3)の起動の種類と対応してい
る。(b)図の割込みルーチンはKH2からのキー人力
により起動される(ステップに3  )。まず入力され
たキーのコードを読み(ステップC2)、次にメイク信
号(キーが押下されている時に発生する信号)かブレー
ク信号(キーの押下を離した時に発生する信号)かを判
断しくステップに5)、ブレイク信号であればそのコー
ドをFIFOメモリに設定しくステップに6)、その後
メインルーチン((a)図)を起動する(ステップに7
  )。なお、ステップに5でブレーク信号の場合もス
テップに7へ移行する。
Note that the timeout in step 3) is performed in step C of Fig. 4(b).
This occurs when a certain period of time has elapsed after the process ended with the timer activated in step 1. Also, (a) ■, ■ in the figure
, ■ correspond to the activation types 1) to 3) described above, respectively. (b) The interrupt routine shown in the figure is activated by key input from KH2 (step 3). First, read the code of the input key (step C2), then step to determine whether it is a make signal (signal that occurs when the key is pressed down) or a break signal (signal that occurs when the key is released) Step 5), if it is a break signal, set that code in the FIFO memory (Step 6), then start the main routine (Figure (a)) (Step 7).
). Note that if there is a break signal at step 5, the process also moves to step 7.

第4図(a)〜(C)は第3図(、)のステップに2で
■〜■で切分けられた後の各処理に対応する。
FIGS. 4(a) to 4(C) correspond to each process after the steps 2 to 3 are divided into steps 2 to 3 in FIG. 3(,).

(a)図は割込みルーチンからの起動、伽)図はAPソ
フトウェア8のコマンドによる起動、(C)図はタイム
アウトによる起動の場合の処理である。
(a) The figure shows startup from an interrupt routine, Figure 3) shows startup by a command from the AP software 8, and Figure (C) shows processing in the case of startup due to timeout.

(a)図において、まず任意のコマンドを実行中か否か
を判断(ステップW1)、実行中の場合はりイマーを一
旦リセットしくステップW2)、再度タイマーを起動さ
せる(ステップw3  )。その後、割込みの種類を判
断しくステップw4)、ブレーク信号の場合であればそ
のまま終了し、メイク信号の場合はステップW5へ移f
i、 FIFOメモリに設定されたコードを読込み、そ
のコードがKBJ上の所定のファンクションキーに対応
するファンクションコード(以下、Fコードと称す)か
Fコード以外のデータコードかを判断する(ステップW
6)。データであればバッファに格納しくステップW7
)、そのデータが指定長か否かを判断しくステップW8
  )、APソフトウェア8で指定された指定長よシ小
さければ終了し、指定長以上であればステップW9へ移
る。ステップW6でFコードと判断された場合もステッ
プW6へ移シ、そのFコード又はデータコードをAP 
ソフトウェア8へ引渡し、タイマーをリセットすると(
ステラ7’W1G)、コマンドが終了しくステップW1
1)、これらの処理を終了する。
In the figure (a), it is first determined whether or not an arbitrary command is being executed (step W1), and if so, the timer is reset once (step W2), and the timer is activated again (step W3). After that, the type of interrupt is determined (step w4), and if it is a break signal, the process ends, and if it is a make signal, the process moves to step W5.
i. Read the code set in the FIFO memory and determine whether the code is a function code (hereinafter referred to as F code) corresponding to a predetermined function key on the KBJ or a data code other than the F code (step W
6). If it is data, store it in the buffer, step W7.
), it is determined whether the data has the specified length or not (Step W8)
), if it is smaller than the specified length specified by the AP software 8, the process ends, and if it is greater than or equal to the specified length, the process moves to step W9. If the F code is determined in step W6, the process also moves to step W6, and the F code or data code is
When handed over to software 8 and reset the timer (
Stella 7'W1G), command ends step W1
1) Finish these processes.

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

(C)図では、コマンド実行中か否かを判断しくステッ
プT1)、実行中であれば、ブレーク信号待ちか否かを
判断しくステップT2)、ブレーク信号待ちであれはカ
ウンタをインクリメントしくステップT3)、カウンタ
が任意の時間tよシ大きいか否かを判断する(ステップ
T4 )。この時間tはシステム又は操作者が決定する
値であシ、どの位の間キーが押下し続けられたらAPソ
フトウェア8においてカーソルが連続動作をするかとい
う指定値であシ、この値が小さすぎるとカーソルキー押
下するとすぐにカーソルの移動量が大°きくなる。時間
tよシ大きければカウンタの継続フラグをオンにしくス
テップT5 )終了する。なお、ステップT1でコマン
ド実行中でない場合又はステップT2でブレーク信号待
ちでない場合はステップT6へ移行し、カウンタ會Oと
し、カウンタの連続フラグをオフしくステップT7 )
て終了する。ステップT4でカウンタが時間tよシ小さ
い場合も連続フラグをオフし終了する。
(C) In the figure, it is determined whether the command is being executed or not (step T1), if it is being executed, it is determined whether the command is waiting for a break signal or not (step T2), and if it is waiting for a break signal, the counter is incremented (step T3). ), it is determined whether the counter is greater than an arbitrary time t (step T4). This time t is a value determined by the system or the operator, and is a specified value that determines how long the key must be held down for the cursor to move continuously in the AP software 8. This value is too small. As soon as you press the cursor key, the cursor movement will increase. If the time is greater than the time t, the continuation flag of the counter is turned on and step T5) is completed. Note that if the command is not being executed in step T1 or if the break signal is not being waited for in step T2, the process moves to step T6, the counter is set to O, and the continuous flag of the counter is turned off (step T7).
and exit. If the counter value is smaller than time t in step T4, the continuous flag is also turned off and the process ends.

以上のように本実施例によれば、APソフトウェア8に
より、カーソルキーが継続して押下されたことを検知し
、所定時間以上経過したらカーソルの単位時間当シの移
動量を大きくするようにし念ので、カーソルを長距離移
動するような場合にも短時間で行うことができる。
As described above, according to this embodiment, the AP software 8 detects that the cursor key has been pressed continuously, and makes sure to increase the amount of movement of the cursor per unit time after a predetermined time has elapsed. Therefore, even when moving the cursor over a long distance, it can be done in a short time.

〔発明の効果〕〔Effect of the invention〕

以上のように本発明によれば、カーソルキーが所定時間
以上継続して押下された場合にはカーソルの移動速度を
速くするようなソフトウェアを備えたので、カーソルを
長距離移動する時も短時間で行えるという効果がある。
As described above, according to the present invention, software is provided that increases the moving speed of the cursor when the cursor key is pressed continuously for more than a predetermined time, so that even when the cursor is moved over a long distance, the cursor can be moved in a short time. The effect is that it can be done with

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例を示す構成図、第2図はAP
ソフトウェア8の動作を示すフローチャート、 第3図(a) 、 (b)はKBソフトウェア6の動作
を示すメインルーチン及び割込みルーチンのフローチャ
ート、 第4図(a) 、 (b) 、 (e)は各々割込みル
ーチンからの起動、APソフトウェア8からの起動、タ
イムアウトによる起動による処理を示すフローチャート
である。 1 ・・ ・・ワープロ、2・・・・CRT、  3・
・・・カーソル、4・・・・KB、5・・・・CRT制
御ソフトウェア、6・・・・KB制御ソフトウェア、7
・・・ ・タイマー制御ソフトウェア、8・・・・AP
ソフトウェア、9・・・・中核制御ソフトウェア。
FIG. 1 is a configuration diagram showing an embodiment of the present invention, and FIG. 2 is an AP
Flowchart showing the operation of the software 8; FIGS. 3(a) and (b) are flowcharts of the main routine and interrupt routine showing the operation of the KB software 6; FIGS. 4(a), (b), and (e) respectively 12 is a flowchart showing processing performed by starting from an interrupt routine, starting from AP software 8, and starting due to timeout. 1...Word processor, 2...CRT, 3.
...Cursor, 4...KB, 5...CRT control software, 6...KB control software, 7
... ・Timer control software, 8...AP
Software, 9... Core control software.

Claims (1)

【特許請求の範囲】  キーボード上のカーソル移動用のキーの押下によりコ
ントローラ内のソフトウェアが表示装置上のカーソルを
移動させるカーソル移動制御装置において、 所定時間以上カーソル移動用のキーが継続して押下され
た場合にカーソルの移動速度を速くするように制御する
アプリケーションソフトウェアを設けたカーソル移動制
御装置。
[Scope of Claims] A cursor movement control device in which software in a controller moves a cursor on a display device by pressing a cursor movement key on a keyboard, wherein the cursor movement key is continuously pressed for a predetermined period of time or more. A cursor movement control device equipped with application software that controls the movement speed of the cursor to be increased when the movement speed of the cursor is increased.
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 true JPH01200285A (en) 1989-08-11
JPH0776867B2 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006146897A (en) * 2004-11-15 2006-06-08 Lg Electronics Inc Method and apparatus for searching menu on display unit of electronic device
US7193610B2 (en) * 1993-06-14 2007-03-20 Koninklijke Philips Electronics N.V. System for speed adaptive positioning of a cursor responsive to a predetermined time interval after an initial application of force within a user interface

Citations (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

Patent Citations (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

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7193610B2 (en) * 1993-06-14 2007-03-20 Koninklijke Philips Electronics N.V. System for speed adaptive positioning of a cursor responsive to a predetermined time interval after an initial application of force within a user interface
JP2006146897A (en) * 2004-11-15 2006-06-08 Lg Electronics Inc Method and apparatus for searching menu on display unit of electronic device
US7685533B2 (en) 2004-11-15 2010-03-23 Lg Electronics Inc. Method and apparatus for navigating a menu in a display unit of an electronic device

Also Published As

Publication number Publication date
JPH0776867B2 (en) 1995-08-16

Similar Documents

Publication Publication Date Title
JP3399665B2 (en) Information processing device
JPS62257524A (en) Display character output controller
JPH01200285A (en) Cursor movement controller
JPH0816294A (en) Character input method for information processing apparatus and apparatus
JP2543256B2 (en) Input panel surface switching processing method
JPS6126087B2 (en)
JP2504617B2 (en) Data read control method
JP2500469B2 (en) Method and apparatus for controlling key repeat of keyboard
JPH0358115A (en) Automatic key input device
JPS6161405B2 (en)
JPH0338690A (en) Data processor
JP2715973B2 (en) Numerical data input device and numerical data input method
JPH053005B2 (en)
JPH01100619A (en) information processing equipment
JPH04260970A (en) Method for inputting japanese language in application program
JPH02173829A (en) Interruption process system
JPH01130214A (en) Data input system
JPH06110670A (en) Graphic user interface function customizing system
JPH1153092A (en) Key input device and its input method, and recording medium where program allowing computer to implement same input method is recorded
JPH02235127A (en) Keyboard controller
JPS62222322A (en) Keyboard control system
JPH02309412A (en) Keyboard with memory
JPS60129842A (en) Inputting method
JPH04350721A (en) Window display system
JPH0337501U (en)