JP2015088147A - Touch panel input device and input processing program - Google Patents

Touch panel input device and input processing program Download PDF

Info

Publication number
JP2015088147A
JP2015088147A JP2013228866A JP2013228866A JP2015088147A JP 2015088147 A JP2015088147 A JP 2015088147A JP 2013228866 A JP2013228866 A JP 2013228866A JP 2013228866 A JP2013228866 A JP 2013228866A JP 2015088147 A JP2015088147 A JP 2015088147A
Authority
JP
Japan
Prior art keywords
touch
touch panel
erase mode
display unit
touched
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
JP2013228866A
Other languages
Japanese (ja)
Inventor
孝信 山下
Takanobu Yamashita
孝信 山下
啓太 庄司
Keita Shoji
啓太 庄司
博也 上田
Hiroya Ueda
博也 上田
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.)
West Japan Railway Technos Corp
West Japan Railway Co
Original Assignee
West Japan Railway Technos Corp
West Japan Railway Co
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 West Japan Railway Technos Corp, West Japan Railway Co filed Critical West Japan Railway Technos Corp
Priority to JP2013228866A priority Critical patent/JP2015088147A/en
Publication of JP2015088147A publication Critical patent/JP2015088147A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Position Input By Displaying (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

PROBLEM TO BE SOLVED: To enable a drawing of a line and an erasure of the line to be quickly changed over in a hand writing function using a touch panel.SOLUTION: A touch panel input device 1 comprises: a touch panel 2 that has a display part 21 and a sensor 22 for detecting a touch state; and a processing unit 3 that draws an image on the display part 21 on the basis of the touch state. In the touch state to be detected, provided are a touch position and a contact area to be touched. A processing unit 3 has an erasure mode, and when the touch area exceeds a prescribed threshold, the processing part is configured to turn the erasure mode OFF, and when the touch to the touch panel 2 is released, the processing unit is configured to turn the erasure mode OFF. When the erasure mode is turned OFF at a time when the touch panel 2 is touched, the processing unit 3 is configured to draw a line along a movement trajectory of the touch position in the display part 21, and when th erasure mode is turned ON, the processing unit is configured to erase a line within a prescribed range including the touch position from the display part 21. Accordingly, the ON/OFF of the erasure mode can be changed over with the number of operations smaller than that in a touch of an icon.

Description

本発明は、手書き機能を有するタッチパネル入力装置、及びタッチパネル入力装置で動作する入力処理プログラムに関する。   The present invention relates to a touch panel input device having a handwriting function and an input processing program that operates on the touch panel input device.

従来から、タブレット端末等の情報端末においてタッチパネルが用いられている。タッチパネルは、表示部としてのディスプレイ上にタッチ位置等を検出するためのセンサを有する。このようなタッチパネルを用いて手書き機能を実現した装置が知られている(例えば、特許文献1参照)。   Conventionally, touch panels have been used in information terminals such as tablet terminals. A touch panel has a sensor for detecting a touch position etc. on the display as a display part. An apparatus that realizes a handwriting function using such a touch panel is known (see, for example, Patent Document 1).

このような装置で手書き機能を利用する場合、図8(a)に示されるように、先ず、ユーザは、タッチパネル102のアイコンエリア102aに配置されたペンアイコン23をタッチし、次に、図8(b)に示されるように、手書きエリア102bをタッチし、タッチした指等で線Lを描画する。線Lは、例えば、文字や図形を構成する。線Lを消去する場合、図9(a)に示されるように、先ず、アイコンエリア102aに配置された消しゴムアイコン24をタッチし、次に、図9(b)に示されるように、手書きエリア102bをタッチし、タッチした指等で線Lをなぞって消去する。なお、ペンアイコン23及び消しゴムアイコンとして、図形アイコンの代わりに、文字アイコンが用いられることがある(例えば、特許文献1の図13参照)。   When using the handwriting function with such an apparatus, as shown in FIG. 8A, first, the user touches the pen icon 23 arranged in the icon area 102a of the touch panel 102, and then, FIG. As shown in (b), the handwriting area 102b is touched, and the line L is drawn with the touched finger or the like. The line L constitutes, for example, a character or a figure. When erasing the line L, first, as shown in FIG. 9A, the eraser icon 24 arranged in the icon area 102a is touched, and then, as shown in FIG. 9B, the handwriting area The user touches 102b and erases by tracing the line L with the touched finger or the like. As the pen icon 23 and the eraser icon, a character icon may be used instead of the graphic icon (see, for example, FIG. 13 of Patent Document 1).

タッチパネルを用いた手書き機能には、図10に示されるように、消去モードがオフ(状態S0)と、消去モードがオン(状態S1)の2つの状態がある。消去モードがオフ(状態S0)のとき、ユーザがタッチパネルに線を描画し、消去モードがオン(状態S1)のとき、ユーザが線を消去する。従来の手書き機能では、これら2つの状態間の遷移に、消しゴムアイコンのタッチ(イベントe11)又はペンアイコンのタッチ(イベントe12)が必要であり、アイコンをタッチするために、手書きエリアとアイコンエリアとの間で指等の往復移動がさらに必要であり、時間と手間がかかる。このため、タッチパネルを用いた手書き機能は、迅速性を要する用途に用いることが難しかった。   As shown in FIG. 10, the handwriting function using the touch panel has two states in which the erase mode is off (state S0) and the erase mode is on (state S1). When the erase mode is off (state S0), the user draws a line on the touch panel, and when the erase mode is on (state S1), the user erases the line. In the conventional handwriting function, the transition between these two states requires the touch of the eraser icon (event e11) or the touch of the pen icon (event e12). In order to touch the icon, the handwriting area and the icon area Further reciprocation of a finger or the like is necessary between them, which takes time and effort. For this reason, it is difficult to use the handwriting function using the touch panel for an application requiring quickness.

特開2005−92256号公報JP 2005-92256 A

本発明は、上記問題を解決するものであり、タッチパネルを用いた手書き機能において、線の描画と線の消去とを迅速に切り替え可能にすることを目的とする。   An object of the present invention is to solve the above-described problem and to enable quick switching between line drawing and line erasing in a handwriting function using a touch panel.

本発明のタッチパネル入力装置は、表示部及びタッチ状態を検出するためのセンサを有するタッチパネルと、前記タッチ状態に基づいて前記表示部に画像を描画する処理部とを備えるものであって、検出される前記タッチ状態には、タッチ位置及びタッチされる接触面積があり、前記処理部は、消去モードを有し、前記接触面積が所定の閾値を超えたとき、前記消去モードをオンにし、前記タッチパネルへのタッチが解除されたとき、前記消去モードをオフにし、前記タッチパネルがタッチされているときに前記消去モードがオフであれば、前記タッチ位置の移動軌跡に沿った線を前記表示部に描画し、前記消去モードがオンのとき、前記タッチ位置を含む所定範囲内の線を前記表示部から消去することを特徴とする。   A touch panel input device of the present invention includes a display unit and a touch panel having a sensor for detecting a touch state, and a processing unit that draws an image on the display unit based on the touch state, and is detected. The touch state includes a touch position and a touch area to be touched, and the processing unit has an erase mode, and when the contact area exceeds a predetermined threshold, the erase mode is turned on, and the touch panel When the touch is released, the erase mode is turned off, and if the erase mode is off when the touch panel is touched, a line along the movement locus of the touch position is drawn on the display unit. When the erase mode is on, a line within a predetermined range including the touch position is erased from the display unit.

本発明のタッチパネル入力装置は、表示部及びタッチ状態を検出するためのセンサを有するタッチパネルと、前記タッチ状態に基づいて前記表示部に画像を描画する処理部とを備えるものであって、検出される前記タッチ状態には、タッチ位置及びタッチされる押圧力があり、前記処理部は、消去モードを有し、前記押圧力が所定の閾値を超えたとき、前記消去モードをオンにし、前記タッチパネルへのタッチが解除されたとき、前記消去モードをオフにし、前記タッチパネルがタッチされているときに前記消去モードがオフであれば、前記タッチ位置の移動軌跡に沿った線を前記表示部に描画し、前記消去モードがオンのとき、前記タッチ位置を含む所定範囲内の線を前記表示部から消去することを特徴とする。   A touch panel input device of the present invention includes a display unit and a touch panel having a sensor for detecting a touch state, and a processing unit that draws an image on the display unit based on the touch state, and is detected. The touch state includes a touch position and a pressing force to be touched, and the processing unit has an erasing mode, and when the pressing force exceeds a predetermined threshold, the erasing mode is turned on, and the touch panel When the touch is released, the erase mode is turned off, and if the erase mode is off when the touch panel is touched, a line along the movement locus of the touch position is drawn on the display unit. When the erase mode is on, a line within a predetermined range including the touch position is erased from the display unit.

本発明の入力処理プログラムは、表示部及びタッチ状態を検出するためのセンサを有するタッチパネルと、前記タッチ状態に基づいて前記表示部に画像を描画する処理部とを備えるタッチパネル入力装置で実行されるものであって、検出される前記タッチ状態には、タッチ位置及びタッチされる接触面積があり、前記処理部において、消去モードを有し、前記接触面積が所定の閾値を超えたとき、前記消去モードをオンにし、前記タッチパネルへのタッチが解除されたとき、前記消去モードをオフにし、前記タッチパネルがタッチされているときに前記消去モードがオフであれば、前記タッチ位置の移動軌跡に沿った線を前記表示部に描画し、前記消去モードがオンのとき、前記タッチ位置を含む所定範囲内の線を前記表示部から消去する処理を実行させることを特徴とする。   An input processing program of the present invention is executed by a touch panel input device including a touch panel having a display unit and a sensor for detecting a touch state, and a processing unit for drawing an image on the display unit based on the touch state. The detected touch state includes a touch position and a touched contact area, and the processing unit has an erasing mode, and the erasing is performed when the touch area exceeds a predetermined threshold. When the mode is turned on and the touch on the touch panel is released, the erase mode is turned off, and if the erase mode is off when the touch panel is touched, the touch position moves along the trajectory. When a line is drawn on the display unit and the erase mode is on, a line within a predetermined range including the touch position is erased from the display unit. Characterized in that for the execution.

本発明の入力処理プログラムは、表示部及びタッチ状態を検出するためのセンサを有するタッチパネルと、前記タッチ状態に基づいて前記表示部に画像を描画する処理部とを備えるタッチパネル入力装置で実行されるものであって、検出される前記タッチ状態には、タッチ位置及びタッチされる押圧力があり、前記処理部において、消去モードを有し、前記押圧力が所定の閾値を超えたとき、前記消去モードをオンにし、前記タッチパネルへのタッチが解除されたとき、前記消去モードをオフにし、前記タッチパネルがタッチされているときに前記消去モードがオフであれば、前記タッチ位置の移動軌跡に沿った線を前記表示部に描画し、前記消去モードがオンのとき、前記タッチ位置を含む所定範囲内の線を前記表示部から消去する処理を実行させることを特徴とする。   An input processing program of the present invention is executed by a touch panel input device including a touch panel having a display unit and a sensor for detecting a touch state, and a processing unit for drawing an image on the display unit based on the touch state. The detected touch state includes a touch position and a pressing force to be touched, and the processing unit has an erasing mode, and the erasing is performed when the pressing force exceeds a predetermined threshold. When the mode is turned on and the touch on the touch panel is released, the erase mode is turned off, and if the erase mode is off when the touch panel is touched, the touch position moves along the trajectory. A process of drawing a line on the display unit and erasing a line within a predetermined range including the touch position from the display unit when the erase mode is on. Characterized in that to the row.

本発明のタッチパネル入力装置及び入力処理プログラムによれば、線を消去するための消去モードのオンが、タッチパネルをタッチした状態で行なわれ、消去モードのオフが、タッチを解除するだけで行なわれるので、アイコンをタッチするよりも少ない操作で迅速に消去モードのオン・オフを切り替えることができる。   According to the touch panel input device and the input processing program of the present invention, the erase mode for erasing the line is turned on while the touch panel is touched, and the erase mode is turned off only by releasing the touch. The erasing mode can be quickly switched on and off with fewer operations than touching the icon.

本発明の第1の実施形態に係るタッチパネル入力装置のブロック構成図。The block block diagram of the touch-panel input device which concerns on the 1st Embodiment of this invention. 同タッチパネル入力装置の動作を示す状態遷移図。A state transition diagram showing operation of the touch panel input device. 同タッチパネル入力装置における線の描画を示す画面イメージ図。The screen image figure which shows the drawing of the line in the touch panel input device. 同タッチパネル入力装置における線の消去を示す画面イメージ図。The screen image figure which shows the deletion of the line in the touch panel input device. 同タッチパネル入力装置で実行される入力処理プログラムの動作を示すフローチャート。The flowchart which shows operation | movement of the input processing program performed with the touch panel input device. 本発明の第2の実施形態に係るタッチパネル入力装置の動作を示す状態遷移図。The state transition diagram which shows operation | movement of the touchscreen input device which concerns on the 2nd Embodiment of this invention. 同タッチパネル入力装置で実行される入力処理プログラムの動作を示すフローチャート。The flowchart which shows operation | movement of the input processing program performed with the touch panel input device. (a)(b)は、従来のタッチパネル入力装置における線の描画を時系列に示す画面イメージ図。(A) and (b) are screen image diagrams showing line drawing in a time series in a conventional touch panel input device. (a)(b)は、同タッチパネル入力装置における線の消去を時系列に示す画面イメージ図。(A) and (b) are the screen image figures which show the deletion of the line in the touch panel input device in time series. 同タッチパネル入力装置の動作を示す状態遷移図。A state transition diagram showing operation of the touch panel input device.

(第1の実施形態)
本発明の第1の実施形態に係るタッチパネル入力装置及び入力処理プログラムについて、図1乃至図5を参照して説明する。図1に示されるように、タッチパネル入力装置1は、タッチパネル2と、処理部3とを備える。タッチパネル2は、表示部21及びセンサ22を有する。センサ22は、タッチ状態を検出するためのものである。処理部3は、そのタッチ状態に基づいて表示部21に画像を描画する。タッチパネル入力装置1において、検出されるタッチ状態には、タッチ位置及びタッチされる接触面積がある。
(First embodiment)
A touch panel input device and an input processing program according to a first embodiment of the present invention will be described with reference to FIGS. As shown in FIG. 1, the touch panel input device 1 includes a touch panel 2 and a processing unit 3. The touch panel 2 includes a display unit 21 and a sensor 22. The sensor 22 is for detecting a touch state. The processing unit 3 draws an image on the display unit 21 based on the touch state. In the touch panel input device 1, the detected touch state includes a touch position and a touched contact area.

図2に示されるように、処理部3は、動作モードとして消去モードを有する。処理部3は、検出された接触面積が所定の閾値を超えたとき(イベントe1)、消去モードをオン(状態S1)にする。処理部3は、タッチパネル2へのタッチが解除されたとき、消去モードをオフ(状態S0)にする(イベントe2)。   As shown in FIG. 2, the processing unit 3 has an erase mode as an operation mode. When the detected contact area exceeds a predetermined threshold (event e1), the processing unit 3 turns on the erase mode (state S1). When the touch on the touch panel 2 is released, the processing unit 3 turns off the erase mode (state S0) (event e2).

処理部3は、タッチパネル2がタッチされているときに消去モードがオフであれば(図2の状態S0)、図3に示されるように、タッチ位置Pの移動軌跡に沿った線Lを表示部21に描画する。線Lの描画は、タッチ位置Pを中心とする小さな範囲の色を変更することにより行われる。処理部3は、消去モードがオンのとき(図2の状態S1)、図4に示されるように、タッチ位置Pを含む所定範囲R内の線Lを表示部21から消去する。所定範囲Rは、例えば、タッチ位置Pを中心とする所定半径の円である。   If the erase mode is off when the touch panel 2 is touched (state S0 in FIG. 2), the processing unit 3 displays the line L along the movement locus of the touch position P as shown in FIG. Draw on the unit 21. The line L is drawn by changing a small range of colors centered on the touch position P. When the erase mode is on (state S1 in FIG. 2), the processing unit 3 erases the line L within the predetermined range R including the touch position P from the display unit 21, as shown in FIG. The predetermined range R is, for example, a circle with a predetermined radius centered on the touch position P.

なお、消去モードのオフ(状態S0)は、「ペンモード」又は「描画モード」と呼んでもよい。消去モードのオン(状態S1)は、「消しゴムモード」と呼んでもよい。   Note that the erase mode off (state S0) may be referred to as “pen mode” or “drawing mode”. The erase mode on (state S1) may be referred to as an “eraser mode”.

従来の操作方法に慣れたユーザへの配慮として、ペンアイコン23及び消しゴムアイコン24をタッチパネル2に表示してもよい(図3及び図4参照)。この場合、消しゴムアイコン24をタッチすることによって消去モードをオンにする機能(イベントe11)と、ペンアイコン23をタッチすることによって消去モードをオフにする機能(イベントe12)とが付加される(図2参照)。但し、指等を1本だけ使ってタッチする場合には、アイコンをタッチする前にタッチパネル2へのタッチが解除されるので(イベントe2)、ペンアイコン23へのタッチ(イベントe12)は無駄な操作となる。ペンアイコン23や消しゴムアイコン24は、省略しても構わない。   As consideration for the user who is used to the conventional operation method, the pen icon 23 and the eraser icon 24 may be displayed on the touch panel 2 (see FIGS. 3 and 4). In this case, a function for turning on the erasing mode by touching the eraser icon 24 (event e11) and a function for turning off the erasing mode by touching the pen icon 23 (event e12) are added (FIG. 5). 2). However, when touching with only one finger or the like, the touch on the touch panel 2 is canceled before touching the icon (event e2), so the touch on the pen icon 23 (event e12) is useless. It becomes operation. The pen icon 23 and the eraser icon 24 may be omitted.

タッチパネル入力装置1の構成をさらに詳述する(図1参照)。タッチパネル入力装置1は、例えば、タブレット端末等に設けられる。タッチパネル2は、薄型のタッチパネルであり、タッチされる接触面積を検出可能なものが用いられる。タッチパネル2の表示部21は、例えば、液晶ディスプレイである。表示部21に有機ELディスプレイを用いてもよい。タッチパネル2のセンサ22は、例えば、静電容量方式である。処理部3は、CPU及びメモリ等で構成され、メモリに記憶された入力処理プログラムを実行することによって動作する。例えば、タブレット端末等において、処理部3のCPU及びメモリとして、タブレット端末等のCPU及びメモリ(ハードウェアリソース)が利用される。   The configuration of the touch panel input device 1 will be described in further detail (see FIG. 1). The touch panel input device 1 is provided in a tablet terminal, for example. The touch panel 2 is a thin touch panel that can detect a touched contact area. The display unit 21 of the touch panel 2 is, for example, a liquid crystal display. An organic EL display may be used for the display unit 21. The sensor 22 of the touch panel 2 is, for example, a capacitive type. The processing unit 3 includes a CPU, a memory, and the like, and operates by executing an input processing program stored in the memory. For example, in a tablet terminal or the like, a CPU and memory (hardware resource) such as a tablet terminal is used as the CPU and memory of the processing unit 3.

タッチパネル2のタッチ状態として検出されるタッチ位置とは、タッチパネル2において、タッチされた箇所のほぼ中央の2次元座標である。   The touch position detected as the touch state of the touch panel 2 is a two-dimensional coordinate substantially at the center of the touched location on the touch panel 2.

タッチパネル2のタッチ状態として検出される接触面積は、タッチされた箇所の面積の大きさである。指でタッチパネル2をタッチする場合、タッチする力を大きくすることによって、接触面積が大きくなる。また、タッチする指の部分を指先から指の腹に変えることによって、接触面積が大きくなる。なお、タッチパネル入力装置1において、この接触面積の値は、面積の単位(平方ミリメートル等)で表される値に限定されず、例えば、センサ22の出力信号の大きさをそのまま用いてもよい。   The contact area detected as the touch state of the touch panel 2 is the size of the area of the touched location. When the touch panel 2 is touched with a finger, the contact area is increased by increasing the touching force. Further, the contact area is increased by changing the part of the finger to be touched from the fingertip to the belly of the finger. In the touch panel input device 1, the value of the contact area is not limited to a value expressed in area units (such as square millimeters), and for example, the magnitude of the output signal of the sensor 22 may be used as it is.

上記のように構成されたタッチパネル入力装置1で実行される入力処理プログラムの動作を、図5を参照して説明する。入力処理プログラムの実行が開始されると(ステップS100)、先ず、処理部3において、入力処理プログラムの初期設定が行われる(ステップS101)。タッチパネル2は、初期状態ではタッチされていないので、タッチが解除されていることになり、初期設定で消去モードがオフ(OFF)にされる。また、初期設定において、消去モードをオン(ON)にする閾値が設定される。この閾値は、処理部3の不揮発性メモリに保存されており、入力処理プログラムによって読み出される。この閾値をユーザの操作によって調節できるようにしてもよい。   The operation of the input processing program executed by the touch panel input device 1 configured as described above will be described with reference to FIG. When the execution of the input processing program is started (step S100), first, the input processing program is initially set in the processing unit 3 (step S101). Since the touch panel 2 is not touched in the initial state, the touch is released, and the erase mode is turned off (OFF) by the initial setting. In the initial setting, a threshold value for turning on the erase mode is set. This threshold value is stored in the nonvolatile memory of the processing unit 3 and is read out by the input processing program. You may enable it to adjust this threshold value by a user's operation.

次に、タッチパネル2がタッチされると(ステップS102でYes)、接触面積が読み取られる(ステップS103)。接触面積が閾値以下のとき(ステップS104でNo)、消去モードがオフのままにされる。接触面積が閾値を超えたとき(ステップS104でYes)、消去モードがオンにされる(ステップS105)。接触面積が閾値以下であっても、消去モードがオンであれば(ステップS104でYes)、消去モードはオンのままにされる(ステップS105)。   Next, when the touch panel 2 is touched (Yes in step S102), the contact area is read (step S103). When the contact area is equal to or smaller than the threshold (No in step S104), the erase mode is kept off. When the contact area exceeds the threshold (Yes in step S104), the erase mode is turned on (step S105). Even if the contact area is equal to or smaller than the threshold value, if the erase mode is on (Yes in step S104), the erase mode remains on (step S105).

消去モードがオフのとき、タッチ位置の移動軌跡に沿った線をタッチパネル2の表示部21に描画する(ステップS106)。消去モードがオンのとき、タッチ位置を含む所定範囲内の線を表示部21から消去する(ステップS107)。   When the erase mode is off, a line along the movement locus of the touch position is drawn on the display unit 21 of the touch panel 2 (step S106). When the erase mode is on, lines within a predetermined range including the touch position are erased from the display unit 21 (step S107).

タッチパネル2へのタッチが解除されたとき(ステップS108でYes)、消去モードがオフにされ(ステップS109)、初期設定直後の状態に戻る。タッチパネル2へのタッチが継続しているとき(ステップS108でNo)、接触面積が読み取られる(ステップS103)。このように、入力処理プログラムが動作している間、無限ループとなる。   When the touch on the touch panel 2 is released (Yes in step S108), the erase mode is turned off (step S109), and the state immediately after the initial setting is restored. When the touch on the touch panel 2 continues (No in step S108), the contact area is read (step S103). In this way, an infinite loop occurs while the input processing program is operating.

上記のように、入力処理プログラムの動作において、タッチパネル2をタッチした時、接触面積が閾値以下であれば、消去モードがオフになる。タッチパネル2をタッチした時、接触面積が閾値を超えていると、タッチした時点から消去モードがオンになる。また、タッチが継続しているときに接触面積が閾値を超えると、その時点から消去モードがオンになる。   As described above, when the touch panel 2 is touched in the operation of the input processing program, the erase mode is turned off if the contact area is equal to or smaller than the threshold value. If the touch area exceeds the threshold when the touch panel 2 is touched, the erase mode is turned on from the point of touch. If the contact area exceeds the threshold when the touch is continued, the erase mode is turned on from that point.

本実施形態では、タッチが継続しているときに、タッチが解除されずに接触面積が閾値以下になっても、消去モードがオフにされない。指等のタッチによる接触面積が常に変動するため、消去モードが一旦オンになったら、接触面積が閾値以下になっても、タッチが解除されるまでは、消去モードがオンの状態を保持し、消去モードのオン・オフが不安定に変化することを防いでいる。   In the present embodiment, when the touch is continued, even if the touch is not released and the contact area becomes equal to or smaller than the threshold value, the erase mode is not turned off. Since the contact area due to the touch of a finger or the like constantly fluctuates, once the erase mode is turned on, the erase mode remains on until the touch is released even if the contact area falls below the threshold, This prevents the erase mode from being turned on and off in an unstable manner.

以上、本実施形態に係る本実施形態のタッチパネル入力装置1及び入力処理プログラムによれば、線を消去するための消去モードのオンが、タッチパネル2をタッチした状態で行なわれ、消去モードのオフが、タッチを解除するだけで行なわれるので、アイコンをタッチするよりも少ない操作で迅速に消去モードのオン・オフを切り替えることができる。   As described above, according to the touch panel input device 1 and the input processing program according to the present embodiment, the erase mode for erasing the line is turned on while the touch panel 2 is touched, and the erase mode is turned off. Since it is performed only by releasing the touch, the erase mode can be switched on / off quickly with fewer operations than touching the icon.

消去モードがオンのとき、接触面積が閾値以下になっても、タッチが解除されるまで消去モードがオンの状態を保持することにより、消去モードの不安定なオン・オフ変化が防がれる。   When the erase mode is on, even if the contact area is equal to or smaller than the threshold value, the erase mode remains on until the touch is released, thereby preventing an unstable on / off change of the erase mode.

(第2の実施形態)
本発明の第2の実施形態に係るタッチパネル入力装置1及び入力処理プログラムについて、図1を流用するとともに、図6及び図7を参照して説明する。第1の実施形態と同等の箇所には同じ符号を付している。以下の説明において、第1の実施形態と同等の箇所の詳細な説明は省略する。本実施形態のタッチパネル入力装置1は、第1の実施形態と同様の構成を有する(図1参照)。このタッチパネル入力装置1において、検出されるタッチ状態には、タッチ位置及びタッチされる押圧力がある。この押圧力は、タッチよってタッチパネル2が押圧される力であり、圧力と接触面積との積の物理量である。本実施形態では、タッチパネル入力装置1は、タッチされる押圧力を検出可能なものが用いられる。
(Second Embodiment)
A touch panel input device 1 and an input processing program according to a second embodiment of the present invention will be described with reference to FIGS. 6 and 7 while using FIG. The same code | symbol is attached | subjected to the location equivalent to 1st Embodiment. In the following description, detailed description of portions equivalent to those of the first embodiment is omitted. The touch panel input device 1 of the present embodiment has a configuration similar to that of the first embodiment (see FIG. 1). In the touch panel input device 1, the detected touch state includes a touch position and a pressing force to be touched. This pressing force is a force with which the touch panel 2 is pressed by a touch, and is a physical quantity of the product of the pressure and the contact area. In the present embodiment, the touch panel input device 1 that can detect a pressing force to be touched is used.

図6に示されるように、本実施形態では、消去モードをオンにする条件として、第1の実施形態における接触面積の代わりに、タッチパネル2がタッチされる押圧力が用いられる。処理部3は、検出された押圧力が所定の閾値を超えたとき(イベントe21)、消去モードをオン(状態S1)にする。処理部3は、タッチパネル2へのタッチが解除されたとき、消去モードをオフ(状態S0)にする(イベントe2)。   As shown in FIG. 6, in this embodiment, as a condition for turning on the erasing mode, a pressing force with which the touch panel 2 is touched is used instead of the contact area in the first embodiment. When the detected pressing force exceeds a predetermined threshold (event e21), the processing unit 3 turns on the erasing mode (state S1). When the touch on the touch panel 2 is released, the processing unit 3 turns off the erase mode (state S0) (event e2).

図7に示されるように、本実施形態では、入力処理プログラムの動作において、タッチパネル2がタッチされると(ステップS202でYes)、押圧力が読み取られる(ステップS203)。押圧力が閾値以下のとき(ステップS204でNo)、消去モードがオフのままにされる。押圧力が閾値を超えたとき(ステップS204でYes)、消去モードがオンにされる(ステップS205)。押圧力が閾値以下であっても、消去モードがオンであれば(ステップS204でYes)、消去モードはオンのままにされる(ステップS205)。   As shown in FIG. 7, in this embodiment, when the touch panel 2 is touched (Yes in step S202) in the operation of the input processing program, the pressing force is read (step S203). When the pressing force is less than or equal to the threshold value (No in step S204), the erase mode is kept off. When the pressing force exceeds the threshold value (Yes in step S204), the erase mode is turned on (step S205). Even if the pressing force is less than or equal to the threshold value, if the erase mode is on (Yes in step S204), the erase mode remains on (step S205).

消去モードがオフのとき、タッチ位置の移動軌跡に沿った線をタッチパネル2の表示部21に描画する(ステップS206)。消去モードがオンのとき、タッチ位置を含む所定範囲内の線を表示部21から消去する(ステップS207)。   When the erase mode is OFF, a line along the movement locus of the touch position is drawn on the display unit 21 of the touch panel 2 (step S206). When the erase mode is on, lines within a predetermined range including the touch position are erased from the display unit 21 (step S207).

タッチパネル2へのタッチが解除されたとき(ステップS208でYes)、消去モードがオフにされ(ステップS209)、初期設定直後の状態に戻る。タッチパネル2へのタッチが継続しているとき(ステップS208でNo)、押圧力が読み取られる(ステップS203)。このように、入力処理プログラムが動作している間、無限ループとなる。   When the touch on the touch panel 2 is released (Yes in step S208), the erase mode is turned off (step S209), and the state immediately after the initial setting is restored. When the touch on the touch panel 2 continues (No in step S208), the pressing force is read (step S203). In this way, an infinite loop occurs while the input processing program is operating.

第2の実施形態では、第1の実施形態と同様に、タッチが継続しているときに、タッチが解除されずに押圧力が閾値以下になっても、消去モードがオフにされない。指等のタッチによる押圧力が常に変動するため、消去モードが一旦オンになったら、押圧力が閾値以下になっても、タッチが解除されるまでは、消去モードがオンの状態を保持し、消去モードのオン・オフが不安定に変化することを防いでいる。   In the second embodiment, as in the first embodiment, when the touch is continued, even if the touch is not released and the pressing force is equal to or lower than the threshold value, the erase mode is not turned off. Since the pressing force due to the touch of a finger, etc. always fluctuates, once the erasing mode is turned on, even if the pressing force falls below the threshold, the erasing mode remains on until the touch is released, This prevents the erase mode from being turned on and off in an unstable manner.

以上、第2の実施形態に係る本実施形態のタッチパネル入力装置1及び入力処理プログラムによれば、第1の実施形態と同様の効果が得られる。   As described above, according to the touch panel input device 1 and the input processing program of the present embodiment according to the second embodiment, the same effects as those of the first embodiment can be obtained.

なお、本発明は、上記の実施形態の構成に限られず、発明の要旨を変更しない範囲で種々の変形が可能である。例えば、タッチパネル入力装置1は、タブレット端末の入力装置に限定されず、パーソナルコンピュータ、電子黒板、携帯電話機、又は携帯ゲーム機等に用いてもよい。タッチパネル入力装置1は、タブレット端末等に手書きのメモを表示するために用いても、タブレット端末等に文字データを入力するための手段に利用してもよい。また、タッチパネル2をタッチする手段は、指に限定されず、例えば、先端が柔軟な棒状のものであってもよい。   In addition, this invention is not restricted to the structure of said embodiment, A various deformation | transformation is possible in the range which does not change the summary of invention. For example, the touch panel input device 1 is not limited to an input device of a tablet terminal, and may be used for a personal computer, an electronic blackboard, a mobile phone, a mobile game machine, or the like. The touch panel input device 1 may be used to display a handwritten memo on a tablet terminal or the like, or may be used as a means for inputting character data to the tablet terminal or the like. Further, the means for touching the touch panel 2 is not limited to a finger, and may be, for example, a rod-shaped one having a flexible tip.

1 タッチパネル入力装置
2 タッチパネル
21 表示部
22 センサ
3 処理部
L 線
P タッチ位置
R 所定範囲
1 Touch Panel Input Device 2 Touch Panel 21 Display Unit 22 Sensor 3 Processing Unit L Line P Touch Position R Predetermined Range

Claims (4)

表示部及びタッチ状態を検出するためのセンサを有するタッチパネルと、前記タッチ状態に基づいて前記表示部に画像を描画する処理部とを備えるタッチパネル入力装置であって、
検出される前記タッチ状態には、タッチ位置及びタッチされる接触面積があり、
前記処理部は、消去モードを有し、
前記接触面積が所定の閾値を超えたとき、前記消去モードをオンにし、
前記タッチパネルへのタッチが解除されたとき、前記消去モードをオフにし、
前記タッチパネルがタッチされているときに前記消去モードがオフであれば、前記タッチ位置の移動軌跡に沿った線を前記表示部に描画し、
前記消去モードがオンのとき、前記タッチ位置を含む所定範囲内の線を前記表示部から消去することを特徴とするタッチパネル入力装置。
A touch panel input device comprising: a touch panel having a display unit and a sensor for detecting a touch state; and a processing unit for drawing an image on the display unit based on the touch state,
The touch state to be detected includes a touch position and a touch area to be touched,
The processing unit has an erase mode,
When the contact area exceeds a predetermined threshold, turn on the erase mode,
When the touch on the touch panel is released, the erase mode is turned off,
If the erasing mode is off when the touch panel is touched, a line along the movement locus of the touch position is drawn on the display unit,
A touch panel input device that erases a line within a predetermined range including the touch position from the display unit when the erase mode is on.
表示部及びタッチ状態を検出するためのセンサを有するタッチパネルと、前記タッチ状態に基づいて前記表示部に画像を描画する処理部とを備えるタッチパネル入力装置であって、
検出される前記タッチ状態には、タッチ位置及びタッチされる押圧力があり、
前記処理部は、消去モードを有し、
前記押圧力が所定の閾値を超えたとき、前記消去モードをオンにし、
前記タッチパネルへのタッチが解除されたとき、前記消去モードをオフにし、
前記タッチパネルがタッチされているときに前記消去モードがオフであれば、前記タッチ位置の移動軌跡に沿った線を前記表示部に描画し、
前記消去モードがオンのとき、前記タッチ位置を含む所定範囲内の線を前記表示部から消去することを特徴とするタッチパネル入力装置。
A touch panel input device comprising: a touch panel having a display unit and a sensor for detecting a touch state; and a processing unit for drawing an image on the display unit based on the touch state,
The touch state to be detected includes a touch position and a pressing force to be touched,
The processing unit has an erase mode,
When the pressing force exceeds a predetermined threshold, turn on the erase mode,
When the touch on the touch panel is released, the erase mode is turned off,
If the erasing mode is off when the touch panel is touched, a line along the movement locus of the touch position is drawn on the display unit,
A touch panel input device that erases a line within a predetermined range including the touch position from the display unit when the erase mode is on.
表示部及びタッチ状態を検出するためのセンサを有するタッチパネルと、前記タッチ状態に基づいて前記表示部に画像を描画する処理部とを備えるタッチパネル入力装置で実行される入力処理プログラムであって、
検出される前記タッチ状態には、タッチ位置及びタッチされる接触面積があり、
前記処理部において、消去モードを有し、
前記接触面積が所定の閾値を超えたとき、前記消去モードをオンにし、
前記タッチパネルへのタッチが解除されたとき、前記消去モードをオフにし、
前記タッチパネルがタッチされているときに前記消去モードがオフであれば、前記タッチ位置の移動軌跡に沿った線を前記表示部に描画し、
前記消去モードがオンのとき、前記タッチ位置を含む所定範囲内の線を前記表示部から消去する処理を実行させることを特徴とする入力処理プログラム。
An input processing program executed by a touch panel input device including a display unit and a touch panel having a sensor for detecting a touch state, and a processing unit for drawing an image on the display unit based on the touch state,
The touch state to be detected includes a touch position and a touch area to be touched,
The processing unit has an erase mode,
When the contact area exceeds a predetermined threshold, turn on the erase mode,
When the touch on the touch panel is released, the erase mode is turned off,
If the erasing mode is off when the touch panel is touched, a line along the movement locus of the touch position is drawn on the display unit,
An input processing program for executing a process of erasing a line within a predetermined range including the touch position from the display unit when the erase mode is on.
表示部及びタッチ状態を検出するためのセンサを有するタッチパネルと、前記タッチ状態に基づいて前記表示部に画像を描画する処理部とを備えるタッチパネル入力装置で実行される入力処理プログラムであって、
検出される前記タッチ状態には、タッチ位置及びタッチされる押圧力があり、
前記処理部において、消去モードを有し、
前記押圧力が所定の閾値を超えたとき、前記消去モードをオンにし、
前記タッチパネルへのタッチが解除されたとき、前記消去モードをオフにし、
前記タッチパネルがタッチされているときに前記消去モードがオフであれば、前記タッチ位置の移動軌跡に沿った線を前記表示部に描画し、
前記消去モードがオンのとき、前記タッチ位置を含む所定範囲内の線を前記表示部から消去する処理を実行させることを特徴とする入力処理プログラム。



An input processing program executed by a touch panel input device including a display unit and a touch panel having a sensor for detecting a touch state, and a processing unit for drawing an image on the display unit based on the touch state,
The touch state to be detected includes a touch position and a pressing force to be touched,
The processing unit has an erase mode,
When the pressing force exceeds a predetermined threshold, turn on the erase mode,
When the touch on the touch panel is released, the erase mode is turned off,
If the erasing mode is off when the touch panel is touched, a line along the movement locus of the touch position is drawn on the display unit,
An input processing program for executing a process of erasing a line within a predetermined range including the touch position from the display unit when the erase mode is on.



JP2013228866A 2013-11-03 2013-11-03 Touch panel input device and input processing program Pending JP2015088147A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013228866A JP2015088147A (en) 2013-11-03 2013-11-03 Touch panel input device and input processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013228866A JP2015088147A (en) 2013-11-03 2013-11-03 Touch panel input device and input processing program

Publications (1)

Publication Number Publication Date
JP2015088147A true JP2015088147A (en) 2015-05-07

Family

ID=53050802

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013228866A Pending JP2015088147A (en) 2013-11-03 2013-11-03 Touch panel input device and input processing program

Country Status (1)

Country Link
JP (1) JP2015088147A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017072937A (en) * 2015-10-06 2017-04-13 日本電気株式会社 Input sensor element, detection method thereof, input device, input method therefor, and input information determination program
JP2018018474A (en) * 2016-07-14 2018-02-01 株式会社リコー Image processing device, image processing method, and program
JP2019505942A (en) * 2016-02-22 2019-02-28 ▲広▼州▲視▼▲叡▼▲電▼子科技有限公司Guangzhou Shirui Electronics Co., Ltd. Touch operation method and system based on interactive electronic whiteboard
CN109696985A (en) * 2017-10-20 2019-04-30 夏普株式会社 Input unit and program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1185377A (en) * 1997-09-02 1999-03-30 Fujitsu Ltd Information display with optical position detector
WO2013039654A1 (en) * 2011-09-12 2013-03-21 Motorola Mobility Llc Using pressure differences with a touch-sensitive display screen

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1185377A (en) * 1997-09-02 1999-03-30 Fujitsu Ltd Information display with optical position detector
WO2013039654A1 (en) * 2011-09-12 2013-03-21 Motorola Mobility Llc Using pressure differences with a touch-sensitive display screen

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017072937A (en) * 2015-10-06 2017-04-13 日本電気株式会社 Input sensor element, detection method thereof, input device, input method therefor, and input information determination program
JP2019505942A (en) * 2016-02-22 2019-02-28 ▲広▼州▲視▼▲叡▼▲電▼子科技有限公司Guangzhou Shirui Electronics Co., Ltd. Touch operation method and system based on interactive electronic whiteboard
JP2018018474A (en) * 2016-07-14 2018-02-01 株式会社リコー Image processing device, image processing method, and program
CN109696985A (en) * 2017-10-20 2019-04-30 夏普株式会社 Input unit and program
JP2019079094A (en) * 2017-10-20 2019-05-23 シャープ株式会社 Input apparatus and program
CN109696985B (en) * 2017-10-20 2022-03-29 夏普株式会社 Input device and program

Similar Documents

Publication Publication Date Title
US9459704B2 (en) Method and apparatus for providing one-handed user interface in mobile device having touch screen
JP2010511260A (en) Touch screen error correction method, system, apparatus and terminal
KR102086799B1 (en) Method for displaying for virtual keypad an electronic device thereof
JP2015146177A (en) input device
JP5951886B2 (en) Electronic device and input method
US20150077358A1 (en) Electronic device and method of controlling the same
JP2014059808A (en) Electronic equipment and handwritten document processing method
JP2015088147A (en) Touch panel input device and input processing program
US20140359541A1 (en) Terminal and method for controlling multi-touch operation in the same
TWI615747B (en) System and method for displaying virtual keyboard
JP6359862B2 (en) Touch operation input device, touch operation input method, and program
JP2014186530A (en) Input device and portable terminal device
US20150153925A1 (en) Method for operating gestures and method for calling cursor
JP2012141650A (en) Mobile terminal
WO2016208099A1 (en) Information processing device, input control method for controlling input upon information processing device, and program for causing information processing device to execute input control method
JP2010211264A (en) Coordinate input device
JP6151166B2 (en) Electronic device and display method
TWI515642B (en) Portable electronic apparatus and method for controlling the same
JP6971772B2 (en) Input devices and programs
JP6622837B2 (en) Input display device and input display method
JP6408273B2 (en) Information processing apparatus, information processing program, and information processing method
JP5864050B2 (en) INPUT DEVICE, CONTROL METHOD FOR INPUT DEVICE, CONTROL PROGRAM, AND RECORDING MEDIUM
JP6584876B2 (en) Information processing apparatus, information processing program, and information processing method
US10915220B2 (en) Input terminal device and operation input method
JP2015064805A (en) Display device and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160928

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170412

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170526

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20170807