JP2005267377A - Position information conversion device, and data output program for position information conversion device - Google Patents

Position information conversion device, and data output program for position information conversion device Download PDF

Info

Publication number
JP2005267377A
JP2005267377A JP2004080575A JP2004080575A JP2005267377A JP 2005267377 A JP2005267377 A JP 2005267377A JP 2004080575 A JP2004080575 A JP 2004080575A JP 2004080575 A JP2004080575 A JP 2004080575A JP 2005267377 A JP2005267377 A JP 2005267377A
Authority
JP
Japan
Prior art keywords
data
touch panel
mouse
mouse pointer
position information
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
JP2004080575A
Other languages
Japanese (ja)
Inventor
Tadao Furukawa
忠雄 古川
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.)
Yamaha Corp
Original Assignee
Yamaha 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 Yamaha Corp filed Critical Yamaha Corp
Priority to JP2004080575A priority Critical patent/JP2005267377A/en
Publication of JP2005267377A publication Critical patent/JP2005267377A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Position Input By Displaying (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a position information conversion device capable of converting touch position data of a touch panel to mouse data regardless of the model of touch panel and outputting them to a host PC, and also enabling confirmation of the receiving state of the mouse data in the host PC, and a data output program for this device. <P>SOLUTION: The position information conversion device 1 transmits, in case that a display device with touch panel 2 is connected thereto, a model discrimination command to a touch panel controller 2, continuously switches it to those of other models until a response thereto is received to specify the model, and loads a data conversion module according to the touch panel 21 thereof. The position coordinate of a moving destination is acquired from the display device 2, the position coordinate of a mouse pointer displayed at present is acquired from the host PC 3, the moving quantity is calculated from both the coordinates to generate mouse data, and the mouse pointer is displayed on a monitor 23. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、タッチパネルやタブレットなどのタッチ位置データをマウスデータに変換して、ホストPCのモニタ画面上にマウスポインタを表示させる位置情報変換装置及びこの装置用のデータ出力プログラムに関する。   The present invention relates to a position information conversion apparatus that converts touch position data such as a touch panel or a tablet into mouse data and displays a mouse pointer on a monitor screen of a host PC, and a data output program for the apparatus.

コンピュータに接続して使用するポインティングデバイスとしては、マウスやトラックボールが一般的であるが、このほかに、指やペンなどでパネルにタッチすることで画面上の位置を指示したり、手書き文字の入力などを行うことができるタッチパネル付きの表示装置(以下、タッチパネルと称する。)やタブレットがある。   As a pointing device used by connecting to a computer, a mouse or a trackball is generally used, but in addition to this, the position on the screen can be indicated by touching the panel with a finger or a pen, or a handwritten character can be used. There are display devices with a touch panel (hereinafter referred to as touch panels) and tablets that can perform input and the like.

操作ボタンを2つ備えた一般的な形状のマウスやトラックボールの場合、OS(Operating System)に標準的に付属しているデバイスドライバを使用できるので、デバイスドライバを別途用意する必要はない。しかし、タッチパネルやタブレットは、メーカや機種によって出力データの形式が異なるため、個別にデバイスドライバが必要であった。また、タッチパネルやタブレットに添付されているデバイスドライバは、使用できるOSが限られている場合が多い。そのため、OSによってはタッチパネルやタブレットを使用できない場合があった。   In the case of a mouse or a trackball having a general shape with two operation buttons, a device driver that comes standard with an OS (Operating System) can be used, so there is no need to prepare a device driver separately. However, since the output data format of the touch panel or tablet differs depending on the manufacturer or model, an individual device driver is required. In many cases, device drivers attached to touch panels and tablets have limited OSs that can be used. For this reason, a touch panel or a tablet may not be used depending on the OS.

そこで、タッチパネルのタッチ位置データをマウスデータに置き換える変換装置が提案されている。例えば、タッチパネルの操作によって入力されるデータを、マウスの操作によって生成されるべきフォーマットのマウス互換データに変換して、マウスポートへ出力することで、特別なデバイスドライバやユーティリティソフトウェアを用いることなく、タッチパネルを情報処理装置本体に接続することができるマウスエミュレート回路が開示されている(例えば、特許文献1参照。)。
特開平11−85397号公報
Therefore, a conversion device that replaces touch position data on a touch panel with mouse data has been proposed. For example, by converting the data input by operating the touch panel into mouse compatible data in a format that should be generated by operating the mouse and outputting it to the mouse port, without using special device drivers or utility software, A mouse emulation circuit that can connect a touch panel to an information processing apparatus main body has been disclosed (for example, see Patent Document 1).
Japanese Patent Laid-Open No. 11-85397

特許文献1に記載のマウスエミュレート回路では、複数のOS用のデバイスドライバを用意しておくことで、タッチパネル用の特別なデバイスドライバやユーティリティソフトウェアを用いることなく、タッチパネルを情報処理装置本体に接続して使用することができる。しかしながら、タッチパネルやタブレットは、上記のようにメーカや機種によって出力データの形式が異なっている。そのため、特許文献1に記載のマウスエミュレート回路の場合、タッチパネルの機種を変更する場合には、その機種に応じて個別にマウスエミュレート回路も変更しなければならない。そのため、タッチパネル付き表示装置の機種を容易に変更できないという問題があった。   In the mouse emulation circuit described in Patent Document 1, by preparing a plurality of OS device drivers, the touch panel can be connected to the information processing apparatus main body without using a special device driver or utility software for the touch panel. Can be used. However, as described above, output data formats of touch panels and tablets differ depending on manufacturers and models. Therefore, in the case of the mouse emulation circuit described in Patent Document 1, when changing the model of the touch panel, the mouse emulation circuit must be individually changed according to the model. Therefore, there is a problem that the model of the display device with a touch panel cannot be easily changed.

また、特許文献1に記載のマウスエミュレート回路では、マウスポインタを次のポイントに移動させる際に、マウスポインタを一度原点に移動させてから次のポイント(座標)に移動させるという演算処理を行っている。これにより、マウスポインタの位置とタッチ位置とを正確に一致させることができる。しかしながら、マウスをドラッグ操作するように、タッチパネルを指やペン先などでタッチしたまま移動させる動作を行った場合、タッチ付き表示装置はこの操作中には常に上記の演算処理を行うため、負荷が大きくなってマウスポインタの追従性が悪くなるなどの問題が発生する。   In the mouse emulation circuit described in Patent Document 1, when the mouse pointer is moved to the next point, an arithmetic process is performed in which the mouse pointer is once moved to the origin and then moved to the next point (coordinates). ing. As a result, the position of the mouse pointer and the touch position can be accurately matched. However, when the touch panel is moved while being touched with a finger or a pen tip like a mouse drag operation, the display device with a touch always performs the above arithmetic processing during this operation. Problems such as an increase in the tracking performance of the mouse pointer become worse.

さらに、特許文献1に記載のマウスエミュレート回路は、タッチ位置のデータをマウスデータに変換して情報処理装置本体に出力する構成であるため、情報処理装置本体でデータが受信されているか否かの確認はディスプレイに表示されるマウスポインタの位置を確認するしかなかった。そのため、場合によっては、マウスポインタが位置ずれを起こす場合があった。   Furthermore, since the mouse emulation circuit described in Patent Document 1 is configured to convert touch position data into mouse data and output it to the information processing apparatus main body, whether or not data is received by the information processing apparatus main body. The only way to check was to check the position of the mouse pointer displayed on the display. Therefore, in some cases, the mouse pointer may be displaced.

そこで、本発明は、タッチパネルの機種にかかわらず、タッチパネルのタッチ位置データをマウスデータに変換してホストPCに出力し、またホストPCでのマウスデータの受信状態を確認できる位置情報変換装置及びこの装置用のデータ出力プログラムを提供することを目的とする。   Therefore, the present invention converts the touch position data of the touch panel into mouse data and outputs it to the host PC regardless of the type of the touch panel, and a position information conversion apparatus capable of confirming the reception state of the mouse data at the host PC, and this An object is to provide a data output program for a device.

この発明は、上記の課題を解決するための手段として、以下の構成を備えている。   The present invention has the following configuration as means for solving the above problems.

(1)マウスを接続するポートから入力されたマウスデータに基づいてモニタ画面上にマウスポインタを表示させるとともにマウスポインタの位置座標データ及びマウスデータの設定パラメータを出力するホストコンピュータに対して、タッチパネルのタッチ位置データをマウスデータに変換して出力する位置情報変換装置であって、
前記モニタ画面上に表示されている現在のマウスポインタの位置座標データを前記ホストコンピュータから取得するマウスポインタ座標取得手段と、
タッチパネルのタッチ位置の絶対座標データをマウスポインタの位置座標データに変換し、この位置座標データと、前記マウスポインタ座標取得手段が取得した現在のマウスポインタの位置座標データと、からマウスポインタの移動量を計算して、マウスデータとして前記ホストコンピュータへ出力する演算手段と、
を備えたことを特徴とする。
(1) A mouse pointer is displayed on the monitor screen based on mouse data input from a port to which a mouse is connected, and a touch panel is output to a host computer that outputs mouse pointer position coordinate data and mouse data setting parameters. A position information conversion device that converts touch position data into mouse data and outputs the mouse data,
Mouse pointer coordinate acquisition means for acquiring the position coordinate data of the current mouse pointer displayed on the monitor screen from the host computer;
The absolute coordinate data of the touch position of the touch panel is converted into the position coordinate data of the mouse pointer, and the amount of movement of the mouse pointer from the position coordinate data and the current mouse pointer position coordinate data acquired by the mouse pointer coordinate acquisition means Computing means for calculating and outputting to the host computer as mouse data;
It is provided with.

この構成においては、位置情報変換装置は、タッチパネルのタッチ位置の座標データと、ホストコンピュータから取得した現在のマウスポインタの位置座標データと、からマウスポインタの移動量を計算してマウスデータを出力する。したがって、タッチ位置データを確実にマウスデータに変換して表示させることができる。また、位置情報変換装置は、毎回、ホストコンピュータから現在のマウスポインタの位置座標データを取得して、このデータを用いてマウスポインタの移動量を計算し、マウスが出力するエンコーダパルスに相当する信号であるマウスデータを出力するので、積分誤差や量子化誤差などが発生することなく、正確にタッチ位置にマウスポインタを表示させることができる。   In this configuration, the position information conversion apparatus calculates the amount of movement of the mouse pointer from the coordinate data of the touch position of the touch panel and the current position data of the mouse pointer acquired from the host computer, and outputs the mouse data. . Therefore, touch position data can be reliably converted into mouse data and displayed. Further, the position information conversion device acquires the current position coordinate data of the mouse pointer from the host computer, calculates the amount of movement of the mouse pointer using this data, and outputs a signal corresponding to the encoder pulse output by the mouse. Since the mouse data is output, the mouse pointer can be accurately displayed at the touch position without causing an integration error or a quantization error.

なお、タッチパネルには、モニタの画面上に取り付けられたタッチパネルだけでなく、机上などで使用するタブレットやタッチパネルなどのポインティングデバイスを含むものとする。また、マウスには、トラックボール、タッチパッドなどのポインティングデバイスを含むものとする。   Note that the touch panel includes not only a touch panel attached on a monitor screen but also a pointing device such as a tablet or a touch panel used on a desk or the like. The mouse includes a pointing device such as a trackball or a touch pad.

(2)タッチパネルの機種判別コマンド、及びタッチパネルのタッチ位置座標データをマウスポインタの位置座標データに変換するデータ変換モジュールを、タッチパネルの機種毎に複数記憶する記憶手段と、
タッチパネルが接続されると、前記記憶手段から機種判別コマンドを読み出して、このタッチパネルから応答があるまで機種判別コマンドを順次切り換えながら出力する機種判別手段と、を備え、
前記演算手段は、前記タッチパネルから応答があった機種判別コマンドを使用する機種用のデータ変換モジュールを前記記憶手段から読み出して、タッチパネルのタッチ位置の絶対座標データをマウスポインタの位置座標データに変換することを特徴とする。
(2) Storage means for storing a plurality of touch panel model determination commands and a data conversion module for converting touch panel touch position coordinate data into mouse pointer position coordinate data for each touch panel model;
When a touch panel is connected, it comprises a model discrimination means for reading a model discrimination command from the storage means and outputting the model discrimination command while sequentially switching until there is a response from the touch panel,
The arithmetic means reads out a data conversion module for a model that uses a model discrimination command responded from the touch panel from the storage means, and converts absolute coordinate data of the touch position of the touch panel into position coordinate data of the mouse pointer. It is characterized by that.

この構成においては、位置情報変換装置はタッチパネルが接続されると、このタッチパネルに対して順次切り換えながら異なるタッチパネル用の機種判別コマンドを出力し、応答があった機種判別コマンドを使用するデータ変換モジュールを記憶手段から読み出す。そして、このデータ変換モジュールにより、タッチパネルのタッチ位置の座標データと、ホストコンピュータから取得した現在のマウスポインタの位置座標データと、からマウスポインタの移動量を計算してマウスデータを出力する。したがって、接続されたタッチパネルの機種にかかわらず、タッチ位置データを確実にマウスデータに変換して表示させることができる。また、ユーザは任意のタッチパネルを選択することができ、タッチパネルの機種変更も容易に行うことができる。   In this configuration, when the touch panel is connected to the position information conversion device, a model conversion command for a different touch panel is output while sequentially switching to the touch panel, and a data conversion module that uses the response type determination command is provided. Read from storage means. The data conversion module calculates the amount of movement of the mouse pointer from the coordinate data of the touch position of the touch panel and the current position data of the mouse pointer acquired from the host computer, and outputs the mouse data. Therefore, regardless of the connected touch panel model, the touch position data can be reliably converted into mouse data and displayed. Further, the user can select an arbitrary touch panel, and can easily change the model of the touch panel.

(3)ホストコンピュータの制御部に、このコンピュータに接続されたモニタに現在表示中のマウスポインタの位置座標データ及びマウスデータの設定パラメータをデータ出力ポートから出力させることを特徴とする。   (3) The control unit of the host computer outputs the position coordinate data of the mouse pointer currently displayed on the monitor connected to the computer and the setting parameter of the mouse data from the data output port.

この構成においては、位置情報変換装置用データ出力プログラムをコンピュータにロードすることで、このコンピュータに接続されたモニタに現在表示中のマウスポインタの位置座標データ、及びマウスデータの設定パラメータをデータ出力ポートから出力させることができる。したがって、このコンピュータのデータ出力ポートを位置情報変換装置のマウスポインタ座標取得手段に接続することで、位置情報変換装置は、ホストコンピュータからマウスポインタの現在の位置情報をや設定パラメータの情報を取得できるので、タッチパネルのタッチ位置をマウスデータに変換しても、これらの情報に基づいてマウスポインタを正確に移動させることができる。なお、マウスデータの設定パラメータとは、マウスポインタの移動速度や、マウスの移動量とマウスポインタの移動量との比のデータなど、マウスを接続するポートから入力されたマウスデータに基づいてモニタ画面上にマウスポインタを表示させるための情報データのことである。   In this configuration, by loading the data output program for the position information converter into the computer, the position coordinate data of the mouse pointer currently displayed on the monitor connected to the computer and the setting parameters of the mouse data are output to the data output port. Can be output from. Therefore, by connecting the data output port of this computer to the mouse pointer coordinate acquisition means of the position information conversion apparatus, the position information conversion apparatus can acquire the current position information of the mouse pointer and the setting parameter information from the host computer. Therefore, even if the touch position of the touch panel is converted into mouse data, the mouse pointer can be accurately moved based on such information. The mouse data setting parameters are the monitor screen based on the mouse data input from the port to which the mouse is connected, such as the movement speed of the mouse pointer and the data of the ratio of the mouse movement amount to the mouse pointer movement amount. It is information data for displaying the mouse pointer on the top.

本発明の位置情報変換装置は、タッチパネルが接続されると、このタッチパネルのコントローラに対して特定のコマンドを送信し、それに対する反応の有無を判別して機種を特定し、そのタッチパネルに応じたデータ変換モジュールをロードするので、その機種に応じてタッチ位置データをマウスデータに変換して表示させることができる。したがって、ユーザは任意のタッチパネルを選択することができ、タッチパネルの機種変更が容易になる。   When the touch panel is connected, the position information conversion device of the present invention transmits a specific command to the controller of the touch panel, determines the presence or absence of a response to the controller, specifies the model, and data corresponding to the touch panel Since the conversion module is loaded, the touch position data can be converted into mouse data for display according to the model. Therefore, the user can select an arbitrary touch panel, and the model of the touch panel can be easily changed.

また、マウスポインタを移動させる際に、タッチパネルから移動先の位置座標を取得するとともに、ホストPCから現在表示されているマウスポインタの位置座標を取得して、両座標から移動量を演算してマウスデータを生成・送信するので、マウスポインタの追従性が良くなる。さらに、マウスポインタ移動後の位置座標を次回のマウスデータ生成に使用するので、量子化誤差などの位置ずれを無くすことができる。   In addition, when moving the mouse pointer, the position coordinates of the movement destination are acquired from the touch panel, the position coordinates of the currently displayed mouse pointer are acquired from the host PC, the amount of movement is calculated from both coordinates, and the mouse is calculated. Since the data is generated and transmitted, the followability of the mouse pointer is improved. Furthermore, since the position coordinates after moving the mouse pointer are used for the next generation of mouse data, it is possible to eliminate positional deviations such as quantization errors.

図1は、本発明の実施形態に係る位置情報変換装置の概略構成を示すブロック図である。図1に示すように、位置情報変換装置1は、タッチパネル付き表示装置2及びホストPC3に接続し、タッチパネル付き表示装置2のタッチ位置データをマウスデータに変換してホストPC3に出力し、タッチパネル付き表示装置2に表示させるマウスポインタをタッチ位置に同期させる構成である。位置情報変換装置1は、このように動作するので、タッチパネル付き表示装置をホストPCに接続して常用する場合だけでなく、異なる機種のタッチパネル付き表示装置を交換しながらソフトウェアの動作を評価する場合などに使用することができる。   FIG. 1 is a block diagram showing a schematic configuration of a position information conversion apparatus according to an embodiment of the present invention. As shown in FIG. 1, the position information conversion device 1 is connected to a display device 2 with a touch panel and a host PC 3, converts touch position data of the display device 2 with a touch panel into mouse data, and outputs the mouse data to the host PC 3. The mouse pointer displayed on the display device 2 is synchronized with the touch position. Since the position information conversion device 1 operates in this way, not only when the display device with a touch panel is connected to the host PC for regular use, but also when the operation of the software is evaluated while exchanging the display device with a different type of touch panel. Can be used for etc.

また、タッチパネル部を交換しながら異なる機種について動作を評価する場合には、モニタ23をホストPC3に常時接続して、タッチパネル部のみを別の機種に交換すると良い。   When evaluating the operation of different models while exchanging the touch panel unit, it is preferable to always connect the monitor 23 to the host PC 3 and replace only the touch panel unit with another model.

位置情報変換装置1は、タッチパネルデータ送受信部11、データコントローラ12、CPU13、メモリ14、表示部15、マウスデータ送信部16、及びポインタ座標データ受信部17を備えている。また、タッチパネル付き表示装置2は、タッチパネル21、タッチパネルコントローラ22、及びモニタ23を備えており、タッチパネル21とタッチパネルコントローラ22によりタッチパネル部が構成されている。ホストPC3は、データポート31、マウスポート32、モニタポート33、通信ポート34、メモリ35、及びプロセッサ36を備えている。   The position information conversion device 1 includes a touch panel data transmission / reception unit 11, a data controller 12, a CPU 13, a memory 14, a display unit 15, a mouse data transmission unit 16, and a pointer coordinate data reception unit 17. The display device with a touch panel 2 includes a touch panel 21, a touch panel controller 22, and a monitor 23, and the touch panel 21 and the touch panel controller 22 constitute a touch panel unit. The host PC 3 includes a data port 31, a mouse port 32, a monitor port 33, a communication port 34, a memory 35, and a processor 36.

位置情報変換装置1は、タッチパネルデータ送受信部11をタッチパネル付き表示装置2のタッチパネルコントローラ22に接続し、マウスデータ送信部16をホストPC3のマウスポート32に接続し、ポインタ座標データ受信部17をホストPC3のデータポート31に接続して使用する。また、このとき、ホストPC3のモニタポート33をタッチパネル付き表示装置2のモニタ23に接続して使用する。   The position information conversion device 1 connects the touch panel data transmission / reception unit 11 to the touch panel controller 22 of the display device 2 with a touch panel, connects the mouse data transmission unit 16 to the mouse port 32 of the host PC 3, and sets the pointer coordinate data reception unit 17 to the host. Used by connecting to the data port 31 of the PC 3. At this time, the monitor port 33 of the host PC 3 is connected to the monitor 23 of the display device 2 with a touch panel.

位置情報変換装置1において、タッチパネルデータ送受信部11は、タッチパネルコントローラ22とデータの送受信を行うためのものである。すなわち、タッチパネルデータ送受信部11は、タッチパネルコントローラ22から応答があるまで機種判別コマンドを別の機種のものへ切換ながら出力し、タッチパネルコントローラ22から応答があった場合には、その応答データを受信する。   In the position information conversion apparatus 1, the touch panel data transmission / reception unit 11 is for performing transmission / reception of data with the touch panel controller 22. That is, the touch panel data transmission / reception unit 11 outputs a model discrimination command while switching to another model until there is a response from the touch panel controller 22, and receives a response data when there is a response from the touch panel controller 22. .

データコントローラ12は、タッチパネルデータ送受信部11、マウスデータ送信部16、及びポインタ座標データ受信部17を介してタッチパネル付き表示装置2やホストPC3とやりとりするデータを制御する。   The data controller 12 controls data exchanged with the touch panel display device 2 and the host PC 3 via the touch panel data transmission / reception unit 11, the mouse data transmission unit 16, and the pointer coordinate data reception unit 17.

CPU13は、位置情報変換装置1の各部の制御や演算を行う。また、CPU13は、メモリ14からデータ変換モジュールやマウスデータ生成モジュールを読み出して、タッチパネルのタッチ位置の座標データをマウスデータ(マウスポインタの座標データ)に変換したり、マウスポインタの移動量データを計算したりする。   The CPU 13 controls and calculates each part of the position information conversion apparatus 1. Further, the CPU 13 reads out the data conversion module and the mouse data generation module from the memory 14, converts the coordinate data of the touch position on the touch panel into mouse data (coordinate data of the mouse pointer), and calculates the movement amount data of the mouse pointer. To do.

メモリ14は、タッチパネルコントローラ22に対して出力するタッチパネルの機種判別コマンド、及びタッチパネル21のタッチ位置座標データをマウスポインタの位置座標データに変換するデータ変換モジュールを、複数のタッチパネル付き表示装置について記憶している。また、メモリ14は、タッチパネルのタッチ位置の座標データをマウスポインタの位置座標データに変換したデータと、モニタ23に現在表示中のマウスポインタの位置座標データと、からマウスポインタの移動量データを計算するマウスデータ生成モジュールCを記憶している。さらに、メモリ14は、データを書き換え可能であり、例えばフラッシュメモリで構成されている。   The memory 14 stores a touch panel model determination command output to the touch panel controller 22 and a data conversion module that converts touch position coordinate data of the touch panel 21 into position data of a mouse pointer for a plurality of display devices with touch panels. ing. Further, the memory 14 calculates mouse pointer movement amount data from the data obtained by converting the coordinate data of the touch position on the touch panel into the position coordinate data of the mouse pointer and the position coordinate data of the mouse pointer currently displayed on the monitor 23. The mouse data generation module C to be stored is stored. Furthermore, the memory 14 can rewrite data, and is configured by, for example, a flash memory.

表示部15は、CPU13から出力された信号に基づいて位置情報変換装置1のユーザに伝達すべき情報を表示する。   The display unit 15 displays information to be transmitted to the user of the position information conversion device 1 based on the signal output from the CPU 13.

マウスデータ送信部16は、CPU13から出力されて、データコントローラ12を介して送られてきたマウスデータをホストPC3へ送信する。   The mouse data transmission unit 16 transmits mouse data output from the CPU 13 and sent via the data controller 12 to the host PC 3.

ポインタ座標データ受信部17は、ホストPC3のデータポート31から出力されたモニタ23に現在表示中のマウスポインタの位置座標データを受信して、データコントローラ12へこのデータを出力する。   The pointer coordinate data receiving unit 17 receives the position coordinate data of the mouse pointer currently displayed on the monitor 23 output from the data port 31 of the host PC 3 and outputs this data to the data controller 12.

タッチパネル付き表示装置2において、タッチパネル21は、ユーザが付属のスタイラスペンや指などでその表面をタッチされると、その位置情報(絶対座標データ)をタッチパネルコントローラ22へ出力する。   In the display device 2 with a touch panel, the touch panel 21 outputs position information (absolute coordinate data) to the touch panel controller 22 when the user touches the surface with an attached stylus pen or a finger.

タッチパネルコントローラ22は、タッチパネル21のタッチ位置情報を位置情報変換装置1のタッチパネルデータ送受信部11へ出力する。また、タッチパネルコントローラ22は、位置情報変換装置1から送信された機種判別コマンドを受信し、その機種判別コマンドが認識可能であると、この機種判別コマンドに対する応答データを出力する。機種判別コマンドとしては、機種名を問い合わせるコマンドを備えていないタッチパネル付き表示装置2の場合には、例えば、自己診断結果を問い合わせるコマンドを機種判別コマンドとして使用すると良い。このコマンドは、タッチパネル付き表示装置2のメーカや機種に応じて異なっているため、機種を判別するためのコマンドとして適している。もちろん、機種判別コマンドとしては、別のコマンドを使用することも可能である。なお、機種名を問い合わせるコマンドを備えているタッチパネル付き表示装置2の場合には、この機種問い合わせコマンドを使用するようにすることもできる。   The touch panel controller 22 outputs touch position information on the touch panel 21 to the touch panel data transmission / reception unit 11 of the position information conversion device 1. In addition, the touch panel controller 22 receives the model discrimination command transmitted from the position information conversion apparatus 1, and outputs response data for the model discrimination command when the model discrimination command can be recognized. In the case of the display device 2 with a touch panel that does not have a command for inquiring the model name as the model discrimination command, for example, a command for inquiring a self-diagnosis result may be used as the model discrimination command. Since this command differs depending on the manufacturer and model of the display device 2 with a touch panel, it is suitable as a command for determining the model. Of course, another command can be used as the model discrimination command. In the case of the display device 2 with a touch panel provided with a command for inquiring the model name, this model inquiry command may be used.

モニタ23は、ホストPC3のモニタポート33から出力された文字・図形・マウスポインタなどの画像データに基づいて、これらの画像を表示する。   The monitor 23 displays these images based on image data such as characters, graphics, and a mouse pointer output from the monitor port 33 of the host PC 3.

ホストPC3において、データポート31は、モニタ23に現在表示しているマウスポインタの位置情報(座標データ)やマウスデータの設定パラメータを位置情報変換装置1へ出力する。ここで、マウスデータの設定パラメータとは、マウスポインタの移動速度や、マウスの移動量とマウスポインタの移動量との比のデータなど、マウスを接続するポートから入力されたマウスデータに基づいてモニタ画面上にマウスポインタを表示させるための情報データのことである。   In the host PC 3, the data port 31 outputs the position information (coordinate data) of the mouse pointer currently displayed on the monitor 23 and mouse data setting parameters to the position information conversion apparatus 1. Here, the mouse data setting parameters are monitored based on mouse data input from the port to which the mouse is connected, such as mouse pointer movement speed and data on the ratio of mouse movement to mouse pointer movement. Information data for displaying a mouse pointer on the screen.

マウスポート32は、位置情報変換装置1のマウスデータ送信部16から出力されたマウスデータを受信してプロセッサ36へ出力する。モニタポート33は、モニタ23に表示させる画像データを出力する。通信ポート34は、インターネット41に接続され、インターネット41の各サーバから各種の情報を取得することができる。メモリ35は、プロセッサ36で実行するプログラムや各装置のドライバを記憶する。   The mouse port 32 receives the mouse data output from the mouse data transmission unit 16 of the position information conversion apparatus 1 and outputs it to the processor 36. The monitor port 33 outputs image data to be displayed on the monitor 23. The communication port 34 is connected to the Internet 41 and can acquire various types of information from each server of the Internet 41. The memory 35 stores programs to be executed by the processor 36 and drivers for each device.

プロセッサ36は、ホストPC3の各部を制御するとともに、演算処理などを行う。また、プロセッサ36は、メモリ35から位置情報変換装置用ドライバ37、マウスドライバ38、及びモニタドライバ39を読み出してロードする。ここで、プロセッサ36は、位置情報変換装置用ドライバ37をロードすることで、位置情報変換装置1に対して、モニタ23に現在表示中のマウスポインタの位置座標データやマウスデータの設定パラメータ、すなわち、マウスポインタの移動速度や、マウスの移動量とマウスポインタの移動量との比のデータなど、マウスを接続するポートから入力されたマウスデータに基づいてモニタ画面上にマウスポインタを表示させるための情報データをデータポート31から出力することが可能となる。また、プロセッサ36は、マウスドライバ38をロードすることで、マウスポート32から入力されたマウスデータに基づいてモニタ23に表示させるマウスポインタの位置を制御することが可能となる。さらに、プロセッサ36は、モニタドライバ39をロードすることで、文字・図形・マウスポインタなどの画像をモニタ23に表示することが可能となる。   The processor 36 controls each part of the host PC 3 and performs arithmetic processing. Further, the processor 36 reads and loads the position information conversion device driver 37, the mouse driver 38, and the monitor driver 39 from the memory 35. Here, the processor 36 loads the position information conversion device driver 37 to the position information conversion device 1 so that the position coordinate data of the mouse pointer currently displayed on the monitor 23 and the setting parameters of the mouse data, that is, To display the mouse pointer on the monitor screen based on the mouse data input from the port to which the mouse is connected, such as the movement speed of the mouse pointer and the data of the ratio of the mouse movement amount to the mouse pointer movement amount Information data can be output from the data port 31. Further, the processor 36 can control the position of the mouse pointer displayed on the monitor 23 based on the mouse data input from the mouse port 32 by loading the mouse driver 38. Furthermore, the processor 36 can display images such as characters, graphics, and a mouse pointer on the monitor 23 by loading the monitor driver 39.

なお、位置情報変換装置1とホストPC3とは、RS−232CやUSBなどのシリアルバスを利用して接続すると良い。また、USBを使用する場合には、ホストPC3から位置情報変換装置1に対して電源を供給するようにしても良い。また、位置情報変換装置1とホストPC3とは、もちろん、パラレルバスを利用して接続しても良い。   Note that the location information conversion apparatus 1 and the host PC 3 may be connected using a serial bus such as RS-232C or USB. Further, when the USB is used, power may be supplied from the host PC 3 to the position information conversion apparatus 1. Of course, the position information conversion apparatus 1 and the host PC 3 may be connected using a parallel bus.

次に、位置情報変換装置1の動作を説明する。図2は、モニタ画面に表示するマウスポインタの位置座標の関係を示す図である。位置情報変換装置1は、タッチパネル付き表示装置2が接続されると、タッチパネルコントローラ22に対して機種判別コマンドを送信して、そのタッチパネルの機種判別を行う。前記のように、一般的なタッチパネル付き表示装置は、メーカや機種によって出力データの形式が異なり、通常、ホストPCに接続された際に機種名が判別できる信号を出力するような仕様になっていない。一方、タッチパネル付き表示装置は、通常、起動時に自己診断を行い、その結果を内部に保持するように設定されている。そこで、本発明の実施形態に係る位置情報変換装置1は、接続されたタッチパネルに対して、自己診断結果の問い合わせコマンドを送信し、一定時間が経過するまでに応答があるか否かを確認する。そして、このコマンドに対して応答がない場合には、そのコマンドを使用可能な機種と異なる機種であるため、メモリ14から別の機種の自己診断結果問い合わせコマンドを読み出して、このコマンドをタッチパネルデータ送受信部11から送信して、その応答を確認する。位置情報変換装置1は、タッチパネル付き表示装置2から応答データが送られてくるまで、この動作を続ける。応答の有無を確認する時間は、例えば1秒などの一定時間に予め設定しておくと良い。また、この一定時間は、タッチパネル付き表示装置の応答時間などに応じて変更可能である。   Next, the operation of the position information conversion apparatus 1 will be described. FIG. 2 is a diagram showing the relationship of the position coordinates of the mouse pointer displayed on the monitor screen. When the display device with a touch panel 2 is connected, the position information conversion apparatus 1 transmits a model determination command to the touch panel controller 22 to determine the model of the touch panel. As described above, general display devices with a touch panel have different output data formats depending on manufacturers and models, and are usually designed to output a signal that can identify the model name when connected to a host PC. Absent. On the other hand, a display device with a touch panel is normally set to perform self-diagnosis at startup and hold the result inside. Therefore, the position information conversion apparatus 1 according to the embodiment of the present invention transmits a self-diagnosis result inquiry command to the connected touch panel, and confirms whether or not there is a response before a predetermined time elapses. . If there is no response to this command, it is a model different from the model that can use the command. Therefore, a self-diagnosis result inquiry command for another model is read from the memory 14, and this command is sent to and received from the touch panel data. It is transmitted from the unit 11 and the response is confirmed. The position information conversion device 1 continues this operation until response data is sent from the display device 2 with a touch panel. The time for checking whether or not there is a response may be set in advance to a certain time such as 1 second, for example. Moreover, this fixed time can be changed according to the response time of the display device with a touch panel.

一方、位置情報変換装置1は、タッチパネル付き表示装置2から応答があった場合には、その問い合わせコマンドを使用する機種用のデータ変換モジュールをメモリ14から読み出してロードする。さらに、CPU13は、このデータ変換モジュールを用いて、タッチパネルコントローラ22から出力されたタッチパネル21のタッチ位置座標データをマウスポインタの位置座標データ、つまり移動すべきマウスポインタの位置座標データB(X1,Y1)に変換する。続いて、CPU13は、ホストPC3のデータポート31から出力されているモニタ23に現在表示中のマウスポインタの位置座標データA(X0,Y0)を、ポインタ座標データ受信部17を介して取得する。さらに、CPU13は、メモリ14からマウスデータ生成モジュールを読み出してロードし、このモジュールを使用してA点とB点の位置座標データから、その差のデータであるマウスポインタの移動量データ(dx,dy)を計算して、マウスデータ(マウスプロトコルデータ)を生成する。そして、CPU13は、データコントローラ12にマウスデータ送信部16を介してマウスポート32へ、このマウスデータを出力させる。ホストPC3のプロセッサ36は、マウスポート32から入力されたマウスデータに基づいて、モニタ23に表示中のマウスポインタの位置を移動させる。位置情報変換装置1は、上記の処理を繰り返すことで、モニタ23に表示中のマウスポインタの位置を順次移動させる。   On the other hand, when there is a response from the display device 2 with a touch panel, the position information conversion device 1 reads the data conversion module for the model that uses the inquiry command from the memory 14 and loads it. Further, the CPU 13 uses this data conversion module to convert the touch position coordinate data of the touch panel 21 output from the touch panel controller 22 into the position coordinate data of the mouse pointer, that is, the position coordinate data B (X1, Y1) of the mouse pointer to be moved. ). Subsequently, the CPU 13 acquires the position coordinate data A (X0, Y0) of the mouse pointer currently displayed on the monitor 23 output from the data port 31 of the host PC 3 via the pointer coordinate data receiving unit 17. Further, the CPU 13 reads out and loads a mouse data generation module from the memory 14, and uses this module to calculate the mouse pointer movement amount data (dx, dy) is calculated to generate mouse data (mouse protocol data). Then, the CPU 13 causes the data controller 12 to output this mouse data to the mouse port 32 via the mouse data transmission unit 16. The processor 36 of the host PC 3 moves the position of the mouse pointer currently displayed on the monitor 23 based on the mouse data input from the mouse port 32. The position information conversion apparatus 1 sequentially moves the position of the mouse pointer displayed on the monitor 23 by repeating the above processing.

なお、現在表示中のマウスポインタの位置座標データAは、移動すべきマウスポインタの位置座標データBの取得前に取得するようにしても良い。   Note that the position coordinate data A of the currently displayed mouse pointer may be acquired before acquiring the position coordinate data B of the mouse pointer to be moved.

このように、本発明の位置情報変換装置は、タッチパネル(タッチパネル付き表示装置)が接続されると、このタッチパネルのコントローラに対して機種判別コマンドを送信し、それに対する反応があるまでコマンドを別の機種のものに順次切り換えることで機種を特定し、そのタッチパネルに応じたデータ変換モジュールをロードするので、その機種に応じてタッチ位置データをマウスデータに変換して表示させることができる。これにより、ユーザは任意のタッチパネルを選択することができ、タッチパネルの機種変更が容易になる。   As described above, when the touch panel (display device with a touch panel) is connected, the position information conversion apparatus of the present invention transmits a model determination command to the controller of the touch panel, and sends another command until there is a response to the command. Since the model is specified by sequentially switching to the model and the data conversion module corresponding to the touch panel is loaded, the touch position data can be converted into mouse data and displayed according to the model. Thereby, the user can select an arbitrary touch panel, and the model change of the touch panel is facilitated.

また、マウスポインタを移動させる際に、タッチパネルから移動先の位置座標を取得するとともに、ホストPCから現在表示されているマウスポインタの位置座標を取得して、両座標から移動量を演算してマウスデータを生成・送信するので、マウスポインタの追従性が良くなる。また、マウスポインタ移動後の位置座標を次回のマウスデータ生成に使用するので、量子化誤差などの位置ずれを無くすことができる。   In addition, when moving the mouse pointer, the position coordinates of the movement destination are acquired from the touch panel, the position coordinates of the currently displayed mouse pointer are acquired from the host PC, the amount of movement is calculated from both coordinates, and the mouse is calculated. Since the data is generated and transmitted, the followability of the mouse pointer is improved. In addition, since the position coordinates after moving the mouse pointer are used for the next generation of mouse data, it is possible to eliminate positional deviation such as quantization error.

ここで、位置情報変換装置1は、タッチパネル付き表示装置2から応答があると、その機種名をメモリ14に保持するように設定することができる。このように設定した場合、位置情報変換装置1は、電源を再投入された時などにメモリ14からこの機種名を読み出して、タッチパネル付き表示装置2に対して、まずこの機種の自己診断結果問い合わせコマンド(機種判別コマンド)を送信する。これにより、タッチパネル付き表示装置2の接続が分離されるまで、電源が再投入される毎に、タッチパネル付き表示装置2の機種をすぐに判別することができる。   Here, when there is a response from the display device 2 with a touch panel, the position information conversion device 1 can be set to hold the model name in the memory 14. In this case, the position information conversion device 1 reads out the model name from the memory 14 when the power is turned on again, etc., and inquires of the self-diagnosis result of this model to the display device 2 with a touch panel first. Send a command (model discrimination command). Accordingly, the model of the display device 2 with a touch panel can be immediately determined every time the power is turned on again until the connection of the display device 2 with a touch panel is disconnected.

また、位置情報変換装置1では、メモリ14が記憶している判別コマンドやデータ変換モジュールを、ホストPC3を介して更新可能である。すなわち、ホストPC3は、通信ポート34を介してインターネット41に接続されているので、位置情報変換装置1をデータ追加・更新モードに設定して、タッチパネル付き表示装置のデータ変換モジュールや機種判別コマンド(機種問い合わせコマンド)を配布しているWebサイト42から新たな機種用のデータを取得し、データポート31を介してメモリ14のデータを追加・更新することができる。   Further, in the position information conversion apparatus 1, the determination command and the data conversion module stored in the memory 14 can be updated via the host PC 3. That is, since the host PC 3 is connected to the Internet 41 via the communication port 34, the position information conversion device 1 is set to the data addition / update mode, and the data conversion module and model determination command ( Data for a new model can be acquired from the Web site 42 distributing the model inquiry command), and data in the memory 14 can be added / updated via the data port 31.

次に、位置情報変換装置1の具体的な動作についてフローチャートを用いて説明する。図3は、位置情報変換装置にタッチパネル付き表示装置が接続された時の動作を説明するためのフローチャートである。ここで、図3に示すフローチャートでは、説明を簡略化するために、位置情報変換装置1は、A社のある機種・B社のある機種の2種類のタッチパネル機種判別コマンドをメモリ14に格納している場合について説明する。   Next, a specific operation of the position information conversion apparatus 1 will be described using a flowchart. FIG. 3 is a flowchart for explaining an operation when a display device with a touch panel is connected to the position information conversion device. Here, in the flowchart shown in FIG. 3, in order to simplify the description, the position information conversion apparatus 1 stores two types of touch panel model identification commands for a model of company A and a model of company B in the memory 14. The case will be described.

図3に示すように、位置情報変換装置1のCPU13は、タッチパネルデータ送受信部11にタッチパネル付き表示装置2が接続されるまで待機しており、タッチパネル付き表示装置2が接続されたことを検出すると(s1)、タッチパネル付き表示装置2の機種判別コマンドとしてA社製品の自己診断の問い合わせコマンドをメモリ14から読み出して、データコントローラ12を介してタッチパネルデータ送受信部11からタッチパネルコントローラ22へ、このコマンドを送信する(s2)。   As shown in FIG. 3, the CPU 13 of the position information conversion apparatus 1 is on standby until the display device 2 with a touch panel is connected to the touch panel data transmitting / receiving unit 11 and detects that the display device 2 with a touch panel is connected. (S1) A self-diagnosis inquiry command for the company A product is read from the memory 14 as a model discrimination command of the display device 2 with a touch panel, and this command is sent from the touch panel data transmitting / receiving unit 11 to the touch panel controller 22 via the data controller 12. Transmit (s2).

CPU13は、予め設定された一定時間が経過するまでの間に、タッチパネルコントローラ22から、このコマンドに対する応答があるか否かを確認する(s3)。そして、このコマンドに対して応答があった場合には、CPU13は、A社製品用のデータ変換モジュールAをメモリ14から読み出してロードする(s4)。続いて、CPU13は、表示部15に「A社タッチパネル変換システム」と表示する(s5)。これにより、位置情報変換装置1は、A社のタッチパネルデータを受信可能な状態となる(s6)。   The CPU 13 confirms whether or not there is a response to this command from the touch panel controller 22 until a predetermined time has elapsed (s3). If there is a response to this command, the CPU 13 reads the data conversion module A for the company A product from the memory 14 and loads it (s4). Subsequently, the CPU 13 displays “Company A touch panel conversion system” on the display unit 15 (s5). Thereby, the position information conversion apparatus 1 is in a state in which the touch panel data of the company A can be received (s6).

一方、CPU13は、所定の時間が経過してもタッチパネルコントローラ22から、このコマンドに対する応答がない場合には、続いて、タッチパネルの機種判別コマンドとしてB社製品の自己診断の問い合わせコマンドをメモリ14から読み出して、データコントローラ12を介してタッチパネルデータ送受信部11からタッチパネル側へ、このコマンドを送信する(s11)。   On the other hand, if there is no response to this command from the touch panel controller 22 even after a predetermined time has elapsed, the CPU 13 subsequently sends a self-diagnosis inquiry command from the memory 14 as a touch panel model discrimination command. The command is read and this command is transmitted from the touch panel data transmitting / receiving unit 11 to the touch panel side via the data controller 12 (s11).

CPU13は、予め設定された一定時間が経過するまでの間に、タッチパネルコントローラ22から、このコマンドに対する応答があるか否かを確認する(s12)。そして、このコマンドに対して応答があった場合には、CPU13は、メモリ14からB社製品用のデータ変換モジュールBを読み出してロードする(s13)。さらに、表示部15に「B社タッチパネル変換システム」と表示する(s14)。これにより、位置情報変換装置1は、A社のタッチパネルデータを受信可能な状態となる(s6)。   The CPU 13 confirms whether or not there is a response to this command from the touch panel controller 22 until a predetermined time has elapsed (s12). If there is a response to this command, the CPU 13 reads the data conversion module B for company B from the memory 14 and loads it (s13). Further, “Company B touch panel conversion system” is displayed on the display unit 15 (s14). Thereby, the position information conversion apparatus 1 is in a state in which the touch panel data of the company A can be received (s6).

一方、CPU13は、予め設定された一定時間が経過してもタッチパネルコントローラ22からこのコマンドに対する応答がない場合には、表示部15に例えば「本システムは、この機種に対応していません。」と表示して(s15)、処理を終了する。   On the other hand, if the CPU 13 does not respond to this command from the touch panel controller 22 even after a predetermined time has elapsed, for example, “This system is not compatible with this model” on the display unit 15. Is displayed (s15), and the process ends.

次に、位置情報変換装置1にタッチパネル付き表示装置2を接続後に、タッチパネルのタッチ位置座標データをマウスデータに変換する動作について説明する。図4は、タッチパネルデータ受信時の位置情報変換装置の動作を説明するためのフローチャートである。なお、位置情報変換装置1には、タッチパネル付き表示装置2としてA社のある機種が接続されたことを既に検出しており、CPU13には、A社のタッチパネル付き表示装置2が出力した絶対座標データをマウスポインタの位置座標データに変換するデータ変換モジュールAが、メモリ14から既に読み出されてロードされているものとする。また、CPU13には、マウスデータ変換モジュールが、メモリ14から既に読み出されてロードされているものとする。   Next, an operation of converting touch position coordinate data of the touch panel into mouse data after connecting the display device 2 with a touch panel to the position information conversion apparatus 1 will be described. FIG. 4 is a flowchart for explaining the operation of the position information conversion apparatus when receiving touch panel data. The position information conversion device 1 has already detected that a model of company A is connected as the display device 2 with a touch panel, and the CPU 13 has absolute coordinates output by the display device 2 with the touch panel of company A. It is assumed that a data conversion module A that converts data into mouse pointer position coordinate data has already been read from the memory 14 and loaded. In addition, it is assumed that the mouse data conversion module has already been read from the memory 14 and loaded into the CPU 13.

位置情報変換装置1のCPU13は、タッチパネルコントローラ22から出力されたタッチパネル21のタッチ位置の座標データを受信するまで待機している。CPU13は、ユーザがタッチパネル21をタッチした位置B点の絶対座標データを受信すると(s21)、このデータをデータ変換モジュールAにより、モニタ23にマウスポインタを表示した場合の位置座標データB(X1,Y1)に変換する(s22)。   The CPU 13 of the position information conversion apparatus 1 is on standby until it receives coordinate data of the touch position of the touch panel 21 output from the touch panel controller 22. When the CPU 13 receives the absolute coordinate data of the point B where the user touches the touch panel 21 (s21), the data conversion module A uses this data to display the position coordinate data B (X1, X1) when the mouse pointer is displayed on the monitor 23. Y1) is converted (s22).

続いて、CPU13は、ホストPC3のモニタ23において現在表示中のマウスポインタの位置座標データA(X0,Y0)をポインタ座標データ受信部17を介して取得する(s23)。   Subsequently, the CPU 13 acquires the position coordinate data A (X0, Y0) of the mouse pointer currently displayed on the monitor 23 of the host PC 3 via the pointer coordinate data receiving unit 17 (s23).

そして、CPU13は、マウスデータ生成モジュールを使用して、次に表示する座標B(X1,Y1)と現在表示中の座標A(X0,Y0)とからその差のデータである移動量データ(dx,dy)=(X1−X0,Y1−Y0)を計算して、マウスプロトコルデータを生成する(s24)。さらに、CPU13は、このマウスプロトコルデータをマウスデータ送信部16からホストPC3へ送信する(s25)。   Then, using the mouse data generation module, the CPU 13 uses the mouse B data generation module (dx, Y1) and the coordinate A (X0, Y0) being displayed next to move amount data (dx , Dy) = (X1-X0, Y1-Y0) to generate mouse protocol data (s24). Further, the CPU 13 transmits the mouse protocol data from the mouse data transmission unit 16 to the host PC 3 (s25).

CPU13は、タッチパネルコントローラ22からタッチ位置の座標データをタッチパネルデータ送受信部11が受信しているか否か、つまり、ユーザがタッチパネル21の別の位置をタッチしたり(マウスのクリック操作に相当)、タッチしながらそのポイントを移動したり(マウスのドラッグ操作に相当)しているかを確認する(s26)。CPU13は、タッチ位置の座標データを引き続き受信している場合には、s22以降の処理を行う。一方、CPU13は、タッチ位置の座標データを受信していない場合には、ユーザがタッチパネル21へのタッチをやめているので、タッチパネルへのタッチが停止されたことを伝える情報(マウスの左クリック停止に相当する情報)を含むマウスプロトコルデータを、マウスデータ生成モジュールを用いて生成する。そして、このマウスプロトコルデータをマウスデータ送信部16からホストPC3へ送信する(s27)。続いて、ステップs21の処理を行う。   The CPU 13 determines whether or not the touch panel data transmitting / receiving unit 11 has received the coordinate data of the touch position from the touch panel controller 22, that is, the user touches another position on the touch panel 21 (corresponding to a mouse click operation), or touch. Then, it is confirmed whether the point is moved (corresponding to a mouse drag operation) (s26). When the CPU 13 continues to receive the coordinate data of the touch position, the CPU 13 performs the processing after s22. On the other hand, when the coordinate data of the touch position has not been received, the CPU 13 stops the touch on the touch panel 21 and the information indicating that the touch on the touch panel has been stopped (in order to stop the left click of the mouse). Mouse protocol data including corresponding information) is generated using a mouse data generation module. Then, the mouse protocol data is transmitted from the mouse data transmitting unit 16 to the host PC 3 (s27). Subsequently, the process of step s21 is performed.

本発明の実施形態に係る位置情報変換装置の概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the positional information converter which concerns on embodiment of this invention. モニタ画面に表示するマウスポインタの位置座標の関係を示す図である。It is a figure which shows the relationship of the position coordinate of the mouse pointer displayed on a monitor screen. 位置情報変換装置にタッチパネル付き表示装置が接続された時の動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement when the display apparatus with a touch panel is connected to the positional information converter. タッチパネルデータ受信時の位置情報変換装置の動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement of the positional information converter at the time of touch panel data reception.

符号の説明Explanation of symbols

1−位置情報変換装置
2−タッチパネル付き表示装置
3−ホストPC
11−タッチパネルデータ送受信部
12−データコントローラ
13−CPU
14−メモリ
15−表示部
16−マウスデータ送信部
17−ポインタ座標データ受信部
1-position information conversion device 2-display device with touch panel 3-host PC
11-Touch panel data transmission / reception unit 12-Data controller 13-CPU
14-memory 15-display unit 16-mouse data transmission unit 17-pointer coordinate data reception unit

Claims (3)

マウスを接続するポートから入力されたマウスデータに基づいてモニタ画面上にマウスポインタを表示させるとともにマウスポインタの位置座標データ及びマウスデータの設定パラメータを出力するホストコンピュータに対して、タッチパネルのタッチ位置データをマウスデータに変換して出力する位置情報変換装置であって、
前記モニタ画面上に表示されている現在のマウスポインタの位置座標データを前記ホストコンピュータから取得するマウスポインタ座標取得手段と、
タッチパネルのタッチ位置の絶対座標データをマウスポインタの位置座標データに変換し、この位置座標データと、前記マウスポインタ座標取得手段が取得した現在のマウスポインタの位置座標データと、からマウスポインタの移動量を計算して、マウスデータとして前記ホストコンピュータへ出力する演算手段と、
を備えたことを特徴とする位置情報変換装置。
Touch position data on the touch panel for the host computer that displays the mouse pointer on the monitor screen based on the mouse data input from the port to which the mouse is connected and outputs the mouse pointer position coordinate data and mouse data setting parameters Is a position information conversion device that converts mouse data to output,
Mouse pointer coordinate acquisition means for acquiring the position coordinate data of the current mouse pointer displayed on the monitor screen from the host computer;
The absolute coordinate data of the touch position of the touch panel is converted into the position coordinate data of the mouse pointer, and the amount of movement of the mouse pointer from the position coordinate data and the current mouse pointer position coordinate data acquired by the mouse pointer coordinate acquisition means Computing means for calculating and outputting to the host computer as mouse data;
A position information conversion device comprising:
タッチパネルの機種判別コマンド、及びタッチパネルのタッチ位置座標データをマウスポインタの位置座標データに変換するデータ変換モジュールを、タッチパネルの機種毎に複数記憶する記憶手段と、
タッチパネルが接続されると、前記記憶手段から機種判別コマンドを読み出して、このタッチパネルから応答があるまで機種判別コマンドを順次切り換えながら出力する機種判別手段と、を備え、
前記演算手段は、前記タッチパネルから応答があった機種判別コマンドを使用する機種用のデータ変換モジュールを前記記憶手段から読み出して、タッチパネルのタッチ位置の絶対座標データをマウスポインタの位置座標データに変換する請求項1に記載の位置情報変換装置。
Storage means for storing a plurality of touch panel model identification commands and touch panel coordinate data of the touch panel into position data of the mouse pointer, for each touch panel model;
When a touch panel is connected, it comprises a model discrimination means for reading a model discrimination command from the storage means and outputting the model discrimination command while sequentially switching until there is a response from the touch panel,
The arithmetic means reads out a data conversion module for a model that uses a model discrimination command responded from the touch panel from the storage means, and converts absolute coordinate data of the touch position of the touch panel into position coordinate data of the mouse pointer. The position information conversion apparatus according to claim 1.
ホストコンピュータの制御部に、このコンピュータに接続されたモニタに現在表示中のマウスポインタの位置座標データ及びマウスデータの設定パラメータをデータ出力ポートから出力させるための位置情報変換装置用データ出力プログラム。   A data output program for a position information conversion apparatus for causing a control unit of a host computer to output position coordinate data of a mouse pointer currently displayed on a monitor connected to the computer and a setting parameter of mouse data from a data output port.
JP2004080575A 2004-03-19 2004-03-19 Position information conversion device, and data output program for position information conversion device Pending JP2005267377A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004080575A JP2005267377A (en) 2004-03-19 2004-03-19 Position information conversion device, and data output program for position information conversion device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004080575A JP2005267377A (en) 2004-03-19 2004-03-19 Position information conversion device, and data output program for position information conversion device

Publications (1)

Publication Number Publication Date
JP2005267377A true JP2005267377A (en) 2005-09-29

Family

ID=35091849

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004080575A Pending JP2005267377A (en) 2004-03-19 2004-03-19 Position information conversion device, and data output program for position information conversion device

Country Status (1)

Country Link
JP (1) JP2005267377A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012043400A (en) * 2010-08-16 2012-03-01 Fuji Xerox Co Ltd Information processing system, information processing method and computer program
CN109961479A (en) * 2017-12-25 2019-07-02 大族激光科技产业集团股份有限公司 Localization method and welding streamline applied to battery modules bus welding streamline

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012043400A (en) * 2010-08-16 2012-03-01 Fuji Xerox Co Ltd Information processing system, information processing method and computer program
CN109961479A (en) * 2017-12-25 2019-07-02 大族激光科技产业集团股份有限公司 Localization method and welding streamline applied to battery modules bus welding streamline

Similar Documents

Publication Publication Date Title
US8836653B1 (en) Extending host device functionality using a mobile device
US20090135153A1 (en) Display system, display device, and program
US20090058804A1 (en) Information processing apparatus, kvm switch, server, and computer readable medium
US20170277614A1 (en) Intelligent test robot system
JP2022126793A (en) Method and device for controlling terminal, electronic apparatus, storage medium, and computer program
JP2014219885A (en) Test support method and test support system
KR20160052952A (en) Block and user terminal for modeling 3d shape and the method for modeling 3d shape using the same
CN107783669A (en) Cursor generation system, method and computer program product
US10691254B2 (en) Serial communication method and sensor controller
CN111531551A (en) Safety demonstrator using universal tablet computer and demonstration method
US20160171132A1 (en) Simulation device and simulation program
JP2024010237A (en) Information input device, method, and program
US9285915B2 (en) Method of touch command integration and touch system using the same
JP2005267377A (en) Position information conversion device, and data output program for position information conversion device
US10461997B2 (en) Information processing device and program
US11327601B2 (en) Serial communication method and sensor controller
JP4054812B2 (en) Coordinate input method, information processing apparatus, information processing system, and storage medium
JP2010176241A (en) Programmable indicator, apparatus monitoring system, and control program
CN101251777A (en) Computer system and control method thereof
JP2017151563A (en) Information processing device, control method thereof, and program
JP6938234B2 (en) Display system
JP5812608B2 (en) I / O device switching system and switch
CN102722250A (en) Method and system for interactive editing of image control points
CN209911963U (en) Multicomputer switcher
EP2629184B1 (en) Information processing system, information processing method, information processing program, and computer-readable recording medium on which information processing program is stored