JP2009025903A - Input device, input reception processing method and input reception processing program - Google Patents

Input device, input reception processing method and input reception processing program Download PDF

Info

Publication number
JP2009025903A
JP2009025903A JP2007186099A JP2007186099A JP2009025903A JP 2009025903 A JP2009025903 A JP 2009025903A JP 2007186099 A JP2007186099 A JP 2007186099A JP 2007186099 A JP2007186099 A JP 2007186099A JP 2009025903 A JP2009025903 A JP 2009025903A
Authority
JP
Japan
Prior art keywords
input
key
detection area
expanded
current detection
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.)
Pending
Application number
JP2007186099A
Other languages
Japanese (ja)
Inventor
Harumitsu Fujimori
春充 藤森
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.)
Konica Minolta Business Technologies Inc
Original Assignee
Konica Minolta Business Technologies Inc
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 Konica Minolta Business Technologies Inc filed Critical Konica Minolta Business Technologies Inc
Priority to JP2007186099A priority Critical patent/JP2009025903A/en
Publication of JP2009025903A publication Critical patent/JP2009025903A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a touch panel input device capable of simultaneously materializing both improvement of key selectivity and suppression of deterioration of erroneous detection property by properly changing size of a detection area of a key according to a result of input of a user to a touch panel. <P>SOLUTION: When any key displayed on a screen by the input is not selected when the input is performed, this input device expands the detection area for detecting that the key is selected, and sets it as the detection area for the next input. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、画面上に表示されたキーに対する入力を検出して、操作情報を入力する入力装置、入力受付処理方法及び入力受付処理プログラムに関する。 The present invention relates to an input device, an input reception processing method, and an input reception processing program that detect input to a key displayed on a screen and input operation information.

Graphical User Interface(GUI)を利用した操作情報を入力するための入力装置として、例えば、タッチパネル入力装置が知られている。タッチパネル入力装置とは、操作を指示するためのキーを表示する表示装置(例えば、Liquid Crystal Display。以下、LCD)の上に、タッチパネルを設置し、該キーの表示領域に対応するタッチパネル上の領域を指等でタッチすることにより、操作指示を与えるというものである。   For example, a touch panel input device is known as an input device for inputting operation information using a Graphical User Interface (GUI). The touch panel input device is an area on the touch panel corresponding to the display area of the key by installing the touch panel on a display device (for example, Liquid Crystal Display, hereinafter referred to as LCD) that displays keys for instructing operations. An operation instruction is given by touching with a finger or the like.

通常は、図19(a)に示すように、LCDによるキーの表示領域と、そのキーが選択されたことを検知するためのタッチパネル上の検知領域(以下、検知領域という)は、概ね一致している。よって、キーの表示領域のどこか一部分をタッチすれば、該キーをタッチしたものと検出される。しかし、実際にユーザがタッチパネル入力装置を使用する場面において、ユーザがタッチの際に狙ったキーの表示領域を正確にタッチできず、タッチが無効となってしまう場合がある。   Normally, as shown in FIG. 19A, the display area of the key on the LCD and the detection area on the touch panel for detecting the selection of the key (hereinafter referred to as detection area) are substantially the same. ing. Therefore, if a part of the key display area is touched, it is detected that the key is touched. However, when the user actually uses the touch panel input device, the user may not be able to accurately touch the display area of the key aimed at the touch, and the touch may become invalid.

第1の例として、ユーザがタッチパネル入力装置の正面に立つことができず、タッチパネル入力装置の画面を斜め方向から見て操作する場合が考えられる。例えば、ユーザが画面を右側から見て操作する場合には、狙ったキーの表示領域の右側をタッチしてしまう傾向がある。第2の例として、タッチパネル入力装置の画面の端部に表示されたキーをタッチする場合が考えられる。通常、タッチパネル入力装置のタッチパネル部分と外側の筐体部分は段差があるため、ユーザは前記段差が障害となって、狙ったキーの表示領域をうまくタッチできないことがある。また、ユーザが前記段差を避けることにより、狙ったキーの表示領域よりも、画面の中心寄りの側をタッチしてしまう傾向もある。第3の例として、ユーザに癖がある場合が考えられる。例えば、狙ったキーの表示領域の左側をタッチしてしまう癖を持つユーザがいた場合である。前記第1例〜第3例の場合には、ユーザは何度タッチしても、意図したキーをタッチすることができず、大きなストレスを感じてしまうという問題点があった。   As a first example, a case where the user cannot stand in front of the touch panel input device and operates the screen while viewing the screen of the touch panel input device from an oblique direction is conceivable. For example, when the user performs an operation while viewing the screen from the right side, the user tends to touch the right side of the target key display area. As a second example, a case where a key displayed on the edge of the screen of the touch panel input device is touched can be considered. Usually, since there is a step between the touch panel portion of the touch panel input device and the outer casing portion, the user may not be able to touch the target key display area well because the step is an obstacle. Further, when the user avoids the step, the user tends to touch the side closer to the center of the screen than the target key display area. As a third example, there may be a case where the user has a habit. For example, there is a user who has a habit of touching the left side of the target key display area. In the case of the first to third examples, there is a problem that the user cannot touch the intended key, no matter how many times the user touches, and feels great stress.

そこで、上記の問題点を解決する技術が提案されている。特許文献1に記載された技術によると、ユーザの視線方向を推定し、キーの検知領域が視線方向に拡張される。よって、キーの表示領域から多少外れた位置をタッチした場合であっても、ユーザに遠い側のキーがタッチされたものとして検出されるため、入力によってユーザが狙ったキーが選択される確率(以下、キー選択性という)を向上させることができる。   Therefore, techniques for solving the above problems have been proposed. According to the technique described in Patent Document 1, the user's gaze direction is estimated, and the key detection area is expanded in the gaze direction. Therefore, even when a position slightly deviated from the display area of the key is touched, it is detected that the key on the side far from the user is touched, so the probability that the key aimed by the user is selected by input ( (Hereinafter referred to as key selectivity).

特許文献2に記載された技術によると、キーの表示領域の周辺にいずれのキーの検知領域にも該当しない領域(以下、無効検知領域という)がある場合に、無効検知領域を利用して、キーの表示領域よりも、キーの検知領域が拡張される。よって、キーの表示領域から、多少外れた位置をタッチした場合であっても、タッチした位置に隣接するキーがタッチされたものとして検出されるため、キー選択性を向上させることができる。   According to the technique described in Patent Document 2, when there is an area that does not correspond to any key detection area (hereinafter referred to as an invalid detection area) around the key display area, the invalid detection area is used. The key detection area is expanded more than the key display area. Therefore, even when a position slightly deviated from the key display area is touched, it is detected that the key adjacent to the touched position is touched, so that the key selectivity can be improved.

特開平8−95708号公報JP-A-8-95708 特開2005−284379号公報JP 2005-284379 A

しかし、特許文献1に記載された技術によると、キー選択性を悪化させる原因が、前記第1の例のようにユーザの視線方向であった場合にはキー選択性を改善できるが、前記第2、第3の例の場合にはキー選択性を改善する事ができない。また、同一画面上に複数のキーを表示する場合には、各キーに対応する検知領域の間に、無効検知領域を設置するのが一般的である。無効検知領域は、ユーザが狙ったキーと異なるキーが選択されたと検知する(以下、誤検知という)ことを防止することを主な目的として設置されており、過度にキーの検知領域を広げ隣接するキーの検知領域との距離を小さくすることは、誤検知が発生する確率(以下、誤検知性という)を悪化させる原因となる。よって、ユーザの視線方向を推定し、一律にキー検知領域を拡張する特許文献1に記載された技術によると、キー選択性が改善される一方で誤検知性が悪化するという問題がある。   However, according to the technique described in Patent Document 1, when the cause of deteriorating the key selectivity is the user's line-of-sight direction as in the first example, the key selectivity can be improved. In the case of the second and third examples, the key selectivity cannot be improved. When a plurality of keys are displayed on the same screen, an invalid detection area is generally installed between detection areas corresponding to the keys. The invalid detection area is mainly set to prevent the user from detecting that a key different from the target key has been selected (hereinafter referred to as “false detection”). Decreasing the distance between the key detection area and the key to be detected causes the probability of erroneous detection to occur (hereinafter referred to as erroneous detection). Therefore, according to the technique described in Patent Document 1 that estimates the user's line-of-sight direction and uniformly expands the key detection area, there is a problem that the misdetectability deteriorates while the key selectivity is improved.

特許文献2に記載された技術も同様に、ユーザの入力が行われる前にキーの検知領域をあらかじめ拡張させるため、キー選択性が改善される一方で誤検知性が悪化するという問題がある。   Similarly, the technique described in Patent Document 2 has a problem that the key detection area is expanded before a user input is performed in advance, so that the key selectivity is improved while the false detection performance is deteriorated.

本発明の目的は、例えば、LCDとタッチパネルを一体化したタッチパネル入力装置において、ユーザのタッチパネルへの入力結果に応じてキーの検知領域の大きさを変更することで、キーの検知領域の大きさを適切に変更し、キー選択性の向上と誤検知性の悪化の抑制を両立することができる入力装置、入力受付処理方法及び入力受付処理プログラムを提供することにある。   An object of the present invention is, for example, in a touch panel input device in which an LCD and a touch panel are integrated, the size of the key detection area is changed by changing the size of the key detection area according to the input result of the user's touch panel. Is appropriately changed to provide an input device, an input reception processing method, and an input reception processing program capable of achieving both improvement in key selectivity and suppression of deterioration in false detection performance.

上記課題は、以下の手段によって解決される。
(1)少なくとも1つ以上のキーを含む画面を表示する表示手段と、前記画面上の座標の入力を受け付ける入力受付手段と、前記入力受付手段によって入力が受け付けられた場合に、該入力の座標と前記表示手段により表示されたキーが選択されたことを検知するための検知領域とを比較し、いずれのキーが選択されたかを判別するキー選択判別手段と、前記キー選択判別手段により、いずれのキーも選択されていないと判別された場合に、前記画面上に表示されたキーの検知領域を拡張し、新たな検知領域とする第1の検知領域拡張手段とを有する入力装置。
The above problem is solved by the following means.
(1) Display means for displaying a screen including at least one key, input accepting means for accepting input of coordinates on the screen, and coordinates of the input when the input is accepted by the input accepting means And a detection area for detecting that the key displayed by the display means is selected, and a key selection determining means for determining which key is selected, and the key selection determining means When it is determined that no key is selected, the input device further includes a first detection area extending unit that expands the detection area of the key displayed on the screen and sets it as a new detection area.

(2)前記第1の検知領域拡張手段は、前記入力受付手段が入力を受け付けた座標から所定距離内にあるキーの検知領域のみを拡張する(1)に記載の入力装置。   (2) The input device according to (1), wherein the first detection area extending unit extends only a detection area of a key located within a predetermined distance from the coordinate received by the input receiving unit.

(3)前記第1の検知領域拡張手段は、前記入力受付手段が入力を受け付けた座標から最短距離にあるキーの検知領域のみを拡張する(1)に記載の入力装置。   (3) The input device according to (1), wherein the first detection area extending unit extends only a key detection area located at a shortest distance from the coordinates at which the input receiving unit has received an input.

(4)前記第1の検知領域拡張手段は、前記表示手段に表示された画面に含まれる全てのキーの検知領域を拡張する(1)に記載の入力装置。   (4) The input device according to (1), wherein the first detection area extending unit extends detection areas of all keys included in the screen displayed on the display unit.

(5)前記第1の検知領域拡張手段は、キーの検知領域が有する外周のうち、前記入力受付手段が入力を受け付けた座標に面する部分のみを拡張するように該キーの検知領域を拡張する(1)乃至(4)のいずれか一に記載の入力装置。   (5) The first detection area extending means extends the key detection area so as to extend only a portion of the outer periphery of the key detection area facing the coordinates received by the input receiving means. The input device according to any one of (1) to (4).

(6)前記第1の検知領域拡張手段は、キーの検知領域の全外周を拡張する(1)乃至(4)のいずれか一に記載の入力装置。   (6) The input device according to any one of (1) to (4), wherein the first detection area extending unit extends the entire outer periphery of the key detection area.

(7)前記第1の検知領域拡張手段は、前記入力受付手段が入力を受け付けた座標に近いキーほど拡張幅を大きく、遠いキーほど拡張幅を小さくするように前記キーの検知領域を拡張する(1)乃至(6)のいずれか一に記載の入力装置。   (7) The first detection area expanding unit expands the key detection area so that the key closer to the coordinate received by the input receiving unit has a larger expanded width and the farther the key, the smaller the expanded width. The input device according to any one of (1) to (6).

(8)前記入力受付手段が入力を受け付け、前記キー選択判別手段によりいずれのキーも選択されていないと判別された場合に、検知領域が該入力前に拡張されていたキーについては、該入力前に拡張されていた検知領域を縮小する検知領域縮小手段を更に有する(1)乃至(7)のいずれか一に記載の入力装置。   (8) For a key whose detection area is expanded before the input when the input receiving unit receives an input and the key selection determining unit determines that no key is selected. The input device according to any one of (1) to (7), further including detection area reduction means for reducing a detection area that has been expanded before.

(9)前記検知領域縮小手段は、前記入力前に検知領域が拡張されていたキーの、該入力によって拡張されるべき検知領域の外周部分が、直前の入力によって拡張された検知領域の外周部分と異なる場合に、前記拡張されていた検知領域を縮小する(8)に記載の入力装置。   (9) The detection area reduction means is configured such that the outer peripheral part of the detection area to be expanded by the input of the key whose detection area has been expanded before the input is the outer peripheral part of the detection area expanded by the immediately preceding input. The input device according to (8), wherein the expanded detection area is reduced when the detection area is different from the input area.

(10)前記入力受付手段が入力を受け付け、且つ直前に入力された座標が、今回入力された座標から所定距離外にある場合に、検知領域が該入力前に拡張されていたキーについては、該入力前に拡張されていた検知領域を初期化する第1の検知領域初期化手段を更に有する(1)乃至(9)のいずれか一に記載の入力装置。   (10) When the input accepting means accepts an input and the coordinates input immediately before are outside a predetermined distance from the coordinates input this time, the key whose detection area has been expanded before the input is as follows: The input device according to any one of (1) to (9), further including first detection area initialization means for initializing a detection area that has been expanded before the input.

(11)前記入力受付手段が入力を受け付け、且つ前記キー選択判別手段によりいずれかのキーが選択されたと判別された場合に、検知領域が該入力前に拡張されていたキーについては、該入力前に拡張されていた検知領域の拡張領域を初期化する第2の検知領域初期化手段を更に有する(1)乃至(10)のいずれか一に記載の入力装置。   (11) When the input receiving unit receives an input and the key selection determining unit determines that any key is selected, the input of the key whose detection area has been expanded before the input The input device according to any one of (1) to (10), further including a second detection area initializing unit that initializes an extended area of the detection area that has been extended previously.

(12)前記入力受付手段が入力を受け付け、前記キー選択判別手段によりいずれかのキーが選択されたと判別され、且つ該入力の座標が該選択されたキーの拡張されていない初期の検知領域よりも外側であった場合に、該キーの選択に応じて表示された画面上のキーの検知領域を拡張する第2の検知領域拡張手段を更に有する(11)に記載の入力装置。   (12) The input accepting means accepts an input, and it is determined by the key selection determining means that any key is selected, and the coordinates of the input are based on an initial detection area where the selected key is not expanded. The input device according to (11), further comprising second detection area expanding means for expanding a key detection area on the screen displayed in response to selection of the key when the key is outside.

(13)少なくとも1つ以上のキーを含む画面を表示するステップと、前記画面上の座標の入力を受け付ける入力受付ステップと、前記入力受付があった場合に、該入力の座標と前記画面に表示されたキーが選択されたことを検知するための検知領域とを比較し、いずれのキーが選択されたかを判別するキー選択判別ステップと、前記キー選択判別ステップにおいて、いずれのキーも選択されていないと判別された場合に、前記画面上に表示されたキーの検知領域を拡張し、新たな検知領域とする検知領域拡張ステップとを有する入力方法。   (13) a step of displaying a screen including at least one or more keys; an input receiving step of receiving an input of coordinates on the screen; and when there is the input reception, displaying the coordinates of the input and the screen The key selection determination step for comparing the detection area for detecting that the selected key is selected and determining which key is selected, and any key is selected in the key selection determination step. An input method comprising: a detection area extending step of expanding a detection area of a key displayed on the screen to be a new detection area when it is determined that there is no such area.

(14)少なくとも1つ以上のキーを含む画面を表示するステップと、前記画面上の座標の入力を受け付ける入力受付ステップと、前記入力受付があった場合に、該入力の座標と前記画面に表示されたキーが選択されたことを検知するための検知領域とを比較し、いずれのキーが選択されたかを判別するキー選択判別ステップと、前記キー選択判別ステップにおいて、いずれのキーも選択されていないと判別された場合に、前記画面上に表示されたキーの検知領域を拡張し、新たな検知領域とする検知領域拡張ステップとを有する入力プログラム。   (14) a step of displaying a screen including at least one or more keys; an input receiving step of receiving an input of coordinates on the screen; and when there is the input reception, displaying the coordinates of the input and the screen The key selection determination step for comparing the detection area for detecting that the selected key is selected and determining which key is selected, and any key is selected in the key selection determination step. An input program including a detection area expansion step of expanding a detection area of a key displayed on the screen to be a new detection area when it is determined that there is no such area.

前記(1)に記載の発明によると、無効検知領域への入力(以下、無効入力という)があった場合、すなわち、キー選択性を悪化させる原因があり、意図したキーの表示領域を正確にタッチできない場合にキーの検知領域を拡張するため、次回入力時のキー選択性を高めることができる。また、無効検知領域への入力は、あくまで無効な入力として扱われるため、ユーザは自らの入力がキーの表示領域を正確にタッチできていなかった事を認識できる。よって、ユーザに次回入力時にキーの表示領域を正確にタッチしようとする気持ちを引き起こすことができ、誤検知性の悪化を抑制することができる。   According to the invention described in (1) above, when there is an input to the invalidity detection area (hereinafter referred to as invalid input), that is, there is a cause of deteriorating the key selectivity, and the intended key display area is accurately set. When the touch cannot be performed, the key detection area is expanded, so that the key selectivity at the next input can be improved. Further, since the input to the invalidity detection area is treated as an invalid input to the last, the user can recognize that his / her input could not touch the key display area accurately. Therefore, it is possible to cause the user to feel that the display area of the key is to be touched accurately at the next input, and it is possible to suppress the deterioration of the misdetectability.

前記(2)に記載の発明によると、検知領域を拡張するキーを、無効入力がされた座標(以下、無効入力座標という)の周辺に表示されたキーに限定することができる。ユーザがタッチの際に狙ったキーは、無効入力座標の周辺に表示されたキーである可能性は高く、無効入力座標から離れたところに表示されたキーである可能性は低い。よって、検知領域を拡張するキーを無効入力座標の周辺に表示されたキーに限定しても、次回入力時のキー選択性を向上する効果がある。また、無効入力座標から離れたところに表示されたキーの検知領域を拡張しないことにより、ユーザが狙っているキーとは無関係なキーの検知領域を拡張することによって発生する誤検知性の悪化を抑制することができる。   According to the invention described in (2) above, the keys for expanding the detection area can be limited to keys displayed around the coordinates where invalid input has been made (hereinafter referred to as invalid input coordinates). The key targeted by the user when touching is highly likely to be a key displayed around the invalid input coordinates, and is unlikely to be a key displayed away from the invalid input coordinates. Therefore, even if the keys for expanding the detection area are limited to the keys displayed around the invalid input coordinates, there is an effect of improving the key selectivity at the next input. In addition, by not extending the key detection area displayed away from the invalid input coordinates, the detection error deterioration caused by extending the key detection area unrelated to the target key is reduced. Can be suppressed.

前記(3)に記載の発明によると、検知領域を拡張するキーを、無効入力座標の最も近くに表示されたキーに限定することができる。ユーザがタッチの際に狙ったキーは、無効入力座標の最も近くにあるキーである可能性は高く、検知領域を拡張するキーを該キーに限定しても、次回入力時のキー選択性を向上する効果がある。また、無効入力座標の最も近くに表示されたキー以外の検知領域を拡張しないことにより、ユーザが狙ったキーとは無関係なキーの検知領域を拡張することによって発生する誤検知性の悪化を抑制することができる。   According to the invention described in (3) above, the key for expanding the detection area can be limited to the key displayed closest to the invalid input coordinates. The key that the user aimed at touching is likely to be the key closest to the invalid input coordinates, and even if the key that expands the detection area is limited to this key, the key selectivity at the next input is improved. There is an effect to improve. In addition, by not expanding the detection area other than the key displayed closest to the invalid input coordinates, it suppresses the deterioration of misdetection caused by extending the detection area of the key unrelated to the key aimed by the user. can do.

前記(4)に記載の発明によると、LCDに表示された全てのキーの検知領域を拡張することができる。よって、ユーザが画面上のあるキーをタッチしようとして該キー周辺で無効入力をした後、該キーが選択されたと判断される入力(以下、有効入力という)をし、更に続けて該キーとは離れた位置に表示されたキーをタッチしようとした場合に、後でタッチしようとするキーの選択性をも向上させることができる。   According to the invention as described in said (4), the detection area of all the keys displayed on LCD can be expanded. Therefore, after the user makes an invalid input around the key in an attempt to touch a certain key on the screen, an input for determining that the key has been selected (hereinafter referred to as a valid input) is performed. When an attempt is made to touch a key displayed at a distant position, the selectivity of a key to be touched later can be improved.

前記(5)に記載の発明によると、キーの検知領域が有する外周のうち、無効入力座標に面する部分のみを拡張することができる。前記したキー選択性を悪化させる原因が、ユーザの視線方向(第1例)であっても、キーの表示位置(第2例)であっても、ユーザの持つ癖(第3例)であっても、ユーザがあるキーを狙ってした入力が無効入力となり、再度該キーを狙ってタッチする位置は、該キーの表示に対して前回の無効入力と同じ方向に外れる可能性は高い。よって、検知領域を拡張する部分を無効入力座標に面する外周に限定しても、次回入力時のキー選択性を向上する効果がある。また、無効入力座標に面しない外周部分の検知領域を拡張しないことにより、キー選択性を向上する効果の少ない外周部分の検知領域を拡張することによって発生する誤検知性の悪化を抑制することができる。   According to the invention described in (5), it is possible to expand only the portion facing the invalid input coordinates in the outer periphery of the key detection area. The cause of the deterioration of the key selectivity described above is whether the user's line-of-sight direction (first example) or the key display position (second example) is the user's eyelid (third example). However, it is highly possible that the input aimed at a certain key becomes an invalid input, and the position where the user touches the key again deviates in the same direction as the previous invalid input with respect to the display of the key. Therefore, even if the part that extends the detection area is limited to the outer periphery facing the invalid input coordinates, there is an effect of improving the key selectivity at the next input. Further, by not expanding the detection area of the outer peripheral portion that does not face the invalid input coordinates, it is possible to suppress the deterioration of the misdetection that occurs by extending the detection area of the outer peripheral portion that has little effect of improving the key selectivity. it can.

前記(6)に記載の発明によると、無効入力とキーの表示の位置関係には依存せず、キーの有する全ての外周の検知領域を拡張することができる。前記、第3の例のように、狙ったキーの表示に対して一定の方向にずれた位置をタッチしてしまうユーザではなく、例えば、キーの表示の周辺を適当にタッチし、タッチするたびにキーの表示に対するズレの方向が異なるユーザであっても、キーの選択性を向上する効果がある。また、キー選択性を悪化させる原因が、前記第2の例のようにキーの表示位置による場合には、キーの表示に対してユーザのタッチ位置の外れる方向が、キーごとに異なる可能性がある。よって、ユーザが画面上のあるキーを狙って該キー周辺で無効入力をした後、該キーに対して有効入力をし、更に続けて該キーとは別のキーをタッチしようとした場合に、先にタッチしたキーと後でタッチしたキーの、表示に対してユーザのタッチ位置の外れる方向が異なる場合であっても、後でタッチしようとするキーの選択性を向上させることができる。   According to the invention described in (6) above, it is possible to extend all the outer peripheral detection areas of the key without depending on the positional relationship between the invalid input and the key display. Instead of a user who touches a position shifted in a certain direction with respect to the target key display as in the third example, for example, each time the user touches and touches the periphery of the key display appropriately Even if the user has a different direction of key displacement, the key selectivity can be improved. In addition, when the cause of the deterioration of key selectivity is the key display position as in the second example, the direction in which the user touch position deviates from the key display may be different for each key. is there. Therefore, when the user makes an invalid input around the key aiming at a certain key on the screen, and then makes an effective input to the key, and then tries to touch another key different from the key, Even when the first touched key and the later touched key are different from each other in the direction in which the touch position of the user deviates from the display, the selectivity of the key to be touched later can be improved.

前記(7)に記載の発明によると、無効入力座標の近くに表示されたキーの検知領域の拡張幅をより大きくし、無効入力座標の遠くに表示されたキーの検知領域の拡張幅をより小さくできる。無効入力座標の近くにあるキーはユーザがタッチの際に狙ったキーである可能性が高く、無効入力座標に近いキーの拡張幅をより大きくすることで、次回入力時のキー選択性を向上する効果がある。また、無効入力座標から遠くに表示されたキーの検知領域の拡張幅をより小さくすることで、ユーザが狙ったキーである可能性が低いキーの検知領域を過剰に拡張することによって発生する誤検知性の悪化を抑制することができる。   According to the invention described in (7) above, the extended width of the key detection area displayed near the invalid input coordinates is increased, and the extended width of the key detection area displayed far from the invalid input coordinates is further increased. Can be small. Keys near the invalid input coordinates are likely to be the keys that the user aimed at touching, and the key selection at the next input is improved by increasing the expansion width of the keys near the invalid input coordinates. There is an effect to. In addition, by reducing the extension width of the key detection area displayed far from the invalid input coordinates, it is possible to generate errors caused by excessively expanding the key detection area that is unlikely to be the key targeted by the user. Deterioration of detectability can be suppressed.

前記(8)に記載の発明によると、無効入力が繰り返しされた場合に、より新しい無効入力時に拡張された拡張幅の影響度を大きくし、より古い無効入力時に拡張された拡張幅の影響度を小さくすることができる。新しい無効入力は、現在ユーザが狙っているキーを選択しようとしてなされた可能性が高く、新しい無効入力時に拡張された拡張幅の影響度をより大きくすることで、次回入力時のキー選択性を向上する効果がある。一方、古い無効入力時にユーザが狙ったキーは、現在狙っているキーと同一である可能性は低く、古い無効入力時に拡張された拡張幅を縮小することで、現在狙っているキーと同一である可能性が低いキーを狙った入力時に拡張された検知領域の拡張幅をそのまま残しておくことによって発生する誤検知性の悪化を抑制することができる。また、別の効果として、画面上の領域が拡張された検知領域で満たされてしまう事を防止することができる。   According to the invention described in (8) above, when invalid input is repeated, the influence of the expanded width expanded at the newer invalid input is increased, and the influence of the expanded width expanded at the older invalid input. Can be reduced. The new invalid input is likely to have been made by the user trying to select the key that the user is currently aiming at, and by increasing the influence of the expanded width expanded at the new invalid input, the key selectivity at the next input is increased. There is an effect to improve. On the other hand, the key that the user aimed at the old invalid input is unlikely to be the same as the current target key, and it is the same as the current target key by reducing the expansion width expanded at the old invalid input. It is possible to suppress deterioration in misdetection caused by leaving the expanded width of the detection area expanded at the time of input aiming at a key having a low possibility of being present. Further, as another effect, it is possible to prevent the area on the screen from being filled with the expanded detection area.

前記(9)に記載の発明によると、キー表示に対して、今回の無効入力が外れた方向と、直前の入力が外れた方向が異なる場合に、以前の入力による検知領域の拡張幅の影響度を小さくすることができる。直前の入力と今回の無効入力とで、キー表示に対するズレの方向が等しい場合には、直前の入力と今回の入力とで同一のキーを狙った可能性が高く、以前の無効入力による拡張幅を縮小せず残しておくことで、次回入力時のキー選択性を向上させる効果がある。一方、直前の入力と今回の無効入力とで、キー表示に対するズレの方向が異なる場合には、直前の入力と今回の入力とで同一のキーを狙った可能性は低く、以前の無効入力による拡張幅を縮小することで、そのまま残しておくことによって発生する誤検知性の悪化を抑制することができる。   According to the invention described in (9) above, when the direction from which the current invalid input is removed differs from the direction from which the previous input is removed from the key display, the influence of the expansion width of the detection area by the previous input is different. The degree can be reduced. If the previous input and the current invalid input have the same misalignment direction with respect to the key display, there is a high possibility that the previous key and the current input aimed at the same key. By leaving the key without reducing it, there is an effect of improving the key selectivity at the next input. On the other hand, if the direction of the key display is different between the previous input and the current invalid input, it is unlikely that the previous key and the current input aimed at the same key, and the previous invalid input By reducing the extension width, it is possible to suppress the deterioration of misdetection that occurs when the extension width is left as it is.

前記(10)に記載の発明によると、今回の無効入力座標と直前の入力座標とが離れている場合には、以前の入力による検知領域の拡張幅を初期化することができる。今回の入力と直前の入力とが一定距離以上離れている場合には、直前の入力時にユーザが狙ったキーと、今回の入力時に狙ったキーとが同一である可能性は低く、以前の入力による拡張幅を初期化することで、ユーザが現在狙っているキーとは関連の低いキーを狙った入力時に拡張された拡張幅をそのまま残しておくことによって発生する誤検知性の悪化を抑制することができる。   According to the invention described in (10) above, when the invalid input coordinate of this time is away from the previous input coordinate, the extended width of the detection area by the previous input can be initialized. If the current input and the previous input are more than a certain distance apart, it is unlikely that the key that the user aimed at the previous input is the same as the key that was targeted at the current input. By initializing the expansion width by, it suppresses the deterioration of misdetection caused by leaving the expanded width as it is when inputting a key that is not related to the key that the user is currently aiming at be able to.

前記(11)に記載の発明によると、画面上のあるキーに対して有効入力がされた場合には、以前の入力による検知領域の拡張幅を初期化することができる。有効入力がされたということは、ユーザは狙ったキーをタッチするという目的は達しており、次回入力時に再び同一のキーをタッチしようとする可能性は低く、以前の入力による拡張幅を初期化することで、次回入力時に狙うキーとは関連の低いキーを狙った入力時に拡張された検知領域を、そのまま残しておくことによって発生する誤検知性の悪化を抑制することができる。   According to the invention described in (11) above, when a valid input is made with respect to a certain key on the screen, the extended width of the detection area by the previous input can be initialized. The effective input means that the user has reached the purpose of touching the target key, and it is unlikely that the same key will be touched again at the next input, and the extension width by the previous input is initialized. By doing so, it is possible to suppress the deterioration of misdetection caused by leaving the detection area expanded at the time of input aiming at a key having a low relation with the key aimed at the next input.

前記(12)に記載の発明によると、有効入力時の座標(以下、有効入力座標)が、有効入力がされたキーの初期の検知領域(基準検知領域)から外れていた場合に、該有効入力に応じて表示された画面上のキーの検知領域を拡張することができる。一般に基準検知領域はキーの表示領域と略一致しているため、有効入力座標がキーの基準検知領域から外れていた場合に、拡張された検知領域が有効入力により初期化されると、次回、新たにキーを狙ってタッチする場合にも、キーの検知領域をタッチできず、無効入力となってしまう可能性が高い。よって、次回入力前に検知領域を拡張することで、キー選択性を向上させる効果がある。また、有効入力座標がキーの基準検知領域内であった場合には、キー選択性を悪化させる原因が無いか、またはキー選択性を悪化させる原因はあるが、狙ったキーがタッチできない程度ではなかったと考えられ、次回入力時にキーの表示領域をタッチできる可能性が高く、次回入力前に検知領域を拡張しなくとも、キー選択性は低下しない。また、有効入力座標がキーの基準検知領域内であった場合に検知領域を拡張しないことにより、検知領域を過度に拡張させることによって発生する誤検知性の悪化を抑制することができる。   According to the invention described in (12) above, when the coordinates at the time of valid input (hereinafter referred to as valid input coordinates) deviate from the initial detection area (reference detection area) of the key for which valid input has been made, The key detection area on the screen displayed according to the input can be expanded. In general, since the reference detection area substantially coincides with the display area of the key, if the effective input coordinates are out of the reference detection area of the key, the next time the expanded detection area is initialized by the effective input, Even when a new key is touched, the key detection area cannot be touched and there is a high possibility of invalid input. Therefore, there is an effect of improving the key selectivity by expanding the detection area before the next input. Also, if the effective input coordinates are within the key reference detection area, there is no cause to deteriorate the key selectivity, or there is a cause to deteriorate the key selectivity. The key display area is highly likely to be touched at the next input, and the key selectivity is not lowered even if the detection area is not expanded before the next input. In addition, when the effective input coordinates are within the key reference detection area, the detection area is not expanded, so that it is possible to suppress the deterioration of misdetection caused by excessively expanding the detection area.

前記(13)に記載の発明によると、無効検知領域への入力があった場合、すなわち、キー選択性を悪化させる原因があり、意図したキーの表示領域を正確にタッチできない場合にキーの検知領域を拡張するため、次回入力時のキー選択性を高めることができる。また、無効検知領域への入力は、あくまで無効な入力として扱われるため、ユーザは自らの入力がキーの表示領域を正確にタッチできていなかった事を認識できる。よって、ユーザに次回入力時にキーの表示領域を正確にタッチしようとする気持ちを引き起こすことができ、誤検知性の悪化を抑制することができる。   According to the invention described in (13) above, when there is an input to the invalid detection area, that is, when there is a cause of deteriorating the key selectivity, the key detection area cannot be accurately touched. Since the area is expanded, the key selectivity at the next input can be improved. Further, since the input to the invalidity detection area is treated as an invalid input to the last, the user can recognize that his / her input could not touch the key display area accurately. Therefore, it is possible to cause the user to feel that the display area of the key is to be touched accurately at the next input, and it is possible to suppress the deterioration of the misdetectability.

前記(14)に記載の発明によると、少なくとも1つ以上のキーを含む画面を表示するステップ、前記画面上の座標の入力を受け付ける入力受付ステップ、前記入力受付があった場合に、該入力の座標と前記画面に表示されたキーが選択されたことを検知するための検知領域とを比較し、いずれのキーが選択されたかを判別するキー選択判別ステップ、前記キー選択判別ステップにおいて、いずれのキーも選択されていないと判別された場合に、前記画面上に表示されたキーの検知領域を拡張し、新たな検知領域とする検知領域拡張ステップをコンピュータに実行させることができる。   According to the invention described in (14), when there is a step of displaying a screen including at least one key, an input receiving step of receiving an input of coordinates on the screen, and the input receiving, In the key selection determination step for determining which key is selected by comparing the coordinates and the detection area for detecting that the key displayed on the screen is selected, When it is determined that a key is not selected, the detection area of the key displayed on the screen is expanded, and a detection area expansion step for making a new detection area can be executed by the computer.

図1は、本発明の入力装置の実施形態の1つであるタッチパネル入力装置を備えたMulti Function Peripheral(以下、MFPという)の構成を示す模式的断面図である。MFPは、コピー、スキャナ、ファクス、ネットワークプリンティングなどの機能を備えた画像形成装置であり、大きく、スキャナ部101と、プリンタ部102とから構成される。タッチパネル入力装置103は、MFPの上面に設置される。スキャナ部101は、原稿を搬送する原稿搬送部113、原稿を読み取った光を伝搬するスキャナ光学部104、スキャナ光学部104から送られる光を電気信号(アナログ信号)に変換し、さらにデジタル信号に変換するアナログ処理部105、アナログ処理部105から送られるデジタル信号の画像処理を行う入力画像処理部106、入力画像処理部106から送られる画像データを記憶する画像記憶部107等で構成される。また、プリンタ部102は、画像記憶部107から送られる画像データの画像処理を行う出力画像処理部108、出力画像処理部108から送られる信号に従いレーザビームを出力する半導体レーザ部109、半導体レーザ部109から送られるレーザビームにより感光体ドラム上に形成された静電潜像を、トナーにより現像し、そのトナー像を用紙上に転写して画像を形成する作像部110、用紙を格納する給紙カセット部111、用紙を排出する排出部112から構成されている。   FIG. 1 is a schematic cross-sectional view showing the configuration of a Multi Function Peripheral (hereinafter referred to as MFP) provided with a touch panel input device, which is one embodiment of the input device of the present invention. The MFP is an image forming apparatus having functions such as copying, scanning, faxing, and network printing, and mainly includes a scanner unit 101 and a printer unit 102. The touch panel input device 103 is installed on the upper surface of the MFP. A scanner unit 101 converts a document transport unit 113 that transports a document, a scanner optical unit 104 that propagates light that has read the document, and light transmitted from the scanner optical unit 104 into an electrical signal (analog signal), and further converts it into a digital signal. An analog processing unit 105 for conversion, an input image processing unit 106 that performs image processing of a digital signal sent from the analog processing unit 105, an image storage unit 107 that stores image data sent from the input image processing unit 106, and the like. The printer unit 102 includes an output image processing unit 108 that performs image processing on image data sent from the image storage unit 107, a semiconductor laser unit 109 that outputs a laser beam in accordance with a signal sent from the output image processing unit 108, and a semiconductor laser unit. The electrostatic latent image formed on the photosensitive drum by the laser beam sent from 109 is developed with toner, and the toner image is transferred onto the paper to form an image, and the paper is stored. The paper cassette unit 111 and the paper discharge unit 112 for discharging paper are configured.

図2は、タッチパネル入力装置103の平面図である。タッチパネル入力装置103は、MFPに対する動作設定値の設定や、動作開始の指示を受け付ける。タッチパネル入力装置103は、動作開始の指示をするためのスタートキー201、動作の停止を指示するためのストップキー202、動作設定を初期化するためのリセットキー203、機能を選択するための機能選択キー204、数値等を入力するためのテンキー205、入力した数値をクリアするためのクリアキー206等のハードキーと、LCD207等で構成される。LCD207の表面には、例えば、抵抗変換方式のタッチパネル309が取り付けられている。   FIG. 2 is a plan view of the touch panel input device 103. The touch panel input device 103 receives an operation setting value setting and an operation start instruction for the MFP. The touch panel input device 103 includes a start key 201 for instructing an operation start, a stop key 202 for instructing an operation stop, a reset key 203 for initializing operation settings, and a function selection for selecting a function. It comprises a key 204, a numeric keypad 205 for inputting numerical values, hard keys such as a clear key 206 for clearing the input numerical values, and an LCD 207. For example, a resistance conversion type touch panel 309 is attached to the surface of the LCD 207.

図3は、タッチパネル入力装置103の制御系ブロック図である。パネル処理制御部301はCPUであり、表示部302、入力受付部303、記憶部304及び本体制御部305に接続され、タッチパネル装置全体の制御を行う。パネル処理制御部301は動作プログラム及び初期設定値を記憶部304から読み込み、入力受付部303から信号を受信し、本体制御部305との間で情報を送受信して、表示部302の表示の制御を行う。また、設定された設定値等の情報を記憶部304に書き込むとともに、必要に応じて記憶部304から情報を読み込む。表示部302は、動作モードや設定値を表示するLCD207、LCD207に表示する画像データを格納するVRAM306、LCD207を制御するためのLCDコントローラ307、LCD207を照らすLCDバックライト308、MFPの状態を表示するためのLED208等で構成される。入力受付部303は、LCD207の上に設置されたタッチパネル309、スタートキー201やストップキー202等のハードキー310等で構成される。記憶部304は、パネル処理制御部301の動作プログラムを記憶するROM311、処理を実行する際の作業領域であり、処理で使用する情報を一時的に記憶するRAM312等で構成される。   FIG. 3 is a control system block diagram of the touch panel input device 103. The panel processing control unit 301 is a CPU, and is connected to the display unit 302, the input receiving unit 303, the storage unit 304, and the main body control unit 305, and controls the entire touch panel device. The panel processing control unit 301 reads the operation program and the initial setting value from the storage unit 304, receives a signal from the input reception unit 303, transmits / receives information to / from the main body control unit 305, and controls display on the display unit 302. I do. In addition, information such as a set value that has been set is written to the storage unit 304, and information is read from the storage unit 304 as necessary. A display unit 302 displays an operation mode and setting values, an LCD 207, a VRAM 306 that stores image data to be displayed on the LCD 207, an LCD controller 307 for controlling the LCD 207, an LCD backlight 308 that illuminates the LCD 207, and the state of the MFP. For the LED 208 and so on. The input receiving unit 303 includes a touch panel 309 installed on the LCD 207, hard keys 310 such as a start key 201 and a stop key 202, and the like. The storage unit 304 includes a ROM 311 that stores an operation program of the panel processing control unit 301, a work area for executing processing, and a RAM 312 that temporarily stores information used in processing.

図4は、抵抗変換方式のタッチパネル309の原理を説明するための図である。抵抗変換方式のタッチパネルは、平行に一定間隔で抵抗体が並べられた2枚の透明導電性フィルムを、絶縁スペーサを挟んで重ねたものである。抵抗体は、水平(X)、垂直(Y)方向に一定間隔で並んで、マトリクスを形成している。ユーザがタッチパネル上のいずれかの位置をタッチすると、その位置に対応する抵抗値が発生する。その抵抗値をA−D(アナログ−デジタル)変換回路によって、デジタルデータに変換することで、パネル処理制御部301が処理可能なデータとなる。   FIG. 4 is a diagram for explaining the principle of the resistance conversion type touch panel 309. A resistance conversion type touch panel is obtained by stacking two transparent conductive films in which resistors are arranged in parallel at regular intervals with an insulating spacer interposed therebetween. The resistors are arranged at regular intervals in the horizontal (X) and vertical (Y) directions to form a matrix. When the user touches any position on the touch panel, a resistance value corresponding to the position is generated. The resistance value is converted into digital data by an analog-to-digital (A / D) conversion circuit, thereby obtaining data that can be processed by the panel processing control unit 301.

図5〜7、図9〜11、図15、図17、図18は、本発明の実施形態の処理内容を説明するためのフローチャートである。各フローチャートの説明をする前に、処理全体の概略を説明する。   5 to 7, 9 to 11, 15, 17, and 18 are flowcharts for explaining the processing contents of the embodiment of the present invention. Before describing each flowchart, an outline of the entire process will be described.

タッチパネル309に入力があり、該入力が無効入力であった場合には、該入力の周辺に表示されたキーの検知領域を拡張する処理を行い(図11のステップS609)、次回入力時のキー選択性を向上させる。また、該入力がされる前に、画面に表示されたキーの検知領域が既に拡張されていた場合(図11のステップS601でYES)には、該入力と直前の入力とが同一のキーを狙ってされた入力である可能性の高低を判断する(図11のステップS602〜S605)。そして、該可能性が低いと判断された場合には該入力前の拡張されていた検知領域を初期化する処理を行い(図11のステップS606)、該可能性が中度と判断された場合には該入力前の拡張されていた検知領域を縮小する処理を行い(図11のステップS607)、該可能性が高いと判断された場合には該入力前の拡張されていた検知領域をそのまま残すことによって、次回入力時のキー選択性の向上と誤検知性の悪化の防止を両立する。   When there is an input on the touch panel 309 and the input is invalid, a process for expanding the key detection area displayed around the input is performed (step S609 in FIG. 11), and the key for the next input is performed. Increase selectivity. If the key detection area displayed on the screen has already been expanded before the input (YES in step S601 in FIG. 11), the same key is used for the input and the previous input. It is determined whether or not the input is aimed at (steps S602 to S605 in FIG. 11). If it is determined that the possibility is low, a process for initializing the extended detection area before the input is performed (step S606 in FIG. 11), and the possibility is determined to be medium. In step S607, the expanded detection area before the input is reduced (step S607 in FIG. 11). If it is determined that the possibility is high, the extended detection area before the input is used as it is. By leaving it, it is possible to improve the key selectivity at the next input and prevent the deterioration of the misdetectability.

また、前記無効入力時の拡張処理によって検知領域が拡張された後に、有効入力がされた場合には、画面に表示された全てのキーの検知領域を初期化する処理を行い(図15のステップS703)、次回入力時の誤検知性の悪化を防止する。また、該入力の座標が、該入力によって選択されたキーの基準検知領域の内側か否かを判断し(図15のステップS701)、内側ではないと判断された場合(図15のステップS701でNO)にのみ、検知領域を拡張する処理を行い(図15のステップS702及び図18のステップS902)、次回入力時のキー選択性を向上させる。   Further, when a valid input is made after the detection area has been expanded by the expansion process at the time of invalid input, a process for initializing the detection areas of all keys displayed on the screen is performed (step of FIG. 15). S703), preventing the deterioration of misdetection at the next input. Further, it is determined whether or not the coordinates of the input are inside the reference detection area of the key selected by the input (step S701 in FIG. 15), and when it is determined that the coordinates are not inside (in step S701 in FIG. 15). Only for (NO), a process for expanding the detection area is performed (step S702 in FIG. 15 and step S902 in FIG. 18), and the key selectivity at the next input is improved.

また、前記拡張処理によって検知領域が拡張された後に、ハードキーに対する入力がされた場合には、画面に表示された全てのキーの検知領域を初期化する処理を行い(図17のステップS801)、次回入力時の誤検知性の悪化を防止する。   Further, when a hard key is input after the detection area is expanded by the expansion process, a process for initializing the detection areas of all keys displayed on the screen is performed (step S801 in FIG. 17). Prevents the deterioration of false detection at the next input.

図5は、パネル処理制御部301の動作を示したフローチャートである。パネル処理制御部301は、ROM311に記録されたプログラムを読み、該プログラムに基づき各フローチャートに記載した処理を行う。以下に図5のフローチャートを参照しながら説明する。   FIG. 5 is a flowchart showing the operation of the panel processing control unit 301. The panel processing control unit 301 reads a program recorded in the ROM 311 and performs processing described in each flowchart based on the program. This will be described below with reference to the flowchart of FIG.

電源が投入されると初期設定が行われ(ステップS101)、パネル処理制御部301に内蔵されたタイマーがスタートする(ステップS102)。タイマーの時間設定は予めROM311に記憶されており、ステップS101の初期設定時にパネル処理制御部301にセットされる。続いて、表示部302を制御する表示制御処理が行われる(ステップS103)。ステップS103の処理の詳細は後述する。続いて、入力受付部303を制御する入力制御処理が行われる(ステップS104)。ステップS104の処理の詳細は後述する。続いて、前記表示制御処理及び入力制御処理以外のその他の処理が行われる(ステップS105)。そして、S102でスタートしたタイマーが終了しているか否かが判断され(ステップS106)、タイマーが終了していない場合(ステップS106でNO)には待ち状態となり、タイマーが終了している場合(ステップS106でYES)にはステップS102に戻り、ステップS102からステップS106までの処理が繰り返し行われる。   When the power is turned on, initialization is performed (step S101), and a timer built in the panel processing control unit 301 is started (step S102). The timer time setting is stored in advance in the ROM 311 and is set in the panel processing control unit 301 at the time of initial setting in step S101. Subsequently, a display control process for controlling the display unit 302 is performed (step S103). Details of the processing in step S103 will be described later. Subsequently, an input control process for controlling the input receiving unit 303 is performed (step S104). Details of the processing in step S104 will be described later. Subsequently, processing other than the display control processing and the input control processing is performed (step S105). Then, it is determined whether or not the timer started in S102 has expired (step S106). If the timer has not expired (NO in step S106), the process waits, and if the timer has expired (step S106). In step S106, the process returns to step S102, and the processes from step S102 to step S106 are repeated.

図6は、図5に記載したフローチャートのステップS103の表示制御処理のサブルーチン処理のフローチャートである。本フローチャートの処理では、本体制御部305から、LED(208)及びLCD(207)の表示を変更するための指示があるか否かが判断され、指示があった場合には該指示に基づき表示の変更を行う。以下に図6のフローチャートを参照しながら説明する。   FIG. 6 is a flowchart of the subroutine process of the display control process in step S103 of the flowchart shown in FIG. In the processing of this flowchart, it is determined whether or not there is an instruction for changing the display of the LED (208) and the LCD (207) from the main body control unit 305, and if there is an instruction, the display is based on the instruction. Make changes. This will be described below with reference to the flowchart of FIG.

まず、本体制御部305からLED208の点灯変更指示が出されているか否かが判断される(ステップS201)。LED点灯変更指示は、MFPの状態が変化し、LED208の表示を変更すべきときに、本体制御部305からパネル処理制御部301に対し、LED208の点灯状態の変更条件を伝えるために送信される。LED208の点灯変更指示が出されている場合(ステップS201でYES)には、LED208の点灯変更処理が行われる(ステップS202)。LED点灯変更処理では、本体制御部305から受信した点灯変更指示に基づき、LED208へ点灯制御信号を出力する。その結果、LED208の点灯色が変化し、またはLED208の点灯・消灯状態が切り替わる。一方、LED208の点灯変更指示が出されていない場合(ステップS201でNO)には、ステップS202の処理は行われず、ステップS203に進む。   First, it is determined whether an instruction to change lighting of the LED 208 is issued from the main body control unit 305 (step S201). The LED lighting change instruction is transmitted from the main body control unit 305 to the panel processing control unit 301 in order to notify the change condition of the LED 208 lighting state when the state of the MFP changes and the display of the LED 208 should be changed. . When the LED 208 lighting change instruction is issued (YES in step S201), the LED 208 lighting change process is performed (step S202). In the LED lighting change process, a lighting control signal is output to the LED 208 based on the lighting change instruction received from the main body control unit 305. As a result, the lighting color of the LED 208 changes, or the lighting / extinguishing state of the LED 208 is switched. On the other hand, if the LED 208 lighting change instruction has not been issued (NO in step S201), the process of step S202 is not performed, and the process proceeds to step S203.

ステップS203では、本体制御部305からLCD207の表示変更指示が出されているか否かが判断される。LCD207の表示変更指示は、MFPの状態が変化し、LCD207の表示を変更すべきときに、本体制御部305からパネル処理制御部301に対し、LCD207の表示状態の変更条件を伝えるために送信される。LCD207の表示変更指示が出されている場合(ステップS203でYES)には、LCD207の表示変更処理が行われ(ステップS204)、サブルーチンは終了し、図5に記載のルーチンに戻る。ステップS204の処理の詳細は後述する。表示変更指示が出されていない場合(ステップS203でNO)には、ステップS204の処理は行われず、サブルーチンは終了し、図5に記載のルーチンに戻る。   In step S203, it is determined whether a display change instruction for the LCD 207 has been issued from the main body control unit 305. An instruction to change the display on the LCD 207 is transmitted from the main body control unit 305 to the panel processing control unit 301 to inform the change condition of the display state of the LCD 207 when the state of the MFP changes and the display on the LCD 207 should be changed. The If a display change instruction for the LCD 207 has been issued (YES in step S203), a display change process for the LCD 207 is performed (step S204), the subroutine ends, and the routine returns to the routine shown in FIG. Details of the processing in step S204 will be described later. If a display change instruction has not been issued (NO in step S203), the process in step S204 is not performed, the subroutine ends, and the process returns to the routine shown in FIG.

図7は図6に記載したフローチャートのステップS204のLCD表示変更処理のサブルーチン処理のフローチャートである。本フローチャートの処理は、本体制御部305からLCD207の表示変更指示が出された場合に行われる処理であり、本体制御部305からLCD207に表示する画像情報及び検知領域の情報を受信し、以前にされた入力が一定の条件を満たす場合には該検知領域の拡張処理を行うものである。以下にフローチャートを参照しながら説明する。   FIG. 7 is a flowchart of a subroutine process of the LCD display change process in step S204 of the flowchart shown in FIG. The process of this flowchart is a process performed when an instruction to change the display of the LCD 207 is issued from the main body control unit 305, and receives image information and detection area information displayed on the LCD 207 from the main body control unit 305. When the inputted input satisfies a certain condition, the detection area is expanded. This will be described below with reference to a flowchart.

まず、LCD207に表示する画面の画像情報を、本体制御部305から受信し、VRAM306に書き込む(ステップS301)。そして、該画面に表示されるキーが選択されたことを検知するための検知領域情報を、本体制御部305から受信する(ステップS302)。   First, image information on the screen displayed on the LCD 207 is received from the main body control unit 305 and written in the VRAM 306 (step S301). Then, detection area information for detecting that a key displayed on the screen is selected is received from the main body control unit 305 (step S302).

図8は検知領域情報を説明する図である。タッチパネル上の位置は、水平方向(X方向)に0〜255、垂直方向(Y方向)に0〜255の座標で表現される。よって、キーの検知領域は前記タッチパネル上の座標値を使って指定する。検知領域の形状が矩形の場合には、対角線上の2点の座標を指定することで、検知領域を指定することができる。図8では、左上端点と右下端点の座標によって、検知領域を指定している例を記載している。後述する検知領域の拡張・縮小処理は、前記検知領域を指定するための座標値を変更することによって行う。   FIG. 8 is a diagram illustrating detection area information. The position on the touch panel is expressed by coordinates of 0 to 255 in the horizontal direction (X direction) and 0 to 255 in the vertical direction (Y direction). Therefore, the key detection area is designated using the coordinate values on the touch panel. When the shape of the detection area is rectangular, the detection area can be specified by specifying the coordinates of two points on the diagonal line. FIG. 8 shows an example in which the detection area is designated by the coordinates of the upper left end point and the lower right end point. The detection area expansion / reduction process described later is performed by changing a coordinate value for designating the detection area.

図7に戻って、ステップS302において受信する検知領域は、後述する拡張処理により拡張されていない検知領域という意味で、基準検知領域とよぶ。パネル処理制御部301は、基準検知領域情報を、RAM312上に確保された基準検知領域を格納するための領域に書き込む。続いて、ステップS303において、検知領域を拡張する処理を行う。本処理を、本体処理制御部305から受信した初期の検知領域を拡張する処理という意味で、初期拡張処理とよぶ。初期拡張処理では、以前にされた入力が一定の条件を満たす場合にのみ基準検知領域を拡張して現在の検知領域とし、以前にされた入力が一定の条件を満たさない場合には基準検知領域を現在の検知領域とする処理を行う。検知領域は、前記初期拡張処理、後述するその他の拡張処理、縮小処理によって変化する動的なものであるため、その処理時点での検知領域のことを現検知領域とよぶ。パネル処理制御部301は、現検知領域の情報を、RAM312上に確保された現検知領域情報を格納するためのエリアに書き込む。ステップS303の処理の詳細は後述する。以上により、サブルーチンは終了し、図6に記載のルーチンに戻る。   Returning to FIG. 7, the detection area received in step S <b> 302 is referred to as a reference detection area in the sense that it is a detection area that has not been expanded by the expansion process described later. The panel processing control unit 301 writes the reference detection area information in an area for storing the reference detection area secured on the RAM 312. Subsequently, in step S303, processing for extending the detection area is performed. This processing is called initial expansion processing in the sense of processing for expanding the initial detection area received from the main body processing control unit 305. In the initial expansion process, the reference detection area is expanded to the current detection area only when the previously input satisfies a certain condition, and the reference detection area when the previously input does not satisfy the certain condition. Is set as the current detection area. Since the detection area is a dynamic area that changes according to the initial expansion process, other expansion processes described later, and the reduction process, the detection area at the time of the process is referred to as a current detection area. The panel processing control unit 301 writes the information on the current detection area in the area for storing the current detection area information secured on the RAM 312. Details of the processing in step S303 will be described later. Thus, the subroutine ends and returns to the routine shown in FIG.

図9は、図5に記載したフローチャートのステップS104の入力制御処理のサブルーチン処理のフローチャートである。本フローチャートの処理では、ハードキー310及びタッチパネル309に対する入力があるか否かが判断され、入力があった場合には入力処理を行う。以下にフローチャートを参照しながら説明する。   FIG. 9 is a flowchart of a subroutine process of the input control process in step S104 of the flowchart shown in FIG. In the process of this flowchart, it is determined whether or not there is an input to the hard key 310 and the touch panel 309. If there is an input, the input process is performed. This will be described below with reference to a flowchart.

まず、ハードキー310からの入力がされているか否かが判断され(ステップS401)、ハードキー310から入力がある場合(ステップS401でYES)には、ハードキー入力処理が行われ(ステップS402)、サブルーチンは終了し、図5に記載のルーチンに戻る。ステップS402の処理の詳細は後述する。一方、ハードキー310の入力がされていないと判断された場合(ステップS401でNO)には、タッチパネル309からの入力がされているか否かが判断される(ステップS403)。タッチパネル309からの入力がされている場合(ステップS403でYES)には、タッチパネル入力処理が行われ(ステップS404)、サブルーチンは終了し、図5に記載のルーチンに戻る。ステップS404の処理の詳細は後述する。タッチパネル309からの入力がされていない場合(ステップS403でNO)には、ステップS404の処理は行われず、サブルーチンは終了し、図5に記載のルーチンに戻る。   First, it is determined whether or not there is an input from the hard key 310 (step S401). If there is an input from the hard key 310 (YES in step S401), a hard key input process is performed (step S402). The subroutine ends and returns to the routine shown in FIG. Details of the processing in step S402 will be described later. On the other hand, if it is determined that the hard key 310 has not been input (NO in step S401), it is determined whether or not an input from the touch panel 309 has been performed (step S403). If an input is made from the touch panel 309 (YES in step S403), touch panel input processing is performed (step S404), the subroutine ends, and the routine returns to the routine shown in FIG. Details of the processing in step S404 will be described later. If there is no input from the touch panel 309 (NO in step S403), the process of step S404 is not performed, the subroutine ends, and the process returns to the routine shown in FIG.

図10は、図9に記載したフローチャートのステップS404のタッチパネル入力処理のサブルーチン処理のフローチャートである。本フローチャートの処理は、タッチパネル309の入力座標が画面に表示されたキーの現検知領域に含まれるか否かが判断され、該入力座標がいずれかのキーの現検知領域に含まれる場合には有効入力処理が行われ、該入力座標がいずれのキーの現検知領域にも含まれない場合には無効入力処理が行われる。以下にフローチャートを参照しながら説明する。   FIG. 10 is a flowchart of the subroutine process of the touch panel input process in step S404 of the flowchart shown in FIG. In the processing of this flowchart, it is determined whether or not the input coordinates of the touch panel 309 are included in the current detection area of the key displayed on the screen, and when the input coordinates are included in the current detection area of any key. When valid input processing is performed and the input coordinates are not included in the current detection area of any key, invalid input processing is performed. This will be described below with reference to a flowchart.

まず、タッチパネル309からの出力信号を、タッチパネル上での座標情報に変換する(ステップS501)。前記のようにタッチパネル309から出力される抵抗値とタッチされた位置は一対一で対応しているため、抵抗値からタッチされた座標を一意に算出できる。該算出した座標を入力座標とよぶ。以下はLCD207に表示されたキーごとに行われるループ処理である。まず、入力座標とキーの現検知領域とを比較し、入力座標がキーの現検知領域に含まれるか否かが判断される(ステップS502)。ステップS502の処理を、各キーについて繰り返し、入力座標がLCD207に表示された全てのキーの現検知領域に含まれないと判断される(ステップS502でNO)と、「LCD表示キーのループ」が終了し、無効入力処理がされ(ステップS504)、サブルーチンは終了し、図9に記載のルーチンに戻る。ステップS504の処理の詳細は後述する。入力座標がLCD207に表示されたいずれかのキーの現検知領域内にあると判断された場合(ステップS502でYES)には、有効入力処理がされ(ステップS503)、サブルーチンは終了し、図9に記載のルーチンに戻る。ステップS503の処理の詳細は後述する。   First, an output signal from the touch panel 309 is converted into coordinate information on the touch panel (step S501). Since the resistance value output from the touch panel 309 and the touched position have a one-to-one correspondence as described above, the touched coordinate can be uniquely calculated from the resistance value. The calculated coordinates are called input coordinates. The following is a loop process performed for each key displayed on the LCD 207. First, the input coordinates are compared with the current detection area of the key, and it is determined whether or not the input coordinates are included in the current detection area of the key (step S502). The process of step S502 is repeated for each key, and when it is determined that the input coordinates are not included in the current detection area of all the keys displayed on the LCD 207 (NO in step S502), an “LCD display key loop” is displayed. The process ends, invalid input processing is performed (step S504), the subroutine ends, and the process returns to the routine shown in FIG. Details of the processing in step S504 will be described later. If it is determined that the input coordinates are within the current detection area of any of the keys displayed on the LCD 207 (YES in step S502), valid input processing is performed (step S503), and the subroutine ends, and FIG. Return to the routine described in. Details of the processing in step S503 will be described later.

図11は図10に記載したフローチャートのステップS504の無効入力処理のサブルーチン処理のフローチャートである。本フローチャートの処理は、無効入力があった後に行われる処理であり、該無効入力によって入力された座標の周辺に表示されたキーの現検知領域を拡張する処理が行われる(ステップS609)。また、該無効入力がされる前に、画面に表示されたキーの現検知領域が既に拡張されていた場合(ステップS601でYES)には、該入力と直前の入力とが同一のキーを狙ってされた入力である可能性の高低を判断する(ステップS602〜S605)。そして、該可能性が低いと判断された場合には該入力前の拡張されていた現検知領域を初期化する処理を行い(ステップS606)、該可能性が中度と判断された場合には該入力前の拡張されていた現検知領域を縮小する処理を行い(ステップS607)、該可能性が高いと判断された場合には該入力前の拡張されていた現検知領域をそのまま残し、該処理結果の現検知領域に対して前記拡張処理を行う(ステップS609)。該無効入力がされる前に、画面に表示されたキーの現検知領域が拡張されていない場合(ステップS601でNO)には、現検知領域の初期化、縮小処理は行われず、該無効入力時の現検知領域に対して、拡張処理を行う(ステップS609)。   FIG. 11 is a flowchart of the subroutine processing of invalid input processing in step S504 of the flowchart shown in FIG. The process of this flowchart is a process performed after invalid input is performed, and a process of expanding the current detection area of the key displayed around the coordinates input by the invalid input is performed (step S609). If the current detection area of the key displayed on the screen has already been expanded before the invalid input is made (YES in step S601), the input and the previous input are aimed at the same key. It is determined whether the input is likely to be input (steps S602 to S605). If it is determined that the possibility is low, a process for initializing the extended current detection area before the input is performed (step S606), and if the possibility is determined to be medium, A process for reducing the expanded current detection area before the input is performed (step S607), and when it is determined that the possibility is high, the expanded current detection area before the input is left as it is. The extension process is performed on the current detection area of the processing result (step S609). If the current detection area of the key displayed on the screen is not expanded before the invalid input is made (NO in step S601), the current detection area is not initialized or reduced, and the invalid input is performed. An expansion process is performed on the current detection area at the time (step S609).

以下はLCD207に表示されたキーごとに行われるループ処理である。まず、処理対象のキーの現検知領域が既に拡張されているか否かが判断される(ステップS601)。RAM312上に格納された基準検知領域と現検知領域の情報を比較することで拡張されているか否かを判断することができる。該キーの現検知領域が既に拡張されていると判断された場合(ステップS601でYES)には、直前の入力が無効入力であったか否かが判断される(ステップS602)。直前の入力が無効入力であったと判断された場合(ステップS602でYES)には、直前の入力座標が今回の入力座標から所定距離内にあるか否かが判断される(ステップS603)。該判断により、直前の入力と今回の入力が同一のキーを狙った入力であるか否かが判断される。該所定距離内の領域を、同一性判別領域とよぶ。直前の入力座標が同一性判別領域内にある場合(ステップS603でYES)には、直前の入力と今回の入力は同一のキーを狙った入力であるとみなし、直前の入力座標が同一性判別領域内にない場合(ステップS603でNO)には、直前の入力と今回の入力は異なるキーを狙った入力であるとみなす。   The following is a loop process performed for each key displayed on the LCD 207. First, it is determined whether or not the current detection area of the key to be processed has been expanded (step S601). It can be determined whether or not the reference detection area stored on the RAM 312 has been expanded by comparing the information on the reference detection area and the current detection area. If it is determined that the current detection area of the key has already been expanded (YES in step S601), it is determined whether or not the previous input is an invalid input (step S602). If it is determined that the previous input is an invalid input (YES in step S602), it is determined whether or not the previous input coordinate is within a predetermined distance from the current input coordinate (step S603). Based on this determination, it is determined whether the previous input and the current input are inputs aimed at the same key. An area within the predetermined distance is called an identity determination area. If the immediately preceding input coordinates are within the identity determination area (YES in step S603), the immediately preceding input and the current input are regarded as inputs aimed at the same key, and the immediately preceding input coordinates are determined as identity. If it is not within the area (NO in step S603), the previous input and the current input are regarded as inputs aimed at different keys.

ステップS603において、直前の入力が同一性判別領域内にあると判断された場合(ステップS603でYES)には、処理対象のキーが現検知領域の拡張処理を行う対象であるか否かが判断される(ステップS604)。ステップS604では、該キーの表示領域が今回の入力座標から所定距離内にあるか否かによって、拡張処理の対象であるか否かの判断を行う。該所定距離内の領域を、選択判断領域とよぶ。該キーの表示領域の一部でも選択判断領域に含まれる場合には、今回の入力は該キーを狙ってされた可能性が高いとみなし、該キーは現検知領域の拡張処理の対象であると判断する。該キーの表示領域のいずれの部分も選択判断領域に含まれない場合には、今回の入力は該キーを狙ってされた可能性は低いとみなし、該キーは現検知領域の拡張処理の対象でないと判断する。処理対象のキーが現検知領域の拡張処理の対象であると判断された場合(ステップS604でYES)には、該キー現検知領域の外周のうち今回の入力によって拡張されるべき外周部分と、直前の入力によって拡張された外周部分とが一致するか否かが判断される(ステップS605)。   If it is determined in step S603 that the immediately preceding input is within the identity determination area (YES in step S603), it is determined whether or not the processing target key is a target for performing an extension process on the current detection area. (Step S604). In step S604, it is determined whether or not the display area of the key is subject to the expansion process depending on whether or not the key display area is within a predetermined distance from the current input coordinates. An area within the predetermined distance is referred to as a selection determination area. When a part of the display area of the key is included in the selection determination area, it is considered that the input this time is likely to have been aimed at the key, and the key is a target for the expansion process of the current detection area. Judge. If any part of the display area of the key is not included in the selection determination area, it is considered that the current input is unlikely to have been aimed at the key, and the key is subject to the expansion process of the current detection area. Judge that it is not. When it is determined that the key to be processed is a target for the expansion process of the current detection area (YES in step S604), an outer peripheral part to be expanded by the current input in the outer periphery of the key current detection area; It is determined whether or not the outer peripheral portion expanded by the immediately preceding input matches (step S605).

本実施例では、現検知領域の拡張処理において、現検知領域の外周の全てが拡張されるのではなく、入力座標の方向に面する外周部分の現検知領域のみが拡張される。図12は、現検知領域の外周のうち、拡張する外周部分を決定する方法を説明する図である。   In the present embodiment, in the current detection area expansion process, not all of the outer periphery of the current detection area is expanded, but only the current detection area of the outer peripheral portion facing the input coordinate direction is expanded. FIG. 12 is a diagram for explaining a method of determining an outer peripheral portion to be expanded out of the outer periphery of the current detection region.

図12(a)はキーに対する入力座標の方向を決定する方法を説明する図である。図中、実線の内側はキーの表示領域、破線の内側はキーの現検知領域、PT0はキーの表示領域の基準点、PTinは入力座標、L0はタッチパネルの座標の水平方向の基準線、Linはキーの表示領域の基準点と入力座標を結んだ線分を示す。キーに対する入力座標の方向は、L0とLinとがなす角θとする。本実施例では、前記キーの表示領域の基準点は、キーの表示領域の重心点としているが、該基準点は重心点に限らず、例えばキーの表示領域の左上端を基準点としても良く、特に限定しない。   FIG. 12A is a diagram illustrating a method for determining the direction of input coordinates with respect to a key. In the figure, the inside of the solid line is the key display area, the inside of the broken line is the current detection area of the key, PT0 is the reference point of the key display area, PTin is the input coordinate, L0 is the horizontal reference line of the touch panel coordinates, Lin Indicates a line connecting the reference point of the key display area and the input coordinates. The direction of the input coordinates with respect to the key is an angle θ formed by L0 and Lin. In this embodiment, the reference point of the key display area is the barycentric point of the key display area. However, the reference point is not limited to the barycentric point. For example, the upper left corner of the key display area may be the reference point. There is no particular limitation.

図12(b)と(c)は、キーに対する入力座標の方向から、現検知領域を拡張する外周部分を決定する方法を説明する図である。図12(b)に示すように、基準点周辺の360度をL0と15度(θ1)の角度で交差する線分L1、L0と75度(θ2)の角度で交差する線分L2、L0と105度(θ3)の角度で交差する線分L3、L0と165度(θ4)の角度で交差する線分L4、L0と195°(θ5)の角度で交差する線分L5、L0と255°(θ6)の角度で交差する線分L6、L0と285度の角度で交差する線分L7、L0と345度の角度で交差する線分L8で分割する。また、L8とL1で挟まれる方向条件をθ81、L1とL2で挟まれる方向条件をθ12、L2とL3で挟まれる方向条件をθ23、L3とL4で挟まれる方向条件をθ34、L4とL5で挟まれる方向条件をθ45、L5とL6で挟まれる方向条件をθ56、L6とL7で挟まれる方向条件をθ67、L7とL8で挟まれる方向条件をθ78とする。図12(c)は該方向条件と現検知領域を拡張する外周部分との関係を示す表であり、該表に基づき現検知領域を拡張する外周部分を決定する。例えば、入力座標の方向が10度であった場合には、θ81の方向条件に含まれ、現検知領域を拡張する外周部分を右辺とする。   FIGS. 12B and 12C are diagrams for explaining a method of determining the outer peripheral portion that extends the current detection area from the direction of the input coordinates with respect to the key. As shown in FIG. 12B, line segments L1 and L0 intersecting 360 degrees around the reference point at an angle of L0 and 15 degrees (θ1) and L0 and 75 degrees (θ2). Segment L3 intersecting at an angle of 105 degrees (θ3), line segment L4 intersecting at an angle of 165 degrees (θ4) with L0, and line segments L5, L0 and 255 intersecting with L0 at an angle of 195 ° (θ5) The line segment L6 intersects at an angle of θ (θ6), the line segment L7 intersects with L0 at an angle of 285 degrees, and the line segment L8 intersects with L0 at an angle of 345 degrees. The direction condition between L8 and L1 is θ81, the direction condition between L1 and L2 is θ12, the direction condition between L2 and L3 is θ23, the direction condition between L3 and L4 is θ34, L4 and L5. It is assumed that the direction condition sandwiched between θ45, the direction condition sandwiched between L5 and L6 is θ56, the direction condition sandwiched between L6 and L7 is θ67, and the direction condition sandwiched between L7 and L8 is θ78. FIG. 12C is a table showing the relationship between the direction condition and the outer peripheral part that extends the current detection area, and the outer peripheral part that extends the current detection area is determined based on the table. For example, when the direction of the input coordinate is 10 degrees, it is included in the direction condition of θ81, and the outer peripheral part that extends the current detection area is the right side.

図12(d)〜(f)は、キーに対する入力座標の方向と、現検知領域の拡張結果との関係を説明する図である。図12(d)は、点Aの位置に入力があった場合を示している。キーに対する点Aの方向は5度(θA)であり、5度(θA)はθ81の方向条件に含まれるため、現検知領域の右辺が拡張される。図12(e)は、点Bに入力があった場合を示している。キーに対する点Bの方向は25度(θB)であり、25度(θB)はθ12の方向条件に含まれるため、現検知領域の上辺と右辺が拡張される。図12(f)は、点Cに入力があった場合を示している。キーに対する点Cの方向は200度(θC)であり、200度(θC)はθ56の方向条件に含まれるため、現検知領域の左辺と下辺が拡張される。   12D to 12F are diagrams for explaining the relationship between the direction of the input coordinates with respect to the key and the result of expansion of the current detection area. FIG. 12D shows a case where there is an input at the position of the point A. Since the direction of the point A with respect to the key is 5 degrees (θA) and 5 degrees (θA) is included in the direction condition of θ81, the right side of the current detection area is expanded. FIG. 12E shows a case where the point B is input. The direction of the point B with respect to the key is 25 degrees (θB), and 25 degrees (θB) is included in the direction condition of θ12, so the upper side and the right side of the current detection area are expanded. FIG. 12 (f) shows a case where there is an input at point C. The direction of the point C with respect to the key is 200 degrees (θC), and 200 degrees (θC) is included in the direction condition of θ56, so the left side and the lower side of the current detection area are expanded.

本実施形態では、キーの基準検知領域の形状が矩形の場合を例示したが、基準検知領域の形状は円形、楕円形、角が丸み処理された矩形、三角形等の矩形以外の形状であってもよく、特に限定しない。その場合であっても、図12で説明したのと同様の考え方で、入力座標の方向に面する外周部分を決定することができる。基準検知領域の形状ごとに、図12(c)に記載した各方向条件と現検知領域を拡張する外周部分との関係を変えればよい。図12(g)はキーの基準検知領域の形状が円形であった場合の、現検知領域の拡張結果の例を示す。   In this embodiment, the case where the shape of the reference detection area of the key is a rectangle is illustrated, but the shape of the reference detection area is a shape other than a rectangle such as a circle, an ellipse, a rectangle with rounded corners, a triangle, or the like. There is no particular limitation. Even in that case, the outer peripheral portion facing the direction of the input coordinates can be determined based on the same idea as described in FIG. What is necessary is just to change the relationship between each direction condition described in FIG.12 (c), and the outer peripheral part which expands the present detection area for every shape of a reference | standard detection area. FIG. 12G shows an example of the result of extending the current detection area when the shape of the key reference detection area is circular.

本発明において、キーの基準検知領域の形状は矩形に限定されないため、前記のように「検知領域を拡張する外周部分」と表現するのが正確であるが、本実施例ではキーの検知領域が矩形の場合について説明するため、表現の便宜上、以下は「検知領域を拡張する辺」という表現を使うこととする。但し、「検知領域を拡張する辺」と表現していることによって、本発明が対象とするキーの検知領域の形状が矩形の場合に限定されていると考えるべきではない。   In the present invention, since the shape of the reference detection area of the key is not limited to a rectangle, it is accurate to express the “outer peripheral part that extends the detection area” as described above. However, in this embodiment, the key detection area is In order to describe the case of a rectangle, for the convenience of expression, the expression “side extending the detection area” is used below. However, the expression “side extending the detection area” should not be considered to be limited to the case where the shape of the key detection area targeted by the present invention is rectangular.

図11に戻って、ステップS605において、今回の入力によって拡張されるべき辺と、直前の無効入力によって拡張された辺とが一致するとは、直前の入力で右辺が拡張され且つ今回の入力でも右辺が拡張される場合や、直前の入力で左辺と上辺が拡張され、且つ今回の入力でも左辺と上辺が拡張される場合のように、直前の入力と今回の入力で拡張される辺が完全に一致していることをいう。従って、直前の入力で左辺が拡張され、且つ今回の入力で左辺と上辺が拡張される場合には、一致していないと判断する。また、直前の入力で現検知領域が拡張されず、且つ今回の入力でいずれかの辺が拡張される場合も、一致していないと判断する。   Returning to FIG. 11, in step S605, if the side to be expanded by the current input matches the side expanded by the previous invalid input, the right side is expanded by the previous input, and the right side is also input by this input. If the left side and the top side are expanded by the previous input, and the left side and the top side are expanded by the current input, the side expanded by the previous input and the current input is completely Say that they match. Therefore, when the left side is expanded by the previous input and the left side and the upper side are expanded by the current input, it is determined that they do not match. Also, if the current detection area is not expanded by the previous input and any side is expanded by the current input, it is determined that they do not match.

ステップS602において、直前の入力が無効入力ではなかったと判断された場合(ステップS602でNO)、またはステップS603において、直前の入力座標が同一性判別領域内にないと判断された場合(ステップS603でNO)には、処理対象のキーの現検知領域を初期化する処理が行われる(ステップS606)。具体的には、該キーの現検知領域を基準検知領域と同一とする処理が行われる。ステップS604において、処理対象のキーが現検知領域の拡張処理の対象ではないと判断された場合(ステップS604でNO)、またはステップS605において、今回の入力によって拡張されるべき辺が、直前の入力によって拡張された辺と一致しないと判断された場合(ステップS605でNO)には、該キーの現検知領域を縮小する処理が行われる(ステップS607)。縮小処理は、既に拡張されている辺の現検知領域を、辺の法線方向に一定幅だけ狭める方法で行う。前記縮小処理では、現検知領域の辺が該キーの基準検知領域の辺の内側に入り込むことを防止する。具体的には、縮小後の現検知領域の辺が、該キーの基準検知領域の辺の内側に入り込んだ場合には、該縮小後の辺を基準検知領域の辺と等しくなるまで拡張する。   If it is determined in step S602 that the previous input is not an invalid input (NO in step S602), or if it is determined in step S603 that the previous input coordinates are not within the identity determination area (in step S603). In NO), a process for initializing the current detection area of the key to be processed is performed (step S606). Specifically, a process for making the current detection area of the key the same as the reference detection area is performed. If it is determined in step S604 that the processing target key is not the target of the current detection area expansion process (NO in step S604), or in step S605, the side to be expanded by the current input is the previous input. When it is determined that the side does not coincide with the extended side (NO in step S605), a process of reducing the current detection area of the key is performed (step S607). The reduction process is performed by a method of narrowing the current detection region of the already expanded side by a certain width in the normal direction of the side. In the reduction process, the side of the current detection area is prevented from entering the side of the reference detection area of the key. Specifically, when the side of the current detection area after reduction enters the inside of the side of the reference detection area of the key, the reduced side is expanded until it becomes equal to the side of the reference detection area.

図13はステップS607における、現検知領域の縮小処理を説明する図である。図中、一点鎖線枠の内側は縮小処理前の現検知領域を、実線枠の内側は基準検知領域を、破線枠の内側は縮小処理後の現検知領域を示す。図13(a)は、現検知領域を辺の法線方向に一定幅だけ狭める様子を示している。図13(b)は縮小後の現検知領域の辺が、基準検知領域の辺の内側に入り込んでいる例を示している。本例では、縮小後の現検知領域の左辺と下辺が、基準検知領域の辺の内側に入り込んでいる。図13(c)は基準検知領域の内側に入り込んだ縮小後の辺を基準検知領域の辺と等しくなるまで拡張する様子を示している。本例では、縮小後の現検知領域の左辺と下辺が、基準検知領域の左辺と下辺に等しくなるまで拡張されている。前記処理によって、縮小後の現検知領域の辺が基準検知領域の辺の内側に入り込むことを防止する。   FIG. 13 is a diagram for explaining the current detection area reduction processing in step S607. In the figure, the inside of the one-dot chain line frame indicates the current detection area before the reduction process, the inside of the solid line frame indicates the reference detection area, and the inside of the broken line frame indicates the current detection area after the reduction process. FIG. 13A shows a state in which the current detection area is narrowed by a certain width in the normal direction of the side. FIG. 13B shows an example in which the side of the current detection area after reduction enters the inside of the side of the reference detection area. In this example, the left side and the lower side of the current detection area after reduction enter the inside of the side of the reference detection area. FIG. 13C shows a state in which the reduced side that has entered the inside of the reference detection area is expanded until it becomes equal to the side of the reference detection area. In this example, the left side and the lower side of the current detection area after reduction are expanded until they become equal to the left side and the lower side of the reference detection area. By the processing, the side of the current detection area after the reduction is prevented from entering the inside of the side of the reference detection area.

ステップS601において、処理対象のキーの現検知領域が入力前に拡張されていないと判断された場合(ステップS601でNO)、またはステップS605において今回の無効入力によって拡張されるべき辺が、直前の無効入力によって拡張された辺と一致すると判断された場合(ステップS605でYES)には、現検知領域の初期化処理(ステップS606)、及び現検知処理の縮小処理(ステップS607)は行われず、該キーが現検知領域の拡張処理を行う対象であるか否かが判断される(ステップS608)。判断の方法は、ステップS604と同一であり、説明は省略する。該キーが現検知領域の拡張処理を行う対象であると判断された場合(ステップS608でYES)には、該キーの現検知領域を拡張する処理が行われる(ステップS609)。拡張処理では、キーの有する辺のうち、入力座標の方向に面する辺の現検知領域のみが拡張される。拡張する辺の決定方法は、S605と同一であり、説明は省略する。拡張方法は前記拡張を行う辺の現検知領域を、辺の法線方向に一定幅だけ広げる方法で行う。前記拡張処理では、拡張後の現検知領域の辺が画面に表示された該キー以外のキーの現検知領域の辺の内側に入り込む(すなわち、他のキーの現検知領域と重複する)ことを防止する。具体的には、拡張後の現検知領域の辺が他のキーの現検知領域の辺の内側に入り込んでしまった場合には、該拡張後の辺を該他のキーの現検知領域の辺の外側となるまで(すなわち、重複が解消するまで)縮小する。   If it is determined in step S601 that the current detection area of the key to be processed has not been expanded before input (NO in step S601), or the side to be expanded by the current invalid input in step S605 is If it is determined that the side is coincident with the extended side due to invalid input (YES in step S605), the current detection area initialization process (step S606) and the current detection process reduction process (step S607) are not performed. It is determined whether or not the key is a target for performing an expansion process of the current detection area (step S608). The determination method is the same as that in step S604, and a description thereof will be omitted. If it is determined that the key is an object to be subjected to the process of extending the current detection area (YES in step S608), a process of extending the current detection area of the key is performed (step S609). In the expansion process, only the current detection area of the side facing the input coordinate direction among the sides of the key is expanded. The method for determining the side to be extended is the same as S605, and a description thereof will be omitted. In the expansion method, the current detection area of the side to be expanded is expanded by a certain width in the normal direction of the side. In the extension process, the side of the current detection area after extension enters inside the side of the current detection area of a key other than the key displayed on the screen (that is, overlaps with the current detection area of another key). To prevent. Specifically, when the side of the current detection area after expansion has entered the side of the current detection area of another key, the side of the current detection area of the other key is replaced with the side of the current detection area of the other key. Until it is outside (ie, until the overlap is eliminated).

図14はステップS609における、現検知領域の拡張処理を説明する図である。図中、一点鎖線枠の内側は拡張前の現検知領域を、実線枠の内側は基準検知領域を、破線枠の内側は拡張後の現検知領域を示す。図14(a)は拡張処理前の現検知領域の様子を示す。図14(b)はKEY00が処理対象キーであり、拡張する辺が上辺と右辺であった場合の拡張処理の様子を示す。図中、矢印の方向に現検知領域が拡張され、拡張後の現検知領域の右辺がKEY01の現検知領域の辺の内側に入り込んでいる。図14(c)はKEY00の拡張後の現検知領域の右辺を、KEY01の現検知領域の辺の外側となるまで縮小する様子を示している。前記処理によって、拡張後の現検知領域の辺が他のキーの現検知領域の辺の内側に入り込むことを防止する。   FIG. 14 is a diagram for explaining the current detection area expansion processing in step S609. In the figure, the inside of the one-dot chain line frame indicates the current detection area before expansion, the inside of the solid line frame indicates the reference detection area, and the inside of the broken line frame indicates the current detection area after expansion. FIG. 14A shows the state of the current detection area before the expansion process. FIG. 14B shows the state of the expansion process when KEY00 is the processing target key and the sides to be extended are the upper side and the right side. In the figure, the current detection area is expanded in the direction of the arrow, and the right side of the current detection area after expansion extends inside the side of the current detection area of KEY01. FIG. 14C shows a state in which the right side of the current detection area after extension of KEY00 is reduced to the outside of the side of the current detection area of KEY01. By the above process, the side of the current detection area after expansion is prevented from entering the side of the current detection area of another key.

図11に戻って、ステップS609の現検知領域の拡張処理が終了すると、1つのキーに対する処理は終了し、次のキーの処理へ進む。また、ステップS608において、処理対象のキーが現検知領域の拡張処理を行う対象ではないと判断された場合(ステップS608でNO)には、ステップS609の現検知領域の拡張処理は行われず、次のキーの処理へ進む。ステップS601〜609の処理を、各キーについて繰り返し、LCD207に表示された全てのキーについての処理を終了すると、「LCD表示キーのループ」が終了し、サブルーチンは終了し、図10に記載のルーチンに戻る。   Returning to FIG. 11, when the current detection area expansion process in step S609 ends, the process for one key ends, and the process proceeds to the process for the next key. If it is determined in step S608 that the processing target key is not the target for the current detection area expansion process (NO in step S608), the current detection area expansion process in step S609 is not performed. Proceed to processing of the key. When the processing of steps S601 to 609 is repeated for each key and the processing for all the keys displayed on the LCD 207 is completed, the “LCD display key loop” is terminated, the subroutine is terminated, and the routine shown in FIG. Return to.

図15は、図10に記載したフローチャートのステップS503の有効入力処理のサブルーチン処理のフローチャートである。本フローチャートの処理では、画面に表示されたキーの現検知領域を初期化する処理が行われ、選択がされたキーの情報を本体制御部305に送信する。また、入力座標が選択されたキーの基準検知領域内であるか否かが判断され、基準検知領域内ではない場合には、次回の画面表示の変更時に現検知領域を拡張する際に使用する拡張条件を決定する処理が行われる。以下にフローチャートを参照しながら説明する。   FIG. 15 is a flowchart of the subroutine process of the effective input process in step S503 of the flowchart shown in FIG. In the processing of this flowchart, processing for initializing the current detection area of the key displayed on the screen is performed, and information on the selected key is transmitted to the main body control unit 305. Also, it is determined whether or not the input coordinates are within the reference detection area of the selected key. If it is not within the reference detection area, it is used when the current detection area is expanded at the next screen display change. Processing for determining an expansion condition is performed. This will be described below with reference to a flowchart.

まず、入力座標が、選択されたと判断されたキー(有効入力キー)の基準検知領域内であるか否かが判断される(ステップS701)。入力座標が有効入力キーの基準検知領域内ではない場合(ステップS701でNO)には、初期拡張条件を決定する(ステップS702)。初期拡張条件とは、図7に記載したフローチャートのステップS303の初期拡張処理において行われる、現検知領域の拡張処理に使用する条件のことをいう。前記条件には、現検知領域を拡張する辺を決定するための初期拡張方向条件と現検知領域の拡張幅を指定する初期拡張幅条件が含まれる。前記初期拡張方向条件は、図11に記載したフローチャートのステップS605で説明した「キーに対する入力座標の方向」と同一の方法で決定する。前記初期拡張幅条件は、有効入力キーの基準検知領域の辺を法線方向に拡張していった場合に、最初に入力座標を含むこととなる拡張幅とする。また、画面表示変更時に、現検知領域を拡張すべきことを示す拡張指示フラグを1にする。この場合、1は拡張すべきことを示し、0は拡張しないことを示す。   First, it is determined whether or not the input coordinates are within the reference detection area of the key (effective input key) determined to be selected (step S701). If the input coordinates are not within the reference detection area of the valid input key (NO in step S701), an initial expansion condition is determined (step S702). The initial extension condition is a condition used for the extension process of the current detection area, which is performed in the initial extension process of step S303 in the flowchart illustrated in FIG. The conditions include an initial extension direction condition for determining an edge for extending the current detection area and an initial extension width condition for designating the extension width of the current detection area. The initial extension direction condition is determined by the same method as the “direction of input coordinates with respect to the key” described in step S605 of the flowchart illustrated in FIG. The initial extension width condition is an extension width that first includes input coordinates when the side of the reference detection area of the valid input key is extended in the normal direction. Further, when the screen display is changed, an expansion instruction flag indicating that the current detection area should be expanded is set to 1. In this case, 1 indicates that it should be expanded, and 0 indicates that it is not expanded.

図16はステップS702における初期拡張条件の決定方法を説明する図である。図中、実線枠の内側はキーの表示領域、破線枠の内側はキーの現検知領域、一点鎖線枠の内側はキーの基準検知領域、黒点は入力座標を示す。図16(a)の入力例における初期拡張条件の決定方法を以下に説明する。図16(b)は初期拡張方向条件の決定方法である。キーの表示領域の基準点PT0と入力座標を結んだ線分L1と、水平方向の基準線L0とがなす角θを初期拡張方向条件とする。図16(c)は基準検知領域の辺を法線方向に拡張する様子を示しており、図中矢印方向に拡張する。図16(d)は入力座標を最初に含むこととなる拡張幅を説明する図である。図中のWを初期拡張幅条件とする。   FIG. 16 is a diagram illustrating a method for determining an initial expansion condition in step S702. In the drawing, the inside of the solid line frame indicates the key display area, the inside of the broken line frame indicates the current detection area of the key, the inside of the alternate long and short dash line frame indicates the key reference detection area, and the black dot indicates the input coordinates. A method for determining the initial expansion condition in the input example of FIG. FIG. 16B shows a method for determining the initial extension direction condition. An angle θ formed by a line segment L1 connecting the reference point PT0 of the key display area and the input coordinates and the horizontal reference line L0 is set as an initial expansion direction condition. FIG. 16C shows a state in which the side of the reference detection area is extended in the normal direction, and is extended in the arrow direction in the figure. FIG. 16D is a diagram for explaining the extension width that will initially include the input coordinates. Let W in the figure be the initial expansion width condition.

図15に戻って、ステップS701において、有効入力の座標が有効入力キーの基準検知領域内と判断された場合(ステップS701でYES)には、ステップS702の処理は行われずに次のステップに進む。以下はLCD207に表示されたキーごとに行われるループ処理であり、処理対象のキーの現検知領域の初期化処理が行われる(ステップS703)。具体的には、該キーの現検知領域を基準検知領域と同一とする処理が行われる。ステップS703の処理を、各キーについて繰り返し、LCD207に表示された全てのキーについての処理を終了すると、「LCD表示キーのループ」が終了する。続いて、有効入力キーを特定するための情報を、本体制御部305に送信する(ステップS704)。以上の処理にて、サブルーチンは終了し、図10に記載のルーチンに戻る。   Returning to FIG. 15, if it is determined in step S701 that the coordinates of the valid input are within the reference detection area of the valid input key (YES in step S701), the process proceeds to the next step without performing the process of step S702. . The following is loop processing performed for each key displayed on the LCD 207, and initialization processing of the current detection area of the processing target key is performed (step S703). Specifically, a process for making the current detection area of the key the same as the reference detection area is performed. The processing in step S703 is repeated for each key, and when the processing for all the keys displayed on the LCD 207 is finished, the “LCD display key loop” is finished. Subsequently, information for specifying the valid input key is transmitted to the main body control unit 305 (step S704). With the above processing, the subroutine ends, and the routine returns to the routine shown in FIG.

図17は、図9に記載したフローチャートのステップS402のハードキー入力処理のサブルーチン処理のフローチャートである。本フローチャートの処理は、ハードキーによる入力があった場合に行われる処理であり、LCD207に表示されたキーの現検知領域を初期化する処理が行われ、入力のあったハードキーの情報を本体制御部305に送信する。以下にフローチャートを参照しながら説明する。   FIG. 17 is a flowchart of the subroutine processing of the hard key input processing in step S402 of the flowchart shown in FIG. The process of this flowchart is a process performed when there is an input with a hard key, a process for initializing the current detection area of the key displayed on the LCD 207 is performed, and information on the input hard key is stored in the main body. It transmits to the control part 305. This will be described below with reference to a flowchart.

以下はLCD207に表示されたキーごとに行われるループ処理であり、処理対象のキーの現検知領域の初期化処理が行われる(ステップS801)。具体的には、該キーの現検知領域を基準検知領域と同一とする処理が行われる。ステップS801の処理を、各キーについて繰り返し、LCD207に表示された全てのキーについての処理を終了すると、「LCD表示キーのループ」が終了する。続いて、入力されたハードキーを特定するための情報を本体制御部305に送信する(ステップS802)。以上により、サブルーチンは終了し、図9に記載のルーチンに戻る。   The following is loop processing performed for each key displayed on the LCD 207, and initialization processing of the current detection area of the processing target key is performed (step S801). Specifically, a process for making the current detection area of the key the same as the reference detection area is performed. The processing in step S801 is repeated for each key, and when the processing for all the keys displayed on the LCD 207 is completed, the “LCD display key loop” ends. Subsequently, information for specifying the input hard key is transmitted to the main body control unit 305 (step S802). Thus, the subroutine ends and returns to the routine shown in FIG.

ここで、図7に記載したフローチャートのステップS303の初期拡張処理について説明する。図18は初期拡張処理を説明する図である。以下にフローチャートを参照しながら説明する。   Here, the initial extension process in step S303 of the flowchart illustrated in FIG. 7 will be described. FIG. 18 is a diagram illustrating the initial extension process. This will be described below with reference to a flowchart.

まず、画面表示変更時に現検知領域を拡張すべきことを示す拡張指示フラグが1か否かが判断される(ステップS901)。拡張指示フラグが1であった場合(ステップS901でYES)には、以下のLCDに表示されたキーごとに行われるループ処理に移行し、初期拡張条件に従って、処理対象キーの現検知領域を拡張する処理が行われる(ステップS902)。本拡張処理では、まず、初期拡張方向条件から、現検知領域を拡張する辺を決定する。該辺の決定方法は、図11に記載したフローチャートのステップS605と同一であるため、説明は省略する。そして、前記拡張をする辺の現検知領域を辺の法線方向に初期拡張幅条件だけ拡張する。この際、拡張後の現検知領域の辺が、画面に表示された該キー以外のキーの現検知領域の辺の内側に入り込むことを防止する。その方法は、図11に記載したフローチャートのステップS609と同一であるため、説明は省略する。ステップS902の処理を、各キーについて繰り返し、LCD207に表示された全てのキーについての処理を終了すると、「LCD表示キーのループ」が終了する。続いてステップS903において、拡張指示フラグを0に変更する。ステップS901において、拡張フラグが0であった場合(ステップS901でNO)には、ステップS902、S903の処理は行われない。以上により、サブルーチンは終了し、図7に記載のルーチンに戻る。   First, it is determined whether or not the expansion instruction flag indicating that the current detection area should be expanded when the screen display is changed (step S901). If the expansion instruction flag is 1 (YES in step S901), the process proceeds to a loop process performed for each key displayed on the LCD below, and the current detection area of the processing target key is expanded according to the initial expansion condition. Is performed (step S902). In this extension process, first, an edge for extending the current detection area is determined from the initial extension direction condition. The method for determining the side is the same as step S605 in the flowchart shown in FIG. Then, the current detection region of the side to be extended is extended by the initial extension width condition in the normal direction of the side. At this time, the side of the expanded current detection area is prevented from entering the side of the current detection area of a key other than the key displayed on the screen. The method is the same as step S609 in the flowchart shown in FIG. The processing in step S902 is repeated for each key, and when the processing for all the keys displayed on the LCD 207 is completed, the “LCD display key loop” ends. In step S903, the extension instruction flag is changed to 0. If the extension flag is 0 in step S901 (NO in step S901), the processes in steps S902 and S903 are not performed. Thus, the subroutine ends and returns to the routine shown in FIG.

以下、具体的な例をあげて、現検知領域がどのように変更されるかを説明する。表示手段に図19(a)の画面が表示されている場合を考える。図19の中では、実線枠の内側はキーの表示領域を、破線枠の内側は現検知領域を、網点部はいずれのキーの現検知領域にも該当しない無効検知領域を示している。   Hereinafter, a specific example will be described to explain how the current detection area is changed. Consider the case where the screen of FIG. 19A is displayed on the display means. In FIG. 19, the inside of the solid line frame indicates the key display area, the inside of the broken line frame indicates the current detection area, and the halftone dot portion indicates the invalid detection area that does not correspond to the current detection area of any key.

図19(a)の点1の位置に入力があった場合、点1の座標はいずれのキーの現検知領域にも含まれないため、図11に記載の無効入力処理が行われる。図19(b)は無効入力処理によって、変更された現検知領域を説明する図である。現検知領域が図19(a)から図19(b)に変更される過程で、どのような処理がされたかを以下に順を追って説明する。   When there is an input at the position of point 1 in FIG. 19A, the coordinates of point 1 are not included in the current detection area of any key, so the invalid input process shown in FIG. 11 is performed. FIG. 19B is a diagram for explaining the current detection area changed by the invalid input process. In the course of changing the current detection area from FIG. 19A to FIG. 19B, what processing is performed will be described below in order.

LCD207に表示された全てのキーに対して、図11のステップS601〜S609のループ処理が行われる。まず、KEY00に対する処理が行われる。入力前に現検知領域が拡張されていないため、ステップS601でNOに進み、KEY00の表示領域が選択判断領域内にないため、検知領域拡張の対象ではないと判断され、ステップS608でNOに進む。本例では、選択判断領域は、図19(b)に一点鎖線で記載した点1を中心とした矩形領域AREA00としている。前記選択判断領域は、円形領域等でもよく、形状は特に限定しない。以上でKEY00に対する処理は終了する。次にKEY01に対する処理が行われる。無効入力前に検知領域が拡張されていないため、ステップS601でNOに進み、KEY01の表示領域の一部がAREA00に含まれるため、現検知領域の拡張処理を行う対象と判断され、ステップS608でYESに進む。続いて、入力座標の方向に面する辺の現検知領域が拡張される(ステップS609)。図19(b)では、KEY01に対する入力座標の方向をLINE00で表している。KEY01の現検知領域の辺のうち、入力座標の方向に面する辺は下辺と右辺であり、その部分の現検知領域が拡張される。   The loop process of steps S601 to S609 in FIG. 11 is performed for all keys displayed on the LCD 207. First, processing for KEY00 is performed. Since the current detection area is not expanded before the input, the process proceeds to NO in step S601. Since the display area of KEY00 is not in the selection determination area, it is determined that the detection area is not to be expanded, and the process proceeds to NO in step S608. . In this example, the selection determination area is a rectangular area AREA00 centered on the point 1 indicated by the alternate long and short dash line in FIG. The selection determination area may be a circular area or the like, and the shape is not particularly limited. This completes the process for KEY00. Next, processing for KEY01 is performed. Since the detection area has not been expanded before invalid input, the process proceeds to NO in step S601. Since a part of the display area of KEY01 is included in AREA00, it is determined that the current detection area is to be expanded, and in step S608. Proceed to YES. Subsequently, the current detection area of the side facing the input coordinate direction is expanded (step S609). In FIG. 19B, the direction of the input coordinates with respect to KEY01 is represented by LINE00. Of the sides of the current detection area of KEY01, the sides facing the direction of the input coordinates are the lower side and the right side, and the current detection area of that portion is expanded.

KEY02、KEY10、KEY11、KEY12に対しても、ステップS601〜S609の処理が行われる。KEY10はキーの表示領域のいずれの部分もAREA00に含まれないので現検知領域は拡張されず、KEY02、KEY11、KEY12はキー表示領域の一部分がAREA00に含まれるので現検知領域が拡張される。KEY02、KEY11、KEY12のキーに対する入力座標の方向は、キーごとに異なるため、現検知領域が拡張される辺も図19(b)に記載したように、それぞれのキーで異なる。無効入力処理では、無効入力があったことを示す情報を本体制御部305に送信しないため、本体制御部305は、無効入力がされたことを認知せず、無効入力に起因して、本体制御部305からLCD207の表示変更指示がされることはなく、前記した拡張後の現検知領域で、次の入力があるまで待機することとなる。   The processes of steps S601 to S609 are also performed for KEY02, KEY10, KEY11, and KEY12. Since KEY10 does not include any part of the key display area in AREA00, the current detection area is not expanded. For KEY02, KEY11, and KEY12, a part of the key display area is included in AREA00, so the current detection area is expanded. Since the direction of the input coordinates with respect to the keys KEY02, KEY11, and KEY12 is different for each key, the side where the current detection area is extended also differs for each key as shown in FIG. 19B. In the invalid input process, information indicating that there has been an invalid input is not transmitted to the main body control unit 305. Therefore, the main body control unit 305 does not recognize that an invalid input has been made, and the main body control is caused by the invalid input. The display change instruction of the LCD 207 is not issued from the unit 305, and the apparatus waits until the next input is made in the current detection area after the expansion.

次に点1の入力により、図19(b)に記載の現検知領域になった後、新たに無効入力がされた場合の処理について説明する。図19(c)は、点2に無効入力があり、図11に記載の無効入力処理によって変更された現検知領域を説明する図である。現検知領域が図19(b)から図19(c)に変更される過程で、どのような処理が行われるかを以下に順を追って説明する。   Next, the processing when the invalid input is newly made after the point 1 is input and the current detection area shown in FIG. FIG. 19C is a diagram for explaining the current detection region that has an invalid input at point 2 and has been changed by the invalid input process described in FIG. 11. In the course of changing the current detection area from FIG. 19 (b) to FIG. 19 (c), what kind of processing is performed will be described in order.

KEY00は、入力前に現検知領域が拡張されていないため、ステップS601でNOに進み、KEY00の表示領域が選択判断領域(AREA00)内にないため、ステップS608でNOに進み、KEY00に対する処理が終了する。KEY01は、現検知領域が既に拡張されているため、ステップS601でYESに進み、直前の入力は無効入力であったためステップS602でYESに進み、直前の無効入力座標(点1)は同一性判別領域内にあるため、ステップS603でYESに進む。本例では、同一性判別領域は、図19(c)に一点鎖線で記載した点2を中心とした矩形領域AREA01としている。本例では、同一性判別領域を矩形としているが、円形や楕円形の領域等でもよく、形状は特に限定しない。KEY01の表示領域のいずれの部分もAREA00に含まれないため、現検知領域拡張の対象とはならず、ステップS604でNOに進み、KEY01の現検知領域が縮小される(ステップS607)。図19(c)中、斜線領域は、点2の無効入力前に既に拡張されていた拡張幅のうち、点2の無効入力処理後に残存した拡張領域を示している。KEY01の表示領域のいずれの部分もAREA00に含まれないため、現検知領域拡張の対象とはならず、ステップS608でNOに進み、KEY01に対する処理は終了する。KEY02は、KEY01と同様の処理を経て、点2の無効入力前に既に拡張されていた拡張幅が縮小される。KEY10は、KEY00と同様の処理を経て、現検知領域の変更はなく、処理が終了する。KEY11は入力前に現検知領域が拡張されていたため、ステップS601でYESに進み、直前の入力は無効入力であったため、ステップS602でYESに進み、点1はAREA01内にあるため、ステップS603でYESに進む。KEY11の表示領域の一部がAREA00に含まれるため、現検知領域の拡張処理を行う対象と判断され、ステップS604でYESに進む。KEY11の点2への無効入力に対して拡張すべき辺は上辺と右辺であり、点1への無効入力に対して拡張された辺も上辺と右辺であり、両者は一致するため、ステップS605でYESに進む。そして、KEY11の表示領域の一部がAREA00に含まれるため、現検知領域の拡張処理を行う対象と判断され、ステップS608でYESに進む。続いて、現検知領域の上辺と右辺が拡張され(ステップS609)、KEY11に対する処理は終了する。KEY11の現検知領域は、点1への入力による拡張幅と点2への入力による拡張幅が加算された状態となる。KEY12は、KEY11と同様の処理を経て、点1への入力による拡張幅と点2への入力による拡張幅が加算された状態となる。以上により、点2への入力後の現検知領域の変更処理が終了し、変更後の現検知領域で次の入力があるまで待機することとなる。   Since the current detection area is not expanded before the input of KEY00, the process proceeds to NO in step S601. Since the display area of KEY00 is not in the selection determination area (AREA00), the process proceeds to NO in step S608, and the process for KEY00 is performed. finish. KEY01 advances to YES in step S601 because the current detection area has already been expanded, and advances to YES in step S602 because the immediately preceding input is an invalid input, and the immediately preceding invalid input coordinate (point 1) is determined to be identical. Since it is in the area, the process proceeds to YES in step S603. In this example, the identity determination area is a rectangular area AREA01 centered on the point 2 indicated by the one-dot chain line in FIG. In this example, the identity determination area is rectangular, but it may be a circular or elliptical area, and the shape is not particularly limited. Since any part of the display area of KEY01 is not included in AREA00, it is not a target for the current detection area expansion, and the process proceeds to NO in step S604, and the current detection area of KEY01 is reduced (step S607). In FIG. 19 (c), the hatched area indicates the extension area remaining after the invalid input process at point 2 out of the extension width already expanded before the invalid input at point 2. Since any part of the display area of KEY01 is not included in AREA00, it is not a target for the current detection area extension, the process proceeds to NO in step S608, and the process for KEY01 ends. KEY02 undergoes the same processing as KEY01, and the expansion width that has already been expanded before the invalid input of point 2 is reduced. KEY10 undergoes the same processing as KEY00, and the current detection area is not changed, and the processing ends. Since the current detection area of KEY11 has been expanded before the input, the process proceeds to YES in step S601. Since the previous input is an invalid input, the process proceeds to YES in step S602, and point 1 is in AREA01, so in step S603. Proceed to YES. Since a part of the display area of KEY11 is included in AREA00, it is determined that the current detection area is to be expanded, and the process proceeds to YES in step S604. The sides to be expanded with respect to the invalid input to the point 2 of the key 11 are the upper side and the right side, and the sides expanded with respect to the invalid input to the point 1 are also the upper side and the right side. Proceed to YES. Since a part of the display area of KEY11 is included in AREA00, it is determined that the current detection area is to be expanded, and the process proceeds to YES in step S608. Subsequently, the upper side and the right side of the current detection area are expanded (step S609), and the process for KEY11 ends. The current detection area of KEY 11 is in a state in which the expansion width due to the input to point 1 and the expansion width due to the input to point 2 are added. KEY12 undergoes the same processing as KEY11, and the extended width due to the input to point 1 and the expanded width due to the input to point 2 are added. Thus, the process of changing the current detection area after the input to point 2 is completed, and the process waits until there is a next input in the current detection area after the change.

図19(d)は、図19(c)とは異なる点2の位置に2回目の無効入力がされた場合の、変更後の現検知領域を説明する図である。現検知領域が図19(b)から図19(d)に変更される過程で、どのような処理が行われるかを以下に順を追って説明する。   FIG. 19D is a diagram for explaining the changed current detection area when the second invalid input is made at the position of point 2 different from that in FIG. 19C. In the course of changing the current detection area from FIG. 19 (b) to FIG. 19 (d), what kind of processing is performed will be described in order.

KEY00は、入力前に検知領域が拡張されていないため、ステップS601でNOに進み、KEY00の表示領域の一部がAREA00に含まれるため、現検知領域の拡張処理を行う対象と判断され、ステップS608でYESに進み、現検知領域の点2に面した下辺と左辺が拡張され(ステップS609)、処理は終了する。KEY10は、KEY00と同様の処理を経て、現検知領域の点2に面した上辺と左辺が拡張される。KEY01は、現検知領域が既に拡張されているため、ステップS601でYESに進み、直前の入力は無効入力であるためステップS602でYESに進み、点1はAREA01の外にあるため、ステップS603でNOに進む。そして、現検知領域を初期化する処理が行われ(ステップS606)、KEY01の表示のいずれの部分もAREA00に含まれないため、現検知領域拡張の対象とはならず、ステップS608でNOに進み、KEY01に対する処理は終了する。KEY02、KEY11、KEY12は、KEY01と同様の処理を経て、現検知領域は基準検知領域と同一となる。以上により、点2への入力後の現検知領域の変更処理が終了し、変更後の現検知領域で次の入力があるまで待機することとなる。   Since the detection area of KEY00 is not expanded before input, the process proceeds to NO in step S601. Since a part of the display area of KEY00 is included in AREA00, it is determined that the current detection area is to be expanded. In S608, the process proceeds to YES, the lower side and the left side facing the point 2 in the current detection area are expanded (step S609), and the process ends. KEY10 undergoes the same processing as KEY00, and the upper side and the left side facing point 2 of the current detection area are expanded. KEY01 advances to YES in step S601 because the current detection area has already been expanded, and advances to YES in step S602 because the immediately preceding input is an invalid input. Since point 1 is outside AREA01, in step S603 Proceed to NO. Then, a process for initializing the current detection area is performed (step S606), and since any part of the display of KEY01 is not included in AREA00, the current detection area is not expanded and the process proceeds to NO in step S608. , Processing for KEY01 ends. KEY02, KEY11, and KEY12 undergo the same processing as KEY01, and the current detection area becomes the same as the reference detection area. Thus, the process of changing the current detection area after the input to point 2 is completed, and the process waits until there is a next input in the current detection area after the change.

図19(e)は、図19(c)や図19(d)とは異なる点2の位置に2回目の無効入力がされた場合の、変更後の現検知領域を説明する図である。現検知領域が図19(b)から図19(e)に変更される過程で、どのような処理が行われるかを以下に順を追って説明する。   FIG. 19E is a diagram for explaining the current detection area after the change when the second invalid input is made at the position of point 2 different from that in FIG. 19C and FIG. 19D. In the course of changing the current detection area from FIG. 19 (b) to FIG. 19 (e), what kind of processing is performed will be described in order.

KEY00は、入力前に現検知領域が拡張されていないため、ステップS601でNOに進み、KEY00の表示領域のいずれの部分もAREA00に含まれないため、ステップS608でNOに進み、処理が終了する。KEY10は、KEY00と同様の処理を経て、現検知領域の変更はなく、処理が終了する。KEY01は、入力前に現検知領域が既に拡張されているため、ステップS601でYESに進み、直前の入力は無効入力であるためステップS602でYESに進み、点1はAREA01内にあるため、ステップS603でYESに進む。そして、KEY01の表示領域の一部がAREA00に含まれるため、現検知領域の拡張処理を行う対象と判断され、ステップS604でYESに進み、KEY01の点2への無効入力に対して拡張すべき辺は下辺と左辺であるのに対し、点1への無効入力に対して拡張された辺は下辺と右辺であり、両者は異なるため、ステップS605でNOに進み、KEY01の現検知領域が縮小される(ステップS607)。そして、KEY01の表示領域の一部がAREA00に含まれるため、現検知領域の拡張処理を行う対象と判断され、ステップS608でYESに進み、現検知領域の下辺と左辺が拡張され(ステップS609)、KEY01に対する処理は終了する。KEY01の現検知領域は、点1への入力による拡張領域を縮小した領域(斜線部)と点2への入力による拡張幅が加算された状態となる。KEY11はKEY01と同様の処理を経て、点1への入力による拡張を縮小した幅と、点2への入力による上辺と左辺の拡張幅が加算された状態となる。KEY02は、入力前に現検知領域が既に拡張されているため、ステップS601でYESに進み、直前の入力は無効入力であったためステップS602でYESに進み、点1はAREA01内にあるため、ステップS603でYESに進む。そして、KEY02の表示領域のいずれの部分もAREA00に含まれないため、現検知領域の拡張の対象とはならず、ステップS604でNOに進み、KEY02の現検知領域が縮小される(ステップS607)。そして、KEY02の表示のいずれの部分もAREA00に含まれないため、現検知領域の拡張の対象とはならず、ステップS608でNOに進み、KEY02に対する処理は終了する。KEY12は、KEY02と同様の処理を経て、点2の無効入力前に既に拡張されていた拡張幅が縮小される。以上により、点2への入力後の現検知領域の変更処理が終了し、変更後の現検知領域で次の入力があるまで待機することとなる。   Since the current detection area is not expanded before the input of KEY00, the process proceeds to NO in step S601. Since any part of the display area of KEY00 is not included in AREA00, the process proceeds to NO in step S608 and the process ends. . KEY10 undergoes the same processing as KEY00, and the current detection area is not changed, and the processing ends. KEY01 advances to YES in step S601 because the current detection area has already been expanded before the input, and advances to YES in step S602 because the immediately preceding input is an invalid input. Since point 1 is in AREA01, step 601 is executed. In S603, the process proceeds to YES. Since a part of the display area of KEY01 is included in AREA00, it is determined that the current detection area is to be expanded. In step S604, the process proceeds to YES, and the invalid input to point 2 of KEY01 should be expanded. Since the sides are the lower side and the left side, the sides extended for the invalid input to point 1 are the lower side and the right side, and the two are different. Therefore, the process proceeds to NO in step S605, and the current detection area of KEY01 is reduced. (Step S607). Since a part of the display area of KEY01 is included in AREA00, it is determined that the current detection area is to be expanded. In step S608, the process proceeds to YES, and the lower and left sides of the current detection area are expanded (step S609). , Processing for KEY01 ends. The current detection area of KEY01 is in a state in which the area expanded by the input to the point 1 (shaded portion) and the expansion width input to the point 2 are added. KEY11 undergoes the same processing as KEY01, and the width obtained by reducing the expansion by the input to point 1 and the expansion width of the upper side and the left side by the input to point 2 are added. KEY02 advances to YES in step S601 because the current detection area has already been expanded before the input, and advances to YES in step S602 because the immediately preceding input is an invalid input, and step 1 is in AREA01. In S603, the process proceeds to YES. Since any part of the display area of KEY02 is not included in AREA00, the current detection area is not expanded, and the process proceeds to NO in step S604, and the current detection area of KEY02 is reduced (step S607). . Since any part of the display of KEY02 is not included in AREA00, the current detection area is not expanded, and the process proceeds to NO in step S608, and the process for KEY02 ends. KEY12 undergoes the same processing as KEY02, and the expansion width already expanded before the invalid input of point 2 is reduced. Thus, the process of changing the current detection area after the input to point 2 is completed, and the process waits until there is a next input in the current detection area after the change.

前記では、ステップS601〜S609のループ処理を、KEY00、KEY01、KEY02、KEY10、KEY11、KEY12の順番で行う形態を説明したが、処理の順番はそれに限られることはなく、例えば画面に表示されるキーにあらかじめ優先度をつけ、優先度の高い順に処理することができる。前記のように、現検知領域の拡張処理は、他のキーの現検知領域に入り込まない範囲で行うため、後に拡張処理を行うキーの拡張幅が、先に拡張したキーの現検知領域によって制限される可能性がある。よって、優先度の高い順に処理をすることにより、優先度の高いキーの現検知領域を優先度の低いキーの現検知領域よりも大きくすることができる。前記優先度はあらかじめ決めておくほかに、無効入力座標から近くに表示されるキーの優先度を高くし、遠くに表示されるキーの優先度を低くすることができる。また、画面に表示された各キーの選択回数を記憶しておき、選択回数が多いキーほど優先度を高くしてもよい。   In the above description, the loop processing in steps S601 to S609 has been described in the order of KEY00, KEY01, KEY02, KEY10, KEY11, and KEY12. Priorities can be assigned to keys in advance, and processing can be performed in order of priority. As described above, the expansion process of the current detection area is performed in a range that does not enter the current detection area of another key. Therefore, the expansion width of the key to be expanded later is limited by the current detection area of the previously expanded key. There is a possibility that. Therefore, by performing processing in the order of higher priority, the current detection area of the key with higher priority can be made larger than the current detection area of the key with lower priority. In addition to predetermining the priority, it is possible to increase the priority of keys displayed close to the invalid input coordinates and decrease the priority of keys displayed far away. Alternatively, the number of selections of each key displayed on the screen may be stored, and the priority may be set higher for a key with a higher number of selections.

また、前記では、図11に記載したフローチャートのステップS601〜S607の現検知領域を縮小する処理と、ステップS608〜S609の現検知領域を拡張する処理とを同一のループ内で処理する形態を説明したが、該縮小処理と該拡張処理を別のループで処理することもできる。前記のように、現検知領域の拡張処理は、他のキーの現検知領域に入り込まない範囲で行うため、縮小処理と拡張処理とを同一のループで処理する形態では、今回の無効入力によって現検知領域が縮小されるべきキーの処理の順番が後であった場合に、該キーの縮小前の現検知領域によって、他キーの現検知領域の拡張幅が制限される可能性がある。縮小処理と拡張処理を別のループとすることで、この問題を解消することができる。   In the above description, a mode in which the process of reducing the current detection area in steps S601 to S607 and the process of expanding the current detection area in steps S608 to S609 in the flowchart illustrated in FIG. 11 is performed in the same loop. However, the reduction process and the expansion process can be processed in separate loops. As described above, the expansion process of the current detection area is performed in a range that does not enter the current detection area of other keys. If the processing order of the key whose detection area is to be reduced is later, the expansion width of the current detection area of another key may be limited by the current detection area before the reduction of the key. This problem can be solved by making the reduction process and the extension process separate loops.

図20は、図18に記載した初期拡張処理の結果を説明する図である。ある画面で有効入力があり、LCD207の画面が変更されるパターンは大きく2つに分けられる。第1のパターンは、図19(a)の画面で有効入力があった後、新たな画面が図20(a)の画面表示となる場合である。この第1のパターンでは、キー配置などの画面の基本構成は変化せず、画面に表示されるキーなどの要素の状態だけが変化する。図20(a)では、有効入力のあったキー(KEY01)の表示が反転表示に切り替わっている。第2のパターンは、図19(a)の画面で、有効入力があった後、図20(b)の画面表示となる場合である。例えば、モード設定等の画面遷移を伴う機能を指定するためのキーが選択された場合である。この第2のパターンでは、キー配置などの画面の基本構成が全く異なる画面に遷移する。前記、第1及び第2のいずれのパターンであっても、図18に記載した初期拡張処理の処理内容は同一である。   FIG. 20 is a diagram for explaining the result of the initial extension process described in FIG. There are two types of patterns in which there is valid input on a screen and the screen of the LCD 207 is changed. The first pattern is a case where after a valid input is made on the screen of FIG. 19A, a new screen becomes the screen display of FIG. In the first pattern, the basic configuration of the screen such as key arrangement does not change, and only the state of elements such as keys displayed on the screen changes. In FIG. 20A, the display of the key (KEY01) for which valid input has been made is switched to the reverse display. The second pattern is a case where the screen display of FIG. 20B is displayed after valid input is made on the screen of FIG. 19A. For example, this is a case where a key for designating a function with screen transition such as mode setting is selected. In the second pattern, the screen transitions to a completely different screen basic configuration such as key layout. The process contents of the initial extension process described in FIG. 18 are the same for both the first and second patterns.

初期拡張処理で現検知領域が拡張される場合には、図18のステップS901において、拡張指示フラグは1であるため、YESに進む。ステップS902において、LCD207に表示された全てのキーの現検知領域を拡張する。また、キーの検知領域のうち、初期拡張方向条件の方向に面する辺のみが拡張される。本例では、初期拡張方向条件は、図20(a)及び(b)中、矢印で示した方向であるため、各キーの現検知領域の上辺と右辺が拡張される。また、拡張幅は初期拡張幅条件(W)である。LCD207に表示された全てのキーの現検知領域が拡張されると、拡張指示フラグが0に変更され(ステップS903)、サブルーチンが終了し、変更後の現検知領域で次の入力があるまで待機することとなる。   If the current detection area is expanded in the initial expansion process, the expansion instruction flag is 1 in step S901 in FIG. In step S902, the current detection areas of all keys displayed on the LCD 207 are expanded. Further, only the side facing the direction of the initial extension direction condition in the key detection area is extended. In this example, since the initial extension direction condition is the direction indicated by the arrow in FIGS. 20A and 20B, the upper side and the right side of the current detection area of each key are extended. The extension width is an initial extension width condition (W). When the current detection areas of all the keys displayed on the LCD 207 are expanded, the expansion instruction flag is changed to 0 (step S903), the subroutine is terminated, and it waits for the next input in the current detection area after the change. Will be.

有効入力がされた後、例えば、現検知領域が図20(a)の状態になった後に無効入力がされた場合の処理について簡単に説明する。図11に記載した無効入力処理において、まずKEY00の処理が行われる。現検知領域が拡張されているためステップS601でYESに進み、直前の入力は無効入力ではないためステップS602でNOに進み、現検知領域の初期化処理が行われる(ステップS606)。続いて、現検知領域を拡張する対象のキーか否かが判断され(ステップS608)、対象のキーであった場合(ステップS608でYES)には、現検知領域が拡張される(ステップS609)。同様の処理がKEY01、KEY02、KEY10、KEY11、KEY12に対して行われる。前記のように、有効入力によって現検知領域が拡張された状態で、無効入力がされた場合には、有効入力による拡張幅は初期化され、今回の無効入力による拡張幅でのみ、現検知領域が拡張される。   For example, a process when an invalid input is made after the valid input has been made, for example, after the current detection area has entered the state of FIG. In the invalid input process shown in FIG. 11, the process of KEY00 is first performed. Since the current detection area is expanded, the process proceeds to YES in step S601. Since the previous input is not an invalid input, the process proceeds to NO in step S602, and the current detection area is initialized (step S606). Subsequently, it is determined whether or not the key is a target key for extending the current detection region (step S608). If the key is a target key (YES in step S608), the current detection region is expanded (step S609). . Similar processing is performed for KEY01, KEY02, KEY10, KEY11, and KEY12. As described above, when an invalid input is made in a state where the current detection area is expanded by the valid input, the extension width by the valid input is initialized, and the current detection area only by the extension width by the current invalid input. Is expanded.

上述した実施形態では、図11に記載したステップS604及びS608において、キーの表示領域が無効入力座標周辺の選択判断領域に含まれるか否かによって、現検知領域の拡張を行うキーか否かを判断している。しかし、前記判断の別の条件として、無効入力座標から最も近くに表示されているキーを現検知領域の拡張を行うキーとすることができる。図21(a)は、該形態での拡張後の現検知領域を説明する図である。実線枠、破線枠、網点部の意味は図19と同一である。点1は無効入力がタッチされた位置を示す。図21(a)では、無効入力座標の最も近くに表示されているKEY12の現検知領域のみが拡張されている。また、現検知領域の拡張を行うキーか否かの別の判断条件として、LCD207に表示された全てのキーを現検知領域の拡張を行うキーとすることもできる。図21(b)は、該形態での、拡張後の現検領域を説明する図である。   In the above-described embodiment, in steps S604 and S608 described in FIG. 11, it is determined whether or not the key is a key for extending the current detection area depending on whether or not the key display area is included in the selection determination area around the invalid input coordinates. Deciding. However, as another condition for the determination, a key displayed closest to the invalid input coordinates can be used as a key for expanding the current detection area. FIG. 21A is a diagram for explaining the current detection area after expansion in this mode. The meanings of the solid line frame, the broken line frame, and the halftone dot portion are the same as those in FIG. Point 1 indicates the position where the invalid input is touched. In FIG. 21A, only the current detection area of the KEY 12 displayed closest to the invalid input coordinates is expanded. Further, as another determination condition as to whether or not the key is for extending the current detection area, all the keys displayed on the LCD 207 can be used as keys for extending the current detection area. FIG. 21B is a diagram for explaining the current inspection area after expansion in this mode.

また、前記実施形態では、図11に記載したステップS605及びS609において、キーの現検知領域の辺のうち、入力座標に面する辺のみを拡張する辺としている。しかし、別の拡張方法として、キーの現検知領域の全ての辺を拡張する辺とすることができる。図22は、該形態での拡張後の現検知領域を説明する図である。実線枠、破線枠、網点部、一点鎖線枠の意味は図19と同一である。点1は無効入力がタッチされた位置を示す。   In the embodiment, in steps S605 and S609 illustrated in FIG. 11, only the side facing the input coordinates among the sides of the current detection area of the key is set as an extended side. However, as another extension method, all sides of the current detection area of the key can be extended sides. FIG. 22 is a diagram for explaining the current detection area after expansion in this mode. The meanings of the solid line frame, the broken line frame, the halftone dot portion, and the one-dot chain line frame are the same as those in FIG. Point 1 indicates the position where the invalid input is touched.

また、前記実施形態では、図11に記載したステップS609において、現検知領域の拡張幅はあらかじめ決められた一定幅としており、現検知領域の拡張を行うキーの全てで同一としている。しかし、現検知領域の拡張幅を決定する別の方法として、入力座標から現検知領域を拡張するキーの表示領域までの距離に応じて、拡張幅を決定することができる。また、その場合には入力座標に近いキーほど拡張幅を大きく、遠いキーほど拡張幅を小さくすることが好ましい。図23は、該形態での拡張後の現検知領域を説明する図である。実線枠、破線枠、網点部、一点鎖線枠の意味は図19と同一である。点1は無効入力がタッチされた位置を示す。   Further, in the above embodiment, in step S609 described in FIG. 11, the extension width of the current detection area is set to a predetermined constant width, and is the same for all keys for extending the current detection area. However, as another method for determining the extension width of the current detection area, the extension width can be determined according to the distance from the input coordinates to the display area of the key that extends the current detection area. In this case, it is preferable that the key closer to the input coordinates has a larger expansion width and the key farther away has a smaller expansion width. FIG. 23 is a diagram for explaining the current detection area after expansion in this mode. The meanings of the solid line frame, the broken line frame, the halftone dot portion, and the one-dot chain line frame are the same as those in FIG. Point 1 indicates the position where the invalid input is touched.

図5に記載したフローチャートのステップS105のその他の処理において、MFPが実行中の動作が完了した時点で、現検知領域を初期化する処理を行うことができる。たとえば、コピー指示したドキュメントの出力が完全に終了した時点で、現検知領域の初期化を行う。動作が完了した時点で、ユーザの目的は達成されており、以前の入力による拡張幅をそのまま残しておくことによって発生する誤検知性の悪化を抑制することができる。
また、図5に記載したフローチャートのステップS105のその他の処理において、一定時間以上の間、入力装置に対する入力がなされなかった場合に、現検知領域を初期化する処理を行うことができる。一定時間以上の間、入力装置に対する入力がなされなかった場合には、以前の入力をしたユーザと次の入力をするユーザが異なる可能性が高い。よって、現検知領域の初期化を行うことで、以前の入力による拡張幅をそのまま残しておくことによって発生する誤検知性の悪化を抑制することができる。
In other processing of step S105 in the flowchart illustrated in FIG. 5, when the operation being executed by the MFP is completed, processing for initializing the current detection area can be performed. For example, the current detection area is initialized when the output of the document instructed to copy is completely completed. At the time when the operation is completed, the user's purpose has been achieved, and it is possible to suppress the deterioration of misdetection caused by leaving the expansion width of the previous input as it is.
Further, in the other processing in step S105 of the flowchart shown in FIG. 5, when no input is made to the input device for a predetermined time or longer, processing for initializing the current detection area can be performed. If no input is made to the input device for a certain period of time or more, there is a high possibility that the user who made the previous input and the user who makes the next input are different. Therefore, by performing initialization of the current detection area, it is possible to suppress the deterioration of the misdetection that occurs when the extension width from the previous input is left as it is.

また、MFPが、ユーザを識別する機能を有している場合に、図5に記載したフローチャートのステップS105のその他の処理において、ユーザの変更がされた場合に、現検知領域を初期化する処理を行うことができる。ユーザ変更時に現検知領域の初期化を行うことで、異なるユーザの入力に起因した拡張幅をそのまま残しておくことによって発生する誤検知性の悪化を抑制することができる。   In addition, when the MFP has a function of identifying a user, a process for initializing the current detection area when the user is changed in the other process of step S105 of the flowchart illustrated in FIG. It can be performed. By initializing the current detection area when the user is changed, it is possible to suppress the deterioration of the misdetection caused by leaving the extension width caused by the input of a different user as it is.

以上、変形例について個々独立に説明したが、これらの変形例を2つ以上組み合わせて実施してもよい。   As mentioned above, although the modification was demonstrated individually independently, you may implement combining these two or more modifications.

以上の説明では、キーをMFPの機能を設定するためのボタンとして表現しているが、キーには、例えばアイコンや文字表示などGUIにおける選択肢の表示として使用されるもの全てが含まれると考えるべきである。   In the above description, the key is expressed as a button for setting the function of the MFP. However, it should be considered that the key includes everything used for displaying options in the GUI such as an icon and a character display. It is.

前記実施形態では、タッチパネル入力装置をMFPに使用しているが、他の情報機器等に使用しても良い。また、前記実施形態では、タッチパネル入力装置の例を記載したが、画面上のキーをマウス等のポインティングデバイス等で選択する形態であってもよい。開示された実施の形態は全ての点で例示であって、制限的なものではないと考えるべきである。   In the embodiment, the touch panel input device is used for the MFP, but may be used for other information devices. Moreover, although the example of the touch panel input device has been described in the embodiment, a form in which a key on the screen is selected with a pointing device such as a mouse may be used. The disclosed embodiments are to be considered in all respects only as illustrative and not restrictive.

本発明の実施形態の1つである入力装置を備えたMFPの構成を示す図である。1 is a diagram illustrating a configuration of an MFP including an input device that is one embodiment of the present invention. FIG. タッチパネル入力装置103の平面図である。3 is a plan view of a touch panel input device 103. FIG. タッチパネル入力装置103の制御ブロック図である。5 is a control block diagram of the touch panel input device 103. FIG. タッチパネル309の原理説明図である。It is a principle explanatory view of a touch panel. パネル処理制御部301のメインルーチンを示したフローチャートである。5 is a flowchart showing a main routine of a panel processing control unit 301. 図5の表示制御処理(ステップS103)のサブルーチンを示したフローチャートである。It is the flowchart which showed the subroutine of the display control process (step S103) of FIG. 図6のLCD表示変更処理(ステップS204)のサブルーチンを示したフローチャートである。It is the flowchart which showed the subroutine of the LCD display change process (step S204) of FIG. 検知領域情報を説明する図である。It is a figure explaining detection area information. 図5の入力制御処理(ステップS104)のサブルーチンを示したフローチャートである。It is the flowchart which showed the subroutine of the input control process (step S104) of FIG. 図9のタッチパネル入力処理(ステップS404)のサブルーチンを示したフローチャートである。10 is a flowchart showing a subroutine of touch panel input processing (step S404) in FIG. 図10の無効入力処理(ステップS504)のサブルーチンを示したフローチャートである。11 is a flowchart showing a subroutine of invalid input processing (step S504) in FIG. 検知領域の拡張処理において拡張する外周部分を決定する方法を説明する図であるIt is a figure explaining the method to determine the outer peripheral part extended in the expansion process of a detection region. 図11のステップS607における、現検知領域の縮小処理を説明する図である。It is a figure explaining the reduction process of the present detection area | region in step S607 of FIG. 図11のステップS609における、現検知領域の拡張処理を説明する図である。It is a figure explaining the expansion process of the present detection area | region in step S609 of FIG. 図10の有効入力処理(ステップS503)のサブルーチンを示したフローチャートである。It is the flowchart which showed the subroutine of the effective input process (step S503) of FIG. 図15のステップS702における初期拡張条件の決定方法を説明する図である。It is a figure explaining the determination method of the initial expansion conditions in step S702 of FIG. 図9のハードキー入力処理(ステップS402)のサブルーチンを示したフローチャートである。10 is a flowchart showing a subroutine of hard key input processing (step S402) of FIG. 図7の初期拡張処理(ステップS303)のサブルーチンを示したフローチャートである。FIG. 8 is a flowchart showing a subroutine of initial extension processing (step S303) in FIG. 7; FIG. 無効入力時に行われる処理内容を説明する図である。It is a figure explaining the processing content performed at the time of invalid input. 初期拡張処理を説明する図である。It is a figure explaining an initial expansion process. 検知領域の拡張を行うキーの判断条件を変えた場合の検知領域の拡張結果を説明する図である。It is a figure explaining the expansion result of a detection area when the judgment conditions of the key which expands a detection area are changed. キーの有する全ての外周に面する検知領域を拡張した場合の検知領域の拡張結果を説明する図である。It is a figure explaining the expansion result of the detection area at the time of expanding the detection area which faces all the perimeters which a key has. 拡張幅を無効入力座標からキー表示までの距離に応じて変更した場合の検知領域の拡張結果を説明する図である。It is a figure explaining the expansion result of a detection field at the time of changing expansion width according to the distance from invalid input coordinates to key display.

符号の説明Explanation of symbols

101 スキャナ部
102 プリンタ部
103 タッチパネル入力装置
104 スキャナ光学部
105 アナログ処理部
106 入力画像処理部
107 画像記憶部
108 出力画像処理部
109 半導体レーザ部
110 作像部
111 給紙カセット部
112 排出部
113 原稿搬送部
201 スタートキー
202 ストップキー
203 リセットキー
204 機能選択キー
205 テンキー
206 クリアキー
207 LCD
208 LED
301 パネル処理制御部
302 表示部
303 入力受付部
304 記憶部
305 本体制御部
306 VRAM
307 LCDコントローラ
308 LCDバックライト
309 タッチパネル
310 ハードキー
311 ROM
312 RAM
DESCRIPTION OF SYMBOLS 101 Scanner part 102 Printer part 103 Touch panel input device 104 Scanner optical part 105 Analog processing part 106 Input image processing part 107 Image storage part 108 Output image processing part 109 Semiconductor laser part 110 Imaging part 111 Paper feed cassette part 112 Discharge part 113 Manuscript Transport unit 201 Start key 202 Stop key 203 Reset key 204 Function selection key 205 Numeric keypad 206 Clear key 207 LCD
208 LED
301 Panel Processing Control Unit 302 Display Unit 303 Input Accepting Unit 304 Storage Unit 305 Main Unit Control Unit 306 VRAM
307 LCD controller 308 LCD backlight 309 Touch panel 310 Hard key 311 ROM
312 RAM

Claims (14)

少なくとも1つ以上のキーを含む画面を表示する表示手段と、
前記画面上の座標の入力を受け付ける入力受付手段と、
前記入力受付手段によって入力が受け付けられた場合に、該入力の座標と前記表示手段により表示されたキーが選択されたことを検知するための検知領域とを比較し、いずれのキーが選択されたかを判別するキー選択判別手段と、
前記キー選択判別手段により、いずれのキーも選択されていないと判別された場合に、前記画面上に表示されたキーの検知領域を拡張し、新たな検知領域とする第1の検知領域拡張手段とを有する入力装置。
Display means for displaying a screen including at least one or more keys;
Input accepting means for accepting input of coordinates on the screen;
When an input is received by the input receiving means, the coordinates of the input are compared with a detection area for detecting that the key displayed by the display means is selected, and which key is selected. A key selection determining means for determining
First detection area expansion means for expanding the detection area of the key displayed on the screen to be a new detection area when it is determined by the key selection determination means that no key is selected. And an input device.
前記第1の検知領域拡張手段は、前記入力受付手段が入力を受け付けた座標から所定距離内にあるキーの検知領域のみを拡張する請求項1に記載の入力装置。   2. The input device according to claim 1, wherein the first detection area extending unit extends only a detection area of a key located within a predetermined distance from the coordinate received by the input receiving unit. 前記第1の検知領域拡張手段は、前記入力受付手段が入力を受け付けた座標から最短距離にあるキーの検知領域のみを拡張する請求項1に記載の入力装置。   2. The input device according to claim 1, wherein the first detection area extending unit extends only a key detection area located at a shortest distance from a coordinate at which the input receiving unit has received an input. 前記第1の検知領域拡張手段は、前記表示手段に表示された画面に含まれる全てのキーの検知領域を拡張する請求項1に記載の入力装置。   The input device according to claim 1, wherein the first detection area extending unit extends a detection area of all keys included in a screen displayed on the display unit. 前記第1の検知領域拡張手段は、キーの検知領域が有する外周のうち、前記入力受付手段が入力を受け付けた座標に面する部分のみを拡張するように、該キーの検知領域を拡張する請求項1乃至4のいずれか一に記載の入力装置。   The first detection area extending means extends the key detection area so as to extend only a portion of the outer periphery of the key detection area that faces the coordinates received by the input receiving means. Item 5. The input device according to any one of Items 1 to 4. 前記第1の検知領域拡張手段は、キーの検知領域の全外周を拡張する請求項1乃至4のいずれか一に記載の入力装置。   5. The input device according to claim 1, wherein the first detection area extending unit extends the entire outer periphery of the key detection area. 前記第1の検知領域拡張手段は、前記入力受付手段が入力を受け付けた座標に近いキーほど拡張幅を大きく、遠いキーほど拡張幅を小さくするように前記キーの検知領域を拡張する請求項1乃至6のいずれか一に記載の入力装置。   The first detection area extending means extends the key detection area so that the key closer to the coordinate received by the input receiving means has a larger expanded width and the farther the key, the smaller the expanded width. The input device according to any one of 1 to 6. 前記入力受付手段が入力を受け付け、前記キー選択判別手段によりいずれのキーも選択されていないと判別された場合に、検知領域が該入力前に拡張されていたキーについては、該入力前に拡張されていた検知領域を縮小する検知領域縮小手段を更に有する請求項1乃至7のいずれか一に記載の入力装置。   When the input receiving unit receives an input and the key selection determining unit determines that no key is selected, the key whose detection area has been expanded before the input is expanded before the input. The input device according to claim 1, further comprising a detection area reduction unit that reduces the detection area that has been set. 前記検知領域縮小手段は、前記入力前に検知領域が拡張されていたキーの、該入力によって拡張されるべき検知領域の外周部分が、直前の入力によって拡張された検知領域の外周部分と異なる場合に、前記拡張されていた検知領域を縮小する請求項8に記載の入力装置。   The detection area reduction means, when the outer peripheral part of the detection area to be expanded by the input of the key whose detection area has been expanded before the input is different from the outer peripheral part of the detection area expanded by the previous input The input device according to claim 8, wherein the expanded detection area is reduced. 前記入力受付手段が入力を受け付け、直前に入力された座標が、今回入力された座標から所定距離外にある場合に、検知領域が該入力前に拡張されていたキーについては、該入力前に拡張されていた検知領域を初期化する第1の検知領域初期化手段を更に有する請求項1乃至9のいずれか一に記載の入力装置。   When the input accepting means accepts an input and the coordinates input immediately before are outside the predetermined distance from the coordinates input this time, the key whose detection area has been expanded before the input is The input device according to claim 1, further comprising first detection area initialization means for initializing the extended detection area. 前記入力受付手段が入力を受け付け、前記キー選択判別手段によりいずれかのキーが選択されたと判別された場合に、検知領域が該入力前に拡張されていたキーについては、該入力前に拡張されていた検知領域の拡張領域を初期化する第2の検知領域初期化手段を更に有する請求項1乃至10のいずれか一に記載の入力装置。   When the input receiving unit receives an input and the key selection determining unit determines that any key has been selected, a key whose detection area has been expanded before the input is expanded before the input. The input device according to any one of claims 1 to 10, further comprising second detection area initialization means for initializing an extended area of the detection area. 前記入力受付手段が入力を受け付け、前記キー選択判別手段によりいずれかのキーが選択されたと判別され、且つ該入力の座標が該選択されたキーの拡張されていない初期の検知領域よりも外側であった場合に、該キーの選択に応じて表示された画面上のキーの検知領域を拡張する第2の検知領域拡張手段を更に有する請求項11に記載の入力装置。   The input accepting means accepts an input, and it is determined that any key is selected by the key selection determining means, and the coordinates of the input are outside the initial detection area where the selected key is not expanded. The input device according to claim 11, further comprising: a second detection area expanding unit that expands a key detection area on the screen displayed in response to selection of the key. 少なくとも1つ以上のキーが表示された画面上の座標の入力を受け付ける入力受付ステップと、
前記入力受付があった場合に、該入力の座標と前記画面に表示されたキーが選択されたことを検知するための検知領域とを比較し、いずれのキーが選択されたかを判別するキー選択判別ステップと、
前記キー選択判別ステップにおいて、いずれのキーも選択されていないと判別された場合に、前記画面上に表示されたキーの検知領域を拡張し、新たな検知領域とする検知領域拡張ステップとを有する入力受付処理方法。
An input receiving step for receiving input of coordinates on the screen on which at least one or more keys are displayed;
Key selection for comparing the input coordinates with a detection area for detecting that a key displayed on the screen is selected and determining which key is selected when the input is received A determination step;
In the key selection determining step, when it is determined that no key is selected, a detection region extending step is performed in which the detection region of the key displayed on the screen is expanded to be a new detection region. Input reception processing method.
少なくとも1つ以上のキーを含む画面を表示するステップと、
前記画面上の座標の入力を受け付ける入力受付ステップと、
前記入力受付があった場合に、該入力の座標と前記画面に表示されたキーが選択されたことを検知するための検知領域とを比較し、いずれのキーが選択されたかを判別するキー選択判別ステップと、
前記キー選択判別ステップにおいて、いずれのキーも選択されていないと判別された場合に、前記画面上に表示されたキーの検知領域を拡張し、新たな検知領域とする検知領域拡張ステップとをコンピュータに実行させる入力受付処理プログラム。
Displaying a screen including at least one or more keys;
An input receiving step for receiving input of coordinates on the screen;
Key selection that compares the input coordinates with a detection area for detecting that a key displayed on the screen is selected and determines which key is selected when the input is accepted A determination step;
In the key selection determining step, when it is determined that no key is selected, a detection area extending step for expanding the detection area of the key displayed on the screen to be a new detection area is performed by the computer. An input reception processing program to be executed.
JP2007186099A 2007-07-17 2007-07-17 Input device, input reception processing method and input reception processing program Pending JP2009025903A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007186099A JP2009025903A (en) 2007-07-17 2007-07-17 Input device, input reception processing method and input reception processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007186099A JP2009025903A (en) 2007-07-17 2007-07-17 Input device, input reception processing method and input reception processing program

Publications (1)

Publication Number Publication Date
JP2009025903A true JP2009025903A (en) 2009-02-05

Family

ID=40397677

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007186099A Pending JP2009025903A (en) 2007-07-17 2007-07-17 Input device, input reception processing method and input reception processing program

Country Status (1)

Country Link
JP (1) JP2009025903A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010238078A (en) * 2009-03-31 2010-10-21 Toshiba Corp Mobile terminal
JP2011134120A (en) * 2009-12-24 2011-07-07 Brother Industries Ltd Input device and input control program
JP2011159006A (en) * 2010-01-29 2011-08-18 Kyocera Mita Corp Operation device and image forming apparatus including the same
KR20130084389A (en) * 2012-01-17 2013-07-25 삼성전자주식회사 Method for providing touch interface, machine-readable storage medium and portable terminal
WO2013136838A1 (en) * 2012-03-14 2013-09-19 Necカシオモバイルコミュニケーションズ株式会社 Electronic device, information processing method, and program
JP2014222549A (en) * 2014-09-03 2014-11-27 京セラ株式会社 Input device and portable terminal
JP5755219B2 (en) * 2010-03-26 2015-07-29 レノボ・イノベーションズ・リミテッド(香港) Mobile terminal with touch panel function and input method thereof
JP2020149278A (en) * 2019-03-13 2020-09-17 セイコーエプソン株式会社 Electronic apparatus and program

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010238078A (en) * 2009-03-31 2010-10-21 Toshiba Corp Mobile terminal
JP2011134120A (en) * 2009-12-24 2011-07-07 Brother Industries Ltd Input device and input control program
JP2011159006A (en) * 2010-01-29 2011-08-18 Kyocera Mita Corp Operation device and image forming apparatus including the same
JP5755219B2 (en) * 2010-03-26 2015-07-29 レノボ・イノベーションズ・リミテッド(香港) Mobile terminal with touch panel function and input method thereof
KR20130084389A (en) * 2012-01-17 2013-07-25 삼성전자주식회사 Method for providing touch interface, machine-readable storage medium and portable terminal
KR101991493B1 (en) 2012-01-17 2019-06-20 삼성전자주식회사 Method for providing touch interface, machine-readable storage medium and portable terminal
WO2013136838A1 (en) * 2012-03-14 2013-09-19 Necカシオモバイルコミュニケーションズ株式会社 Electronic device, information processing method, and program
JPWO2013136838A1 (en) * 2012-03-14 2015-08-03 Necカシオモバイルコミュニケーションズ株式会社 Electronic device, information processing method and program
JP2014222549A (en) * 2014-09-03 2014-11-27 京セラ株式会社 Input device and portable terminal
JP2020149278A (en) * 2019-03-13 2020-09-17 セイコーエプソン株式会社 Electronic apparatus and program

Similar Documents

Publication Publication Date Title
JP2009025903A (en) Input device, input reception processing method and input reception processing program
JP4037378B2 (en) Information processing apparatus, image output apparatus, information processing program, and recording medium
US8271900B2 (en) Inputting apparatus
US9367222B2 (en) Information processing apparatus, method of controlling the same, and storage medium
JP2010244520A (en) Information input device, image forming apparatus, position determination method, and position determination program
JP2010152685A (en) Position detecting method and apparatus
JP2009075778A (en) Input device, input acceptance processing method and input acceptance processing program
US9875014B2 (en) Input apparatus and storage medium storing input control program
JP6163965B2 (en) Touch panel input device
JP6631582B2 (en) Operation input device, information processing device, operation input method
JP6607083B2 (en) Program and information processing apparatus
JP6350497B2 (en) Display input device, image processing device, and display input method
JP2009031913A (en) Operation device and image forming apparatus
JP2009031914A (en) Operation device and image forming apparatus
JP2011232988A (en) Input device and input control program
US10977343B2 (en) Display input device for receiving password input, information processing apparatus, display input method
US10681228B2 (en) Display device, control method of display device, and program
US9819817B2 (en) Display input device and method of controlling display input device
JP6176284B2 (en) Operation display system, operation display device, and operation display program
JP5949211B2 (en) Display control device, remote operation system, remote operation method, and remote operation program
US9041947B2 (en) Display apparatus, electronic apparatus, and image forming apparatus that hides non-specified images at the same hierarchical level as a specified image
JP5948294B2 (en) Touch panel device and image forming apparatus having the same
JP2011175516A (en) Input device and input control program
US10965825B2 (en) Image reading apparatus comprising display panel which serves as operation portion and image reader, image forming apparatus, non-transitory storage medium, and control method
JPWO2018185936A1 (en) Image forming device