JP2015166994A - Application program - Google Patents
Application program Download PDFInfo
- Publication number
- JP2015166994A JP2015166994A JP2014041765A JP2014041765A JP2015166994A JP 2015166994 A JP2015166994 A JP 2015166994A JP 2014041765 A JP2014041765 A JP 2014041765A JP 2014041765 A JP2014041765 A JP 2014041765A JP 2015166994 A JP2015166994 A JP 2015166994A
- Authority
- JP
- Japan
- Prior art keywords
- application program
- cursor
- registration window
- display
- operation instruction
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Position Input By Displaying (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
本発明は、アプリケーションプログラムに関する。特に、大きな画像を表示したり、画像を拡大し、部分画像をスクロールしながら表示したりするアプリケーションプログラムにおける操作指示受付手段の登録方法に関する。 The present invention relates to an application program. In particular, the present invention relates to a method for registering operation instruction reception means in an application program that displays a large image, enlarges an image, and displays a partial image while scrolling.
従来、大きな画像を表示したり、画像を拡大し、部分画像をスクロールしながら表示したりする方法として、スクロールや変倍等の操作指示を効率的に行うための操作指示方法が開示されている。
例えば特許文献1では、右手用マウスと左手用マウスを用いてスクロール操作を効率的に行う方法が開示されている。
Conventionally, as a method of displaying a large image, enlarging an image, and displaying a partial image while scrolling, an operation instruction method for efficiently performing operation instructions such as scrolling and zooming has been disclosed. .
For example, Patent Document 1 discloses a method of efficiently performing a scroll operation using a right hand mouse and a left hand mouse.
マウスに代表されるポインティングデバイスは様々なメーカーにより提供されているが、一般的にはオペレーティングシステム(以下、OSとも呼ぶ)に適合したドライバを必要とする。そして、ポインティングデバイスからの操作指示はドライバを経由して、OSが提供する汎用的な通知の方法(例えばメッセージ)を用いてアプリケーションプログラムに通知される。そのため、アプリケーションプログラムではOSが提供する汎用的な通知の仕組みのみを意識すればよく、デバイスメーカーの都合に依存することなくアプリケーションプログラム開発を行うことが可能となる。また、ユーザーが使用するデバイスを変更した際にも、アプリケーションプログラムを作り替えることなく使用可能となっている。 A pointing device represented by a mouse is provided by various manufacturers, but generally requires a driver adapted to an operating system (hereinafter also referred to as an OS). An operation instruction from the pointing device is notified to the application program via a driver using a general notification method (for example, a message) provided by the OS. For this reason, the application program only needs to be aware of the general-purpose notification mechanism provided by the OS, and can develop the application program without depending on the convenience of the device manufacturer. In addition, even when the user changes the device to be used, the application program can be used without recreating it.
近年、ポインティングデバイスはUSB(Universal Serial Bus)を使用してPCに接続される場合が多く、複数のポインティングデバイスを1台のPCに接続することが可能である。しかし、上述のようにアプリケーションプログラムではポインティングデバイスを識別していないため、どのポインティングデバイスを使用しても、カーソルの移動やクリック、ダブルクリックなどの汎用的な操作指示入力が可能である。しかし、一般的なポインティングデバイスの使い方では個々のデバイスを区別しないため、ポインティングデバイスの種類ごとに使いやすいアプリケーションプログラムの機能を使用することは困難である。 In recent years, a pointing device is often connected to a PC using a USB (Universal Serial Bus), and a plurality of pointing devices can be connected to a single PC. However, since the pointing device is not identified in the application program as described above, general-purpose operation instruction input such as cursor movement, clicking, and double-clicking can be performed using any pointing device. However, since the use of a general pointing device does not distinguish individual devices, it is difficult to use an easy-to-use application program function for each type of pointing device.
特に、複数のポインティングデバイスの各々に対して機能を割り当てようとする際には、各ポインティングデバイスを識別した上で機能を設定する必要がある。一般的に、PCに接続されているデバイスの識別はドライバの情報として識別可能である。しかし、上述のUSBを使用して接続する場合、同一のデバイスを複数接続することも可能であり、デバイス自体の情報に加え、USBのポートを示す情報まで含めて識別する必要がある。ここで、ポインティングデバイス本体には、必ずしも識別に必要な情報が記載されていない場合がある。また、PCに複数設けられているUSBのポートを識別する情報をユーザーが入手することは容易ではない。そのため、複数のポインティングデバイスの各々に対して、アプリケーション上でユーザーが好みに合わせて機能を割り当てることは、困難であった。 In particular, when assigning a function to each of a plurality of pointing devices, it is necessary to set the function after identifying each pointing device. Generally, identification of a device connected to a PC can be identified as driver information. However, when connecting using the above-described USB, it is possible to connect a plurality of the same devices, and it is necessary to identify information including the USB port in addition to the information of the device itself. Here, the pointing device main body may not always include information necessary for identification. Further, it is not easy for the user to obtain information for identifying a plurality of USB ports provided in the PC. Therefore, it is difficult for a user to assign a function to each of a plurality of pointing devices according to preferences on an application.
ここで、特許文献1には、ドライバの設定において機能を割り当てる方法が開示されている。このような方法を用いる場合、機能の割り当てが可能なドライバがデバイスメーカーから提供されている必要があり、ユーザーが好みのデバイスに対して機能を割り振ることができない場合があった。 Here, Patent Document 1 discloses a method of assigning functions in driver settings. When such a method is used, a driver capable of assigning a function needs to be provided by a device manufacturer, and the user may not be able to assign a function to a favorite device.
本発明は上記課題に鑑みてなされたものであり、その目的は、汎用的なポインティングデバイスを用いて効率的な操作指示入力が可能なアプリケーションプログラムを提供することにある。 The present invention has been made in view of the above problems, and an object of the present invention is to provide an application program that enables efficient operation instruction input using a general-purpose pointing device.
本発明は、以下の構成を採用する。すなわち、
前記複数のポインティングデバイスの少なくとも一つからの操作指示に基づいて動作内容を決定する動作内容決定工程と、
前記動作内容に対応するポインティングデバイスの情報を記憶するデバイス記憶工程と、
前記デバイス記憶工程において記憶するポインティングデバイスを設定するための登録ウィンドウを表示する登録ウィンドウ表示工程と、
を情報処理装置に実行させるアプリケーションプログラムにおいて、
前記登録ウィンドウ表示工程は、前記ポインティングデバイスの情報を記憶する前記動作内容ごとに前記登録ウィンドウを表示し、
前記デバイス検出工程は、前記登録ウィンドウに対する操作指示が行われたポインティングデバイスの情報を検出し、
前記デバイス記憶工程は、前記デバイス検出工程で検出されたポインティングデバイスの情報を記憶する
ことを特徴とするアプリケーションプログラムである。
The present invention employs the following configuration. That is,
An operation content determination step for determining an operation content based on an operation instruction from at least one of the plurality of pointing devices;
A device storage step of storing information of a pointing device corresponding to the operation content;
A registration window display step for displaying a registration window for setting a pointing device to be stored in the device storage step;
In an application program for causing an information processing apparatus to execute
The registration window display step displays the registration window for each operation content that stores the information of the pointing device,
The device detection step detects information of a pointing device for which an operation instruction for the registration window has been performed,
The device storage step is an application program that stores information on the pointing device detected in the device detection step.
本発明によれば、汎用的なポインティングデバイスを用いて効率的な操作指示入力が可能なアプリケーションプログラムを提供できる。 ADVANTAGE OF THE INVENTION According to this invention, the application program which can perform efficient operation instruction input using a general purpose pointing device can be provided.
以下に図面を参照しつつ、本発明の好適な実施の形態について説明する。ただし、以下に記載されている構成部品の寸法、材質、形状およびそれらの相対配置などは、発明が適用される装置の構成や各種条件により適宜変更されるべきものであり、この発明の範囲を
以下の記載に限定する趣旨のものではない。
Hereinafter, preferred embodiments of the present invention will be described with reference to the drawings. However, the dimensions, materials, shapes, and relative arrangements of the components described below should be changed as appropriate according to the configuration of the apparatus to which the invention is applied and various conditions. It is not intended to limit the following description.
<実施例1>
以下、図面を用いて本発明の要旨を説明する。
図1は本発明における装置構成を示している。図1中、符号100はコンピュータを示しており、本発明の対象となるアプリケーションのプログラムを実行する。符号101はディスプレイであり、アプリケーションのウィンドウを表示する。
<Example 1>
Hereinafter, the gist of the present invention will be described with reference to the drawings.
FIG. 1 shows an apparatus configuration according to the present invention. In FIG. 1,
符号102はマウスを示しており、本発明におけるユーザーからの操作指示を入力するためのポインティングデバイスの一つである。符号103はマウス102に取り付けられている左ボタンであり、ディスプレイ101上に表示される不図示のマウスカーソルが指し示す位置にある対象を選択する際等に使用される。符号104は回転可能なホイールであり、回転量に応じた操作指示を与える際に有効である。ホイール104の活用例としては、例えば画像表示を行うアプリケーションにおいて、上下方向のスクロール、あるいは、表示倍率の変更を行う際に使うなどが挙げられる。符号105はマウス102に取り付けられている右ボタンであり、前述のカーソルが指し示す位置において使用可能なメニューを表示する際などに使用される。
符号106はトラックボールであり、ボール107を回転させることにより、マウス102を移動させた時と同様にマウスカーソルの位置を移動させることが可能なポインティングデバイスの一つである。符号108はトラックボール106に取り付けられている左ボタンであり、前述の左ボタン103と同様の機能を有する。符号109は右ボタンであり、前述の右ボタン105と同様の機能を有する。符号110はキーボードであり、文字入力を行う際に使用される。なお、マウスおよびトラックボールのボタンの左右とは、マウスを把持するユーザーからみた向きを表す。
図2は、本発明のアプリケーションプログラムを実行するコンピュータ100の内部構成、および、各種デバイスとの関係を示している。符号200はCPUであり、処理に必要な演算を行う。符号201はROMであり、記憶されているプログラムやデータを読み出すことが可能である。符号202はRAMであり、プログラムや処理に必要なデータの書き込み、あるいは、読み出しが可能である。符号203はプログラムや画像データなどの書き込み、あるいは、読み出しが可能なストレージであり、HDDやSSDなどから構成される。符号204〜207はインターフェースであり、それぞれディスプレイ101、マウス102、トラックボール106、キーボード110に接続されている。CPU200、またはCPU200が動作するのに必要な要素の組み合わせ、あるいはコンピュータ100全体は、本発明のアプリケーションプログラムを実行する情報処理装置として機能する。
FIG. 2 shows the internal configuration of the
次に、図3を用いて本発明におけるアプリケーションプログラムの適用例を示す。図3(a)は医療用画像を表示するアプリケーションプログラムの例であり、ディスプレイ101上にアプリケーションウィンドウ300が表示されている。そして、アプリケーションウィンドウ300中には医療用画像301が表示されている。医療用画像の例としては、レントゲン、CT、MRIなどが挙げられるが、さらに好適な例としてはプレパラートを高倍率のレンズを用いて拡大して撮像する病理診断用画像が挙げられる。
Next, an application example of the application program according to the present invention will be described with reference to FIG. FIG. 3A is an example of an application program that displays a medical image, and an
病理診断用画像のように被写体であるプレパラート全体の観察とともに拡大して細部を観察する必要のある画像の場合、観察時には画像のスクロールや表示倍率の変更が必要となる。表示倍率が低すぎると細部が観察できないため、良好な診断のためには少なくとも所定の値以上の表示倍率が必要になる。その所定の表示倍率における画像の大きさがアプリケーションウィンドウより大きい場合、ウィンドウ中には全体画像の一部である部分画
像が表示され、スクロールを行って画像中の表示位置(切り取られる部分画像)を変更する。
In the case of an image that needs to be enlarged and observed in detail along with observation of the entire preparation as a subject, such as an image for pathological diagnosis, scrolling of the image and change of the display magnification are required at the time of observation. If the display magnification is too low, details cannot be observed. Therefore, a display magnification of at least a predetermined value is required for a good diagnosis. When the image size at the predetermined display magnification is larger than the application window, a partial image that is a part of the entire image is displayed in the window, and the display position (the cut partial image) in the image is scrolled. change.
さらに、注目箇所に対してマークやコメントを付加する等の操作が行われる場合もある。符号302はカーソルであり、ディスプレイ101上の位置を指定する際に使用される。カーソル302は、マウス102の移動、あるいは、トラックボール106のボール107の回転など、ポインティングデバイスを用いた移動指示を与えることにより移動させる。
In addition, an operation such as adding a mark or a comment to the point of interest may be performed.
図3(b)は、地図を表示するアプリケーションプログラムの例であり、ディスプレイ101上にアプリケーションウィンドウ303が表示されている。そして、アプリケーションウィンドウ303中には道路や建物を含む地図画像304が表示されている。地図を見る際には、例えば所定の場所から目的地への経路を調べる等が行われるが、2点間の距離が離れている場合には、画像をスクロールさせながら見る必要がある。また、縮小表示をしながら大まかな経路を検索するとともに、必要に応じて一部を拡大表示しながら細かい道を調べるなどの表示倍率の変更が行われる場合がある。また、近年では経路の自動検索機能が付いた地図アプリケーションプログラムもあり、経路の開始地点と目的地を指定することなども行われる。
FIG. 3B is an example of an application program that displays a map, and an
図3(a)、(b)に示したように、1つの画面内に収まらない表示を行う場合には、スクロールや表示倍率の変更、そして、画像内の位置の指定などの操作が行われる場合がある。一般的なコンピュータには操作指示入力手段としてマウス102とキーボード110が使用される。特に、マークの付加や地図上の場所を指定するといったような画像中の所定位置を指定する場合には、マウス102を用いると操作性が良い。また、表示倍率変更のように一次元の尺度を切り替える場合では、一次元の動きに限定されているホイール104を用いると操作性が良い。しかし、一般的に、大きな画像のスクロール等は、マウス102よりも二次元方向に自由に移動可能なトラックボール106の方が操作性が良いことが知られている。
As shown in FIGS. 3A and 3B, when a display that does not fit within one screen is performed, operations such as scrolling, changing display magnification, and specifying a position in the image are performed. There is a case. A general computer uses a
ここで、マウス102やトラックボール106は様々なメーカーから様々な形状の製品が発売されていて、ユーザーごとに好みの製品は異なる。しかし、特許文献1のように特殊なデバイスやドライバが必要な場合、デバイスやドライバが対応していなければ、上述のように機能ごとに使い分けることが困難となる。
本発明は、特殊なデバイスやドライバを用いることなく、アプリケーションプログラムの機能ごとに最適な操作指示デバイスを使用することを可能にするものである。
Here, as for the
The present invention makes it possible to use an optimum operation instruction device for each function of an application program without using a special device or driver.
図4は、本実施例における操作指示伝達経路を示す図である。符号400はアプリケーションプログラムであり、オペレーティングシステム(OS)401の管理下で動作するソフトウェアである。符号402はマウス102からの入力を受け付け、OS401に操作指示内容を伝達するドライバである。符号403はトラックボール106からの入力を受け付け、OS401に操作指示内容を伝達するドライバである。ドライバ402、403からの操作指示入力は、OS401を経由してアプリケーションプログラム400に伝達される。
FIG. 4 is a diagram showing an operation instruction transmission path in the present embodiment.
ここで、ポインティングデバイスを使用したマウスカーソル302に対する標準的な操作指示命令は、OS401によって一般化された操作指示命令として定義されている。そのため、OS401からアプリケーションプログラム400に伝達される情報は、操作入力デバイスであるマウス102やトラックボール103、あるいは、ドライバ402、403を区別することなく、一般化された操作指示命令404として伝達される。一般化された操作指示命令404として代表的なものはメッセージであり、例えば、マウス102
を移動させたことを通知するメッセージや、左ボタン103が押下されたことを通知するメッセージなどが挙げられる。
Here, a standard operation instruction command for the
And a message notifying that the
また、通常アプリケーションプログラム400は操作指示を入力したデバイスを意識しないようにすることで、ポインティングデバイスに依存しないように作成される。しかし、本発明のアプリケーションプログラムにおいては、OS401を介してデバイスを特定する。これにより、アプリケーションプログラム400において操作指示命令404、および、操作指示命令404に対応する操作指示を入力したデバイスの情報を考慮してアプリケーションプログラム400の動作を決定することが可能となる。その結果、汎用的な複数のポインティングデバイスを用いて、アプリケーションプログラム400の機能ごとに最適なデバイスを割り当てることが可能となる。
Further, the
図5は本実施例におけるアプリケーションプログラム400の機能ブロック図である。符号500はOS401から送信される操作指示命令を示すメッセージを入力する入力端子である。なお入力端子500から入力されるメッセージは、前述のポインティングデバイスの操作指示に限らない。例えば、アプリケーションのメニューを選択したことを示すメッセージ等、アプリケーションプログラム400に通知する必要のあるあらゆるメッセージを含む。
FIG. 5 is a functional block diagram of the
符号501はメッセージ受信部であり、受信したメッセージを蓄積するメッセージキューや、メッセージが届いたか否かを判定する判定手段などを具備する。符号502はデバイス検出部であり、受信したメッセージに対応するデバイスの識別情報を検出する。符号503はデバイス記憶部であり、アプリケーションプログラム400の機能ごとに、対応するデバイスの識別情報を記憶する。なお、デバイス記憶部503には、予め設定された識別情報を記憶するようにする。また、デバイス記憶部503は全ての機能に対して識別情報を記憶する必要はなく、特定のデバイスによる操作に対応させたい機能についてのみ情報を記憶するようにしても良い。
符号504は動作内容決定部であり、受信したメッセージ、および、デバイス検出部502で検出した識別情報、および、デバイス記憶部503に記憶された識別情報に基づいてアプリケーションプログラム400の動作内容を決定する。符号505はスクロール制御部であり、動作内容決定部504において表示画像のスクロール指示がなされたと判定された場合にスクロール動作を実行する。符号506は表示倍率制御部であり、動作内容決定部504において表示倍率の変更指示がなされたと判定された場合に表示倍率の変更を実行する。
An operation
符号507は画像読み込み部であり、動作内容決定部504において新たな画像を表示する指示がなされたと判定された場合に、指定された画像を読み込んで表示する。符号508は終了処理部であり、動作内容決定部504においてアプリケーションプログラム400を終了させる指示がなされたと判定された場合に、アプリケーションプログラム400を終了させる。符号509はカーソル表示状態制御部であり、動作内容決定部504の決定内容に応じて、カーソル表示制御を行う。
図6は本実施例におけるアプリケーションプログラム400の動作フローを示すフローチャートである。処理が開始されるとまず、ステップ600においてアプリケーションプログラムの初期化処理が行われ、アプリケーションウィンドウの表示が行われる。ステップ601では、操作指示命令を示すメッセージを受信したか否かを判定する。メッセージを受信していないと判定されると再度ステップ601を実行し、メッセージの受信を待つ。ステップ601においてメッセージを受信したと判定されるとステップ602に移行し、受信したメッセージをメッセージキューから取得する。ステップ603では、メッセー
ジに対応するデバイスの識別情報を検出する。
FIG. 6 is a flowchart showing the operation flow of the
ステップ604ではメッセージの内容を判定し、カーソルの移動を示す内容であった場合にはステップ605に進む。ステップ605では使用されたデバイスの識別情報がスクロール用のデバイスの識別情報と一致するか否かを判定する。ステップ605において一致すると判定された場合には、ステップ606においてスクロール量の決定を行った後に、ステップ607でスクロールを実行する。そして、ステップ608においてカーソルを非表示状態にした後に、再びステップ601においてメッセージ受信待ちを行う。
ステップ605において識別情報がスクロール用のデバイスの識別情報と一致しないと判定された場合には、通常のマウスカーソルの移動指示であったと判定する。そして、ステップ609においてカーソルを表示状態にした後に、再びステップ601においてメッセージ受信待ちを行う。
In step 604, the content of the message is determined. If the content indicates the movement of the cursor, the process proceeds to step 605. In step 605, it is determined whether or not the device identification information used matches the device identification information for scrolling. If it is determined in step 605 that they match, the scroll amount is determined in step 606 and then scrolling is performed in step 607. In step 608, the cursor is set in a non-display state, and then in step 601, message reception is waited again.
If it is determined in step 605 that the identification information does not match the identification information of the scroll device, it is determined that the instruction is a normal mouse cursor movement instruction. Then, after setting the cursor to the display state in step 609, the message reception is waited again in step 601.
一方、ステップ604においてメッセージの内容がカーソルの移動を示す内容ではなかった場合、処理はステップ610に移行し、メッセージの内容がホイールの回転を示す内容であるか否かを判定する。ステップ610において、メッセージの内容がホイールの回転を示す内容であった場合処理はステップ611に移行し、ホイールの回転量、および、回転方向に基づいて表示倍率の決定を行う。そして、ステップ612で表示倍率の変更を行った後、再びステップ601においてメッセージ受信待ちを行う。 On the other hand, when the content of the message is not the content indicating the movement of the cursor in step 604, the process proceeds to step 610, and it is determined whether or not the content of the message is the content indicating the rotation of the wheel. In step 610, when the content of the message indicates the rotation of the wheel, the process proceeds to step 611, and the display magnification is determined based on the rotation amount and the rotation direction of the wheel. Then, after the display magnification is changed in step 612, message reception is waited again in step 601.
ステップ610においてメッセージの内容がホイールの回転を示す内容ではなかった場合、処理はステップ613に移行し、メッセージの内容がファイルを開く内容であるか否かを判定する。ステップ613において、メッセージの内容がファイルを開く内容であった場合、処理はステップ614に移行し、指定された画像ファイルの読み込み、すなわち画像入力を行う。そして、ステップ615において読み込んだ画像の表示を行った後、再びステップ601においてメッセージ受信待ちを行う。
If it is determined in step 610 that the message content does not indicate wheel rotation, the process proceeds to step 613 to determine whether the message content is for opening a file. In step 613, when the content of the message is the content of opening the file, the process proceeds to step 614, and the designated image file is read, that is, the image is input. In
ステップ613においてメッセージの内容がファイルを開く内容ではなかった場合、処理はステップ616に移行し、メッセージの内容がアプリケーションプログラムの終了を示す内容であるか否かを判定する。ステップ616において、メッセージの内容がアプリケーションプログラムの終了を示す内容であった場合には、アプリケーションプログラムを終了させる。一方、メッセージの内容がアプリケーションプログラムの終了を示す内容でなかった場合には、再びステップ601においてメッセージ受信待ちを行う。 If it is determined in step 613 that the content of the message is not the content for opening the file, the process proceeds to step 616 to determine whether or not the content of the message indicates the end of the application program. In step 616, if the content of the message indicates the end of the application program, the application program is ended. On the other hand, when the content of the message is not the content indicating the end of the application program, in step 601 the message reception is waited again.
なお、図6に示したフローにおいて、ステップ603のデバイスの検出処理は、メッセージ内容の判定処理であるステップ604、605、610、613等の後に必要な場合のみ行うようにしても良い。
また、図6のフローにおいては、ステップ610でメッセージの内容がホイールの回転を示す内容であった場合、あるいはステップ613でメッセージの内容がファイルを開く内容であった場合にはカーソル状態の変更を行っていない。これは現在のカーソル表示状態を維持することを意味しているが、現在の状態を維持することも、カーソル表示状態制御部509が行うカーソル表示制御の内容に含まれる。なお、本発明は図6のフローに限定されるものではなく、動作内容とカーソル表示状態の制御の処理順が入れ替わっても構わない。また、ステップ610でメッセージの内容がホイールの回転を示す内容であった場合、あるいはメッセージの内容がファイルを開く内容であった場合にカーソルの表示状態を特定の状態にするようにしても良い。
In the flow shown in FIG. 6, the device detection process in step 603 may be performed only when necessary after steps 604, 605, 610, 613, etc., which are message content determination processes.
In the flow of FIG. 6, if the message content indicates the rotation of the wheel in step 610 or if the message content is the content for opening a file in step 613, the cursor state is changed. not going. This means that the current cursor display state is maintained, but maintaining the current state is also included in the contents of the cursor display control performed by the cursor display
図7はステップ606のスクロール方法、および、スクロール移動量の決定方法の例を示す図である。
図7(a)において、符号700はアプリケーションウィンドウを示している。701
はアプリケーションウィンドウ700内の所定位置(例えばウィンドウ中心などのカーソルの移動が全方向に可能な位置)を指すように移動されたカーソルであり、スクロール移動量を決定する際の基準位置を示している。符号702はスクロール用のデバイスからのマウス移動指示によって移動したカーソルである。そして、マウス移動指示を示すメッセージを受信すると、カーソル位置701と702、および、方向の比較により移動量(X、Y方向)を決定する。さらに、移動量決定後にカーソル702を強制的に701のカーソル位置に移動させることにより、カーソルが画面端部に移動して、それ以上同じ方向に移動できなくなることを防止する。
FIG. 7 is a diagram showing an example of the scroll method in step 606 and the method for determining the scroll movement amount.
In FIG. 7A,
Is a cursor moved to point to a predetermined position in the application window 700 (for example, a position where the cursor can be moved in all directions, for example, the center of the window), and indicates a reference position when determining the scroll movement amount. .
なお、スクロール用デバイスではないマウス移動指示からスクロール用デバイスのマウス移動指示に切れ変わった際に、カーソル位置を記憶しておき、カーソルを非表示にする。逆に、スクロール用デバイスのマウス移動指示からスクロール用デバイスではないマウス移動指示に切れ変わった際に、記憶していたカーソル位置にカーソルを移動させ、且つ、カーソルを表示状態にすると良い。このようにすることで、画面上に無意味な移動を繰り返すカーソルが表示されなくなるため、画像の閲覧を妨げることなく画面表示が可能となる。 When the mouse movement instruction that is not the scroll device is changed to the mouse movement instruction of the scroll device, the cursor position is stored and the cursor is not displayed. On the contrary, when the mouse movement instruction of the scroll device is switched to the mouse movement instruction that is not the scroll device, the cursor may be moved to the stored cursor position and the cursor may be displayed. By doing in this way, a cursor that repeats meaningless movement is not displayed on the screen, so that it is possible to display the screen without obstructing image browsing.
図7(b)は、ステップ606のスクロール量の決定方法の他の例を示す図である。図7(b)においては、画像表示領域703以外に、スクロール制御用領域704を有している。符号705は基準位置であり、カーソル位置706との位置、および、方向の相対的な関係により、移動量(X、Y方向)を決定する。ここで、スクロール用デバイスではないマウス移動指示に切れ変わった場合には、カーソル位置を記憶した後に、カーソル位置を画像表示領域703中のカーソル位置707に強制的に移動させる。一方、スクロール用デバイスのマウス移動指示に切れ変わった際には、カーソル位置を記憶した後に、カーソル位置を強制的に706に移動させる。
FIG. 7B is a diagram showing another example of the scroll amount determination method in step 606. In FIG. 7B, in addition to the
なお、スクロール用デバイスではないマウス移動指示に切れ変わった場合には、スクロール操作が停止したとみなしてカーソル位置706を705の位置に移動させても良い。また、スクロール制御領域には705を中心とする不感領域708を設けておくのも良い。そして、領域708中にカーソルが存在する場合には移動させないようにすることで、スクロールの停止を行いやすくなる。
Note that, when the mouse movement instruction that is not a scroll device is changed, the
なお、移動量は基準位置とカーソル位置の相対的な距離に比例するようにしても良いが、細かい手の動きによってカーソルが意図しない変動をする可能性がある。このような場合、単純に距離に比例する移動量とすると、移動速度や移動方向にムラが発生してしまい、観察が行いにくくなる恐れがある。 The amount of movement may be proportional to the relative distance between the reference position and the cursor position, but the cursor may change unintentionally due to fine hand movements. In such a case, if the movement amount is simply proportional to the distance, unevenness occurs in the movement speed and movement direction, which may make observation difficult.
そのため、予め定められた固定的な移動量を設定するようにしても良い。例えば、移動速度が一つの固定値で、移動方向が縦横のみに限定するなどが挙げられる。また、固定値を複数持たせておき、基準位置とカーソル位置の相対的な距離が所定の閾値を超えた場合に切り替えて適用するなどを行っても良い。例えば、相対的なカーソル位置が所定以上離れていた場合には、高速な手の動きによりスクロールの動きにムラが発生しやすくなるため、固定的な速度で縦横斜めの8方向に限定する。逆に、相対的なカーソル位置が所定以上離れていなかった場合には、低速な手の動きにより細かい操作を感覚的に行わせるために、移動量は基準位置とカーソル位置の相対的な距離に比例するようにする等が挙げられる。 For this reason, a predetermined fixed movement amount may be set. For example, the moving speed is one fixed value, and the moving direction is limited to vertical and horizontal directions. Alternatively, a plurality of fixed values may be provided, and switching may be applied when the relative distance between the reference position and the cursor position exceeds a predetermined threshold. For example, when the relative cursor position is more than a predetermined distance, the scroll movement is likely to be uneven due to the high-speed hand movement. On the other hand, if the relative cursor position is not more than the predetermined distance, the amount of movement is the relative distance between the reference position and the cursor position in order to make fine operations sensuously by slow hand movements. And so on.
上述の実施例においては、スクロール動作を行うにあたりカーソルの移動を示すメッセージを判定するようにしたが、これに限るものではない。例えば、トラックボールを使用する場合にはボールの回転量を検出する必要がある。そこで、周期タイマーを使用して所
定時間間隔でカーソルの位置を取得し、前回周期において取得した位置との差分を移動量と判定する。そして、該移動量に基づいてスクロール方向とスクロール量を決定するようにするなどの方法でも良い。
In the above embodiment, the message indicating the movement of the cursor is determined when performing the scroll operation, but the present invention is not limited to this. For example, when using a trackball, it is necessary to detect the amount of rotation of the ball. Therefore, the position of the cursor is acquired at predetermined time intervals using a period timer, and the difference from the position acquired in the previous period is determined as the movement amount. A method of determining the scroll direction and the scroll amount based on the movement amount may be used.
この場合には、図7(a)で説明したように、ディスプレイ端部においてスクロールできなくなるのを防止するために、移動量の検出後には強制的に701のカーソル位置に移動させると良い。また、上述のようにカーソルを強制的に701に移動させる場合にはカーソルが701の近傍で激しく移動を繰り返し、表示内容を観察する際に邪魔になる可能性がある。そこで、このような場合にはカーソルを非表示にすると良い。
In this case, as described with reference to FIG. 7A, it is preferable to forcibly move the cursor to the
このように本発明は、カーソルの移動を示すメッセージに限らず、カーソルの移動を検出することが可能な他のトリガに基づいてカーソル位置取得(検出)を行い、スクロールに反映させるようにする構成であっても構わない。 As described above, the present invention is not limited to the message indicating the cursor movement, but is configured to acquire (detect) the cursor position based on another trigger capable of detecting the cursor movement and reflect the result on the scroll. It does not matter.
なお、本発明は上述の実施例に限定されるものではなく、デバイスの判定はメッセージがカーソルの移動であった場合以外に行っても構わない。例えば、2つのポインティングデバイスが両方とも一般的なホイール操作に対応していた場合において、メッセージがホイールの回転であった場合にデバイスを判定するようにしても良い。この場合の好適な例としては、前述の病理診断用画像において奥行き方向に複数枚撮像を行ったZスタック画像を表示する例が挙げられる。この場合、一方のポインティングデバイスでは表示倍率の変更を行い、他方のポインティングデバイスでは奥行き方向の位置を切り替えるようにすると良い。 The present invention is not limited to the above-described embodiment, and device determination may be performed other than when the message is a cursor movement. For example, when both of two pointing devices support general wheel operation, the device may be determined when the message is a wheel rotation. A preferable example in this case is an example in which a Z stack image obtained by capturing a plurality of images in the depth direction in the above-described pathological diagnosis image is displayed. In this case, the display magnification may be changed with one pointing device, and the position in the depth direction may be switched with the other pointing device.
また、本発明はファイルを開く等のメニュー操作に対して行うようにしても良い。例えば、前述の病理診断用画像においては、複数の画像を並列に表示して比較しながら観察する場合と、一枚だけを表示する場合が挙げられる。既に一枚の画像が表示された状態にあるときにファイルを開く操作を行った場合の動作として、一方のポインティングデバイスが用いられた場合には表示済みの画像を閉じて、新たに指定された画像を一枚だけ表示するようにする。そして、他方のポインティングデバイスが用いられた場合には表示領域を分割して、表示済みの画像と新たに指定された画像を並列に表示するようにする等が、好適な例として挙げられる。 Further, the present invention may be performed for a menu operation such as opening a file. For example, in the above-described pathological diagnosis image, there are a case where a plurality of images are displayed in parallel and observed while being compared, and a case where only one image is displayed. When one of the pointing devices is used as an operation to open a file when one image is already displayed, the displayed image is closed and newly specified. Display only one image. When the other pointing device is used, a display area is divided so that a displayed image and a newly designated image are displayed in parallel.
なお、本発明の適用対象としてはメニュー操作に限らず、ボタンやリスト表示などアプリケーション400に固有の様々な対象に対して適用可能である。例えば、使用したポインティングデバイスごとにボタンに対応する動作内容を切り替える、あるいは、使用したポインティングデバイスごとにコンボボックスで選択可能な項目のリストを切り替える、等が好適な例として挙げられる。このように、メニュー操作やボタン等のようなアプリケーション固有の対象に対する操作指示をポインティングデバイスごとに切り替えることは、OS401やドライバ402では実行することが困難である。また、アプリケーション400とOS401の間に変換ソフトウェアを入れるようなことを行った場合も同様に、アプリケーション固有の対象に対する操作指示をポインティングデバイスごとに切り替えることは困難である。つまり、本発明はアプリケーション固有の対象に対する操作指示をポインティングデバイスごとに切り替えることを可能にするものである。
The application target of the present invention is not limited to the menu operation, and can be applied to various targets unique to the
さらに、特殊な動作はトラックボール106の場合に限る物ではなく、例えば使用されたデバイスがマウス102の場合にのみ画像中へのマークやコメントの付加を行う等でも良い。この場合、マウス102を移動させることによりマウスカーソル302を画面内で移動させ、マークやコメントを挿入したい位置に移動させる。そして、左ボタン103、あるいは、右ボタン105、あるいは、キーボード110を使用してコメントや文字列を挿入する等を行う等、機能に応じて適したデバイスを割り当てるようにすると良い。
Further, the special operation is not limited to the case of the
また、上述の説明では、ポインティングデバイスとしてマウスとトラックボールを挙げたが、これに限るものではない。図8は、本発明が適用可能な他のポインティングデバイスの一例を示している。800はノート型のPCを示している。801はタッチパッドであり、持ち運びを想定したノートPCにおいてマウスのような外部デバイスが無くてもカーソル移動やクリック指示を行えるようにするためのポインティングデバイスであり、本発明の適用対象である。
In the above description, a mouse and a trackball are cited as pointing devices, but the present invention is not limited to this. FIG. 8 shows an example of another pointing device to which the present invention is applicable.
また、ノートPC800のディスプレイにはタッチパネル802が搭載されており、指などで画面上に触れることにより直接的に画面上の位置を指定することが可能である。タッチパネル802もマウスなどと同様に位置を指定することが可能であり、指定した画面上の位置を現在のカーソル位置とみなせることから本発明の適用対象であるポインティングデバイスの一つである。
A
そして、上述の説明と同様に、例えばトラックボール106をスクロール用、タッチパッド801、あるいは、タッチパネル802を他の作業用に割り振る等を行う例が考えられる。なお、図8においてはノートPCを想定したが、本発明はこれに限定されるものでは無く、デスクトップPC用のディスプレイ101に搭載されたタッチパネルであっても構わない。また、キーボードが無く画面上のタッチパネルで通常の操作を行うタブレット型の端末が近年普及している。このようなタブレット型の端末にポインティングデバイスを接続し、該ポインティングデバイスとタブレット型端末に搭載されているタッチパネルの組み合わせに対して本発明を適用しても良い。
In the same manner as described above, for example, an example in which the
図7(a)を用いた上述の例においては、スクロールか否かに応じてカーソルの表示状態を、非表示、あるいは表示に切り換える例を示した。このような制御はスクロールに限るものではなく、選択された機能におけるカーソル表示の必要性を考慮して決定すると良い。例えば、上述の例においては、表示画像をスクロールさせる際にはカーソルが表示されている必要はなく、むしろ表示させたカーソルが画像の観察の邪魔になる。このような機能の場合には、カーソルを非表示状態にすると良い。また、画像中へのコメントやマークの付加などのように位置を指し示す必要がある機能の場合にはカーソルが表示されている必要があるため、カーソルを表示状態にすると良い。また、カーソルが不要な場合には、完全に非表示にする以外にも半透明にする、大きさを小さくする、あるいは色を変更して背景色に近づける等により見えにくくするようにしても良い。 In the above example using FIG. 7A, an example has been shown in which the display state of the cursor is switched to non-display or display depending on whether scrolling is performed. Such control is not limited to scrolling, and may be determined in consideration of the necessity of cursor display in the selected function. For example, in the above-described example, when the display image is scrolled, the cursor does not need to be displayed, but rather the displayed cursor interferes with the image observation. In the case of such a function, the cursor may be hidden. In addition, in the case of a function that needs to indicate a position, such as adding a comment or a mark to an image, the cursor needs to be displayed. If the cursor is unnecessary, it may be made difficult to see by making it semi-transparent, reducing the size, or changing the color to bring it closer to the background color in addition to making it completely hidden. .
また、図7(a)において、カーソルが不要な場合には701をウィンドウの中心位置近傍以外の位置に設定してカーソル表示を行うようにするなど、画像の観察の邪魔になりにくいようにしても良い。図7(a)、(b)に示すように、本発明におけるカーソル表示状態とは、カーソルの色、透明度、大きさ、位置など様々な表示状態を含むものである。つまり、表示画像上でのカーソルの視認性が変更可能なものであればいかなるものであっても良い。 Further, in FIG. 7A, when the cursor is unnecessary, the cursor display is performed by setting 701 to a position other than the vicinity of the center position of the window so as not to obstruct the image observation. Also good. As shown in FIGS. 7A and 7B, the cursor display state in the present invention includes various display states such as the color, transparency, size, and position of the cursor. That is, any object may be used as long as the visibility of the cursor on the display image can be changed.
本発明の好適な例としては汎用的なポインティングデバイスやドライバのみを使用する例を挙げた。しかし、特殊なポインティングデバイスやドライバと、汎用的なポインティングデバイスを組み合わせて使用する場合において、特定の汎用ポインティングデバイスに対して上述した方法を適用するようにしても良い。組み合わせる特殊なデバイスの例としては、ゲームコントローラのように数多くのボタンを有しておりドライバ設定で対応する操作指示内容を割り振るようなデバイスが挙げられる。 As a preferred example of the present invention, an example in which only a general-purpose pointing device or driver is used has been given. However, when a special pointing device or driver and a general-purpose pointing device are used in combination, the method described above may be applied to a specific general-purpose pointing device. As an example of a special device to be combined, there is a device such as a game controller that has a large number of buttons and allocates corresponding operation instruction contents by driver setting.
使用されたデバイスごとに切り替える処理は上述した内容に限定されるものではなく、他の様々な操作指示入力に対して行うようにしても良い。また、実行する動作内容も同様
に上述の内容に限定されるものではない。また、複数のデバイスを接続する方法は、上述したUSBでの接続やコンピュータに備え付ける以外にも任意の方式を採用でき、有線または無線の別を問わない。
The process of switching for each used device is not limited to the above-described content, and may be performed for various other operation instruction inputs. Similarly, the operation content to be executed is not limited to the above-described content. As a method for connecting a plurality of devices, any method other than the above-described USB connection or computer connection can be adopted, regardless of whether it is wired or wireless.
以上説明したように本実施例によると、汎用的な複数のポインティングデバイスを用いて、アプリケーションプログラムの機能ごとに最適なデバイスを割り当てることが可能となる。例えば、カーソルの長距離移動が必要な広範囲のスクロール処理と、正確なポインティングを行う処理を両立させるような、広い範囲の画面表示を簡易に実現できる。また、本発明はアプリケーションプログラムの機能と一般的なメッセージにより実現可能であるため、オペレーティングシステム、ドライバまたはミドルウェア等の制約を低減させ、任意のデバイスを使用可能となる。 As described above, according to the present embodiment, it is possible to assign an optimum device for each function of an application program using a plurality of general-purpose pointing devices. For example, it is possible to easily realize a wide range of screen display that can achieve both a wide-range scrolling process that requires a long distance movement of the cursor and a process of performing accurate pointing. In addition, since the present invention can be realized by the function of the application program and general messages, restrictions on the operating system, driver, middleware, etc. can be reduced, and any device can be used.
<実施例2>
上述の実施例1においては、複数のポインティングデバイスを用いてアプリケーションの異なる機能を操作する方法について述べた。本実施例においては、上述の機能を複数のポインティングデバイスに対して登録する方法について述べる。
<Example 2>
In the above-described first embodiment, the method of operating different functions of an application using a plurality of pointing devices has been described. In the present embodiment, a method for registering the above-described functions for a plurality of pointing devices will be described.
図9は本実施例におけるアプリケーションプログラム400の機能ブロック図の一部であり、使用するポインティングデバイスを登録する登録部の構成を示している。なお、前述の図5と同様の項目には同じ符号を付し、説明は省略する。
FIG. 9 is a part of a functional block diagram of the
符号900は登録動作制御部であり、デバイスの登録を行う機能の決定、および、デバイス検出部502から入力されたデバイスの識別情報を該機能と関連付けてデバイス記憶部503に記憶させる動作を行う。符号901は画面表示内容決定部であり、登録動作制御部900から入力された今回の画面で登録を行う機能の情報に基づいて、画面表示内容を決定する。符号902はウィンドウ表示部であり、画面表示内容決定部901において決定された画面表示内容に基づいてウィンドウを表示させる。
図10は本実施例におけるアプリケーションプログラム400の動作フローを示すフローチャートであり、使用するポインティングデバイスを登録する処理のフローを示している。登録処理は、アプリケーションプログラムの初回動作時に自動的に開始させても良く、任意の時点で開始指示を受け付ける機能を設けても良い。その他、新しいポインティングデバイスが接続されたときなど、必要に応じて随時処理を開始すれば良い。
FIG. 10 is a flowchart showing an operation flow of the
処理が開始されるとまず、ステップ1000において登録処理の初期化が行われる。次いでステップ1001において、デバイス登録を開始する指示が与えられるまで待つ。そしてステップ1001においてデバイス登録を開始する指示が与えられると、ステップ1002において、これから登録を開始することを通知するための開始ウィンドウの表示を行う。ステップ1003では、前記開始ウィンドウ中の次の画面を表示するための操作指示として後述のボタンが押下されるのを待ち、該ボタンが押下されると処理をステップ1004に移行させる。
When the process is started, the registration process is first initialized in step 1000. Next, in
ステップ1004では次の画面で登録する機能の決定を行い、次いでステップ1005において決定された該機能を示す情報に基づいて登録用画面の表示を行う。ステップ1006では、該登録用画面内でポインティングデバイスの操作指示が入力されるのを待ち、該操作指示が入力された場合にはステップ1007に移行する。ステップ1007では、該登録用画面内で操作指示を入力した際に使用されたポインティングデバイスの識別情報の取得を行い、ステップ1008において該デバイスの識別情報を前述の機能に関連づけて記憶する。ステップ1009では、登録する全ての機能に対して登録が完了しているか否かの判定が行われ、未登録の機能が存在する場合には、処理をステップ1004に戻し
て次の機能の登録処理を行う。一方、ステップ1009において、全ての機能の登録が完了していると判定された場合には、処理はステップ1010に移行する。
In step 1004, the function to be registered is determined on the next screen, and then the registration screen is displayed based on the information indicating the function determined in step 1005. In step 1006, the process waits for the pointing device operation instruction to be input in the registration screen. If the operation instruction is input, the process proceeds to step 1007. In step 1007, identification information of the pointing device used when the operation instruction is input on the registration screen is acquired, and in step 1008, the identification information of the device is stored in association with the aforementioned function. In step 1009, it is determined whether or not registration has been completed for all functions to be registered. If there is an unregistered function, the process returns to step 1004 to register the next function. I do. On the other hand, if it is determined in step 1009 that all functions have been registered, the process proceeds to step 1010.
ステップ1010では登録処理が完了したことを通知する終了ウィンドウの表示を行う。そして、ステップ1011において該終了ウィンドウを閉じるボタンが押下されるのを待ち、該ボタンが押下されると処理を終了させる。
In step 1010, an end window for notifying that the registration process is completed is displayed. In
次に、図11を用いて本実施例の表示画面例、及び登録方法の例を示す。図11(a)において、符号1100はデバイスの登録開始ウィンドウであり、登録の方法や操作手順等をユーザーに通知するための表示を行う。符号1101はカーソルを示している。ユーザーが汎用的なポインティングデバイスを操作することにより、カーソル位置の移動やカーソル位置のクリック等の操作指示入力が行われる。符号1102は開始ウィンドウの表示を終了させ次の表示に移行させるためのボタンである。
Next, an example of a display screen and an example of a registration method according to the present embodiment will be described with reference to FIG. In FIG. 11A,
カーソル1101を用いてボタン1102が押下されると、図11(b)に示すように、登録ウィンドウ表示が行われる。図11(b)の例では、符号1103は、スクロール操作を行う際に使用するデバイスを登録するウィンドウである。そして、スクロール操作を行う際に使用するポインティングデバイスを用いて当該ウィンドウ1103上のカーソル1104および1105を移動させることにより、OSを介してアプリケーションプログラム400に対して操作指示命令が送信される。アプリケーションプログラム400は、操作指示命令を受信すると使用されたデバイス情報の取得を行い、前述の図10のフローに従ってスクロール操作に対応させてデバイスを記憶する。
When the
図11(b)の登録ウィンドウにおいて対応するデバイスが登録されると、図11(c)の表示が行われる。図11(c)の例では、符号1106は文字や記号の挿入など位置を指し示すことが必要な場合に使用されるポインティング操作に使用するデバイスを登録するウィンドウである。図11(c)においても、ポインティング操作を行う際に使用するポインティングデバイスを用いて当該ウィンドウ1106上のカーソル1107および1108を移動させることにより、ポインティング操作に対応させてデバイスを記憶する。
When the corresponding device is registered in the registration window of FIG. 11B, the display of FIG. 11C is performed. In the example of FIG. 11C,
図11(c)の登録ウィンドウにおいて対応するデバイスが登録されると、図11(d)の終了ウィンドウ1109の表示が行われる。終了ウィンドウ1109では、登録が正常に終了したか否かと、登録された内容として機能とデバイスが対応付けられた形で表示される。そして、ボタン1110が押下されると、終了ウィンドウ1109を閉じて処理を終了させる。
なお、登録開始ウィンドウ1100および終了ウィンドウ1300の表示は必須ではなく、必要に応じて表示する、あるいは登録ウィンドウ1103、1106中に表示するなどでも良い。
When the corresponding device is registered in the registration window of FIG. 11C, the
Note that the display of the
図11に示すウィンドウ1100、1103、1106、1109は同一のウィンドウ内の表示内容を切り替えても良い。あるいは、各々のウィンドウを個別に作成し、次の画面を表示させる際にウィンドウを閉じるようにしても良い。
The
ここで、図11(b)、(c)で説明した登録ウィンドウにおいてはカーソルの移動指示に応じてデバイスの登録を行う例を示したが、これに限るものではない。例えば、図12は登録ウィンドウの他の例を示している。登録ウィンドウ1200には手順を遷移させる入力指示を受け付けるためのボタン1202が設けられている。そして、カーソル1201を用いてボタン1202を押下することにより、アプリケーションプログラム400に送信されるボタン押下の通知に応じて登録を行う。もちろん、図12においてボタン1
202を設ける代わりに、登録ウィンドウ1200内の任意の場所でクリック操作が行われたことを検出するようにしても良い。
Here, in the registration window described with reference to FIGS. 11B and 11C, an example in which a device is registered in response to a cursor movement instruction is shown, but the present invention is not limited to this. For example, FIG. 12 shows another example of the registration window. The
Instead of providing 202, it may be detected that a click operation has been performed at an arbitrary location in the
さらに、図11(b)、(c)および図12で説明した登録ウィンドウにおいては、一つの登録ウィンドウ内で登録対象となる機能に対しては、一つの操作指示デバイスを記憶するようにした。しかし本発明はこれに限るものではない。 Further, in the registration window described with reference to FIGS. 11B, 11C, and 12, one operation instruction device is stored for a function to be registered in one registration window. However, the present invention is not limited to this.
図13は、一つの機能に対して複数の操作指示デバイスを登録可能な登録ウィンドウの例である。登録ウィンドウ1300中には、複数の登録済みデバイス名が表示可能な登録デバイス名表示領域1302、および、手順を遷移させる入力指示を受け付けるためのボタン1303が設けられている。そして、マウスカーソル1301を登録ウィンドウ1300内で移動させたり、登録ウィンドウ1300内でクリック操作を行わせたりすることにより、操作指示を行ったデバイスを全て登録し、さらに登録デバイス名表示領域1302にデバイス名を表示する。登録する全てのデバイスによる操作が行われた後で、ボタン1303が押下されると、登録ウィンドウ1303を閉じて対象となる機能に対する登録処理を終了させて、次の画面に遷移する。
FIG. 13 is an example of a registration window in which a plurality of operation instruction devices can be registered for one function. The
本実施例で説明した方法により機能に関連づけてデバイスを登録する場合、登録内容によっては操作の実行に不具合が生じる可能性がある。例えば、一つのデバイスを複数の機能に登録した結果、スクロール操作とポインティング操作の両方に一つのデバイスが割り振られる場合が挙げられる。このような登録を許可してしまうと、登録したデバイスを動かしたときに、スクロールしながらカーソルが移動することになってしまい、所望の位置に対してカーソル操作をさせることが困難になる恐れがある。そこで、同一のデバイスを登録できない機能の組み合わせを予め排他機能として記憶しておくことが好ましい。そして、この排他機能に対する同一デバイスの登録が行われようとした場合には、警告表示を出す、あるいは該デバイスの登録処理は実行しない、などの処理を行う。これにより行うべきでない登録を抑制できる。 When a device is registered in association with a function by the method described in this embodiment, there is a possibility that a problem may occur in the execution of the operation depending on the registered contents. For example, there is a case where one device is allocated to both scroll operation and pointing operation as a result of registering one device to a plurality of functions. If such registration is permitted, when the registered device is moved, the cursor will move while scrolling, which may make it difficult to operate the cursor at a desired position. is there. Therefore, it is preferable to previously store a combination of functions that cannot register the same device as an exclusive function. If the same device is to be registered for this exclusive function, processing such as displaying a warning or not executing the device registration processing is performed. This can suppress registration that should not be performed.
なお、本実施例において説明したデバイス登録の方法は、実施例1で説明したアプリケーションプログラム400の中で実行されるものとして説明したが、本発明はこれに限るものではない。例えば、アプリケーションプログラム400が使用するデバイスを記憶するファイルやレジストリなどへ登録を行う別のアプリケーションプログラムとしても良い。アプリケーションの実行形式として異なる実行ファイルであっても、実質的に組み合わせて使用される場合には、本発明の適用範囲に含まれる。
Although the device registration method described in the present embodiment has been described as being executed in the
以上説明したように本実施例によると、汎用的な複数のポインティングデバイスを用いて、アプリケーションプログラムの機能ごとに最適なデバイスを割り当てることが可能となる。 As described above, according to the present embodiment, it is possible to assign an optimum device for each function of an application program using a plurality of general-purpose pointing devices.
100:コンピュータ,101:ディスプレイ,102:マウス,106:トラックボール,200:CPU 100: Computer, 101: Display, 102: Mouse, 106: Trackball, 200: CPU
Claims (6)
前記操作指示に基づいて、使用されたポインティングデバイスの情報を検出するデバイス検出工程と、
前記複数のポインティングデバイスの少なくとも一つからの操作指示に基づいて動作内容を決定する動作内容決定工程と、
前記動作内容に対応するポインティングデバイスの情報を記憶するデバイス記憶工程と、
前記デバイス記憶工程において記憶するポインティングデバイスを設定するための登録ウィンドウを表示する登録ウィンドウ表示工程と、
を情報処理装置に実行させるアプリケーションプログラムにおいて、
前記登録ウィンドウ表示工程は、前記ポインティングデバイスの情報を記憶する前記動作内容ごとに前記登録ウィンドウを表示し、
前記デバイス検出工程は、前記登録ウィンドウに対する操作指示が行われたポインティングデバイスの情報を検出し、
前記デバイス記憶工程は、前記デバイス検出工程で検出されたポインティングデバイスの情報を記憶する
ことを特徴とするアプリケーションプログラム。 An operation instruction input process for inputting operation instructions using a plurality of pointing devices;
A device detection step of detecting information of a used pointing device based on the operation instruction;
An operation content determination step for determining an operation content based on an operation instruction from at least one of the plurality of pointing devices;
A device storage step of storing information of a pointing device corresponding to the operation content;
A registration window display step for displaying a registration window for setting a pointing device to be stored in the device storage step;
In an application program for causing an information processing apparatus to execute
The registration window display step displays the registration window for each operation content that stores the information of the pointing device,
The device detection step detects information of a pointing device for which an operation instruction for the registration window has been performed,
The device storage step stores information on the pointing device detected in the device detection step.
画像を入力する画像入力工程と、
前記画像の少なくとも一部を表示する表示工程と、
をさらに前記情報処理装置に実施させるものであり、
前記動作内容決定工程が決定する前記動作内容は、少なくとも画像表示に関する動作内容を含む
ことを特徴とする請求項1に記載のアプリケーションプログラム。 The application program is
An image input process for inputting an image;
A display step of displaying at least a part of the image;
Is further executed by the information processing apparatus,
The application program according to claim 1, wherein the operation content determined by the operation content determination step includes at least an operation content related to image display.
前記動作内容決定工程が決定する前記動作内容は、スクロールである
ことを特徴とする請求項2記載のアプリケーションプログラム。 The application program causes the information processing apparatus to further execute a scrolling process of changing the display position of the image,
3. The application program according to claim 2, wherein the operation content determined by the operation content determination step is scrolling.
ことを特徴とする請求項1ないし3のいずれか1項に記載のアプリケーションプログラム。 4. The application program according to claim 1, wherein the operation instruction for the registration window is an operation instruction related to movement of a cursor.
ことを特徴とする請求項1ないし3のいずれか1項に記載のアプリケーションプログラム。 The application program according to any one of claims 1 to 3, wherein the operation instruction for the registration window is a click operation for a position included in the registration window.
ことを特徴とする請求項1ないし3のいずれか1項に記載のアプリケーションプログラム。 The application program according to any one of claims 1 to 3, wherein the operation instruction for the registration window is a click operation for a button included in the registration window.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014041765A JP2015166994A (en) | 2014-03-04 | 2014-03-04 | Application program |
US14/633,989 US20150253948A1 (en) | 2014-03-04 | 2015-02-27 | Non-transitory computer readable medium storing an application program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014041765A JP2015166994A (en) | 2014-03-04 | 2014-03-04 | Application program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2015166994A true JP2015166994A (en) | 2015-09-24 |
Family
ID=54257825
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014041765A Pending JP2015166994A (en) | 2014-03-04 | 2014-03-04 | Application program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2015166994A (en) |
-
2014
- 2014-03-04 JP JP2014041765A patent/JP2015166994A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9423938B1 (en) | Methods, systems, and computer program products for navigating between visual components | |
US9098942B2 (en) | Legend indicator for selecting an active graph series | |
US10627990B2 (en) | Map information display device, map information display method, and map information display program | |
US8661361B2 (en) | Methods, systems, and computer program products for navigating between visual components | |
EP2664986A2 (en) | Method and electronic device thereof for processing function corresponding to multi-touch | |
US20090138800A1 (en) | Apparatus, method and computer-readable storage medium for directing operation of a software application via a touch-sensitive surface | |
US20200004487A1 (en) | Object moving program | |
EP2699986B1 (en) | Touch screen selection | |
EP3100151B1 (en) | Virtual mouse for a touch screen device | |
US8631317B2 (en) | Manipulating display of document pages on a touchscreen computing device | |
CN109426360B (en) | Display control device, pointer display method, and non-transitory recording medium | |
JP2009223494A (en) | Information processor | |
US20070094614A1 (en) | Data processing device | |
JP6490278B2 (en) | Application program | |
JP2019106204A (en) | Application program | |
US20150253948A1 (en) | Non-transitory computer readable medium storing an application program | |
JP6335553B2 (en) | Application program, information processing apparatus and control method thereof | |
CN109460160B (en) | Display control device, pointer display method, and non-transitory recording medium | |
US20190087077A1 (en) | Information processing apparatus, screen control method | |
JP2015166994A (en) | Application program | |
US20170038935A1 (en) | Information processing device, information display method, and recording medium | |
JP6194564B1 (en) | Operation processing apparatus, method, and computer program | |
WO2011145246A1 (en) | Information terminal device, input processing method and input processing program | |
JP6428682B2 (en) | Display control device | |
JP2016048453A (en) | Touch panel system and touch panel device |