JP2010217748A - Display device and display program - Google Patents
Display device and display program Download PDFInfo
- Publication number
- JP2010217748A JP2010217748A JP2009066607A JP2009066607A JP2010217748A JP 2010217748 A JP2010217748 A JP 2010217748A JP 2009066607 A JP2009066607 A JP 2009066607A JP 2009066607 A JP2009066607 A JP 2009066607A JP 2010217748 A JP2010217748 A JP 2010217748A
- Authority
- JP
- Japan
- Prior art keywords
- display
- instruction image
- contact position
- display device
- cursor
- 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
Links
Images
Landscapes
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
- Controls And Circuits For Display Device (AREA)
- Devices For Indicating Variable Information By Combining Individual Elements (AREA)
Abstract
【課題】表示画面への接触位置が検出可能な表示装置において、所望する項目や領域の選択容易性が向上した表示装置及び表示用プログラムを提供することを目的とするものであある。
【解決手段】操作者が表示画面35に触れている位置を接触位置tとして検出する接触位置検出手段と、接触位置tに基づいてカーソル表示位置dを演算する指示画像表示位置演算手段と、カーソル表示位置dに指示位置sを示すカーソル50を表示画面35に表示させる表示制御手段と、タッチ位置tに基づいてタッチ位置tとは異なる指示位置sを演算する指示位置演算手段と、を備えている構成を有する。
【選択図】 図1An object of the present invention is to provide a display device and a display program in which the ease of selecting a desired item or region is improved in a display device capable of detecting a contact position on a display screen.
Contact position detection means for detecting a position where an operator touches a display screen as a contact position t, instruction image display position calculation means for calculating a cursor display position d based on the contact position t, a cursor Display control means for displaying a cursor 50 indicating the indicated position s at the display position d on the display screen 35, and indicated position calculating means for calculating an indicated position s different from the touch position t based on the touch position t. It has the composition which is.
[Selection] Figure 1
Description
本発明は、表示画面を備えた表示装置であって当該表示画面への接触位置が検出可能な表示装置、及び表示用プログラムに関する。 The present invention relates to a display device having a display screen, which can detect a contact position on the display screen, and a display program.
従来から、銀行の自動現金払出装置やゲーム装置等の種々の分野において、それらの装置の表示画面に直接触れて各種項目等を選択するタッチパネル方式が採用されている。 2. Description of the Related Art Conventionally, in various fields such as bank automatic cash payout devices and game devices, a touch panel method has been adopted in which various items are selected by directly touching the display screens of these devices.
タッチパネル方式は、表示画面を備えた表示装置であって当該表示画面への接触位置が検出可能な表示装置において、表示画面に接触させることにより接触位置を確定し、その接触位置に表示されている項目や画像に関する処理を行う。 The touch panel method is a display device having a display screen, and in a display device capable of detecting a contact position on the display screen, the touch position is determined by contacting the display screen and displayed at the contact position. Performs processing related to items and images.
詳細には、例えば、表示装置のCPUは、表示画面が押圧されたときに発生する入力信号から<X座標、Y座標>を算出し、押圧された位置が表示画面上の項目の領域かそれ以外の領域かの判断を行う。押圧された位置が表示画面上の項目の領域であればその表示内容に従った処理を行う。 Specifically, for example, the CPU of the display device calculates <X coordinate, Y coordinate> from an input signal generated when the display screen is pressed, and the pressed position is an item area on the display screen. Judgment of areas other than. If the pressed position is an item area on the display screen, processing according to the display content is performed.
近年、上記タッチパネル方式の表示装置としては、例えば、小型の画面を有するもので選択領域の狭い装置や、従来から使用されている細いタッチペンでの入力が困難な静電容量方式を採用した装置等も提案されている。特にこれらの装置においては、操作者が所望する項目や領域に接触して選択することが困難であり、その選択精度のさらなる向上を図ることが好ましく、この点、未だ改良の余地がある。 In recent years, as the touch panel display device, for example, a device having a small screen and a narrow selection area, a device adopting a capacitance method that is difficult to input with a conventionally used thin touch pen, etc. Has also been proposed. Particularly in these devices, it is difficult for an operator to make a selection in contact with an item or region desired, and it is preferable to further improve the selection accuracy, and there is still room for improvement.
本発明は、上記事情に鑑みなされたものであり、表示画面への接触位置が検出可能な表示装置において所望する項目や領域の選択容易性が向上した表示装置及び表示用プログラムを提供することを目的とするものである。 The present invention has been made in view of the above circumstances, and provides a display device and a display program with improved ease of selection of desired items and areas in a display device capable of detecting a contact position on a display screen. It is the purpose.
以下、上記課題を解決するのに有効な手段等につき、必要に応じて作用、効果等を示しつつ説明する。 Hereinafter, means and the like effective for solving the above-described problems will be described while showing functions and effects as necessary.
(1)本発明に係る表示装置は、表示画面を有する表示装置であって、操作者が前記表示画面に触れている位置を接触位置として検出する接触位置検出手段と、前記接触位置に基づいて指示画像表示位置を演算する指示画像表示位置演算手段と、前記指示画像表示位置に指示位置を示す指示画像を前記表示画面に表示させる表示制御手段と、前記接触位置に基づいて前記接触位置とは異なる前記指示位置を演算する指示位置演算手段と、を備えている構成を有する。 (1) A display device according to the present invention is a display device having a display screen, based on the contact position detecting means for detecting a position where an operator touches the display screen as a contact position, and the contact position. Instruction image display position calculating means for calculating an instruction image display position, display control means for displaying an instruction image indicating the instruction position at the instruction image display position on the display screen, and the contact position based on the contact position And a designated position computing means for computing the different designated positions.
本構成によれば、接触位置とは異なる指示位置が接触位置に基づいて演算される。また、指示位置を示す指示画像が、接触位置に基づいて演算された指示画像表示位置に表示される。すなわち、指示位置を接触位置とずらして設定することができ、その指示位置を示す指示画像を表示することができる。よって、例えば、指で画面に触れる場合に指示位置を指で隠れない部分に設定することができるので、その指示位置を示す指示画像の視認性が向上し指示位置を誤ってしまう等の不都合が生じる可能性を減じることができる。 According to this configuration, an instruction position different from the contact position is calculated based on the contact position. An instruction image indicating the instruction position is displayed at the instruction image display position calculated based on the contact position. That is, it is possible to set the instruction position so as to be shifted from the contact position, and it is possible to display an instruction image indicating the instruction position. Therefore, for example, when the finger touches the screen, the instruction position can be set to a part that is not hidden by the finger, so that there is an inconvenience such that the visibility of the instruction image indicating the instruction position is improved and the instruction position is erroneous. Can reduce the possibility of occurrence.
また、表示画面上に画像を表示させ当該画像を指示した場合に当該画像に対応する処理を実行させる場合は、当該画像の表示領域に対応させて当該処理を設定し、指示位置が当該表示領域に対応する場合に当該処理を実行させる。この場合、画像の表示領域の設定は実際に画像が表示されている位置に基づいて設定すれば良いので、設計の確実性の向上及び工数の削減に貢献することができる。 Further, when an image is displayed on the display screen and the image is designated, when the process corresponding to the image is executed, the process is set corresponding to the display area of the image, and the designated position is the display area. This process is executed when it corresponds to. In this case, the setting of the display area of the image may be set based on the position where the image is actually displayed, which can contribute to improvement of design reliability and reduction of man-hours.
なお、本構成は、指示位置が接触位置に基づいて演算される構成としたが、これには、接触位置に基づいて指示位置が直接演算される構成も、接触位置に基づいて指示画像表示位置が演算され、さらに当該指示画像表示位置に基づいて指示位置が演算されるような間接的に指示位置が演算される構成も含まれる。 In this configuration, the indication position is calculated based on the contact position. However, this includes a configuration in which the indication position is directly calculated based on the contact position, and the indication image display position based on the contact position. And a configuration in which the indicated position is indirectly calculated such that the indicated position is calculated based on the indicated image display position.
また、本構成は、指示画像表示位置が接触位置に基づいて演算される構成としたが、これには、接触位置が指示画像表示位置としてそのまま用いられる構成も、接触位置に基づいて指示画像表示位置が直接演算される構成も、接触位置に基づいて指示位置が演算され、さらに当該指示位置に基づいて指示画像表示位置が演算されるような間接的に指示画像表示位置が演算される構成も含まれる。 In addition, in this configuration, the instruction image display position is calculated based on the contact position, but this includes a configuration in which the contact position is used as the instruction image display position as it is. A configuration in which the position is directly calculated, and a configuration in which the instruction image display position is calculated indirectly such that the instruction position is calculated based on the contact position and the instruction image display position is calculated based on the instruction position. included.
本構成において、「指示位置を示す指示画像」としては、指や矢印等の画像等の位置を指し示していることが操作者に容易に認識できる画像が好適に用いられる。また、指示画像は厳密に指示位置を示している必要はなく、表示画面上のどの範囲を示しているのかを操作者が認識できる程度に示していればよい。 In this configuration, as the “instruction image indicating the instruction position”, an image that allows the operator to easily recognize the position of an image such as a finger or an arrow is preferably used. Further, the instruction image does not need to indicate the instruction position strictly, and it is sufficient to indicate the range on the display screen to the extent that the operator can recognize.
(2)操作者が前記表示画面に触れている状態から触れていない状態になると、前記指示位置に対応する処理が設定されているか否かを判断し、前記処理が設定されている場合は前記処理を実行する対応処理実行手段を備えるとよい。これにより、操作者が表示画面に触れない状態となると指示位置に対応した処理が実行されるので、容易に、かつ直感的にタッチ操作をすることができる。つまり、操作者は、表示画面に触れる(例えば、指で表示画面をタッチする)ことにより所望の位置に指示画像を表示させた状態で、表示画面から離れる(例えば、指を表示画面から離す)ことにより指示位置に対応した処理を実行させることができる。 (2) When the operator touches the display screen from the touched state, it is determined whether or not a process corresponding to the indicated position is set, and if the process is set, Corresponding processing execution means for executing processing may be provided. As a result, when the operator does not touch the display screen, the processing corresponding to the designated position is executed, so that the touch operation can be easily and intuitively performed. That is, the operator leaves the display screen (for example, removes the finger from the display screen) in a state where the instruction image is displayed at a desired position by touching the display screen (for example, touching the display screen with a finger). As a result, processing corresponding to the designated position can be executed.
処理としては指示位置に対応する画像に関する情報の表示や指示位置に対応する画像の変化等がある。 The processing includes displaying information related to the image corresponding to the designated position, changing the image corresponding to the designated position, and the like.
なお、表示画面に触れた状態から触れない状態になったときに、何も処理が実行されない場合は、指示位置に対応する処理が設定されていないということである。このように、指示はできるが(指示画像は表示されるし、指示位置も演算されるが)対応する処理が設定されていない構成にすることにより、表示画面上のどこを指示すれば対応する処理が実行されるかを操作者にとって判別し難くすることも可能である。これにより、例えば、表示画面上に隠された情報を探索するゲーム等において、遊戯性を向上させることができる。 If no process is executed when the display screen is changed from being touched to not being touched, the process corresponding to the designated position is not set. In this way, an instruction can be given (although the instruction image is displayed and the indicated position is calculated), the corresponding processing is not set, so that any point on the display screen is indicated. It is also possible for the operator to make it difficult to determine whether the process is executed. Thereby, playability can be improved, for example in the game etc. which search the information hidden on the display screen.
なお、前記指示位置演算手段は、操作者が前記表示画面に触れた状態から触れない状態になったことを契機として前記指示位置を演算するように構成するとよい。この場合は、離れる直前の接触位置に基づいて指示位置が演算されるので、指示位置を演算する処理頻度を減少させることができ、表示装置の演算処理負担を軽減することができる。 The indicated position calculation means may be configured to calculate the indicated position when the operator has changed from touching the display screen to not touching. In this case, since the indicated position is calculated based on the contact position immediately before leaving, the processing frequency for calculating the indicated position can be reduced, and the calculation processing burden of the display device can be reduced.
(3)前記指示位置は、前記接触位置から上方へ2〜10mm離れた位置であるよい。このような構成にすることにより、指示位置を示す指示画像が表示画面に指を置いた状態で指示位置が指と重なる不都合が生じる可能性を減じることができるとともに、指が触れた位置から離れすぎた位置が指示されることによる操作者の違和感が生じる可能性を減じることができる。また、特に携帯型の表示装置を操作する場合は表示画面の下部側は操作者の手等により隠れることが多いが、指示位置は接触位置から上方へ離れた位置であるので感覚的に操作が行いやすく好ましい。 (3) The indicated position may be a position 2 to 10 mm away from the contact position. With such a configuration, it is possible to reduce the possibility of inconvenience of the pointing position overlapping with the finger when the pointing image indicating the pointing position is placed on the display screen, and to move away from the position touched by the finger. The possibility that the operator feels uncomfortable due to the indication of the excessive position can be reduced. In particular, when operating a portable display device, the lower side of the display screen is often hidden by the operator's hand, etc., but since the indicated position is a position away from the contact position, it can be operated intuitively. It is easy to perform and is preferable.
(4)前記表示制御手段は、操作者が前記表示画面に触れている間のみ前記指示画像を表示させる構成とするとよい。これにより、操作者が表示画面に接触していない間は指示画像が表示されないので表示画面の視認性を向上させることができ、また、操作者が表示画面に触れることにより指示画像が表示されるので操作感を向上させることができる。また、上記(2)の構成と組み合わせることにより、表示画面に触れている状態では指示画像が表示され、表示画面から指等を離すことにより対応する処理を実行させようとした後は指示画像が表示されないので、指示画像が画面に残って画面の視認性が低下することを抑止できる。 (4) The display control means may be configured to display the instruction image only while an operator touches the display screen. As a result, the instruction image is not displayed while the operator is not touching the display screen, so that the visibility of the display screen can be improved, and the instruction image is displayed when the operator touches the display screen. Therefore, operational feeling can be improved. Further, by combining with the configuration of (2) above, an instruction image is displayed when the display screen is touched, and after the finger or the like is removed from the display screen, the instruction image is displayed. Since it is not displayed, it can suppress that the instruction | indication image remains on a screen and the visibility of a screen falls.
(5)また、前記指示画像表示位置演算手段は、前記指示画像表示位置が所定の範囲を超える場合は、前記指示画像表示位置を予め設定された位置とするとよい。これにより、指示画像が所定の領域(例えば、表示画面やゲーム画面領域)からはみ出して表示されたり、当該所定の領域に表示されないという不都合が生じることを抑止できる。ここで、予め設定された位置としては、表示画面やゲーム画面領域の端部の領域等が設定される。また、指示画像表示位置が横座標X、縦座標Yからなる座標系で示される場合は、横座標X、縦座標Yのうちはみだす方のみを予め設定された値としてもよい。例えば、指示画像表示位置が横方向にはみ出す場合は横座標Xを予め定められた値とする。 (5) Further, the instruction image display position calculating means may set the instruction image display position to a preset position when the instruction image display position exceeds a predetermined range. Thereby, it is possible to prevent the inconvenience that the instruction image is displayed outside a predetermined area (for example, a display screen or a game screen area) or is not displayed in the predetermined area. Here, as the preset position, a display screen, an end area of the game screen area, or the like is set. Further, when the instruction image display position is indicated by a coordinate system including the abscissa X and the ordinate Y, only the one of the abscissa X and ordinate Y that protrudes may be set in advance. For example, when the instruction image display position protrudes in the horizontal direction, the abscissa X is set to a predetermined value.
(6)前記指示位置演算手段は、前記指示位置が所定の範囲を超える場合は、前記指示位置を予め設定された位置とするとよい。これにより、指示位置が所定の領域(例えば、表示画面やゲーム画面領域)からはみ出して設定されたり、指示位置が設定されないという不都合が生じることを抑止できる。ここで、予め設定された位置としては、表示画面やゲーム画面領域の端部の領域等が設定される。また、指示画像表示位置が横座標X、縦座標Yからなる座標系で示される場合は、横座標X、縦座標Yのうちはみだす方のみを予め設定された値としてもよい。例えば、指示画像表示位置が横方向にはみ出す場合は横座標Xを予め定められた値とする。 (6) The indicated position calculation means may set the indicated position to a preset position when the indicated position exceeds a predetermined range. As a result, it is possible to prevent the instructed position from being set out of a predetermined area (for example, a display screen or a game screen area) or the inconvenience that the instructed position is not set. Here, as the preset position, a display screen, an end area of the game screen area, or the like is set. Further, when the instruction image display position is indicated by a coordinate system including the abscissa X and the ordinate Y, only the one of the abscissa X and ordinate Y that protrudes may be set in advance. For example, when the instruction image display position protrudes in the horizontal direction, the abscissa X is set to a predetermined value.
(7)前記接触位置は2軸からなる平面座標系で指定されており、前記指示位置演算手段は、1軸の数値だけに予め設定された値を加算又は減算することにより前記指示位置を演算するとよい。これにより、前記接触位置に予め設定された値を1軸の数値のみに加算又は減算することにより、指示位置を演算することができるので、処理負担が軽減できるとともに容易に指示位置を演算することができる。 (7) The contact position is specified in a two-axis planar coordinate system, and the indicated position calculation means calculates the indicated position by adding or subtracting a preset value only to a numerical value of one axis. Good. As a result, the indicated position can be calculated by adding or subtracting a preset value to the contact position only to the numerical value of one axis, so that the processing load can be reduced and the indicated position can be easily calculated. Can do.
(8)前記接触位置検出手段は、前記接触位置を検出している状態でさらに操作者が前記表示画面の別の位置に触れた場合に、前記別の位置を追加接触位置として検出し、前記指示位置演算手段は、前記接触位置及び前記追加接触位置に基づいて指示位置を演算するとよい。これにより、指示位置演算手段は、接触位置及び追加接触位置の組み合わせによって多様な指示位置を演算することができる。例えば、接触位置と追加接触位置との間隔に応じて接触位置から指示位置までの距離を決定したり、接触位置と追加接触位置とを結ぶ線の延長線上に指示位置が位置されるように演算したりすることができる。 (8) The contact position detection means detects the another position as an additional contact position when the operator touches another position on the display screen while the contact position is detected, The indicated position calculation means may calculate the indicated position based on the contact position and the additional contact position. As a result, the indicated position calculation means can calculate various indicated positions by combining the contact position and the additional contact position. For example, the distance from the contact position to the designated position is determined according to the distance between the contact position and the additional contact position, or the designated position is calculated to be on the extended line connecting the contact position and the additional contact position. You can do it.
(9)前記指示画像表示位置演算手段は、前記接触位置及び前記追加接触位置に基づいて前記指示画像表示位置を演算するとよい。これにより、指示画像表示位置演算手段は、接触位置及び追加接触位置の組み合わせによって多様な指示画像表示位置を演算することができる。例えば、接触位置と追加接触位置との間隔に応じて接触位置から指示画像表示位置までの距離を決定したり、接触位置と追加接触位置とを結ぶ線の延長線上に指示画像表示位置が位置されるように演算したりすることができる。また、接触位置から第1の指示画像表示位置を演算し、追加接触位置から第2の指示画像表示位置を演算し、指示画像の任意の2点を第1の指示画像表示位置及び第2の指示画像表示位置に配置する場合は、第1の指示画像表位置及び第2の指示画像表示位置の位置関係に基づいて指示画像の角度を変更することができる。 (9) The instruction image display position calculation means may calculate the instruction image display position based on the contact position and the additional contact position. Thereby, the instruction image display position calculation means can calculate various instruction image display positions by combining the contact position and the additional contact position. For example, the distance from the contact position to the instruction image display position is determined according to the interval between the contact position and the additional contact position, or the instruction image display position is positioned on the extended line connecting the contact position and the additional contact position. And so on. Further, the first instruction image display position is calculated from the contact position, the second instruction image display position is calculated from the additional contact position, and any two points of the instruction image are calculated as the first instruction image display position and the second instruction image display position. When it is arranged at the instruction image display position, the angle of the instruction image can be changed based on the positional relationship between the first instruction image table position and the second instruction image display position.
(10)前記表示制御手段は、前記接触位置及び前記追加接触位置に対応した前記指示画像を表示させるとよい。これにより、接触位置及び追加接触位置の位置関係等に対応させた画像を表示させることができる。例えば、接触位置と追加接触位置との間隔が広い場合は長い矢印の画像を指示画像として表示させ、当該間隔が狭い場合は短い矢印の画像を指示画像として表示させることができる。 (10) The display control means may display the instruction image corresponding to the contact position and the additional contact position. As a result, an image corresponding to the positional relationship between the contact position and the additional contact position can be displayed. For example, when the interval between the contact position and the additional contact position is wide, a long arrow image can be displayed as an instruction image, and when the interval is narrow, a short arrow image can be displayed as the instruction image.
(11)本発明に係る表示用プログラムは、表示装置のコンピュータに、操作者が前記表示装置の表示画面に触れている位置を接触位置として検出する接触位置検出機能と、前記接触位置に基づいて指示画像表示位置を演算する指示画像表示位置演算機能と、前記指示画像表示位置に指示位置を示す指示画像を前記表示画面に表示させる表示制御機能と、前記接触位置に基づいて前記接触位置とは異なる前記指示位置を演算する指示位置演算機能と、を実現させる。これにより、上記(1)の表示装置の作用・効果を実現させることができる。 (11) A display program according to the present invention is based on a contact position detection function for detecting, as a contact position, a position at which an operator is touching the display screen of the display device, and the contact position. An instruction image display position calculating function for calculating an instruction image display position, a display control function for displaying an instruction image indicating an instruction position on the instruction image display position on the display screen, and the contact position based on the contact position And a command position calculation function for calculating different command positions. Thereby, the effect | action and effect of the display apparatus of said (1) are realizable.
(12)また、本発明に係る別の表示用プログラムは、表示画面と、記憶部と、操作者が前記表示画面に触れている位置を接触位置として検出する接触位置検出手段と、を備えた表示装置の前記記憶部に記憶される表示用プログラムであって、前記表示装置のコンピュータに、前記接触位置に基づいて指示画像表示位置を演算する指示画像表示位置演算機能と、前記指示画像表示位置に指示位置を示す指示画像を前記表示画面に表示させる表示制御機能と、前記接触位置に基づいて前記接触位置とは異なる前記指示位置を演算する指示位置演算機能と、を実現させる。これにより、表示画面と、記憶部と、操作者が前記表示画面に触れている位置を接触位置として検出する接触位置検出手段と、操作者が前記表示画面から離れたことを離間情報として検出する離間検出手段と、を備えた表示装置に、上記(1)の表示装置の作用・効果を実現させることができる。 (12) Another display program according to the present invention includes a display screen, a storage unit, and a contact position detection unit that detects a position where an operator touches the display screen as a contact position. A display program stored in the storage unit of the display device, the instruction image display position calculation function for calculating an instruction image display position based on the contact position on the computer of the display device, and the instruction image display position A display control function for displaying an instruction image indicating the instruction position on the display screen, and an instruction position calculation function for calculating the instruction position different from the contact position based on the contact position. As a result, the display screen, the storage unit, the contact position detecting means for detecting the position where the operator is touching the display screen as the contact position, and the fact that the operator has left the display screen are detected as the separation information. The operation and effect of the display device of (1) can be realized in a display device provided with the separation detecting means.
(13)また、本発明の表示用プログラム又は別の表示用プログラムは、前記表示装置のコンピュータに、操作者が前記表示画面に触れている状態から触れていない状態になると、前記指示位置に対応する処理が設定されているか否かを判断し、前記処理が設定されている場合は前記処理を実行する対応処理実行機能を実現させる。これにより、上記(2)の表示装置の作用・効果を実現させることができる。 (13) Further, the display program of the present invention or another display program corresponds to the indicated position when the operator of the display device is not touched from the touched state of the display screen. It is determined whether or not a process to be performed is set, and if the process is set, a corresponding process execution function for executing the process is realized. Thereby, the effect | action and effect of the display apparatus of said (2) are realizable.
なお、上記別の表示用プログラムは、操作者が前記表示画面に触れている状態から触れていない状態になったことを離間情報として検出する離間検出手段を備えている表示装置のコンピュータに、前記離間情報を検出すると、前記指示位置に対応する処理が設定されているか否かを判断し、前記処理が設定されている場合は前記処理を実行する対応処理実行機能を実現させてもよい。 The another display program is provided in a computer of a display device provided with separation detecting means for detecting separation information that the operator has changed from touching the display screen to not touching the display screen. When the separation information is detected, it may be determined whether or not a process corresponding to the designated position is set, and if the process is set, a corresponding process execution function for executing the process may be realized.
(第1の実施形態)
以下、本発明を具体化した第1の実施形態を図面に基づいて説明する。図1(a)は表示装置の正面図、図1(b)はその側面図である。
(First embodiment)
Hereinafter, a first embodiment of the present invention will be described with reference to the drawings. FIG. 1A is a front view of the display device, and FIG. 1B is a side view thereof.
図1に示すように、表示装置10の表面側中央には表示画面35が配置されている。この表示画面35の上方には各種効果音や音楽等が出力されるスピーカー33が配置されている。また、表示画面35の下方には操作スイッチ32が配置されている。操作スイッチ32を操作することにより、表示装置10の電源入力や表示画面35に表示される項目の選択等を行う。
As shown in FIG. 1, a
表示画面35は、液晶ディスプレイ30(以下、LCD30という)と、LCD30の表面側に配置された接触位置検出手段である静電容量方式のタッチパネル31から構成されている。LCD30は横が320ドット、縦が480ドットの表示領域を有しており、各種画像を表示することが可能である。タッチパネル31は正面視でLCD30とほぼ同一の形状に形成されており、LCD30に表示される画像は前方からタッチパネル31を介して視認可能である。また、タッチパネル31は操作者の指等により触れられた箇所(接触位置であるタッチ位置t)を特定する情報を出力することが可能であり、CPU22(図2参照)は当該情報に基づいて触れられた箇所の横座標X,縦座標Yを認識することが可能である。横座標X,縦座標YはLCD30の表示領域のドット数に対応しており、横座標Xが1から320まで、縦座標Yが1から480までの値をとることが可能である。
The
次に、表示画面35の各表示領域について説明する。表示画面35の表示領域は縦方向に3分割されており、最下部(1ドット)から130ドットまでがテキスト表示領域E4であり、操作者への各種メッセージが表示される。131ドットから450ドットまでが指示画像であるカーソルが表示されるカーソル表示領域E3である。カーソル表示領域に指F等で触れると、接触位置(以下、タッチ位置という)tから上方へ20ドット離れた指示画像表示位置(以下、カーソル表示位置という)dに上下方向の長さが40ドットのカーソル50が表示される。タッチ位置tからカーソル表示位置dまでの距離は、2〜10mm、好ましくは2〜5mmに設定される。カーソル50が指Fに隠れず、かつ指から離れすぎない個所に表示させるためである。カーソル50の先端部は指示位置sを指し示しており、指Fが触れている状態から離れた状態になると指示位置sが選択されるとともにカーソル50が非表示となる。この際、指示位置sに対応する処理(その位置に対応したメッセージの表示や画面の表示等)が設定されていれば、当該処理が実行される。タッチ位置tから指示位置sまでの距離は、7〜10mmに設定される。指示位置sが指Fに隠れず、かつ指から離れすぎない個所に表示させるためである。なお、図1に図示されているタッチ位置t、カーソル表示位置d、指示位置sは実際の表示画面35上には表示されない。
Next, each display area of the
カーソル表示領域E3に表示されているのはゲーム画像であり、ゲーム画像内の各種画像を選択し、メッセージをテキスト表示領域E4に表示させること等により、謎解きをするものである。ゲームのルール等については本発明の主要部ではないので、その説明を省略する。 A game image is displayed in the cursor display area E3, and various mysteries are solved by selecting various images in the game image and displaying a message in the text display area E4. Since the game rules and the like are not the main part of the present invention, the description thereof is omitted.
表示画面35の451ドットから最上部(480ドット)までは、ボタンが表示される領域となっており、この領域にSaveボタン表示領域E1及びConfigボタン表示領域E2が設定されている。Saveボタン表示領域E1及びConfigボタン表示領域E2に操作者が触れている状態から離れた状態となると、各々のボタンが選択され、それぞれに対応する画面(Save画面やConfig画面等)が表示される。
From the 451 dots to the top (480 dots) of the
各領域は、それぞれのXY座標の範囲を表示装置の記憶部に記憶させることにより設定されている。 Each area is set by storing the range of each XY coordinate in the storage unit of the display device.
次に、表示装置10の電気的な構成について説明する。図2は表示装置の電気的な構成を示すブロック図である。
Next, the electrical configuration of the
図1に示すように、CPU22はバス21を介して、ROM23、RAM24、ハードディスク25(以下、「HDD」という)、画像処理プロセッサ26およびインターフェース回路27に接続されている。
As shown in FIG. 1, the
ROM23には、表示装置10起動時のデバイスの初期設定やタスク管理、ファイル管理等を行うOS等が記憶されている。また、HDD25には、OS上で動作するゲーム等の各種アプリケーションプログラムが記憶されている。具体的には、例えば、アプリケーションプログラムがゲームの場合は、実行すべきゲームプログラム、画像データ(背景画像、指形状のカーソル画像、セーブ画面用の画像など)、および音データ等が記憶されている。アプリケーションプログラムはOSからタッチパネル31による検出情報等を受け取り、当該検出情報を利用して各種演算処理を行っている。RAM24は、バッファメモリやワーキングメモリとして使用される。すなわち、CPU22は、RAM24にHDD25に記憶されたゲームプログラム、画像データ、および音データ等を適宜ロードし、ゲームの進行に応じて一時的にコマンドや受信データ等をRAM24に記憶しながらゲームプログラムに従った処理を実行する。RAM24の記憶内容の詳細については後述する。
The
なお、OS、アプリケーションプログラムともにROM23に記憶させても良いし、HDD25に記憶させてもよい。また、OSやアプリケーションプログラムの一部だけをROM23に記憶させ、残りをHDD25に記憶させてもよい。また、記憶すべきOSやアプリケーションプログラムの容量によってはHDD25を構成要素から外してもよい。OSとアプリケーションプログラムの役割分担は適宜設計可能であり、OSとアプリケーションプログラムの機能をひとつのプログラムとして構成したものを採用してもよい。
Note that both the OS and application programs may be stored in the
画像処理プロセッサ26は、所定時間毎(例えば、1/60秒毎)にCPU22からRAM24に書き込まれた画像表示コマンドを読み込み、その画像表示コマンドに従ってRAM24から画像データを取り込み、VRAM28に書き込む。VRAM28に書き込まれた画像データはLCD駆動回路29により、LCD30に出力される。なお、画像処理プロセッサ26、VRAM28、LCD駆動回路29、LCD30が表示制御手段を構成する。
The
インターフェース回路27には、タッチパネル31、操作スイッチ32及びスピーカー33が接続されている。タッチパネル31によってタッチ位置tが検出されるとCPU22にタッチ位置tの位置情報<Xt,Yt>が入力される。以下、タッチ位置tの位置情報<Xt,Yt>をタッチ位置<Xt,Yt>と表現する。
A
操作スイッチ32が操作されると対応する操作信号がインターフェース回路27を介してCPU22に入力される。また、CPU22は、各種効果音や音楽等をインターフェース回路27を介してスピーカーから出力する。
When the
次に、CPU22におけるタッチ検出割り込み処理について説明する。図3はRAM24の記憶領域を示す概略図、図4はCPU22におけるタッチ検出割り込み処理を示すフロー図、図5はCPU22におけるカーソル表示位置の演算処理を示すフロー図である。
Next, touch detection interrupt processing in the
図3に示すように、RAM24にはタッチ位置<Xt,Yt>を記憶するタッチ位置記憶領域38、カーソル表示位置dの位置情報<Xd,Yd>(以下、カーソル表示位置<Xd,Yd>という)を記憶するカーソル表示位置記憶領域36及び指示位置sの位置情報<Xs,Ys>(以下、指示位置<Xs,Ys>という)を記憶する指示位置記憶領域37が設定されている。上記各領域36,37,38はCPU22が各位置情報を出力する毎に書き換えられる。各領域36,37,38の位置情報の書込みタイミングや演算等については後述する。また、RAM24には、CPU22から画像処理プロセッサ26にコマンドを伝達するためのコマンド設定領域40が設定されている。コマンド設定領域40には画像書込みに関する各種コマンドが設定されており、画像処理プロセッサ26は所定時間毎(例えば、1/60秒毎)に当該各種コマンドを読み込み、それぞれのコマンドに対応する画像をVRAM28に書き込む。コマンド設定領域40に書き込まれるコマンドとしては、テキストを表示させるテキスト表示コマンド41、Save画面を表示させるSave画像表示コマンド42、Config画面を表示させるConfig画像表示コマンド43、カーソルを表示させるカーソル表示コマンド44等がある。
As shown in FIG. 3, the
図4及び図5のフロー図に沿って、指示画像表示位置演算手段を構成するCPU22のタッチ検出割り込み処理について説明する。タッチ検出割り込み処理は、CPU22にタッチ位置<Xt,Yt>が入力される度に実行される。すなわち、CPU22はタッチ位置<Xt,Yt>の監視処理を所定時間毎に行っており、当該監視処理においてタッチ位置<Xt,Yt>が検出される度にタッチ検出割り込み処理が実行される。なお、この監視処理はOSにより規定された処理であり、タッチ検出割り込み処理はアプリケーションプログラムにより規定された処理である。
A touch detection interrupt process of the
CPU22は、タッチ位置<Xt,Yt>が検出されるとタッチ検出割り込み処理を開始し、ステップS101においてタッチ位置<Xt,Yt>をRAM24のタッチ位置記憶領域38に記憶させる。ステップS102にて、当該タッチ位置<Xt,Yt>がカーソル表示領域E3内か否かを判断する。具体的には、タッチ位置<Xt,Yt>のY座標Ytが130以上450以下かを判断する。カーソル表示領域E3の横方向の領域は表示画面いっぱい(0ドットから320ドットまで)なので、Xtについては判断する必要がない。
When the touch position <Xt, Yt> is detected, the
タッチ位置<Xt,Yt>がカーソル表示領域E3内であれば、ステップS103に移行し、カーソル表示位置<Xd,Yd>の演算を行う。 If the touch position <Xt, Yt> is within the cursor display area E3, the process proceeds to step S103, and the cursor display position <Xd, Yd> is calculated.
カーソル表示位置<Xd,Yd>の演算は、まず図5のステップS111において、タッチ位置<Xt,Yt>のX座標Xtをカーソル表示位置<Xd,Yd>のX座標Xdとする。また、タッチ位置<Xt,Yt>のY座標Ytに20を加算しカーソル表示位置<Xd,Yd>のY座標Ydとする。これにより、カーソル表示位置<Xd,Yd>はタッチ位置<Xt,Yt>より上方に20ずれた位置に設定される。 In the calculation of the cursor display position <Xd, Yd>, first, in step S111 of FIG. 5, the X coordinate Xt of the touch position <Xt, Yt> is set as the X coordinate Xd of the cursor display position <Xd, Yd>. Further, 20 is added to the Y coordinate Yt of the touch position <Xt, Yt> to obtain the Y coordinate Yd of the cursor display position <Xd, Yd>. As a result, the cursor display position <Xd, Yd> is set to a position displaced by 20 from the touch position <Xt, Yt>.
次いで、ステップS112において当該Y座標Ydが410より大きいか否かの判断を行う。なお、410の数値の意味については後述する。当該判断が肯定されれば、ステップS113においてY座標Ydを410に設定し、ステップS114でカーソル表示位置<Xd,Yd>をRAM24のカーソル表示位置記憶領域36に記憶させる。ステップS112の判断が否定されれば、ステップS111で演算されたカーソル表示位置<Xd,Yd>をそのままRAM24のカーソル表示位置記憶領域36に記憶させる。
Next, in step S112, it is determined whether or not the Y coordinate Yd is larger than 410. The meaning of the
ここで、カーソル50は縦が40ドットの長さであり、カーソル50の下端部が表示画面35上に配置する際の基準点となっている。よって、カーソル表示位置<Xd,Yd>のY座標Ydが410よりも大きくなるとカーソル50がカーソル表示領域E3に収まらなくなる(カーソル50の上部がカーソル表示領域E3から上方へはみ出す)。上記ステップS112,S113の処理はそれを補正するための処理である。
Here, the
図4に戻り、ステップS103でカーソル表示位置<Xd,Yd>の演算を終えると、ステップS104において、カーソル表示コマンド44をRAM24のコマンド設定領域40に記憶させる。カーソル表示コマンド44には、自己がカーソル表示のコマンドであることを示すコマンド種類の識別情報やカーソル表示位置<Xd,Yd>が含まれる。
Returning to FIG. 4, when the calculation of the cursor display position <Xd, Yd> is finished in step S103, the
CPU22は、タッチ検出割り込み処理を終えると、当該割り込み処理以前に実行していた処理に戻る。
When the
次に、図6及び図7のフロー図に沿って、指示位置演算手段および対応処理実行手段を構成するCPU22のリリース検出割り込み処理について説明する。図6はCPU22のリリース検出割り込み処理を示すフロー図、図7はCPU22の指示位置の演算処理を示すフロー図である。
Next, the release detection interrupt process of the
リリース検出割り込み処理は、CPU22が離間情報であるリリース情報を検出する度に実行される。リリース情報とは操作者が表示画面35に触れている状態から離れた状態になったことを示す情報である。すなわち、CPU22はタッチ位置<Xt,Yt>の監視処理を所定時間毎に行っており、当該監視処理においてタッチ位置<Xt,Yt>が検出さている状態で、次の監視処理でタッチ位置<Xt,Yt>が検出されなかった場合にリリース検出割り込み処理が実行される。なお、この監視処理はOSにより規定された処理であり、リリース検出割り込み処理はアプリケーションプログラムにより規定された処理である。
The release detection interrupt process is executed each time the
CPU22は、リリース情報が検出されると、ステップS121においてRAM24のコマンド設定領域40に設定されているカーソル表示コマンド44をクリアする。次いで、ステップS122で、RAM24のタッチ位置<Xt,Yt>をタッチ位置記憶領域38から読み込む。このタッチ位置<Xt,Yt>はリリース情報が検出される直前のタッチ位置<Xt,Yt>である。ステップS123にて、当該タッチ位置<Xt,Yt>がカーソル表示領域E3内か否かを判断する。具体的には、タッチ位置<Xt,Yt>のY座標Ytが130以上450以下かを判断する。Xtについてはタッチ割り込み処理時のステップS102と同様に判断する必要がない。
When the release information is detected, the
タッチ位置<Xt,Yt>がカーソル表示領域E3内であれば、ステップS124に移行し、指示位置<Xs,Ys>の演算を行う。 If the touch position <Xt, Yt> is within the cursor display area E3, the process proceeds to step S124, and the designated position <Xs, Ys> is calculated.
指示位置<Xs,Ys>の演算は、まず図7のステップS141において、タッチ位置<Xt,Yt>のX座標Xtを指示位置<Xs,Ys>のX座標Xsとする。また、タッチ位置<Xt,Yt>のY座標Ytに60を加算し指示位置<Xs,Ys>のY座標Ysとする。この60という数値は、指示位置<Xs,Ys>がカーソル50の先端部の位置になるように、タッチ位置<Xt,Yt>からカーソル50の下端部(カーソル表示位置<Xd,Yd>)までの距離20にカーソル50の上下方向の長さ40を加算した数値である。
In the calculation of the designated position <Xs, Ys>, first, in step S141 in FIG. 7, the X coordinate Xt of the touch position <Xt, Yt> is set as the X coordinate Xs of the designated position <Xs, Ys>. Further, 60 is added to the Y coordinate Yt of the touch position <Xt, Yt> to obtain the Y coordinate Ys of the designated position <Xs, Ys>. The numerical value of 60 is from the touch position <Xt, Yt> to the lower end of the cursor 50 (cursor display position <Xd, Yd>) so that the designated position <Xs, Ys> is the position of the tip of the
次いで、ステップS142において指示位置<Xs,Ys>のY座標Ysが450より大きいか否かの判断を行う。当該判断が肯定されれば、ステップS143においてY座標Ysを450に設定し、ステップS144で指示位置<Xs,Ys>をRAM24の指示位置記憶領域37に記憶させる。当該Y座標Ysが450より大きいということはカーソル表示領域E3より上方にはみ出した位置を指示していることになるので、当該Y座標Ysの上限を450としている。ステップS142の判断が否定されれば、ステップS141で演算された指示位置<Xs,Ys>をそのままRAM24の指示位置記憶領域37に記憶させる。
Next, in step S142, it is determined whether or not the Y coordinate Ys of the indicated position <Xs, Ys> is greater than 450. If the determination is affirmative, the Y coordinate Ys is set to 450 in step S143, and the designated position <Xs, Ys> is stored in the designated
図6に戻り、ステップS124で指示位置<Xs,Ys>の演算を終えると、ステップS125にて、指示位置<Xs,Ys>に対応する処理が設定されているか否かを判断する。具体的には、カーソル表示領域E3内には複数個所の領域に対応させてメッセージが記憶されており、その領域を指定するとテキスト表示領域E4にメッセージが表示されるように構成されている。すなわち、X座標及びY座標の範囲に対応付けてメッセージが記憶されている。この範囲は、画像(例えば、椅子やゴミ箱、机等)の表示範囲に対応させて設定しても良いし、画像にまったく関係なく設定しておいてもよい。ステップS125では、この設定されている範囲に指示範囲<Xs,Ys>が含まれるか否かの判断が行われる。この判断が肯定されれば、ステップS126にて、メッセージを表示させるためのテキスト表示コマンド41をコマンド設定領域40に書き込んでリリース検出割り込み処理を終了させる。ステップS125における判断が否定されれば、リリース検出割り込み処理をそのまま終了させる。
Returning to FIG. 6, when the calculation of the designated position <Xs, Ys> is finished in step S124, it is determined in step S125 whether or not the process corresponding to the designated position <Xs, Ys> is set. Specifically, messages are stored in the cursor display area E3 so as to correspond to a plurality of areas, and when the area is designated, the message is displayed in the text display area E4. That is, the message is stored in association with the range of the X coordinate and the Y coordinate. This range may be set corresponding to the display range of an image (for example, a chair, a trash can, a desk, etc.), or may be set regardless of the image. In step S125, it is determined whether or not the designated range includes the designated range <Xs, Ys>. If this determination is affirmed, in step S126, a text display command 41 for displaying a message is written in the
ステップS123において、タッチ位置<Xt,Yt>がカーソル表示領域E3内ではないと判断された場合、ステップS127において当該タッチ位置<Xt,Yt>がSaveボタン領域内か否かの判断を行う。具体的には、Saveボタンの画像に対応させてX座標及びY座標の範囲が設定されており、当該範囲にタッチ位置<Xt,Yt>が含まれるか否かの判断を行う。この判断が肯定されれば、Save画像表示コマンド42をコマンド設定領域40に書き込み、リリース検出割り込み処理を終了させる。
If it is determined in step S123 that the touch position <Xt, Yt> is not in the cursor display area E3, it is determined in step S127 whether or not the touch position <Xt, Yt> is in the Save button area. Specifically, a range of X and Y coordinates is set in correspondence with the image of the Save button, and it is determined whether or not the touch position <Xt, Yt> is included in the range. If this determination is affirmed, the Save
ステップS127における判断が否定された場合は、ステップS129において当該タッチ位置<Xt,Yt>がConfigボタン領域内か否かの判断を行う。具体的には、Saveボタンと同様にConfigボタンの画像に対応するX座標及びY座標の範囲が設定されており、当該範囲にタッチ位置<Xt,Yt>が含まれるか否かの判断を行う。この判断が肯定されれば、Config画像表示コマンド43をコマンド設定領域40に書き込み、リリース検出割り込み処理を終了させる。逆に当該判断が否定されればそのままリリース検出割り込み処理を終了する。
If the determination in step S127 is negative, it is determined in step S129 whether or not the touch position <Xt, Yt> is within the Config button area. Specifically, similarly to the Save button, a range of X and Y coordinates corresponding to the image of the Config button is set, and it is determined whether or not the touch position <Xt, Yt> is included in the range. . If this determination is affirmed, the Config image display command 43 is written in the
CPU22は、リリース検出割り込み処理を終えると、当該割り込み処理以前に実行していた処理に戻る。
After completing the release detection interrupt process, the
次に、図8を参照しながら、画像処理プロセッサ26の表示コマンド処理について説明する。図8は画像処理プロセッサ26の表示コマンド処理を示すフロー図である。
Next, display command processing of the
画像処理プロセッサ26はコマンド設定領域40に設定された画像書込みに関する各種コマンドを所定時間毎に読み込み、それぞれのコマンドに対応する画像をVRAM28に順次書き込む。なお、以下においては、CPU22のタッチ検出割り込み処理及びリリース検出割り込み処理においてRAM24に書き込まれたコマンドについて具体的コマンド名を挙げて説明する。画像処理プロセッサは所定時間毎にコマンド設定領域40に設定されているコマンド全てを確認し、そのコマンドに対応した画像をVRAM28に書き込む。
The
ステップS151にてConfig画像表示コマンド43が書き込まれている否かを確認し、書き込まれていればステップS152でConfig画面をVRAM28に書き込む。書き込まれていなければ、そのままステップS153の処理へと移行する。
In step S151, it is confirmed whether or not the Config image display command 43 has been written. If it has been written, the Config screen is written in the
ステップS153にてSave画像表示コマンド42が書き込まれている否かを確認し、書き込まれていればステップS154でSave画面をVRAM28に書き込む。書き込まれていなければ、そのままステップS157の処理へと移行する。
In step S153, it is confirmed whether or not the save
ステップS155にてテキスト表示コマンド41が書き込まれている否かを確認し、書き込まれていればステップS156でテキストをVRAM28に書き込む。テキスト表示コマンドにはテキストの種類や順列に関する情報も含まれており、この情報に従ってテキストを書き込む。テキスト表示コマンド41が書き込まれていなければ、そのままステップS157の処理へと移行する。
In step S155, it is confirmed whether or not the text display command 41 has been written. If it has been written, the text is written in the
ステップS157にてカーソル表示コマンド44が書き込まれている否かを確認し、書き込まれていればステップS158でカーソル画像をVRAM28に書き込む。カーソル表示コマンドにはカーソル表示位置<Xd,Yd>も含まれており、このカーソル表示位置<Xd,Yd>に対応するVRAM28の記憶領域にカーソル画像を書き込む。画像処理プロセッサ26は全ての表示コマンドに対する処理を終えると、ステップS159にてコマンド設定領域40をクリアして表示コマンド処理を終える。コマンド設定領域40は表示コマンド処理が実行される度にクリアされるので、例えば、次回のCPU22によるコマンド書き込みでカーソル表示コマンド44が書き込まれなかった場合は、カーソル50はVRAM28に書き込まれず表示画面35にも表示されない。
In step S157, it is confirmed whether or not the
以上詳述した本実施形態によれば、以下の優れた効果を奏する。 According to the embodiment described in detail above, the following excellent effects are obtained.
カーソル表示位置dは、タッチ位置tから上方にずらした位置に設定され、また指示位置sもタッチ位置tから上方にずらしたカーソル50が指し示す位置に設定される。よって、図1に示すようにカーソル50が指し示す指示位置sを指Fに隠れない位置に表示させることができるので、カーソル50が指し示す位置(指示位置s)の視認性が向上し指示位置sの指示の容易性及び確実性が向上する。
The cursor display position d is set at a position shifted upward from the touch position t, and the instruction position s is also set at a position indicated by the
特に携帯型の表示装置を操作する場合は表示画面の下部側は操作者の手等により隠れることが多いが、指示位置sはタッチ位置tから上方へ離れた位置であるので感覚的に操作が行いやすく好ましい。 In particular, when operating a portable display device, the lower side of the display screen is often hidden by the operator's hand or the like. However, since the indicated position s is a position away from the touch position t, it can be operated intuitively. It is easy to perform and is preferable.
タッチ位置tがカーソル表示領域E3の上端部付近であっても図5のステップS112,S113の処理により、カーソル50がカーソル表示領域E3の上端部に留まるので、カーソル50が指示している位置がカーソル表示領域E3外になるような不都合を抑止することができる。また、指示位置sも図7のステップS142,S143の処理により、カーソル表示領域E3の上端部に留まるので、指示位置sがカーソル表示領域E3外になるような不都合を抑止することができる。
Even if the touch position t is near the upper end of the cursor display area E3, the
指Fが表示画面35に触れない状態となると、リリース検出割り込み処理が実行され、指示位置に対応した処理(図6のステップS126におけるテキスト表示コマンドの設定→図8のステップS156におけるテキストの書き込み)が実行されるので、容易に、かつ直感的にタッチ操作をすることができる。つまり、指Fで表示画面35に触れることにより所望の位置にカーソル50を表示させた状態で、表示画面35から指Fを離すことにより指示位置sに対応した処理を実行させることができる。
When the finger F does not touch the
図8のステップS159でコマンド設定領域40がクリアされるので、指Fを表示画面35から離すとカーソル50は表示されず、カーソル50が表示画面35に残って視認性が低下することを抑止できる。
Since the
なお、本実施形態では、指示位置<Xs,Ys>をタッチ位置<Xt,Yt>に加算処理をして演算したが、タッチ位置<Xt,Yt>に基づいてカーソル表示位置<Xd,Yd>演算され、さらに当該カーソル表示位置<Xd,Yd>に基づいて指示位置<Xs,Ys>が演算されるような間接的に指示位置<Xs,Ys>が演算される構成にしてもよい。 In this embodiment, the instruction position <Xs, Ys> is calculated by adding the touch position <Xt, Yt> to the touch position <Xt, Yt>. However, the cursor display position <Xd, Yd> is calculated based on the touch position <Xt, Yt>. The instruction position <Xs, Ys> may be calculated indirectly such that the instruction position <Xs, Ys> is calculated based on the cursor display position <Xd, Yd>.
また、本実施形態では、カーソル表示位置<Xd,Yd>をタッチ位置<Xt,Yt>に加算処理して演算したが、タッチ位置<Xt,Yt>をカーソル表示位置<Xd,Yd>としてそのまま用いても、タッチ位置<Xt,Yt>に基づいて指示位置<Xs,Ys>が演算され、さらに指示位置<Xs,Ys>に基づいてカーソル表示位置<Xd,Yd>が演算されるような間接的にカーソル表示位置<Xd,Yd>が演算される構成にしてもよい。 In this embodiment, the cursor display position <Xd, Yd> is added to the touch position <Xt, Yt> for calculation. However, the touch position <Xt, Yt> is directly used as the cursor display position <Xd, Yd>. Even if it is used, the designated position <Xs, Ys> is calculated based on the touch position <Xt, Yt>, and the cursor display position <Xd, Yd> is computed based on the designated position <Xs, Ys>. The cursor display position <Xd, Yd> may be calculated indirectly.
また、カーソル50の下端部がカーソル表示位置<Xd,Yd>に配置されるように構成したが、カーソル50の上端部(またはカーソル50が指し示している位置)がカーソル表示位置<Xd,Yd>に配置されるように構成した場合は、カーソル表示位置<Xd,Yd>をそのまま指示位置<Xs,Ys>として用いることができる。
Further, the lower end portion of the
また、本実施形態において、指示位置<Xs,Ys>はリリース検出割り込み処理において、演算する構成としたが、タッチ位置検出割り込み処理にてタッチ位置<Xt,Yt>を演算してもよい。 In the present embodiment, the instruction position <Xs, Ys> is calculated in the release detection interrupt process. However, the touch position <Xt, Yt> may be calculated in the touch position detection interrupt process.
(第2の実施形態)
以下の実施形態では、CPU22が追加接触位置である追加タッチ位置hを検出し、タッチ位置tと追加タッチ位置hに基づいてカーソル表示位置dおよび指示位置sを演算する構成が上記第1の実施形態と異なっている。本実施形態において、CPU22は、所定時間毎に追加タッチの監視処理を行っており、操作者が表示画面35に触れている状態でさらに表示画面35の別の位置に接触した場合に追加タッチ位置hの検出を行い、追加タッチ検出割り込み処理を実行する。図9はCPU22の追加タッチ検出割り込み処理のフロー図、図10乃至図12は本実施形態における表示画面35の表示例を示す模式図である。
(Second Embodiment)
In the following embodiments, the configuration in which the
CPU22は追加タッチ位置hを検出すると、ステップS161にて追加タッチ位置hの読み込みを行う。次いで、CPU22はタッチ位置t及び追加タッチ位置hに基づいてカーソル表示に関する演算する。
When detecting the additional touch position h, the
カーソル表示に関する演算として、例えば、図10に示すように、追加タッチ位置hを矢印A方向に移動させることによりカーソル50の向きを矢印a方向に変える場合は、カーソル表示位置dをタッチ位置tに基づいて演算する。例えば、タッチ位置tの縦座標Ytに15ドット加算したものをカーソル表示位置dの縦座標Ydとする。また、カーソル50を回転させる角度αはタッチ位置t及び追加タッチ位置hに基づいて演算する。この回転させる角度αとしては、例えば、追加タッチ位置hの移動前後の、タッチ位置t及び追加タッチ位置hを通る直線のなす角度を用いる。
As an operation related to cursor display, for example, as shown in FIG. 10, when the direction of the
また、図11の示すように、追加タッチ位置hを矢印B方向に移動させることによりカーソル50を矢印b方向に移動させる場合は、カーソル表示位置dをタッチ位置t及び追加タッチ位置hに基づいて演算する。例えば、タッチ位置tと追加タッチ位置hとの間隔に応じてカーソル表示位置dを演算したり、追加タッチ位置hの移動距離に応じてカーソル表示位置dの移動距離を演算したりする。
Further, as shown in FIG. 11, when the
また、図12に示すように、追加タッチ位置hを矢印C方向に移動させることにより表示させるカーソルをカーソル50からカーソル51に変える場合は、カーソル表示位置dはタッチ位置tに基づいて演算される。これは図10の場合と同様である。表示させるカーソルは、タッチ位置tと追加タッチ位置hとの間隔に応じて設定されたカーソルを表示したり、追加タッチ位置hの移動距離に応じて設定されたカーソルを表示したりする。
As shown in FIG. 12, when the cursor to be displayed is changed from the
次いで、ステップS163において、CPU22はカーソル表示コマンドの設定をする。カーソル表示コマンドはRAM24のコマンド設定領域40に一端記憶され、画像処理プロセッサ26は、表示コマンド処理をする際に当該カーソル表示コマンドを読み込み、VRAM28にカーソル画像を書き込む。
Next, in step S163, the
カーソル表示コマンドには、例えば、図10のような表示を行う場合はカーソル表示位置d及び回転させる角度αが含まれ、図11のような表示を行う場合はカーソル表示位置dが含まれ、図12のような表示を行う場合はカーソル表示位置d及び表示させるカーソル画像の識別情報が含まれる。 The cursor display command includes, for example, the cursor display position d and the rotation angle α when the display as shown in FIG. 10 is performed, and the cursor display position d when the display as shown in FIG. 11 is performed. When the display such as 12 is performed, the cursor display position d and the identification information of the cursor image to be displayed are included.
次いで、ステップS164において、CPU22は指示位置sの演算を行う。
Next, in step S164, the
指示位置sは、図10のような表示を行う場合は、ステップS162で演算したカーソル表示位置d及び回転角度αに基づいて演算したり、タッチ位置t及び追加タッチ位置hから直接演算したりすることにより、カーソル50の先端付近の位置になるように設定される。また、図11及び図12のような表示を行う場合は、指示位置sは、ステップ162で演算したカーソル表示位置dに基づいて演算したり、タッチ位置t及び追加タッチ位置hに基づいて演算したりすることにより、カーソル50(図12の場合はカーソル50又は51)の先端付近の位置になるように設定される。
When the display as shown in FIG. 10 is performed, the indication position s is calculated based on the cursor display position d and the rotation angle α calculated in step S162, or directly calculated from the touch position t and the additional touch position h. Thus, the position is set near the tip of the
操作者がタッチ位置t及び追加タッチ位置hの一方または両方から離れることにより、ステップS164において演算された指示位置sに対応して設定された処理(対応するメッセージや画面の表示等)が実行される。 When the operator moves away from one or both of the touch position t and the additional touch position h, processing (corresponding message, screen display, etc.) set corresponding to the designated position s calculated in step S164 is executed. The
CPU22は、追加タッチ検出割り込み処理を終えると、当該割り込み処理以前に実行していた処理に戻る。
When the additional touch detection interrupt process is completed, the
なお、上記図10乃至図12の説明に追加タッチ位置hを移動させた場合について説明したが、操作者が追加タッチ位置hから一端離れて所定時間内に別の追加タッチ位置hに接触した場合も同様に、カーソル表示位置dおよび指示位置sの演算は可能である。 In addition, although the case where the additional touch position h was moved was demonstrated to description of the said FIG. 10 thru | or FIG. 12, when the operator left | separated from the additional touch position h and contacted another additional touch position h within predetermined time. Similarly, calculation of the cursor display position d and the designated position s is possible.
上記第2の実施形態において、図10のような表示を行わせる場合は、追加タッチ位置hの移動に応じて、カーソル50の向き及び指示位置sを変えることができる。また、図11のような表示を行わせる場合は、追加タッチ位置hの移動に応じてカーソル表示位置d及び指示位置sを変えることができる。図12のような表示を行わせる場合は、追加タッチ位置hの移動に応じて表示させるカーソルを変えることができる。よって、操作者が表示画面35上の所定の位置を指示する際の操作性の向上に貢献できる。
In the second embodiment, when the display as shown in FIG. 10 is performed, the direction of the
10…表示装置、21…バス、22…CPU、23…ROM、24…RAM、25…ハードディスク、26…画像処理プロセッサ、27…インターフェース回路、28…VRAM、29…LCD駆動回路、30…液晶ディスプレイ、31…タッチパネル、35…表示画面、50…カーソル、t…タッチ位置(接触位置)、d…カーソル表示位置(指示画像表示位置)、s…指示位置、h…追加タッチ位置(追加接触位置)、E1…Saveボタン表示領域、E2…Configボタン表示領域、E3…カーソル表示領域、E4…テキスト表示領域、F…指
DESCRIPTION OF
Claims (13)
操作者が前記表示画面に触れている位置を接触位置として検出する接触位置検出手段と、
前記接触位置に基づいて指示画像表示位置を演算する指示画像表示位置演算手段と、
前記指示画像表示位置に指示位置を示す指示画像を前記表示画面に表示させる表示制御手段と、
前記接触位置に基づいて前記接触位置とは異なる前記指示位置を演算する指示位置演算手段と、
を備えたことを特徴とする表示装置。 A display device having a display screen,
Contact position detection means for detecting a position where an operator touches the display screen as a contact position;
Instruction image display position calculating means for calculating an instruction image display position based on the contact position;
Display control means for displaying an instruction image indicating an instruction position on the instruction image display position on the display screen;
Indicated position calculating means for calculating the indicated position different from the contact position based on the contact position;
A display device comprising:
前記指示位置演算手段は、1軸の数値だけに予め設定された値を加算又は減算することにより前記指示位置を演算することを特徴とする請求項1乃至6のいずれか1に記載の表示装置。 The contact position is specified in a plane coordinate system consisting of two axes,
The display device according to claim 1, wherein the indication position calculation means calculates the indication position by adding or subtracting a preset value to only a numerical value of one axis. .
前記指示位置演算手段は、前記接触位置及び前記追加接触位置に基づいて前記指示位置を演算することを特徴とする請求項1乃至7のいずれか1に記載の表示装置。 The contact position detection means detects the another position as an additional contact position when the operator further touches another position on the display screen while the contact position is detected,
The display device according to claim 1, wherein the indication position calculation unit calculates the indication position based on the contact position and the additional contact position.
操作者が前記表示装置の表示画面に触れている位置を接触位置として検出する接触位置検出機能と、
前記接触位置に基づいて指示画像表示位置を演算する指示画像表示位置演算機能と、
前記指示画像表示位置に指示位置を示す指示画像を前記表示画面に表示させる表示制御機能と、
前記接触位置に基づいて前記接触位置とは異なる前記指示位置を演算する指示位置演算機能と、
を実現させるための表示用プログラム。 In the computer of the display device,
A contact position detection function for detecting a position where an operator touches the display screen of the display device as a contact position;
An instruction image display position calculation function for calculating an instruction image display position based on the contact position;
A display control function for displaying an instruction image indicating an instruction position on the instruction image display position on the display screen;
An indicated position calculation function for calculating the indicated position different from the contact position based on the contact position;
Display program for realizing
前記表示装置のコンピュータに、
前記接触位置に基づいて指示画像表示位置を演算する指示画像表示位置演算機能と、
前記指示画像表示位置に指示位置を示す指示画像を前記表示画面に表示させる表示制御機能と、
前記接触位置に基づいて前記接触位置とは異なる前記指示位置を演算する指示位置演算機能と、
を実現させるための表示用プログラム。 A display program stored in the storage unit of a display device, comprising: a display screen; a storage unit; and a contact position detection unit that detects a position where an operator touches the display screen as a contact position. ,
In the computer of the display device,
An instruction image display position calculation function for calculating an instruction image display position based on the contact position;
A display control function for displaying an instruction image indicating an instruction position on the instruction image display position on the display screen;
An indicated position calculation function for calculating the indicated position different from the contact position based on the contact position;
Display program for realizing
操作者が前記表示画面に触れている状態から触れていない状態になると、前記指示位置に対応する処理が設定されているか否かを判断し、前記処理が設定されている場合は前記処理を実行する対応処理実行機能を実現させるための請求項11又は12に記載の表示用プログラム。 In the computer of the display device,
When the operator touches the display screen from the touched state, it is determined whether or not a process corresponding to the indicated position is set, and if the process is set, the process is executed. The display program according to claim 11 or 12, for realizing the corresponding processing execution function.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2009066607A JP2010217748A (en) | 2009-03-18 | 2009-03-18 | Display device and display program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2009066607A JP2010217748A (en) | 2009-03-18 | 2009-03-18 | Display device and display program |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2010217748A true JP2010217748A (en) | 2010-09-30 |
Family
ID=42976646
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2009066607A Pending JP2010217748A (en) | 2009-03-18 | 2009-03-18 | Display device and display program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2010217748A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2015166865A (en) * | 2014-02-13 | 2015-09-24 | 株式会社半導体エネルギー研究所 | Display panel and information processor |
-
2009
- 2009-03-18 JP JP2009066607A patent/JP2010217748A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2015166865A (en) * | 2014-02-13 | 2015-09-24 | 株式会社半導体エネルギー研究所 | Display panel and information processor |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TWI568480B (en) | Input method and computing device for virtual controller for touch display | |
| JP5779923B2 (en) | Information processing apparatus, information processing method, and computer program | |
| JP4734435B2 (en) | Portable game device with touch panel display | |
| KR101956410B1 (en) | Game controller on mobile touch-enabled devices | |
| JP2011003202A5 (en) | Information processing apparatus, information processing method, and program | |
| JP2012027940A (en) | Electronic apparatus | |
| KR20160001600A (en) | Terminal device | |
| US20130120286A1 (en) | Touch control device and method | |
| CN105934739A (en) | Virtual mouse for a touch screen device | |
| JP2012079279A (en) | Information processing apparatus, information processing method and program | |
| JP5676036B1 (en) | User interface program and game program including the program | |
| JP2012003404A (en) | Information display device | |
| US20140068524A1 (en) | Input control device, input control method and input control program in a touch sensing display | |
| JP2011123761A (en) | Electronic equipment | |
| JP2016218774A (en) | program | |
| JP2016129579A (en) | Interface program and game program | |
| JP2012099005A (en) | Input device, input method, and input program | |
| JP5811780B2 (en) | Information processing apparatus and input control program thereof | |
| JP2012027957A (en) | Information processor, program and pointing method | |
| JP2011159089A (en) | Information processor | |
| JP6370118B2 (en) | Information processing apparatus, information processing method, and computer program | |
| JP5414134B1 (en) | Touch-type input system and input control method | |
| JP5477108B2 (en) | Information processing apparatus, control method therefor, and program | |
| JP4856136B2 (en) | Movement control program | |
| JP2010217748A (en) | Display device and display program |