JP4028522B2 - controller - Google Patents
controller Download PDFInfo
- Publication number
- JP4028522B2 JP4028522B2 JP2004177812A JP2004177812A JP4028522B2 JP 4028522 B2 JP4028522 B2 JP 4028522B2 JP 2004177812 A JP2004177812 A JP 2004177812A JP 2004177812 A JP2004177812 A JP 2004177812A JP 4028522 B2 JP4028522 B2 JP 4028522B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- format
- coordinate data
- controller
- input device
- 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.)
- Expired - Lifetime
Links
Images
Landscapes
- Position Input By Displaying (AREA)
Description
本発明は、例えばノートタイプのコンピュータに内蔵されたパッドタイプの入力装置とスティックタイプの入力装置のように操作態様の相違する入力装置からの情報をソフトウエア上で処理可能なコントローラに関する。 The present invention relates to a controller capable of processing information from an input device having different operation modes on software, such as a pad type input device and a stick type input device built in a notebook type computer.
従来のノートタイプのコンピュータの入力装置(コントローラ)としては、例えばパッドタイプやスティックタイプのものが使用されている。 As an input device (controller) of a conventional notebook type computer, for example, a pad type or a stick type is used.
前記パッドタイプの入力装置は、平板状のパッドがキーボードの近傍に設けられ、使用時にはパッド上で指を摺動させることにより画面上に表示されたポインタ(マウスカーソル)をX,Y軸方向(画面と平行な方向)へ移動させる情報を入力することができる。またパッド上部を指でたたくなどの操作をすることによりZ軸方向の情報を入力することができる。 In the pad type input device, a flat pad is provided in the vicinity of the keyboard, and when used, a pointer (mouse cursor) displayed on the screen is moved in the X and Y axis directions by sliding a finger on the pad ( Information to be moved in a direction parallel to the screen can be input. Also, information in the Z-axis direction can be input by performing an operation such as tapping the top of the pad with a finger.
前記スティックタイプの入力装置は、小径のスティックがキーボードのキー配列の中心部近傍に設けられ、前記スティックを指で所望の方向へ倒す動作をすることにより画面上に表示されたポインタをX,Y軸方向へ移動させる情報を入力することができる。 In the stick-type input device, a small-diameter stick is provided in the vicinity of the center of the keyboard key arrangement, and the pointer displayed on the screen is moved by tilting the stick in a desired direction with a finger. Information to be moved in the axial direction can be input.
前記パッドタイプの入力装置では、コンピュータに対して相対座標データおよび絶対座標データを出力することができ、前記スティックタイプの入力装置は、相対座標データのみを出力させることができる。前記相対座標データは、コンピュータの画面上でカーソルなどを移動させるモードであり、前記絶対座標データは、カーソル移動または文字や図形などを手書きで書き込むときなどに使用されるモードである。 The pad type input device can output relative coordinate data and absolute coordinate data to a computer, and the stick type input device can output only relative coordinate data. The relative coordinate data is a mode for moving a cursor or the like on a computer screen, and the absolute coordinate data is a mode used for moving the cursor or writing characters or figures by handwriting.
一般に、各入力装置での相対座標データは、図4に示すように、通常3バイトのフォーマットの信号で処理され、各バイトの1バイト目の領域ではオーバーフロービット(YO,XO)、サインビット(YS,XS)、ボタン情報等のデータが得られ、2バイト目、3バイト目の領域ではそれぞれXカウント、YカウントからなるX,Y座標上の可変情報が得られる。 Generally, as shown in FIG. 4, the relative coordinate data in each input device is usually processed with a signal of a 3-byte format, and in the first byte area of each byte, an overflow bit (YO, XO), a sign bit ( YS, XS), button information, and the like are obtained, and variable information on the X and Y coordinates including the X count and Y count are obtained in the second and third byte areas, respectively.
また絶対座標データは、図5に示すように、6バイトのフォーマットの信号で処理され、各バイトの1バイト目の領域では、外部入力装置(例えばマウス)との識別をするための識別情報、2,3,4,5,6バイト目の領域ではそれぞれXカウント、Xカウント及びボタン情報、Yカウント及びボタン情報、Yカウント、Zカウントからなる情報が得られる。
しかしながら、上記従来のパーソナルコンピュータ装置では、ノートタイプのコンピュータにパッドタイプとスティックタイプの入力装置の両方を同時に使用することができず、以下に示す問題があった。 However, the above-described conventional personal computer device cannot simultaneously use both pad type and stick type input devices in a notebook type computer, and has the following problems.
すなわち、パッドタイプの入力装置を使用して絶対座標データを入力する(例えばサイン等の文字を書く)場合、指やペン等でパッド上面を摺動させることにより入力が可能になるが、このとき文字を構成する線と線の切れ目などで指やペン等を一旦パッド上面から離してしまうと、再度パッド上面に指やペン等を触れる場合にその触れる位置が分からなくなる場合があり、これによって文字のバランスが崩れたりまたは認識できない文字になるなど再度入力し直さなければならないことがある。 That is, when inputting absolute coordinate data using a pad type input device (for example, writing a character such as a sign), the input can be performed by sliding the top surface of the pad with a finger or a pen. Once a finger or pen is moved away from the top surface of the pad due to the lines and line breaks that make up the character, the touch position may not be known when the finger or pen is touched again on the pad top surface. You may have to re-enter the text, such as when the balance is lost or the characters become unrecognizable.
従来のパッドタイプの入力装置を用いて文字入力を行うことはすでに行われているが、その場合得られる操作データのフォーマットの信号が相対座標データと絶対座標データとでは異なるため、絶対座標データの入力モードで操作しているときに入力する位置が認識できなくなった場合に相対座標データの入力モードに切替えるなど、相対座標データの入力と絶対座標データの入力とを切替えて操作している。しかしながら、この場合も相対座標データと絶対座標データの入力モードの切替えを必要に応じて行わなければならず、しかもこのとき相対座標データと絶対座標データとを切替えるためのソフトウエアを使用してその都度使用者が切替え、場合によってはコンピュータを起動し直さなければならないなど操作性の点で問題があった。 Character input using a conventional pad-type input device has already been performed, but the operation data format signal obtained in that case is different between relative coordinate data and absolute coordinate data. When the input position cannot be recognized when operating in the input mode, the operation is performed by switching the input of the relative coordinate data and the input of the absolute coordinate data, such as switching to the input mode of the relative coordinate data. However, in this case as well, the input mode of the relative coordinate data and the absolute coordinate data must be switched as necessary, and at this time, the software is used to switch the relative coordinate data and the absolute coordinate data. There was a problem in terms of operability such that the user switched each time and in some cases had to restart the computer.
本発明は、上記課題を解決するためになされたものであり、相対座標データと絶対座標データを切替動作を行うことなく同時に使用することができるコントローラを提供することを目的とする。 The present invention has been made to solve the above problems, and an object of the present invention is to provide a controller that can use relative coordinate data and absolute coordinate data simultaneously without performing a switching operation.
また本発明は、相対座標データを入力する入力装置と、絶対座標データを入力する入力装置とで、信号のフォーマットを共通化して、入力装置からの入力があったときに信号処理を簡単にするとともに、両入力装置の識別を容易にしたコントローラを提供することを目的としている。 Further, the present invention makes the signal processing simple when there is an input from the input device by making the signal format common between the input device for inputting the relative coordinate data and the input device for inputting the absolute coordinate data. A further object is to provide a controller that facilitates the identification of both input devices.
本発明は、操作データを絶対座標データとして出力する第1の入力装置と、操作データを相対座標データとして出力する第2の入力装置と、前記第1の入力装置から得られる絶対座標データと、前記第2の入力装置から得られる相対座標データのそれぞれを、同じフォーマットのデータに変換して出力する出力部と、前記出力部から与えられた前記フォーマットのデータに基づいて前記第1の入力装置からの絶対座標データに対応した処理または前記第2の入力装置からの相対座標データに対応した処理を行う処理部とが設けられており、
前記第1の入力装置からデータが得られたときには、前記フォーマット内に、X方向への操作情報であるXカウント情報と、X方向に直交するY方向への操作情報であるYカウント情報、およびX方向とY方向の双方に直交するZ方向への操作情報であるZカウント情報が含まれ、
前記第2の入力装置からデータが得られたときには、前記フォーマット内に、Xカウント情報およびYカウント情報が含まれるとともに、前記Zカウント情報が格納されるべき領域に、前記Zカウント情報の代わりに相対座標データのフォーマットであることを識別する識別フラグが付加され、
前記処理部では、前記フォーマットのデータをデコードし、前記識別フラグが検出されなかったら、前記フォーマットに含まれているXカウント情報とYカウント情報およびZカウント情報を絶対座標データとして処理し、前記識別フラグが検出されたら、前記フォーマットに含まれているXカウント情報とYカウント情報を相対座標データとして処理することを特徴とするものである。
The present invention provides a first input device that outputs operation data as absolute coordinate data, a second input device that outputs operation data as relative coordinate data, absolute coordinate data obtained from the first input device, An output unit that converts each relative coordinate data obtained from the second input device into data of the same format and outputs the data, and the first input device based on the data of the format given from the output unit And a processing unit for performing processing corresponding to absolute coordinate data from or processing corresponding to relative coordinate data from the second input device,
When data is obtained from the first input device, in the format, X count information that is operation information in the X direction, Y count information that is operation information in the Y direction orthogonal to the X direction, and Z count information that is operation information in the Z direction orthogonal to both the X direction and the Y direction is included,
When data is obtained from the second input device, X format information and Y count information are included in the format, and the area where the Z count information is to be stored is used instead of the Z count information. An identification flag is added to identify the relative coordinate data format,
Wherein the processing unit decodes the data of the format, when bought the an identification flag is detected, then process the X count information and Y count information and Z count information included in the format as absolute coordinate data, the When the identification flag is detected, the X count information and the Y count information included in the format are processed as relative coordinate data.
上記手段により、異なる種類の入力装置を例えばノートタイプのコンピュータに組込んで使用することにより、使用者は各入力装置を切替えずに同時操作が可能になる。この場合、例えば2つの異なる入力装置を使用するとき、両入力装置からは同一のフォーマットを有する信号が出力部から出力されなければ前記ドライバ等が組込まれている処理部での処理が複雑になり、また出力された信号がどちらの入力装置を操作して得られた信号であるかの区別も困難になる。そこで前記区別ができるように一方の入力装置のフォーマットの一部に他方の入力装置とを区別するための識別情報を入れることにより両入力装置の識別が可能になる。 By using different types of input devices incorporated in, for example, a notebook type computer by the above means, the user can perform simultaneous operation without switching each input device. In this case, for example, when two different input devices are used, if a signal having the same format is not output from the output unit from both input devices, the processing in the processing unit in which the driver is incorporated becomes complicated. In addition, it is difficult to distinguish which output device is the signal obtained by operating which input device. Therefore, it is possible to identify both input devices by putting identification information for distinguishing them from the other input device in a part of the format of one input device so that the above can be distinguished.
例えばパッドタイプの入力装置を用いて絶対座標データおよび相対座標データを出力させ、スティックタイプの入力装置を用いて相対座標データを出力させることができる。この場合パッドタイプの入力装置では、パッド面で指やペン等を使用してサインや文字等を入力すること、すなわちドットデータの軌跡により絶対座標データを入力でき、またパッド面で指等を摺動させることによりX,Y方向の相対座標データ(移動データ)を出力できる。またスティックタイプの入力装置では、スティック状の操作体を所望の方向へ倒すことにより、X,Y方向の相対座標データを出力できる。 For example, absolute coordinate data and relative coordinate data can be output using a pad type input device, and relative coordinate data can be output using a stick type input device. In this case, in a pad type input device, a finger or pen can be used to input a sign or character on the pad surface, that is, absolute coordinate data can be input using a locus of dot data, and the finger can be slid on the pad surface. By moving, relative coordinate data (movement data) in the X and Y directions can be output. Further, in the stick type input device, relative coordinate data in the X and Y directions can be output by tilting the stick-like operation body in a desired direction.
前記相対座標データの出力では、表示部に表示されたポインタ(カーソル)を所望の方向へ移動させることができる。また絶対座標データの入力モードでは、表示部に表示された所定の領域の選択ができ、絶対座標データの出力では、文字を入力する等のサイン認証を行うことができる。 In the output of the relative coordinate data, the pointer (cursor) displayed on the display unit can be moved in a desired direction. In the absolute coordinate data input mode, a predetermined area displayed on the display unit can be selected, and in the output of absolute coordinate data, signature authentication such as inputting characters can be performed.
しかも両入力装置を同時に使用することができ、両入力装置が相対座標データの入力モードである場合には、使用者は入力装置の切替え操作を行うことなく同時に両入力装置を使用できる。また相対座標データと絶対座標データが出力可能である場合でも、使用者は入力装置の切替え操作を行うことなく同時に両入力装置を使用することができる。この場合、両入力装置を同時に使用している場合、出力された座標データは例えば交互に処理部に設けられたドライバに通知され、所定の処理が行われる。 Moreover, both input devices can be used simultaneously, and when both input devices are in the input mode of relative coordinate data, the user can use both input devices at the same time without switching the input devices. Even when relative coordinate data and absolute coordinate data can be output, the user can use both input devices at the same time without switching the input devices. In this case, when both input devices are used at the same time, the output coordinate data is alternately notified to, for example, a driver provided in the processing unit, and a predetermined process is performed.
上記手段により、例えばパッドタイプの入力装置を使用して、パッド面に対して指やペンを摺動させて文字入力を行っている場合、一旦パッド面から指等を離して次にパッド面に指等を降ろす場合にその降ろす位置が認識できなくなることがあり、その場合スティックタイプの入力装置を操作し、その降ろす位置までポインタを移動させて位置決めをした後に文字入力を始めることにより、正確な文字入力を行うことができる。 When inputting characters by sliding a finger or pen with respect to the pad surface using the above-mentioned means, for example using a pad type input device, the finger etc. is once released from the pad surface and then placed on the pad surface. When lowering a finger or the like, the lowering position may become unrecognizable. In that case, operating the stick-type input device, moving the pointer to the lowering position, positioning, and then starting character input, Character input can be performed.
上述した本発明のコントローラは、パッドタイプとスティックタイプの2つの入力装置の組み合わせだけでなく、さらに外部装置としてマウスタイプの入力装置を接続して3つの入力装置を組み合わせて、処理部に設けられた共通のドライバにより処理できるようにしてもよい。この場合、例えばパッドタイプの入力装置では文字入力を可能にする絶対座標データを出力させ、スティックタイプの入力装置ではワープロや表計算などの編集画面を上下左右にスクロールさせるスクロールデータを出力させ、前記マウスタイプの入力装置ではポインタ(カーソル)を移動させる相対座標データを出力させてもよい。 The controller of the present invention described above is provided not only in a combination of two pad type and stick type input devices but also in a processing unit by combining a mouse type input device as an external device and combining three input devices. Alternatively, processing may be performed by a common driver. In this case, for example, the pad-type input device outputs absolute coordinate data that enables character input, and the stick-type input device outputs scroll data that scrolls an editing screen such as a word processor or spreadsheet up, down, left, and right. In a mouse type input device, relative coordinate data for moving a pointer (cursor) may be output.
本発明は、異なる種類の入力装置を切替え操作を行うことなくしかも同時に使用できる。特に、パッドタイプの入力装置を用いて指やペン等で文字入力等の絶対座標データを出力させる場合、次に指やペン等を降ろす位置が認識できなくなった場合でも、入力装置の切替え操作を行うことなく前記とは別の種類の入力装置を用いて相対座標データを出力させることにより、文字等の入力を正確に行うことができる。 The present invention can use different types of input devices at the same time without switching operation. In particular, when outputting absolute coordinate data such as character input with a finger or pen using a pad type input device, even if the position where the finger or pen is next lowered cannot be recognized, the input device switching operation is performed. By inputting the relative coordinate data using an input device of a type different from the above without performing the input, characters and the like can be input accurately.
以下、本発明のコントローラの一例を図面を参照して説明する。図1は本発明のコントローラを内蔵したノート型コンピュータの外観を示す斜視図、図2はコントローラ内部の回路構成を示すブロック図である。 Hereinafter, an example of the controller of the present invention will be described with reference to the drawings. FIG. 1 is a perspective view showing an appearance of a notebook computer incorporating a controller of the present invention, and FIG. 2 is a block diagram showing a circuit configuration inside the controller.
図1に示すコントローラ1は、ノート型のコンピュータに組込まれて使用される。前記コントローラ1は、筐体8の上面にキーボード6が配設され、前記キーボード6の中央部近傍にスティックタイプの歪みセンサー3aを使用する第2コントローラ(第2の入力装置)3が設けられ、さらに前記キーボード6の手前に四角平板状のパッドタイプのセンサー2aを用いる第1コントローラ(第1の入力装置)2が設けられている。また前記第1コントローラ2の手前側には、ボタン型のスイッチ4,4が左右独立に設けられている。
A
前記第2コントローラ3では、相対座標データのみの入力がなされ、前記第1コントローラ2では、相対座標データと絶対座標データの双方の入力が可能である。なお、前記第1コントローラ2は、静電容量方式または感圧方式のどちらの方式で構成してもよい。
In the
また筐体8には、開閉可能な液晶パネルからなる表示部5が設けられ、前記表示部5上に表示されたポインタ(カーソル)7を移動させる相対座標データを、第1コントローラ2ではパッド表面を指やペン等で所望の方向へ摺動させることにより、また第2コントローラ3ではスティックの頭部を指等で所望の方向へ押圧することにより入力できる。また、第1コントローラ2ではパッド表面でサイン、文字、図形等を入力することにより、前記サイン、文字、図形等が入力された軌跡が絶対座標データとして入力でき、前記サイン等が表示部5に表示される。
The housing 8 is provided with a
図2に示すブロック図は、第1コントローラ2と第2コントローラ3とホストPC26とで構成されている。スティックタイプの入力装置である歪みセンサー3aおよびパッドタイプの入力装置であるセンサー2aおよびこれに関連するハード以外のブロックは、筐体8に組み込まれた電子回路により構成されていてもよいし、あるいは前記入力装置以外の前記ブロックが、ホストPC26内にソフトウエアとして組み込まれているものであってもよい。また前記入力装置およびこれに関連するハード以外の各ブロックが本発明での出力部に相当し、またホストPC26内に組み込まれたデバイスドライバーが本発明での処理部に相当する。
The block diagram shown in FIG. 2 includes a
第1コントローラ2と第2コントローラ3は、それぞれインターフェース14と24とで接続されている。さらにホストPC(パーソナルコンピュータ)26と第2コントローラ3は、インターフェース25を介して接続されている。この場合、第1コントローラ2からの出力データと第2コントローラ3からの出力データとが、前記インターフェース25に設けられた1つの出力ポート25aから出力され、その結果ホストPC26内のデバイスドライバは、第1コントローラ2と第2コントローラ3とを別々の処理部とせずに1つの処理部のみで信号処理される。すなわちホストPC26内に設けられたデバイスドライバーは、第1コントローラ2および第2コントローラ3からの信号を処理する共通の処理部となっている。前記デバイスドライバで処理された信号は、OS(オペレーティングシステム)等で所定の処理が行われ、表示部5へ出力するための信号に変換される。
The
前記第1コントローラ2には、パッド表面に指やペン等が触れたことを検出するパッドタイプの入力装置であるセンサー2a、および指やペン等が触れている場所を検出する座標検出部2bが設けられている。
The
また第1コントローラ2には、操作データを相対座標データに変換する相対移動量(座標)変換部11aと操作データを絶対座標データに変換する絶対座標変換部11bとが設けられ、それぞれが前記座標検出部2bと並列に接続されている。前記相対移動量変換部11aと絶対座標変換部11bは、それぞれインターフェース14に接続されている。さらに前記インターフェース14にはフォーマット切替制御部12が接続され、インバータ13を介して前記座標検出部2bと相対移動量変換部11aおよび絶対座標変換部11bとの間に設けられた切替部12a,12bが制御される。
The
前記フォーマット切替制御部12は、ホストPC26からの指令に基づいて、センサー2aを用いて図4に示す3バイトの相対座標データを入力する場合と、同じくセンサー2aを用いて図5に示す6バイトの絶対座標データを入力する場合とを切り換えるためのものである。前記座標検出部2bから相対座標データを入力する場合には、切替部12aがONとなり、切替部12bがOFFとなる。また前記座標検出部2bから絶対座標データが入力される場合には、切替部12bがONとなり、切替部12aがOFFとなる。
The format
前記第2コントローラ3には、スティック部分の歪みを検出するスティックタイプの入力装置である歪みセンサー3aと、歪み量検出部3bが設けられている。前記歪み量検出部3bから得られた操作検出値は相対移動量(座標)変換部3cによって相対移動量のデータに変換される。
The
前記相対移動量変換部3cは、累積カウンタ15、そしてフォーマット変換部16に接続されている。前記累積カウンタ15では、相対移動量変換部3cから連続して入力される相対移動量のデータが累積され、フォーマット変換部16にて図4に示す3バイトの相対座標データ用のフォーマットが生成される。そして、前記データはインターフェース25を介してホストPC26のデバイスドライバに通知され、所定の処理が行われる。
The relative movement
また前記相対移動量変換部3cは、3バイトバッファ21aおよび6バイトフォーマット変換部22aに接続されている。バッファ21aにより相対移動量変換部3cから通知された相対移動量のデータが一時的に保持され、前記フォーマット変換部22aでは、相対移動量変換部3cから与えられた相対移動量のデータが図5に示す6バイトフォーマットの相対座標データに変換されるとともに、前記6バイトフォーマットの一部に識別情報としての識別フラグが付加される。デバイス選択部23での回路が閉じられたときに、フォーマット変換部22aから、6バイトの相対座標データがインターフェース25を介してホストPC26へ通知される。
The relative movement
また第1コントローラ2の相対移動量変換部11aから与えられる相対移動量のデータは、インターフェース14からインターフェース24に通知され、ラインL2を通って、デバイス選択部20から前記累積カウンタ15を通り、そして前記フォーマット変換部16へ通知可能となっている。
Further, the relative movement amount data given from the relative movement amount conversion unit 11a of the
また第1コントローラ2の絶対座標変換部11bからインターフェース24に通知された絶対座標のデータは、6バイトバッファ21bにおいて一時的に保持され、フォーマット変換部22bにより図5に示す6バイトのフォーマットに変換される。そして、デバイス選択部23がONになったときに、前記バッファ21bから6バイトフォーマットの絶対座標データがインターフェース25を介してホストPC26に通知される。
The absolute coordinate data notified from the absolute coordinate
また第2コントローラ3の相対移動量変換部3cから前記累積カウンタ15に至るラインL0、前記相対移動量変換部3cから3バイトバッファ21aに至るラインL1、および第1コントローラ2からインターフェース24を介して6バイトバッファ21bに至るラインL3には、それぞれ切替部17a,17b,17cが設けられている。前記切替部17aはフォーマット切替制御部17により制御され、切替部17b,17cは、フォーマット切替制御部17によりインバータ18を介して制御される。
Further, the line L0 from the relative movement
上記のようにして構成された本発明のコントローラ1は、パッドタイプのセンサー2aからの入力と、スティックタイプの歪みセンサー3aからの入力を、共に図4に示す3バイトフォーマットの相対座標データとしてホストPC26に通知することができるし、さらにパッドタイプのセンサー2aからの絶対座標入力と、スティックタイプの歪みセンサー3aからの相対座標入力を、共に図5に示す6バイトフォーマットの信号としてホストPC26に与えることもできる。
The
この3バイトと6バイトの選択、およびパッドタイプのセンサー2aからの入力を相対座標入力とするか絶対座標入力とするかの選択は、専用のソフトウエアを操作して行ってもよく、あるいはキーボード6などで直接切替えられてもよく、適宜変更することができる。 The selection of 3 bytes and 6 bytes and the selection of input from the pad type sensor 2a as relative coordinate input or absolute coordinate input may be performed by operating dedicated software or a keyboard. 6 may be directly switched, and can be changed as appropriate.
パッドタイプのセンサー2aからの入力と、スティックタイプの歪みセンサー3aからの入力を、共に3バイトフォーマットの相対座標データとして使用するときには、フォーマット切替制御部17により第1コントローラ2と第2コントローラ3は全て3バイトフォーマットの処理を行うように切り換えられる。すなわち、切替部17aはON、インバータ18を介して切替部17bと17cはOFFに制御される。
When both the input from the pad type sensor 2a and the input from the stick type distortion sensor 3a are used as relative coordinate data in the 3-byte format, the format switching control unit 17 causes the
このときホストPC26からの切替信号が、インターフェース25,ラインL4,インターフェース24,インターフェース14,ラインL6を順に通ってフォーマット切替制御部12に通知され、切替部12aがONとなり、切替部12bがOFFとなる。これにより、第1コントローラ2のセンサー2aから得られるデータ(指座標データ)は相対移動量変換部11aに通知され、この相対移動量変換部11aで変換された相対座標のデータは、インターフェース14を介して第2コントローラ3のインターフェース24に通知される。
At this time, the switching signal from the host PC 26 is notified to the format
歪みセンサー3aから入力され相対移動量変換部3cで、歪み量から変換された相対移動量のデータと、第1コントローラ2の相対移動量変換部11aからラインL2を経て通知される同じく相対移動量のデータは、デバイス選択部20で選択される。P1側がONになると、パッドタイプのセンサー2aからの相対移動量のデータが累積カウンタ15に与えられ、P2側がONになるとスティックタイプの歪みセンサー3aからの相対移動量の座標データが累積カウンタ15に与えられる。前記デバイス選択部20は、いずれかのセンサー2aまたは3aが操作されたときに、ホストPC26からの制御により、使用センサーに応じて一方の側(P1またはP2)へ切り換えられる。あるいはデバイス選択部20は、短時間のサイクルでP1側とP2側に常に交互に切り換えられ、センサー2aが使用されたときと歪みセンサー3aが使用されたときとで、随時相対移動量のデータが累積カウンタ15に与えられるようにしてもよい。
The relative movement amount data input from the distortion sensor 3a and converted by the relative movement
累積カウンタ15で加算された移動量の累積値は、フォーマット変換部16で図4に示す3バイトのフォーマットにフォーマット変換され、インターフェース25を介してホストPC26へ通知される。前記ホストPC26には、コントローラ1専用のデバイスドライバが設けられており、このデバイスドライバに通知された相対座標データに基づいてOS等が所定の処理を行い、画面5に表示されたポインタ7を所望の方向へ移動させることができる(図1参照)。
The cumulative value of the movement amount added by the
第1コントローラ2を絶対座標の入力装置として使用するときは、第1コントローラ2からの入力信号と、第2コントローラ3からの入力信号が、共に図5に示す6バイトのデータとしてホストPC26に与えられる。
When the
このとき、フォーマット切替制御部17により、切替部17aがOFFに制御され、インバータ18を介して切替部17b,17cがONに制御される。
At this time, the format switching control unit 17 controls the switching unit 17 a to be OFF, and the switching
また、第1コントローラ2のフォーマット切替制御部12により、切替部12aがOFF、切替部12bがONに制御される。
Further, the format
よって、第1コントローラ2のセンサー2aの操作により座標検出部2bで検出された座標情報は絶対座標変換部11bへ与えられた絶対座標のデータに変換される。前記絶対座標変換部11bで変換された絶対座標のデータはインターフェース14を介して第2コントローラ3側のインターフェース24に通知される。第2コントローラ3側に入力された絶対座標のデータは、ラインL3を通って6バイトバッファ21bで保持される。さらにフォーマット変換部22bで図5に示す6バイトフォーマットの絶対座標データが生成される。
Therefore, the coordinate information detected by the coordinate detection unit 2b by the operation of the sensor 2a of the
また、第2コントローラ3の歪みセンサー3aの操作により歪み量検出部3bで検出された歪み量は、一旦、相対移動量変換部3cにより相対移動量のデータに変換される。この相対移動量のデータは3バイトバッファ21aに保持された後、フォーマット変換部22aにより、3バイトのデータから図5に示す6バイトフォーマットの相対座標データに変換される。さらにフォーマット変換部22aでは6バイトフォーマットの一部に相対座標データであることを識別する識別情報としての識別フラグが付加される。
Further, the distortion amount detected by the distortion
第1コントローラ2からの入力に基づくフォーマット変換部22bからの絶対座標データと、第2コントローラ3からの入力に基づきフォーマット変換部22aでフォーマットされ且つ前記識別情報が付加された相対座標データは、デバイス選択部23により選択される。この選択は、センサー2aと歪みセンサー3aのいずれかを使用したときに、ホストPC26からの指令によりデバイス選択部23がP3側かP4側のいずれかに固定されて切り換えられる。
The absolute coordinate data from the
あるいは、前記第1コントローラ2と第2コントローラ3を併行して使用するモードでは、デバイス選択部23は、短時間のサイクルでP3側またはP4側へ交互に切替わる。
Alternatively, in the mode in which the
よって、センサー2aを使用しているときと、歪みセンサー3aを使用しているときとで、ホストPC26のデバイスドライバーへ、同じ6バイトフォーマットのデータが与えられる。 Therefore, the same 6-byte format data is given to the device driver of the host PC 26 when the sensor 2a is used and when the strain sensor 3a is used.
ここで、3バイトフォーマット変換部16により変換される3バイトの相対座標データのフォーマットは、図4に示す通りである。1バイト目は、オーバーフロービット(YO,XO)、サインビット(YS,XS)、ボタン情報等のデータ領域、2バイト目、3バイト目は、Xカウント、YカウントからなるX,Y座標上の可変情報の領域である。
Here, the format of the 3-byte relative coordinate data converted by the 3-byte
フォーマット変換部22aとフォーマット変換部22bで変換される6バイトの座標データのフォーマットは図5に示す通りである。1バイト目は、外部入力装置(例えばマウス)との識別をするための識別情報の領域、2,3,4,5,6バイト目は、それぞれXカウント、Xカウント及びボタン情報、Yカウント及びボタン情報、Yカウント、Zカウントからなる情報の領域である。
The format of 6-byte coordinate data converted by the
ただし、前記フォーマット変換部22bで変換される絶対座標データでは、Zカウントのデータ領域30が、可変データとなるが、前記フォーマット変換部22aで変換される相対座標データでは、Zカウントのデータ領域30が、識別情報の固定値(識別フラグ)となる。
However, in the absolute coordinate data converted by the
このコントローラ1が6バイトのフォーマットを形成するように動作しているとき、ホストPC26のデバイスドライバーには、歪みセンサー3aを操作したときの相対座標データと、センサー2aを操作したときの相対座標データが、共に同じ6バイトフォーマットの信号として与えられる。したがって、デバイスドライバーでの両データの処理が容易であり、またZカウントのデータ領域30が識別フラグのデータであるか否かを確認することにより、相対座標データか絶対座標データかを識別できる。
When the
次に、ホストPC26に設けられた、デバイスドライバーの動作を図3のフローチャートを用いて説明する。 Next, the operation of the device driver provided in the host PC 26 will be described using the flowchart of FIG.
デバイスドライバーでは、インターフェース25から与えられたデータ、さらには第3コントローラから与えられたデータをデコードする(ステップ1;ST1)。この場合の、第3コントローラは、図1に示すノート型のコンピュータの外部に接続されるマウスコントローラなどである。この第3コントローラは、例えば筐体の下部(または上部)に球体が設けられ且つ前記球体に接する2つの軸が設けられ、筐体を所望の方向へ移動させることで前記球体が回転し、それに伴う軸の回転力をエンコーダ等からなる検出部で検出する構造であり、これは相対座標の入力に用いられる。
The device driver decodes the data given from the interface 25 and further the data given from the third controller (
図3に示すようにST2では、入力されデコードされた座標データが6バイトフォーマットを有するデータであるか確認される。ST2において、操作データが6バイトフォーマットではない場合(No)、ST8において3バイトフォーマットのデータとして処理される。このときに処理されるデータは、図2に示すコントローラが3バイトフォーマットの生成として動作しているとき、あるいは前記マウスなどの第3コントローラが操作されているときである。ST8での処理により、画面上でカーソル等を移動させる移動データ(トラッキングデータ)として処理される。 As shown in FIG. 3, in ST2, it is confirmed whether the input and decoded coordinate data is data having a 6-byte format. If the operation data is not in 6-byte format in ST2 (No), it is processed as data in 3-byte format in ST8. The data processed at this time is when the controller shown in FIG. 2 is operating as generating a 3-byte format or when a third controller such as the mouse is being operated. By the process in ST8, it is processed as movement data (tracking data) for moving the cursor or the like on the screen.
またST2において操作データが6バイトフォーマットを有するデータであると認識された場合(Yes)には、ST3において、Zデータの領域が識別フラグからなる固定値であるか否か確認され、識別フラグが検出されたときは、第2コントローラ3からの相対座標データであると認識され、ST7で6バイトフォーマットのデータが処理される。前記識別フラグが検出されなかったときは、第1コントローラ2からの絶対座標データであると認識され、ST4で6バイトフォーマットのデータが処理される。このデータはパッドを用いてサインや文字や図形を記載するデータである。
If the operation data is recognized as data having a 6-byte format in ST2 (Yes), it is confirmed in ST3 whether the area of the Z data is a fixed value including an identification flag, and the identification flag is set. If it is detected, it is recognized as relative coordinate data from the
そしてそれぞれの処理データは、共通データ加工処理され(ST5)、OSなどのシステムに通知され、画面の表示処理などがなされる。 Each processing data is subjected to common data processing (ST5), notified to a system such as an OS, and screen display processing is performed.
図2に示すコントローラからの座標データが図3に示すようにデバイスドライバーで処理されると、パッドタイプの第1コントローラ2では文字等の絶対座標の入力が可能で、またスティックタイプの第2コントローラ3ではワープロや表計算等の表示画面(ウインドウ)を上下にスクロールまたはトラッキングさせる相対座標の入力が可能であり、さらにマウスタイプの第3コントローラではカーソル(ポインタ)をトラッキングさせる相対座標を入力できる。
When the coordinate data from the controller shown in FIG. 2 is processed by the device driver as shown in FIG. 3, the pad type
特に、パッドタイプのセンサー2aからの絶対座標データと、スティックタイプの歪みセンサー3aからの相対座標データを同じフォーマットとしてデバイスドライバーで処理できるため、例えばパッドタイプのセンサー2aで文字や図形などを途中まで入力して入力を止めたようなときに、スティックタイプの歪みセンサー3aを用いて、入力を止めた位置へカーソルを移動して位置を入力することにより、そのまま続けてパッドタイプのセンサー2aで図形などの続きを入力するような処理が容易になる。 In particular, the absolute coordinate data from the pad type sensor 2a and the relative coordinate data from the stick type strain sensor 3a can be processed by the device driver in the same format. When input is stopped and input is stopped, the stick type distortion sensor 3a is used to move the cursor to the position where input is stopped and input the position. It becomes easy to input a continuation such as.
本発明のコントローラは、上記実施の形態に限られることはなく、相対座標データの入力にはトラックボールタイプの入力装置を使用してもよい。また、相対座標データのフォーマットの一部に識別情報を付加したが、絶対座標データのフォーマット側に識別情報を付加してもよく、フォーマットの形式によって適宜変更することができる。 The controller of the present invention is not limited to the above embodiment, and a trackball type input device may be used for inputting relative coordinate data. Further, the identification information is added to a part of the format of the relative coordinate data, but the identification information may be added to the format side of the absolute coordinate data, and can be appropriately changed depending on the format.
2 第1コントローラ
2a センサー
2b 座標検出部
3 第2コントローラ
3a 歪みセンサー
3b 歪み量検出部
3c 相対移動量変換部
5 表示部
7 ポインタ(カーソル)
11a 相対移動量変換部
11b 絶対座標変換部
12,17 フォーマット切替制御部
14,24,25 インターフェース
15 累積カウンタ
16,22a,22b フォーマット変換部
20,23 デバイス選択部
21a,21b バッファ
26 ホストPC
2 first controller 2a sensor 2b coordinate
11a Relative movement
Claims (3)
前記第1の入力装置からデータが得られたときには、前記フォーマット内に、X方向への操作情報であるXカウント情報と、X方向に直交するY方向への操作情報であるYカウント情報、およびX方向とY方向の双方に直交するZ方向への操作情報であるZカウント情報が含まれ、
前記第2の入力装置からデータが得られたときには、前記フォーマット内に、Xカウント情報およびYカウント情報が含まれるとともに、前記Zカウント情報が格納されるべき領域に、前記Zカウント情報の代わりに相対座標データのフォーマットであることを識別する識別フラグが付加され、
前記処理部では、前記フォーマットのデータをデコードし、前記識別フラグが検出されなかったら、前記フォーマットに含まれているXカウント情報とYカウント情報およびZカウント情報を絶対座標データとして処理し、前記識別フラグが検出されたら、前記フォーマットに含まれているXカウント情報とYカウント情報を相対座標データとして処理することを特徴とするコントローラ。 A first input device that outputs operation data as absolute coordinate data, a second input device that outputs operation data as relative coordinate data, absolute coordinate data obtained from the first input device, and the second An output unit that converts each of the relative coordinate data obtained from the input device into data of the same format and outputs it, and an absolute coordinate from the first input device based on the data in the format given from the output unit A processing unit that performs processing corresponding to data or processing corresponding to relative coordinate data from the second input device is provided,
When data is obtained from the first input device, in the format, X count information that is operation information in the X direction, Y count information that is operation information in the Y direction orthogonal to the X direction, and Z count information that is operation information in the Z direction orthogonal to both the X direction and the Y direction is included,
When data is obtained from the second input device, X format information and Y count information are included in the format, and the area where the Z count information is to be stored is used instead of the Z count information. An identification flag is added to identify the relative coordinate data format,
Wherein the processing unit decodes the data of the format, when bought the an identification flag is detected, then process the X count information and Y count information and Z count information included in the format as absolute coordinate data, the When the identification flag is detected, the controller processes X count information and Y count information included in the format as relative coordinate data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004177812A JP4028522B2 (en) | 1998-12-28 | 2004-06-16 | controller |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP37331498 | 1998-12-28 | ||
JP2004177812A JP4028522B2 (en) | 1998-12-28 | 2004-06-16 | controller |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP36906799A Division JP4236783B2 (en) | 1998-12-28 | 1999-12-27 | controller |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2004295921A JP2004295921A (en) | 2004-10-21 |
JP4028522B2 true JP4028522B2 (en) | 2007-12-26 |
Family
ID=33421127
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004177812A Expired - Lifetime JP4028522B2 (en) | 1998-12-28 | 2004-06-16 | controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4028522B2 (en) |
-
2004
- 2004-06-16 JP JP2004177812A patent/JP4028522B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JP2004295921A (en) | 2004-10-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1016952B1 (en) | Personal computer system | |
KR100975168B1 (en) | Information display input device, information display input method, and information processing device | |
JP4685338B2 (en) | Information processing device | |
JP3909994B2 (en) | Input device | |
EP1517220A2 (en) | Information processing apparatus having function of changing orientation of screen image | |
JPH1078850A (en) | Device for inputting coordinate and method for controlling the same | |
KR20070047367A (en) | Device and system | |
EP0725331A1 (en) | Information imput/output device using touch panel | |
JP2000181617A (en) | Touch pad and scroll control method by touch pad | |
JP2002182847A (en) | Information processor having touch pad | |
JP2010257197A (en) | Input processing apparatus | |
JPH1165759A (en) | Information input device | |
JP4236783B2 (en) | controller | |
CN114461155A (en) | Information processing apparatus and control method | |
US20040239645A1 (en) | Information processing apparatus and method of inputting character | |
JP4028522B2 (en) | controller | |
US20050225531A1 (en) | Horizontal scrolling mouse | |
JP2005050385A (en) | Controller | |
KR100503056B1 (en) | Touch pad processing apparatus, method thereof and touch pad module in computer system | |
JP2022167480A (en) | Information processing apparatus and control method | |
US20050262273A1 (en) | Information processing apparatus having data input devices and method of processing input data information | |
JP4443395B2 (en) | Input device | |
JP2000155645A (en) | Information processor and method | |
US20050225533A1 (en) | Mouse | |
JPH07141140A (en) | Multi-window type computer system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20040721 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070424 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070622 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070724 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070807 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20070918 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20071011 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101019 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4028522 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111019 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111019 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121019 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131019 Year of fee payment: 6 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
EXPY | Cancellation because of completion of term |