JP2014089592A - Information processing apparatus - Google Patents

Information processing apparatus Download PDF

Info

Publication number
JP2014089592A
JP2014089592A JP2012239227A JP2012239227A JP2014089592A JP 2014089592 A JP2014089592 A JP 2014089592A JP 2012239227 A JP2012239227 A JP 2012239227A JP 2012239227 A JP2012239227 A JP 2012239227A JP 2014089592 A JP2014089592 A JP 2014089592A
Authority
JP
Japan
Prior art keywords
input
touch
input device
information processing
processing apparatus
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
JP2012239227A
Other languages
Japanese (ja)
Inventor
Keisuke Yasui
啓介 安井
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP2012239227A priority Critical patent/JP2014089592A/en
Publication of JP2014089592A publication Critical patent/JP2014089592A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Position Input By Displaying (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an information processing apparatus capable of simultaneously receiving a plurality of touch inputs by a plurality of input devices under a situation where a framework capable of temporarily processing only an event related to one input device is installed.SOLUTION: An information processing apparatus includes: a first input device; a second input device; and a device driver. When indication by a first device and instruction by the second device are performed in parallel, the device driver combines position information on one position indicated by the first device and position information on one or more positions indicated by the second device to output event information on either the first device or the second device.

Description

本発明の実施形態は、タッチ入力が可能な情報処理装置に関する。   Embodiments described herein relate generally to an information processing apparatus capable of touch input.

近年、例えばタブレットなどと称されるディスプレイ上でのタッチ入力が可能な情報処理装置が広く普及している。タッチ入力用のデバイスには、大きく分けて、スタイラスなどと称されるペンの先から発生させた磁力を検知するタイプと、ペン先や指先の圧着により生じる圧力や静電容量等を検知するタイプとの2種類が存在する。また、最近では、このような2タイプの入力デバイスを搭載し、2種類のタッチ入力をサポートする情報処理装置も増えてきている。   In recent years, information processing apparatuses capable of touch input on a display called a tablet or the like have been widely used. There are two types of touch input devices: a type that detects the magnetic force generated from the tip of the pen, which is called a stylus, and a type that detects the pressure and capacitance generated by the pressure of the pen tip or fingertip. There are two types. Recently, information processing apparatuses equipped with such two types of input devices and supporting two types of touch inputs are increasing.

例えば、ノートブックタイプのパーソナルコンピュータでは、マウスカーソルを移動させるためのデバイスとして、タッチパッドとスティック型のポインティングデバイスとの2つを搭載するものが存在する。このようなことから、複数の入力デバイスを制御するための仕組みが、これまでも種々提案されている。   For example, in a notebook type personal computer, there are devices equipped with a touch pad and a stick-type pointing device as devices for moving a mouse cursor. For this reason, various mechanisms for controlling a plurality of input devices have been proposed.

特開2000−250704号公報JP 2000-250704 A

タッチパネルは、ペン先や指先の圧着により生じる圧力や静電容量等を検知するタイプの入力デバイスである。タブレットに搭載されるタッチパネルの多くは、ピンチインやピンチアウトなどと称される2本の指を使ったタッチ操作を受け付けることのできるマルチタッチ対応である。つまり、マルチタッチ対応のタッチパネルによれば、同時にタッチされた2箇所の位置を検出することができる。   The touch panel is a type of input device that detects pressure, capacitance, and the like generated by pressure bonding of a pen tip or a fingertip. Many touch panels mounted on tablets are multi-touch capable of accepting touch operations using two fingers called pinch-in and pinch-out. That is, according to the multi-touch compatible touch panel, it is possible to detect the positions of two places touched simultaneously.

ここで、ペン先から磁力を発生させるスタイラスによるタッチ入力と、タッチパネル上でのタッチ入力が同時に行われた場合を考える。通常、異なる入力デバイスに関するイベントは別々のイベントとして扱われ、また、入力デバイスに関するイベントを処理するフレームワークは、一時に1つの入力デバイスに関するイベントしか処理できない。そのため、2つの入力デバイスに関するイベントが同時に発生した場合、一方についてのみ処理するか、両方とも処理を見送るかのいずれかであった。   Here, consider a case where touch input by a stylus that generates magnetic force from the pen tip and touch input on the touch panel are performed simultaneously. Typically, events related to different input devices are treated as separate events, and a framework that processes events related to input devices can only handle events related to one input device at a time. Therefore, when events related to two input devices occur at the same time, either only one of them is processed or both are not processed.

つまり、単一の入力デバイス(例えばタッチパネル)による複数のタッチ入力は同時に受け付けられるが、複数の入力デバイス(例えばスタイラスとタッチパネル)による複数のタッチ入力は同時には受け付けられなかった。   That is, a plurality of touch inputs from a single input device (for example, a touch panel) are accepted at the same time, but a plurality of touch inputs from a plurality of input devices (for example, a stylus and a touch panel) are not accepted at the same time.

本発明は、一時に1つの入力デバイスに関するイベントのみ処理可能なフレームワークが実装されている状況下で複数の入力デバイスによる複数のタッチ入力を同時に受け付け可能とした情報処理装置を提供することを目的とする。   An object of the present invention is to provide an information processing apparatus capable of simultaneously accepting a plurality of touch inputs from a plurality of input devices in a situation where a framework capable of processing only an event related to one input device is mounted at a time. And

実施形態によれば、情報処理装置は、第1の入力デバイスと、第2の入力デバイスと、デバイスドライバとを具備する。第1の入力デバイスは、入力エリア上の1つの位置を指示する。第2の入力デバイスは、前記入力エリア上の1以上の位置を指示する。デバイスドライバは、前記第1のデバイスによる指示と前記第2のデバイスによる指示とが並行して行われた場合、前記第1のデバイスで指示された1つの位置の位置情報と前記第2のデバイスで指示された1以上の位置の位置情報とを組み合わせ、前記第1のデバイスまたは前記第2のデバイスの一方に関するイベント情報として出力する。   According to the embodiment, the information processing apparatus includes a first input device, a second input device, and a device driver. The first input device indicates one position on the input area. The second input device indicates one or more positions on the input area. The device driver, when the instruction by the first device and the instruction by the second device are performed in parallel, position information of one position instructed by the first device and the second device Are combined with the position information of one or more positions specified in (1), and output as event information related to one of the first device and the second device.

実施形態の情報処理装置の概略的なシステム構成を示す図。1 is a diagram illustrating a schematic system configuration of an information processing apparatus according to an embodiment. 実施形態の情報処理装置が2つの入力デバイスによって取得する座標データの構成例を示す図。FIG. 3 is a diagram illustrating a configuration example of coordinate data acquired by the information processing apparatus according to the embodiment using two input devices. 実施形態の情報処理装置が2つの入力デバイスによる同時入力が行われた場合に取得する座標データの構成例を示す図。The figure which shows the structural example of the coordinate data acquired when the information processing apparatus of embodiment is simultaneously input by two input devices. 実施形態の情報処理装置上で動作するUIアプリケーションが実行する情報処理の一例を示す図。6 is an exemplary diagram illustrating an example of information processing executed by a UI application operating on the information processing apparatus according to the embodiment. FIG. 実施形態の情報処理装置の2つの入力デバイスによる同時入力が行われた場合における動作の流れを示す図。The figure which shows the flow of operation | movement in case the simultaneous input by two input devices of the information processing apparatus of embodiment is performed.

以下、実施の形態について図面を参照して説明する。   Hereinafter, embodiments will be described with reference to the drawings.

図1は、本実施形態に係る情報処理装置の概略的なシステム構成を示す図である。本情報処理装置は、例えばタブレットとして実現されている。   FIG. 1 is a diagram illustrating a schematic system configuration of an information processing apparatus according to the present embodiment. The information processing apparatus is realized as a tablet, for example.

図1に示すように、本情報処理装置は、CPU11、メモリ12、IOコントローラ13、ビデオコントローラ14、LCD15を具備する。また、本情報処理装置は、ペンデバイスコントローラ16、タッチデバイスコントローラ17、記憶装置18、ペンデバイス19、タッチデバイス20を具備する。   As shown in FIG. 1, the information processing apparatus includes a CPU 11, a memory 12, an IO controller 13, a video controller 14, and an LCD 15. The information processing apparatus includes a pen device controller 16, a touch device controller 17, a storage device 18, a pen device 19, and a touch device 20.

CPU11は、本情報処理装置の全体的な動作制御を担うデバイスであり、記憶装置18に記憶された各種プログラムをメモリ12にロードして実行することによって、本情報処理装置を様々な手段として機能させる。各種プログラムの中には、図示の制御プログラム101と、当該制御プログラム101の配下で動作するデバイスドライバ102、フレームワーク103、ユーザインタフェース(UI)アプリケーション104等とが含まれている。これらについては後述する。   The CPU 11 is a device responsible for overall operation control of the information processing apparatus. The CPU 11 functions as various means by loading various programs stored in the storage device 18 into the memory 12 and executing them. Let The various programs include the illustrated control program 101, a device driver 102 that operates under the control program 101, a framework 103, a user interface (UI) application 104, and the like. These will be described later.

IOコントローラ13は、CPU11と本情報処理装置内の(CPU11以外の)各ユニットとを接続するブリッジとしての役割を担うデバイスである。IOコントローラ13は、メモリ12および記憶装置18に対するアクセスを制御する機能と、ビデオコントローラ14、ペンデバイスコントローラ16およびタッチデバイスコントローラ17との通信を実行する機能とを有している。   The IO controller 13 is a device that serves as a bridge for connecting the CPU 11 and each unit (other than the CPU 11) in the information processing apparatus. The IO controller 13 has a function of controlling access to the memory 12 and the storage device 18 and a function of executing communication with the video controller 14, the pen device controller 16, and the touch device controller 17.

メモリ12は、本情報処理装置の主記憶となるストレージデバイスであり、一方、記憶装置18は、外部記憶となるストレージデバイスである。また、ビデオコントローラ14およびLCD15は、本情報処理装置が提供するユーザインタフェースのアウトプット側を担うデバイスであり、一方、ペンデバイスコントローラ16およびペンデバイス19とタッチデバイスコントローラ17およびタッチデバイス20とは、インプット側を担うデバイスである。つまり、本情報処理装置は、ペンデバイス19、タッチデバイス20の2つの入力デバイスからの入力に基づき、当該入力に対応した情報処理を実行し、その結果をLCD15に表示する。   The memory 12 is a storage device that is a main storage of the information processing apparatus, while the storage device 18 is a storage device that is an external storage. The video controller 14 and the LCD 15 are devices responsible for the output side of the user interface provided by the information processing apparatus. On the other hand, the pen device controller 16 and the pen device 19, the touch device controller 17 and the touch device 20 are: It is a device responsible for the input side. That is, the information processing apparatus executes information processing corresponding to the input based on the input from the two input devices of the pen device 19 and the touch device 20 and displays the result on the LCD 15.

前述のデバイスドライバ102は、ペンデバイス19を制御するペンデバイスコントローラ16またはタッチデバイス20を制御するタッチデバイスコントローラ17から座標データを取得するモジュールである。ペンデバイス19によるタッチ入力が行われると、ペンデバイスコントローラ16は、その位置を検出して自身のレジスタに座標データを格納すると共に、イベントの発生をIOコントローラ13に通知する。この通知は、IOコントローラ13からCPU11に伝達され、その結果、当該CPU11によって実行されるデバイスドライバ102に、ペンデバイス19によるタッチ入力が行われたというイベントが通知される。この通知を受けたデバイスドライバ102は、ペンデバイスコントローラ16のレジスタから座標データを読み出す。   The aforementioned device driver 102 is a module that acquires coordinate data from the pen device controller 16 that controls the pen device 19 or the touch device controller 17 that controls the touch device 20. When touch input is performed by the pen device 19, the pen device controller 16 detects the position, stores the coordinate data in its own register, and notifies the IO controller 13 of the occurrence of the event. This notification is transmitted from the IO controller 13 to the CPU 11, and as a result, an event that a touch input by the pen device 19 has been performed is notified to the device driver 102 executed by the CPU 11. Upon receiving this notification, the device driver 102 reads coordinate data from the register of the pen device controller 16.

同様に、タッチデバイス20によるタッチ入力が行われると、タッチデバイスコントローラ17は、その位置を検出して自身のレジスタに座標データを格納すると共に、イベントの発生をIOコントローラ13に通知する。そして、この通知を契機として、デバイスドライバ102によるタッチデバイスコントローラ17からの座標データの読み出しが実行される。また、このタッチデバイス20は、いわゆるマルチタッチ対応であり、複数点の同時入力が可能である。   Similarly, when a touch input is performed by the touch device 20, the touch device controller 17 detects the position, stores the coordinate data in its own register, and notifies the IO controller 13 of the occurrence of the event. In response to this notification, the device driver 102 reads the coordinate data from the touch device controller 17. The touch device 20 is so-called multi-touch capable, and can input a plurality of points simultaneously.

図2は、デバイスドライバ102によってペンデバイスコントローラ16およびタッチデバイスコントローラ17から読み出される座標データの構成例を示す図である。   FIG. 2 is a diagram illustrating a configuration example of coordinate data read from the pen device controller 16 and the touch device controller 17 by the device driver 102.

図2中、(A)は、ペンデバイス19によるタッチ入力時にペンデバイスコントローラ16を介してデバイスドライバ102が取得する座標データであり、(B)は、タッチデバイス20によるタッチ入力時にタッチデバイスコントローラ17を介してデバイスドライバ102が取得する座標データである。   2, (A) is coordinate data acquired by the device driver 102 via the pen device controller 16 at the time of touch input by the pen device 19, and (B) is the touch device controller 17 at the time of touch input by the touch device 20. Coordinate data acquired by the device driver 102 via

図2の(A)に示すように、ペンデバイス19によるタッチ入力時、ペンデバイスコントローラ16は、2次元の入力エリア上のX座標(X)、Y座標(Y)および圧力(P)の各値を含む座標データを生成する。また、本実施形態におけるペンデバイスコントローラ16は、後述する(ペンデバイス19によるタッチ入力に関するものであることを識別するための)ID番号を付与する。   As shown in FIG. 2A, at the time of touch input by the pen device 19, the pen device controller 16 displays each of the X coordinate (X), Y coordinate (Y), and pressure (P) on the two-dimensional input area. Generate coordinate data including values. In addition, the pen device controller 16 in the present embodiment assigns an ID number (for identifying that it relates to a touch input by the pen device 19) described later.

一方、前述したように、タッチデバイス20は、マルチタッチ対応であり、複数点の同時入力が可能であるために、図2の(B)に示すように、タッチデバイスコントローラ17は、X座標(X)、Y座標(Y)および圧力(P)の各値のセットを複数(同時に行われたタッチ入力数)含む座標データを生成する。タッチデバイスコントローラ17は、各セットにID番号(ID(n))を付与する。例えばタッチデバイス20上に圧着させた指をタッチデバイス20上から離さずにタッチデバイス20上で移動させると、この指によるタッチ入力に対して検出されるX座標(X)、Y座標(Y)および圧力(P)の各値のセットには、同一のID番号が付与され続ける。このID番号によって、2本の指の間隔を狭めるピンチイン、2本の指の間隔を広げるピンチアウトといったタッチ操作を認識することができる。前述のペンデバイスコントローラ16が付与するID番号は、タッチデバイスコントローラ17が付与するID番号と重複しない値が、ペンデバイス19によるタッチ入力に関するものであることを識別するための値として定義される。   On the other hand, as described above, the touch device 20 is compatible with multi-touch and can simultaneously input a plurality of points. Therefore, as shown in FIG. The coordinate data including a plurality of sets of X), Y coordinates (Y), and pressures (P) (the number of touch inputs performed simultaneously) is generated. The touch device controller 17 assigns an ID number (ID (n)) to each set. For example, when a finger pressed on the touch device 20 is moved on the touch device 20 without being separated from the touch device 20, an X coordinate (X) and a Y coordinate (Y) detected with respect to the touch input by the finger. The same ID number continues to be assigned to each set of values of pressure and pressure (P). By this ID number, it is possible to recognize a touch operation such as pinch-in that narrows the distance between two fingers and pinch-out that widens the distance between two fingers. The ID number assigned by the pen device controller 16 is defined as a value for identifying that a value that does not overlap with the ID number assigned by the touch device controller 17 relates to touch input by the pen device 19.

デバイスドライバ102は、ペンデバイスコントローラ16またはタッチデバイスコントローラ17から座標データを読み出すと、この座標データをペンデバイス19に関するインプットイベント情報またはタッチデバイス20に関するインプットイベント情報としてフレームワーク103に引き渡す。フレームワーク103は、例えばタッチデバイス20に関するインプットイベント情報を受け取ると、イベント情報としてUIアプリケーション104に引き渡す。UIアプリケーション104は、当該インプットイベント情報に含まれる座標データを使って、例えばジェスチャ認証処理(前述のピンチインやピンチアウト等を認識する処理)を実行し、例えばLCDに表示中の画像を縮小・拡大するといった種々の処理を実行する。   When the device driver 102 reads the coordinate data from the pen device controller 16 or the touch device controller 17, it passes this coordinate data to the framework 103 as input event information related to the pen device 19 or input event information related to the touch device 20. For example, when the framework 103 receives input event information related to the touch device 20, the framework 103 passes the input event information to the UI application 104 as event information. The UI application 104 executes, for example, gesture authentication processing (processing for recognizing the above-described pinch-in and pinch-out) using the coordinate data included in the input event information, for example, reducing / enlarging an image displayed on the LCD Various processes are performed.

フレームワーク103は、ペンデバイス19に関するインプットイベント情報を受け取った場合、シングルタッチイベントとして、その座標データを含むイベント情報をUIアプリケーション104に引き渡す。また、タッチデバイス20に関するインプットイベント情報を受け取った場合であって、X座標(X)、Y座標(Y)および圧力(P)の各値のセットが1セットのみが含まれている場合も、フレームワーク103は、シングルタッチイベントとして、その座標データを含むイベント情報をUIアプリケーション104に引き渡す。タッチデバイス20に関するインプットイベント情報を受け取った場合であって、X座標(X)、Y座標(Y)および圧力(P)の各値のセットが複数セット含まれている場合、フレームワーク103は、マルチタッチイベントとして、その座標データを含むイベント情報をUIアプリケーション104に引き渡す。   When the framework 103 receives input event information related to the pen device 19, the framework 103 delivers event information including the coordinate data to the UI application 104 as a single touch event. Further, when input event information related to the touch device 20 is received, and only one set of each value of the X coordinate (X), Y coordinate (Y), and pressure (P) is included, The framework 103 delivers event information including the coordinate data to the UI application 104 as a single touch event. When input event information related to the touch device 20 is received and a plurality of sets of values of X coordinate (X), Y coordinate (Y), and pressure (P) are included, the framework 103 Event information including the coordinate data is delivered to the UI application 104 as a multi-touch event.

ところで、フレームワーク103は、デバイスドライバ102からのインプットイベント情報の受け取りをシリアルに実行する。言い換えれば、フレームワーク103は、複数のインプットイベント情報をデバイスドライバ102からパラレルに受け取ることができない。即ち、ペンデバイス19に関するインプットイベント情報とタッチデバイス20に関するインプットイベント情報とを同時に受け取ることができない。これは、ペンデバイス19によるタッチ入力とタッチデバイス20によるタッチ入力との2つのイベントを同時には処理できないことを意味する。   Incidentally, the framework 103 serially receives input event information from the device driver 102. In other words, the framework 103 cannot receive a plurality of input event information from the device driver 102 in parallel. That is, the input event information regarding the pen device 19 and the input event information regarding the touch device 20 cannot be received simultaneously. This means that the two events of the touch input by the pen device 19 and the touch input by the touch device 20 cannot be processed at the same time.

そこで、本実施形態では、ペンデバイス19によるタッチ入力と、タッチデバイス20によるタッチ入力とが同時に行われた場合、デバイスドライバ102が、例えばペンデバイスコントローラ16から読み取った座標データを、タッチデバイスコントローラ17から読み取った座標データと組み合わせ、タッチデバイス20に関するインプットイベント情報としてフレームワーク103に引き渡す。ペンデバイスコントローラ16から読み取ったX座標(X)、Y座標(Y)および圧力(P)の各値のセットには、ペンデバイス19によるタッチ入力に関するものであることを識別するためのID番号が付与されているので、タッチデバイスコントローラ17から読み取ったX座標(X)、Y座標(Y)および圧力(P)の各値のセットと区別することが可能である。   Therefore, in this embodiment, when the touch input by the pen device 19 and the touch input by the touch device 20 are performed simultaneously, the coordinate data read by the device driver 102 from, for example, the pen device controller 16 is used. In combination with the coordinate data read from, it is transferred to the framework 103 as input event information related to the touch device 20. Each set of values of the X coordinate (X), Y coordinate (Y), and pressure (P) read from the pen device controller 16 has an ID number for identifying that it is related to touch input by the pen device 19. Since it is given, it is possible to distinguish from a set of values of X coordinate (X), Y coordinate (Y) and pressure (P) read from the touch device controller 17.

また、逆に、タッチデバイスコントローラ17から読み取った座標データを、ペンデバイスコントローラ16から読み取った座標データと組み合わせ、ペンデバイス19に関するインプットイベント情報としてフレームワーク103に引き渡してもよい。例えば、先にタッチデバイス20によるタッチ入力が行われ、(タッチデバイス20によるタッチ入力が継続している状態で)その後にペンデバイス19によるタッチ入力が行われた場合には、前者のタッチデバイス20に関するインプットイベント情報としてフレームワーク103に引き渡し、先にペンデバイス19によるタッチ入力が行われ、(ペンデバイス19によるタッチ入力が継続している状態で)その後にタッチデバイス20によるタッチ入力が行われた場合には、後者のペンデバイス19に関するインプットイベント情報としてフレームワーク103に引き渡す、等が考えられる。   Conversely, the coordinate data read from the touch device controller 17 may be combined with the coordinate data read from the pen device controller 16 and delivered to the framework 103 as input event information regarding the pen device 19. For example, when the touch input by the touch device 20 is performed first and the touch input by the pen device 19 is performed thereafter (in a state where the touch input by the touch device 20 is continued), the former touch device 20 Is input to the framework 103 as the input event information, and the touch input by the pen device 19 is performed first (in the state where the touch input by the pen device 19 continues), and then the touch input by the touch device 20 is performed. In this case, it is conceivable that the latter is handed over to the framework 103 as input event information related to the pen device 19.

図3は、ペンデバイス19によるタッチ入力とタッチデバイス20によるタッチ入力とが同時に行われた場合にデバイスドライバ102からタッチデバイス20に関するインプットイベント情報としてフレームワーク103に出力される座標データの構成例を示す図である。   FIG. 3 shows a configuration example of coordinate data output from the device driver 102 to the framework 103 as input event information related to the touch device 20 when touch input by the pen device 19 and touch input by the touch device 20 are performed simultaneously. FIG.

ここでは、入力エリア上のある1点に対してペンデバイス19によるタッチ入力が行われ、かつ、これと同時に、入力エリア上の別の1点に対してタッチデバイス20によるタッチ入力が行われた場合を想定する。   Here, touch input by the pen device 19 is performed on one point on the input area, and at the same time, touch input by the touch device 20 is performed on another point on the input area. Assume a case.

このような場合、デバイスドライバ102は、図3に示すような座標データをペンデバイス19またはタッチデバイス20に関するインプットイベント情報としてフレームワーク103に引き渡す。図3中、上段(a1)が、タッチデバイス20に関する情報、下段(a2)が、ペンデバイス19に関する情報である。   In such a case, the device driver 102 delivers coordinate data as shown in FIG. 3 to the framework 103 as input event information regarding the pen device 19 or the touch device 20. In FIG. 3, the upper level (a1) is information regarding the touch device 20, and the lower level (a2) is information regarding the pen device 19.

例えば、タッチデバイス20およびタッチデバイスコントローラ17が10本の指による同時タッチ入力までを受け付けられるものとし、ID番号が「0〜9」の値を持ち得るとする。この場合、「0〜9」以外の値、即ち、タッチデバイス20によるタッチ入力ではあり得ない値(例えば図示の「11」)を、ペンデバイス19によるタッチ入力に関するものであることを識別するためのID番号として定義する。   For example, it is assumed that the touch device 20 and the touch device controller 17 can accept a simultaneous touch input with ten fingers, and the ID number can have a value of “0-9”. In this case, a value other than “0-9”, that is, a value that cannot be a touch input by the touch device 20 (for example, “11” in the drawing) is identified to be related to the touch input by the pen device 19. ID number.

実際には、ペンデバイス19によるタッチ入力と、タッチデバイス20によるタッチ入力との2つの入力イベントが発生しているわけであるが、この2つの入力イベントが、ペンデバイス19またはタッチデバイス20に関するインプットイベント情報として1つに纏められ、デバイスドライバ102からフレームワーク103に1回で受け渡されることになる。図3に示すような座標データを含むイベント情報をマルチタッチイベントとしてフレームワーク103から受け取るUIアプリケーション104が、ID番号(11)がペンデバイス19によるタッチ入力に関するものであることを示していることを認識することで、例えば以下に示すような情報処理を行うことが可能となる。図4を参照して、UIアプリケーション104が実行可能となる情報処理の一例を説明する。   Actually, two input events of the touch input by the pen device 19 and the touch input by the touch device 20 are generated. These two input events are input related to the pen device 19 or the touch device 20. Event information is collected as one event and is transferred from the device driver 102 to the framework 103 at a time. The UI application 104 that receives event information including coordinate data as shown in FIG. 3 from the framework 103 as a multi-touch event indicates that the ID number (11) relates to touch input by the pen device 19. By recognizing, for example, the following information processing can be performed. An example of information processing that enables the UI application 104 to be executed will be described with reference to FIG.

UIアプリケーション104は、ペンデバイス19によるタッチ入力に応答してLCD15にその筆跡を表示するプログラムであるとする。フレームワーク103からペンデバイス19に関するイベント情報を受け取ると、UIアプリケーション104は、そのイベント情報に含まれる座標データで示される位置に「黒」色で筆跡を表示する。つまり、ペンデバイス19によるタッチ入力の筆跡は、基本的には、「黒」色でLCD15に表示されることになる。   It is assumed that the UI application 104 is a program that displays the handwriting on the LCD 15 in response to a touch input by the pen device 19. Upon receiving event information related to the pen device 19 from the framework 103, the UI application 104 displays a handwriting in “black” color at the position indicated by the coordinate data included in the event information. That is, the handwriting of touch input by the pen device 19 is basically displayed on the LCD 15 in “black” color.

ここで、ユーザが、ペンデバイス19による入力をしながら「赤」色を付すことを指示するためのオブジェクトb3上で指によるタッチ入力を行ったとする。この場合、前述したように、デバイスドライバ102において、ペンデバイスコントローラ16から読み取った座標データとタッチデバイスコントローラ17から読み取った座標データとが組み合わされ、例えばペンデバイス19に関するインプットイベント情報としてフレームワーク103に引き渡される。従って、フレームワーク103からUIアプリケーション104へは、ペンデバイス19に関するイベント情報(マルチタッチイベント)が引き渡されることになる。   Here, it is assumed that the user performs a touch input with a finger on the object b3 for instructing to give a “red” color while inputting with the pen device 19. In this case, as described above, in the device driver 102, the coordinate data read from the pen device controller 16 and the coordinate data read from the touch device controller 17 are combined, and for example, input to the framework 103 as input event information regarding the pen device 19. Delivered. Accordingly, event information (multi-touch event) related to the pen device 19 is delivered from the framework 103 to the UI application 104.

このペンデバイス19に関するイベント情報(マルチタッチイベント)をフレームワーク103から受け取ると、UIアプリケーション104は、ID番号によって、イベント情報に含まれる座標データで示される座標の1つが、ペンデバイス19によるタッチ入力に関するものであることを認識する。UIアプリケーション104は、タッチデバイス20によるタッチ入力に関する座標からオブジェクトb3が選択されたことを検知し、ペンデバイス19によるタッチ入力の筆跡を途中から「赤」色で表示する。   When the event information (multi-touch event) related to the pen device 19 is received from the framework 103, the UI application 104 determines that one of the coordinates indicated by the coordinate data included in the event information is a touch input by the pen device 19 based on the ID number. Recognize that The UI application 104 detects that the object b3 is selected from the coordinates relating to the touch input by the touch device 20, and displays the handwriting of the touch input by the pen device 19 in “red” color from the middle.

つまり、このUIアプリケーション104が実行する情報処理によって、ユーザは、オブジェクトb1、オブジェクトb2、オブジェクトb3を指でタッチしながらペンデバイス19で筆記することで、黒の他、緑、青、赤を用いることができる。   That is, by the information processing executed by the UI application 104, the user uses green, blue, and red in addition to black by writing with the pen device 19 while touching the object b1, the object b2, and the object b3 with a finger. be able to.

図5は、ペンデバイス19およびタッチデバイス20によるタッチ入力が同時に行われた場合における本情報処理装置の動作の流れを示す図である。   FIG. 5 is a diagram illustrating a flow of operation of the information processing apparatus when touch input by the pen device 19 and the touch device 20 is performed at the same time.

ペンデバイス19によるタッチ入力(図5のA1a)とタッチデバイス20によるタッチ入力(図5のA1b)とが同時に行われた場合、デバイスドライバ102は、ペンデバイスコントローラ16からの座標データの読み出し(図5のA2a)と、タッチデバイスコントローラ17からの座標データの読み出し(図5のA2b)とを実行する。   When the touch input by the pen device 19 (A1a in FIG. 5) and the touch input by the touch device 20 (A1b in FIG. 5) are simultaneously performed, the device driver 102 reads the coordinate data from the pen device controller 16 (FIG. 5). 5A2a) and reading of coordinate data from the touch device controller 17 (A2b in FIG. 5) is executed.

デバイスドライバ102は、ペンデバイスコントローラ16から読み出した座標データとタッチデバイスコントローラ17から読み出した座標データとを組み合わせ、ペンデバイス19またはタッチデバイス20に関するインプットイベント情報として出力する(図5のA3)。   The device driver 102 combines the coordinate data read from the pen device controller 16 and the coordinate data read from the touch device controller 17 and outputs them as input event information related to the pen device 19 or the touch device 20 (A3 in FIG. 5).

フレームワーク103は、デバイスドライバ102からペンデバイス19またはタッチデバイス20に関するインプットイベント情報を受け取ると(図5のB1)、デバイスドライバ102から受け取った座標データを含むマルチタッチイベント情報をUIアプリケーション104に引き渡す(図5のB2)。   When the framework 103 receives input event information related to the pen device 19 or the touch device 20 from the device driver 102 (B1 in FIG. 5), the framework 103 delivers the multi-touch event information including the coordinate data received from the device driver 102 to the UI application 104. (B2 in FIG. 5).

UIアプリケーション104は、フレームワーク103からマルチタッチイベント情報を受け取ると(図5のC1)、マルチタッチイベント情報に含まれる座標データ内のID番号を参照して、各タッチ入力を識別しながら、例えばジェスチャ認識処理等を行った後(図5のC2)、各タッチ入力に応じた情報処理を実行する(図5のC3)。   Upon receiving the multi-touch event information from the framework 103 (C1 in FIG. 5), the UI application 104 refers to the ID number in the coordinate data included in the multi-touch event information and identifies each touch input, for example, After performing a gesture recognition process (C2 in FIG. 5), information processing corresponding to each touch input is executed (C3 in FIG. 5).

以上のように、本実施形態の情報処理装置によれば、同時に発生した2つの入力デバイスに関するイベントが1つの入力デバイスのマルチイベントとして処理されるため、一時に1つの入力デバイスに関するイベントのみ処理可能なフレームワーク103の変更を行うことなく、また、UIアプリケーション104のフレームワーク103とのインタフェース部分の変更を行うことなく、当該フレームワーク103が実装されている状況下で2つの入力デバイスに関するイベントを一時に対応することが可能となる。   As described above, according to the information processing apparatus of the present embodiment, events relating to two input devices that occur simultaneously are processed as multi-events of one input device, so that only events relating to one input device can be processed at a time. Events relating to two input devices in a situation in which the framework 103 is mounted without changing the framework 103 and without changing the interface portion of the UI application 104 with the framework 103. It becomes possible to cope with one time.

なお、本実施形態の動作制御処理は、ソフトウェア(プログラム)によって実現することができるので、このソフトウェアを格納したコンピュータ読み取り可能な記憶媒体を通じてこのソフトウェアを通常のコンピュータにインストールして実行することにより、本実施形態と同様の効果を容易に実現することができる。   Note that the operation control processing of the present embodiment can be realized by software (program), and therefore by installing this software on a normal computer through a computer-readable storage medium storing this software, Effects similar to those of the present embodiment can be easily realized.

本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれると共に、特許請求の範囲に記載された発明とその均等の範囲に含まれる。   Although several embodiments of the present invention have been described, these embodiments are presented by way of example and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the scope of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are included in the invention described in the claims and the equivalents thereof.

11…CPU、12…メモリ、13…IOコントローラ、14…ビデオコントローラ、15…LCD、16…ペンデバイスコントローラ、17…タッチデバイスコントローラ、18…記憶装置、19…ペンデバイス、20…タッチデバイス、101…制御プログラム、102…デバイスドライバ、103…フレームワーク、104…ユーザインタフェースアプリケーション。 DESCRIPTION OF SYMBOLS 11 ... CPU, 12 ... Memory, 13 ... IO controller, 14 ... Video controller, 15 ... LCD, 16 ... Pen device controller, 17 ... Touch device controller, 18 ... Storage device, 19 ... Pen device, 20 ... Touch device, 101 ... control program, 102 ... device driver, 103 ... framework, 104 ... user interface application.

Claims (7)

入力エリア上の1つの位置を指示する第1の入力デバイスと、
前記入力エリア上の1以上の位置を指示する第2の入力デバイスと、
前記第1の入力デバイスで指示された1つの位置の位置情報または前記第2の入力デバイスで指示された1以上の位置の位置情報を出力するデバイスドライバと、
を具備し、
前記デバイスドライバは、前記第1のデバイスによる指示と前記第2のデバイスによる指示とが並行して行われた場合、前記第1のデバイスで指示された1つの位置の位置情報と前記第2のデバイスで指示された1以上の位置の位置情報とを組み合わせ、前記第1のデバイスまたは前記第2のデバイスの一方に関するイベント情報として出力する、
情報処理装置。
A first input device indicating one position on the input area;
A second input device that indicates one or more positions on the input area;
A device driver that outputs position information of one position designated by the first input device or position information of one or more positions designated by the second input device;
Comprising
When the instruction from the first device and the instruction from the second device are performed in parallel, the device driver and the position information of one position instructed by the first device and the second device Combining the position information of one or more positions indicated by the device, and outputting as event information related to one of the first device or the second device,
Information processing device.
前記第2の入力デバイスで指示された1以上の位置の位置情報には、それぞれを識別するための識別情報が付され、
前記第1の入力デバイスで指示された1つの位置の位置情報には、前記第1の入力デバイスによる指示であることを識別するための識別情報が付される、
請求項1に記載の情報処理装置。
Identification information for identifying each is attached to the position information of one or more positions indicated by the second input device,
Identification information for identifying that it is an instruction by the first input device is attached to the position information of one position instructed by the first input device.
The information processing apparatus according to claim 1.
前記第1の入力デバイスによる指示であることを識別するための識別情報は、前記第2の入力デバイスで指示された1以上の位置の位置情報に付される識別情報が持ち得ない値が定義される請求項2に記載の情報処理装置。   The identification information for identifying that it is an instruction by the first input device is defined as a value that the identification information attached to the position information of one or more positions indicated by the second input device cannot have. The information processing apparatus according to claim 2. 表示装置をさらに具備し、
前記入力エリアは、前記表示装置の表示エリアに重畳させて設けられる、
請求項1に記載の情報処理装置。
A display device;
The input area is provided so as to overlap the display area of the display device.
The information processing apparatus according to claim 1.
前記第1の入力デバイスは、スタイラスペンである請求項1に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the first input device is a stylus pen. 前記第2の入力デバイスは、マルチタッチ対応のタッチパネルである請求項1に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the second input device is a multi-touch compatible touch panel. 第1の入力デバイスと、
第2の入力デバイスと、
前記第1の入力デバイスに関するイベントと前記第2の入力デバイスに関するイベントとが同時に発生した場合、前記第1の入力デバイスに関するイベントと前記第2の入力デバイスに関するイベントとの2つのイベントを前記第2の入力デバイスに関するマルチイベントとして処理するデバイスドライバと、
を具備する情報処理装置。
A first input device;
A second input device;
When an event related to the first input device and an event related to the second input device occur at the same time, two events, an event related to the first input device and an event related to the second input device, are set as the second event. A device driver that handles multiple events for input devices
An information processing apparatus comprising:
JP2012239227A 2012-10-30 2012-10-30 Information processing apparatus Pending JP2014089592A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012239227A JP2014089592A (en) 2012-10-30 2012-10-30 Information processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012239227A JP2014089592A (en) 2012-10-30 2012-10-30 Information processing apparatus

Publications (1)

Publication Number Publication Date
JP2014089592A true JP2014089592A (en) 2014-05-15

Family

ID=50791450

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012239227A Pending JP2014089592A (en) 2012-10-30 2012-10-30 Information processing apparatus

Country Status (1)

Country Link
JP (1) JP2014089592A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020525937A (en) * 2017-09-05 2020-08-27 中興通訊股▲ふん▼有限公司Zte Corporation Touch message integration method, terminal, and computer-readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020525937A (en) * 2017-09-05 2020-08-27 中興通訊股▲ふん▼有限公司Zte Corporation Touch message integration method, terminal, and computer-readable storage medium
US11307759B2 (en) 2017-09-05 2022-04-19 Xi'an Zhongxing New Software Co., Ltd. Fusion method and terminal for touch messages and computer-readable storage medium

Similar Documents

Publication Publication Date Title
US10444989B2 (en) Information processing apparatus, and input control method and program of information processing apparatus
US10133396B2 (en) Virtual input device using second touch-enabled display
US8581869B2 (en) Information processing apparatus, information processing method, and computer program
US8717323B2 (en) Determining when a touch is processed as a mouse event
EP1531387B1 (en) Apparatus and method for providing virtual graffiti and recording medium for the same
JP2013238935A (en) Input device, input device controlling method, controlling program, and recording medium
KR102323892B1 (en) Multi-touch virtual mouse
KR102205283B1 (en) Electro device executing at least one application and method for controlling thereof
JP5197533B2 (en) Information processing apparatus and display control method
US20150363095A1 (en) Method of arranging icon and electronic device supporting the same
US20140298275A1 (en) Method for recognizing input gestures
US20140359541A1 (en) Terminal and method for controlling multi-touch operation in the same
TWI497357B (en) Multi-touch pad control method
KR20140130798A (en) Apparatus and method for touch screen panel display and touch key
US10521108B2 (en) Electronic apparatus for detecting touch, method of controlling the same, and display apparatus including touch controller
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
JP5882973B2 (en) Information processing apparatus, method, and program
US20150062047A1 (en) Information processor, control method and program
JP2014089592A (en) Information processing apparatus
US20140380188A1 (en) Information processing apparatus
JP2014241078A (en) Information processing apparatus
US20160263911A1 (en) Processing digital ink input subject to monitoring and intervention by an application program
US20140317568A1 (en) Information processing apparatus, information processing method, program, and information processing system
JP2014130449A (en) Information processor and control method therefor
JP5152421B2 (en) Information processing apparatus and program

Legal Events

Date Code Title Description
RD07 Notification of extinguishment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7427

Effective date: 20140415