JP4371549B2 - pointing device - Google Patents

pointing device Download PDF

Info

Publication number
JP4371549B2
JP4371549B2 JP2000227566A JP2000227566A JP4371549B2 JP 4371549 B2 JP4371549 B2 JP 4371549B2 JP 2000227566 A JP2000227566 A JP 2000227566A JP 2000227566 A JP2000227566 A JP 2000227566A JP 4371549 B2 JP4371549 B2 JP 4371549B2
Authority
JP
Japan
Prior art keywords
detection
pointing device
usb
suspend
resume
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 - Fee Related
Application number
JP2000227566A
Other languages
Japanese (ja)
Other versions
JP2002041237A (en
Inventor
正典 岡橋
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.)
Fujitsu Component Ltd
Original Assignee
Fujitsu Component Ltd
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 Fujitsu Component Ltd filed Critical Fujitsu Component Ltd
Priority to JP2000227566A priority Critical patent/JP4371549B2/en
Publication of JP2002041237A publication Critical patent/JP2002041237A/en
Application granted granted Critical
Publication of JP4371549B2 publication Critical patent/JP4371549B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Power Sources (AREA)
  • Position Input By Displaying (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、USBインタフェースを有するポインティングデバイスに関する。
【0002】
【従来の技術】
パソコンと各周辺機器との接続インタフェースに、ユニバーサルシリアルバス(Universal Serial Bus: USB)インタフェースが用いられることが多い。USBインタフェースは、PS/2等のインタフェースに比べて有利であり、例えばコンピュータ周辺機器に関するプラグ&プレイ機能、ホットプラグイン・プラグアウト機能、コネクタケーブルの共通化等、ユーザの使いやすさを特に考慮した設計になっている。
【0003】
このようなUSBインタフェースを有する周辺機器(以下USBデバイスと呼ぶ)においては、その通信は、接続されるパソコン内にあるホストチップ及びオペレーティングシステムによって全て制御される。
USBデバイスは、自己電源を有するセルフパワーデバイスと、コンピュータ等からの給電が必要なバスパワーデバイスとに区別することができる。このうちバスパワーデバイスには、ポインティングデバイスあるいはキーボード等がある。
【0004】
一般に、パソコンがサスペンドモードになると、そのパソコンに接続されているデバイスもサスペンドモードになり、消費される電力が低減される。特にバスパワーデバイスにおいては、サスペンドモード時に給電が許容される電流最大値は500μAであると規定されている。
ユーザは、パソコン本体に設けられた専用のボタン、キーボード、ポインティングデバイス等を操作することによって通常モードとサスペンドモードとの切替えを行う。例えば通常モードからサスペンドモードへの切換えの指示は、パソコン本体に設けられた専用のサスペンドボタンの押下や、ポインティングデバイスを操作してウィンドウズ98(登録商標)等のソフトウェアを介してなされる。
【0005】
これに対し、サスペンドモードから通常モードへ復帰(リジュームと呼ぶ)する場合は、パソコン本体側からリジューム操作するのが基本であるが、特にマウス、ジョイスティック、トラックボール等のUSBポインティングデバイスからリジュームの指示をすることも可能である。このようなリジュームはリモートウェイクアップとも呼ばれている。
【0006】
例えばUSBマウスの場合では、USBマウス本体が移動させられたり、あるいはクリックスイッチが押下されるといったような状態変化が検知されたとき、レジューム信号がコンピュータへ送出される。このようなUSBマウスの動作原理について簡単に説明する。
図8は、従来例によるUSBマウスの動作原理を示すフローチャートである。
【0007】
ここで、パソコンが通常モードにある場合を考える。
USBマウスが接続されているパソコンの電源が投入されるか、あるいは、電源が既に投入されているパソコンにUSBマウスが後から接続されると、ステップS101において、USBマウスのメモリ等が初期化される。この後、USBマウスは、次に説明するステップS102〜S105に示される、通常モードにおける処理動作に入る。
【0008】
まず、ステップS102において、X軸用座標センサ、Y軸用座標センサ及びクリックスイッチ等の各センサのそれぞれにおいて、状態変化を検知(センシング)する。
次にステップS103において、パソコンは、状態変化に関する送信すべきデータが存在するか否かをUSBマウスに確認する。ユーザがUSBマウス本体を移動させたりクリックスイッチを押下した場合は送信すべきデータが存在するので、ステップS104へ進む。送信すべきデータが存在しない場合はステップS105へ進む。
【0009】
ステップS104では、送信データがセットされ、USBインタフェースを介してパソコンへ送信される。
ステップS105では、USBマウスのCPUは、パソコンから、通常モードからサスペンドモードへの遷移を指示するサスペンド信号を受信したか否かを判定する。受信したと判定された場合はステップS106へ進み、そうでない場合はステップS102へ戻る。
【0010】
以上のステップS102〜S105の処理ループは、通常モードにおいてユーザがUSBマウス本体を移動させたりクリックスイッチを押下した場合の、USBマウスのX軸用座標センサ、Y軸用座標センサ及びクリックスイッチ等の各センサが検知する状態変化の抽出のための処理である。これらの処理は、パソコンからのサスペンド信号を受信しない限り例えば数十〜数百μ秒の周期で実行される。
【0011】
ここで、ステップS105において、ホストからサスペンド信号を受信したと判定した場合はステップS106へ進み、USBマウスはサスペンドモードへ入る。
上述のように、サスペンドモードにおいてはUSBインタフェース規格により許容される最大消費電流値は500μAである。従って、通常USBマウスにおいては、サスペンドモード時にはUSBマウスに内蔵されたCPUの処理速度及び各センサの処理速度を減少させることによって電流消費を抑制する。具体的には、CPUの処理動作を所定の時間だけストップさせる。この時間は、本明細書においては「CPUストップ復帰用タイマ」と呼ばれるタイマで規定され、この時間は例えば数十〜数百m秒に設定される。CPUの処理動作がストップした後、この時間が経過してCPUストップ復帰用タイマがオーバするとCPUの通常の処理動作が復帰する。
【0012】
USBマウスがサスペンドモードへ入ると、ステップS106においてCPUストップ復帰用タイマがセットされ、次いでステップS107においてCPUの処理動作がストップする。
そして、ステップS108においてCPUストップ復帰用タイマがオーバした場合又はサスペンドモードから通常モードへのリジューム(復帰)を指示するリジューム信号の割り込みがパソコンからあった場合、ステップS109では、ストップしていたCPUの処理動作が再びスタートする。
【0013】
するとUSBマウスのCPUは、ステップS110において、パソコンからのリジューム信号を受信したか否かを判定する。
リジューム信号を受信したと判定された場合は、リジューム処理がなされ、パソコン及びUSBマウスはリジュームする。
リジューム信号を受信していないと判定された場合は、ステップS108において単にCPUストップ復帰用タイマがオーバしたことを意味するので、ステップS111へ進み、X軸用座標センサ、Y軸用座標センサ及びクリックスイッチ等の各センサは、状態変化をそれぞれ検知する。このステップS111は、CPUストップ復帰用タイマがオーバしたときにのみ実行されるので、結果として各センサの検知処理動作はCPUの処理動作に同期することになる。
【0014】
ステップS112においてCPUは、ステップS111において各センサ及びクリックスイッチ等の各スイッチのいずれかにおいて状態変化があったか否かを判定する。
ステップS112において状態変化があったと判定された場合は、ユーザはUSBマウスを操作することによってUSBマウス側からリジューム処理を指示したことを意味するのでステップS113へ進み、リジューム処理がなされ、パソコン及びUSBマウスはリジュームする。
【0015】
ステップS112において状態変化はない判定された場合は再びステップS106へ戻る。
【0016】
【発明が解決しようとする課題】
USBマウスが接続されたパソコンにおいては、ユーザは、例えばディスプレイに表示されたウィンドウズ画面上のメニューからサスペンド指示に対応するアイコンを、USBマウスを操作することで選択し、図8のステップS105に示された処理を経て通常モードからサスペンドモードへ切り換える。
【0017】
上述のようにUSBマウスにおいては、サスペンドモード時にUSBマウス本体を移動させることでもパソコン及びUSBマウスのリジュームが可能である。しかし、サスペンドモードへの切換えのためマウスカーソル操作の終了後にUSBマウスから手を離す際に、USBマウス本体が振動し、USBマウスはこの振動をリジュームのためになされたものと誤って判断(図8のステップS111及びS112)して、サスペンドさせたにもかからわずすぐに通常モードにリジュームしてしまう誤動作が発生しやすい問題がある。
【0018】
また更に、サスペンドモード時において、リジューム操作を意図していない微妙な振動あるいは接触等でも、USBマウスは状態変化があったものと誤って判断(図8のステップS111及びS112)しリジュームしてしまう誤動作が発生しやすい問題もある。
従って本発明の目的は、上記課題に鑑み、通常モードとサスペンドモードの切替えについての操作性を向上させたUSBポインティングデバイスを提供することにある。
【0019】
【課題を解決するための手段】
上記目的を実現するために、第1の発明においては、USBインタフェースを有するポインティングデバイスは、ポインティングデバイスの状態変化を検知する検知手段と、通常モードからサスペンドモードへの遷移を指示するサスペンド信号を、USBインタフェースを介して受信する受信手段と、サスペンド信号を受信してから所定の待ち時間、検知手段の検知を無効にする無効化手段と、状態変化が検知された場合、サスペンドモードから通常モードへの遷移を指示するリジューム信号を、USBインタフェースを介して送信する送信手段とを備える。
【0020】
第2の発明においては、USBインタフェースを有するポインティングデバイスは、ポインティングデバイスの状態変化を検知する検知手段であって、サスペンドモード時では通常モード時よりも長い検知周期で検知する検知手段と、サスペンドモードにあるときに状態変化が検知された場合、所定の検知時間内に検知手段で検知される状態変化の累積量を記憶する記憶手段と、累積量が所定のしきい値以上であるかを判定する判定手段と、判定手段がしきい値以上であると判定した場合、サスペンドモードから通常モードへの遷移を指示するリジューム信号を、USBインタフェースを介して送信する送信手段とを備える。
【0021】
第3の発明においては、USBインタフェースを有するポインティングデバイスは、ポインティングデバイスの状態変化を検知する検知手段であって、サスペンドモード時では通常モード時よりも長い検知周期で検知する検知手段と、通常モードからサスペンドモードへの遷移を指示するサスペンド信号を、USBインタフェースを介して受信する受信手段と、サスペンド信号を受信してから所定の待ち時間、検知手段の検知を無効にする無効化手段と、状態変化が検知された場合、所定の検知時間内に検知手段で検知される状態変化の累積量を記憶する記憶手段と、累積量が所定のしきい値以上であるかを判定する判定手段と、判定手段がしきい値以上であると判定した場合、サスペンドモードから通常モードへの遷移を指示するリジューム信号を、USBインタフェースを介して送信する送信手段とを備える。
【0022】
第1の発明によれば、例えば通常モードからサスペンドモードへの切換えのためマウスカーソル操作の終了後にUSBポインティングデバイスから手を離す際にUSBポインティングデバイス本体が振動してしまっても、リジュームしてしまう誤動作を防ぐことができる。
また、第2の発明によれば、リジューム操作を意図していない微妙な振動及び接触等によってリジュームしてしまう誤動作を防止することができる。
【0023】
第3の発明によれば、第1の発明と第2の発明を組み合わせることにより従来のUSBポインティングデバイスに比べてより操作性のよいリジューム(リモートウェイクアップ)を実現することができる。
【0024】
【発明の実施の形態】
本明細書においては、USBインタフェースを有するポインティングデバイスとしてUSBマウスを例にとって説明する。なお、このUSBマウスはボール式あるいは光学式のどちらであってもよい。また本発明はジョイスティック、トラックボールあるいは平面入力パネル等のUSBポインティングデバイスにも適用できる。
【0025】
まず、本発明の第1の実施例によるUSBマウスについて説明する。
本実施例によるUSBマウスは、例えば通常モードからサスペンドモードへの切換えのためマウスカーソル操作の終了後にUSBマウスから手を離す際にUSBマウス本体が振動してしまい、USBマウスはこの振動をリジュームのためになされたものと誤って判断してすぐに通常モードにリジュームしてしまう誤動作を防止するものである。
【0026】
図1は、USBマウスの基本構成を示す図である。
USBインタフェース11を有するUSBマウス1は、USBマウス1の床面に対する相対移動を検出するためのX軸用座標センサ21及びY軸用座標センサ22と、USBマウス1上に設けられるクリックスイッチ23(左右のクリックスイッチを含む)と、CPU24と、メモリ25とを備える。各構成要素はバス26を介して接続される。
【0027】
USBマウス1は、USBインタフェース11に接続されたUSBケーブル27を介してパソコンに接続される。
図2は、本発明の第1の実施例によるUSBマウスの機能ブロック図である。本実施例によれば、USBインタフェース11を有するUSBマウス1は、USBマウス1の状態変化を検知する検知手段12と、通常モードからサスペンドモードへの遷移を指示するサスペンド信号を、USBインタフェース11を介して受信する受信手段13と、サスペンド信号を受信してから所定の待ち時間、検知手段12の検知を無効にする無効化手段14と、状態変化が検知された場合、サスペンドモードから通常モードへの遷移を指示するリジューム信号を、USBインタフェース11を介して送信する送信手段15とを備える。
【0028】
検知手段12には、USBマウス1の床面に対する相対移動を検出するためのX軸用座標センサ及びY軸用座標センサと、USBマウス1上に設けられるクリックスイッチ(左右のクリックスイッチを含む)等が含まれる。
これら各手段の制御及び処理は、図1のCPU24を含めたファームウェア形式によって制御部20で実現される。
【0029】
図3は、本発明の第1の実施例によるUSBマウスの動作原理を示すフローチャートである。
ここで、初めにUSBマウスが接続されているパソコンが通常モードにあり、上述した図8の処理ループが既に実行されている場合を考える。なお、後に説明する第2の及び第3の実施例においても同様であるが、各図において、参照符号が同じステップにおいて実行される処理内容は同じである。
【0030】
図8のステップS105において、USBマウス1の制御部20が、ホストからのサスペンド信号を受信したと判定した場合は、ステップS201へ進み、USBマウス1はサスペンドモードへ入る。
本実施例では、サスペンド信号を受信してから所定の待ち時間、検知手段12の検知を無効にする無効化手段14が、CPU24を含めたファームウェア形式によって制御部20内に実現される。すなわち、USBマウス1がサスペンドモードに入ってからこの待ち時間が経過するまでは、図8に示されたステップS111及びS112は実行されない。この待ち時間を実現するための待ち時間生成要素として、ステップS201においてカウント数Nを設定する。カウント数Nについては後で詳細に説明するが、本実施例では例えばN=10として設定される。
【0031】
USBマウス1がサスペンドモードに入ると、ステップS106においてCPUストップ復帰用タイマがセットされる。上述のように、サスペンドモードにおいてはUSBインタフェース規格により許容される最大消費電流値(500μA)以下に消費電流を抑制するため、CPU24の処理動作をCPUストップ復帰タイマで規定される時間だけストップさせ、CPU24の処理速度及び各センサの処理速度を減少させる。この時間は例えば数十〜数百m秒に設定される。
【0032】
ステップS108においてCPU24の処理動作がストップした後にこの時間が経過してCPUストップ復帰用タイマがオーバするか又はサスペンドモードから通常モードへのリジューム信号をパソコン側からUSBインタフェース11を介して受信して割り込みがあったとき、
ステップS109において、ストップしていたCPU24の処理動作が再びスタートする。
【0033】
次に、ステップS110において、制御部20は、パソコンからのリジューム信号を受信したか否かを判定する。
ステップS110においてリジューム信号を受信したと判定された場合は、ステップS113進んでリジューム処理がなされ、パソコン及びUSBマウス1はリジュームする。
【0034】
ステップS110においてリジューム信号を受信していないと判定された場合は、ステップS108で単にCPUストップ復帰用タイマがオーバしたことを意味するので、ステップS202へ進む。
ステップS202では、カウント数Nが0であるか否かを判定する。カウント数Nが0でない場合はステップS203へ進み、カウント数Nが0である場合はステップS111へ進む。
【0035】
ステップS202においてカウント数Nが0であると判定された場合は、ステップS111へ進み、X軸用座標センサ21、Y軸用座標センサ22及びクリックスイッチ23等の各センサは状態変化をそれぞれ検知(センシング)する。
ステップS112では、制御部20は、ステップS111においてX軸用座標センサ21、Y軸用座標センサ22及びクリックスイッチ23等の各センサのいずれかにおいて状態変化があったか否かを判定する。この状態変化はX軸用座標センサ21及びY軸用座標センサ22についてはUSBマウスの移動の有無であり、クリックスイッチ23についてはその押下の有無である。
【0036】
ステップS112において状態変化があったと判定された場合は、ユーザはUSBマウス1を操作することによってUSBマウス1側からリジューム処理を指示したことを意味するのでステップS113へ進み、リジューム処理がなされ、パソコン及びUSBマウス1はリジュームする。
ステップS112において状態変化はない判定された場合は再びステップS106へ戻る。
【0037】
ステップS202でカウント数Nは0ではないと判定された場合、ステップS203においてカウント数Nが1ディクリメントされ、ステップS106へ戻る。
本実施例ではカウント数Nを10と設定していたので、サスペンドモードに入りパソコン側からリジューム信号を受信しない限りは、上述のステップS106〜S203を10回繰り返すということになる。この間、検知手段12の検知が無効化され、前述のステップS111及びS112の処理は実行されず、USBマウス1の移動やクリックスイッチ23の押下があってもリジュームすることはない。なお、本実施例ではカウント数Nを10と設定したが、例えばステップS106のCPUストップ復帰用タイマを数百m秒とした場合、待ち時間は数秒間(=数百m秒×10)となる。カウント数Nは、必要とする待ち時間に応じて適宜設定すればよい。
【0038】
カウント数Nが0になったとき、すなわちリジューム信号を受信してから所定の待ち時間が経過した後は、ステップS106、S107、S108、S109、S110、S202、S111、S112そしてS106までの処理ループが実行され、サスペンドモードが継続する。そして、パソコン側からリジューム信号を受信した場合(ステップS108及びS110)、あるいはUSBマウス1を移動させるかクリックスイッチ23が押下された場合(ステップS111及びS112)に、サスペンドモードから通常モードへリジュームする。
【0039】
以上説明したように、本発明の第1の実施例のUSBマウスによれば、サスペンドモードに遷移してから所定の待ち時間が経過するまでは検知手段の検知は無効化されるので、USBマウスの移動やクリックスイッチの押下があってもリジュームすることはない。従って、例えば、通常モードからサスペンドモードへの切換えのためマウスカーソル操作の終了後にUSBマウスから手を離す際にUSBマウス本体が振動してしまっても、リジュームしてしまうことはない。
【0040】
次に、本発明の第2の実施例によるUSBマウスについて説明する。
本実施例によるUSBマウスは、サスペンドモード時において、リジューム操作を意図していない微妙な振動及び接触等に対してもUSBマウスは状態変化があったものと誤って判断しリジュームしてしまう誤動作を防止するものである。すなわち、サスペンドモードにおいてX軸用座標センサ、Y軸用座標センサ及びクリックスイッチ等の各センサにより状態変化が検出された場合は、所定の検知時間、この状態変化を累積し、この累積量が所定のしきい値以上である場合にリジューム処理を実行する。これにより、リジューム操作を意図していない微妙な振動及び接触等によってリジュームしてしまう誤動作を防止することができる。
【0041】
図4は、本発明の第2の実施例によるUSBマウスの機能ブロック図である。本実施例によれば、USBインタフェース11を有するUSBマウス1は、USBマウス1の状態変化を検知する検知手段12であって、サスペンドモード時では通常モード時よりも長い検知周期で検知する検知手段12と、サスペンドモードにあるときに状態変化が検知された場合、所定の検知時間内に検知手段12で検知される状態変化の累積量を記憶する記憶手段16と、累積量が所定のしきい値以上であるかを判定する判定手段17と、判定手段17がしきい値以上であると判定した場合、サスペンドモードから通常モードへの遷移を指示するリジューム信号を、USBインタフェース11を介して送信する送信手段15とを備える。
【0042】
検知手段12には、USBマウス1の床面に対する相対移動を検出するためのX軸用座標センサ及びY軸用座標センサと、USBマウス1上に設けられるクリックスイッチ(左右のクリックスイッチを含む)等が含まれる。
記憶手段16は、メモリ25を含んで成る。
これら各手段の制御及び処理は、CPU24を含めたファームウェア形式によって制御部20で実現される。
【0043】
図5は、本発明の第2の実施例によるUSBマウスの動作原理を示すフローチャートである。
ここで、初めにUSBマウスが接続されているパソコンが通常モードにあり、上述した図8の処理ループが既に実行されている場合を考える。
図8のステップS105において、USBマウス1の制御部20が、ホストから、ホストからのサスペンド信号を受信したと判定した場合はステップS106へ進み、USBマウス1はサスペンドモードへ入る。
【0044】
USBマウス1がサスペンドモードへ入ると、ステップS106においてCPUストップ復帰用タイマがセットされ、次いでステップS107においてCPU24の処理動作がストップする。
そして、ステップS108においてCPUストップ復帰用タイマがオーバするか又はサスペンドモードから通常モードへのリジュームを指示するリジューム信号の割り込みがパソコンからあった場合、
ステップS109において、ストップしていたCPU24の処理動作が再びスタートする。
【0045】
次に、ステップS110において、USBマウス1の制御部20は、パソコンからのリジューム信号を受信したか否かを判定する。
ステップS110においてリジューム信号を受信したと判定された場合は、ステップS113へ進んでリジューム処理がなされ、パソコン及びUSBマウスは1リジュームする。
【0046】
ステップS110においてリジューム信号を受信していないと判定された場合は、ステップS108において単にCPUストップ復帰用タイマがオーバしたことを意味するのでステップS111へ進み、X軸用座標センサ21、Y軸用座標センサ22及びクリックスイッチ23等の各センサは状態変化をそれぞれ検知する。このステップS111は、CPUストップ復帰用タイマがオーバしたときにのみ実行されるので、結果として各センサの上述した検知処理動作はCPUの処理動作に同期することになる。
【0047】
ステップS112では、制御部20は、ステップS111においてX軸用座標センサ21、Y軸用座標センサ22及びクリックスイッチ23等の各センサのいずれかにおいて状態変化があったか否かを判定する。この状態変化はX軸用座標センサ21及びY軸用座標センサ22についてはUSBマウスの移動の有無であり、クリックスイッチ23についてはその押下の有無である。
【0048】
ステップS112において状態変化はない判定された場合は、再びステップS106へ戻る。
ステップS112において状態変化があったと判定された場合は、ユーザはUSBマウス1を操作することによってUSBマウス1側からリジューム処理を指示した可能性があることを意味するので、ステップS301へ進む。
【0049】
ステップS301では、上述の検知時間を実現するための検知時間生成要素として、カウント数Mを設定する。カウント数Mについては後で詳細に説明するが、本実施例では例えばM=2000として設定される。
次にステップS302において、X軸用座標センサ21、Y軸用座標センサ22及びクリックスイッチ23等の各センサは状態変化をそれぞれ検知(センシング)する。
【0050】
従来例によれば、サスペンドモードではCPUストップ復帰用タイマを用いることによってCPUの処理速度を減少させている。その結果、CPUの処理動作に同期する各センサ及びクリックスイッチの検知速度についても低減することになり、通常モードよりも長い周期である例えば数十〜数百m秒の周期でステップS106〜S112の処理ループが実行される。
【0051】
これに対し本実施例では、後述する理由から通常モードと同様の周期(例えば数十〜数百μ秒)でCPU24を動作させ、ステップS302の検知処理についても通常モードと同様の周期で実行する。
ステップS303では、制御部20は、パソコンからのリジューム信号を受信したか否かを判定する。
【0052】
ステップS303においてリジューム信号を受信したと判定された場合は、リジューム処理の指示がパソコン側から直接あったことを意味するのでステップS113へ進み、通常のリジューム処理がなされ、パソコン及びUSBマウス1はリジュームする。
ステップS303においてリジューム信号を受信していないと判定された場合は、ステップS108において単にCPUストップ復帰用タイマがオーバしたことを意味するので、ステップS304へ進む。
【0053】
ステップS304では、カウント数Mが0であるか否かを判定する。カウント数Mが0でない場合はステップS305へ進み、カウント数Mが0である場合はステップS306へ進む。
ステップS304でカウント数Mは0ではないと判定された場合、ステップS305において、カウント数Mが1ディクリメントすると共に、検知された状態変化を累積し記憶する。ステップ305で累積される状態変化量は、X軸用座標センサ21及びY軸用座標センサ22についてはUSBマウスの移動量(マウスカウント数) であり、クリックスイッチ23についてはその押下時間である。ステップS305終了後は、再びステップS302へ戻る。
【0054】
ステップS302〜S305の処理ループはカウント数Mが0になるまで実行され、その間、ステップ302において各検知される状態変化を累積していく。すなわち、状態変化量をX、1回の処理ループで検知される状態変化をΔxとすると、累積される状態変化量はx+Δxのようになる。この処理ループは通常モードにおける検知周期と同様の処理周期(例えば数十〜数百μ秒)で実行される。本実施例では、カウント数Mを2000と設定したが、例えば通常の処理モードにおける各センサ21及び22並びにクリックスイッチ23の検知周期(ステップS302〜S305の処理周期)を50μ秒とすると、カウント数Mが0になるまでの時間である検知時間は100m秒(=50μ秒×2000)となり、この間は状態変化に関するデータが蓄積されていくことになる。カウント数Mは必要とする検知時間に応じて適宜設定すればよい。
このように本実施例においては、所定の検知時間、サスペンドモード時にあっても通常モードと同じ検知周期で、X軸用座標センサ21、Y軸用座標センサ22及びクリックスイッチ23等の各センサの状態検知が実行されることを特徴とする。従来例によるUSBマウスからのリジューム(すなわちリモートウェイクアップ)では、USBの状態変化の有無でリジュームをすべきか否かを判定していたが、本実施例では、USBの状態変化があったときに、所定の検知時間における状態変化の総量が所定のしきい値以上であるか否かでリジュームすべきか否かを判定する。すなわち、X軸用座標センサ21、Y軸用座標センサ22及びクリックスイッチ23等の各センサを、通常モードと同じ検知周期で検知させて状態変化に関するデータを累積し、リジュームの可否を判定するので信頼性が向上する。
【0055】
ステップS304でカウント数Mは0であると判定された場合は、ステップS302〜S305のループを抜け出し、ステップS306へ進む。
ステップS306では、累積された状態変化量が、所定のしきい値以上であるか否かを判定する。上述のように、X軸用座標センサ21及びY軸用座標センサ22についてはUSBマウスの移動量(マウスカウント数) であり、クリックスイッチ23についてはその押下時間である。従ってステップS306においては、USBマウス1の移動量あるいはクリックスイッチ23の押下時間等のうちの少なくとも1つが所定のしきい値以上であるか否かが判定される。
【0056】
ステップS306で所定のしきい値以上ではないと判定された場合は、ステップS106へ戻る。すなわち、この場合はリジューム操作を意図していない微妙な振動及び接触である可能性が高いのでリジュームせず、再び通常のサスペンドモードにおける処理が行われる。
ステップS306で所定のしきい値以上であると判定された場合、ユーザがUSBマウス1を操作することによってUSBマウス1側からリジューム処理を指示した可能性が高いのでステップS113へ進み、リジューム処理がなされ、パソコン及びUSBマウス1はリジュームする。
【0057】
以上説明したように、本発明の第2の実施例のUSBマウスによれば、サスペンドモードにおいてX軸用座標センサ、Y軸用座標センサ及びクリックスイッチ等の各センサにより状態変化が検知された場合は、所定の検知時間、この状態変化を累積し、この累積量が所定のしきい値以上である場合にリジューム処理を実行する。従って、リジューム操作を意図していない微妙な振動及び接触等によってリジュームしてしまう誤動作を防止することができる。
【0058】
なお、ここではUSBマウスについて説明したが、本実施例は、USBポインティングデバイスに平面入力パネルを有するような場合についても適用できる。例えばち、平面入力パネルが所定の時間接触していた場合にリジュームするようにすればよい。
次に、本発明の第3の実施例によるUSBマウスについて説明する。
【0059】
本実施例によるUSBマウスは、上述の第1の実施例と第2の実施例を組み合わせたものである。すなわち、本実施例によるUSBマウスは、例えば通常モードからサスペンドモードへの切換えのためマウスカーソル操作の終了後にUSBマウスから手を離す際にUSBマウス本体が振動し、この振動をリジュームのためになされたものと誤って判断してすぐに通常モードにリジュームしてしまう誤動作を防止すると共に、サスペンドモード時において、リジューム操作を意図していない微妙な振動及び接触等でも、USBマウスは状態変化があったものと誤って判断しリジュームしてしまう誤動作を防止するものである。
【0060】
各ステップにおける特長、変形例その他については既に第1及び第2の実施例において詳細に説明してあるのでここでは処理フローのみを簡単に説明する。
図6は、本発明の第3の実施例によるUSBマウスの機能ブロック図である。本実施例によれば、USBインタフェース11を有するUSBマウス1は、USBマウス1の状態変化を検知する検知手段12であって、サスペンドモード時では通常モード時よりも長い検知周期で検知する検知手段12と、通常モードからサスペンドモードへの遷移を指示するサスペンド信号を、USBインタフェース11を介して受信する受信手段13と、サスペンド信号を受信してから所定の待ち時間、検知手段12の検知を無効にする無効化手段14と、状態変化が検知された場合、所定の検知時間内に検知手段12で検知される状態変化の累積量を記憶する記憶手段16と、累積量が所定のしきい値以上であるかを判定する判定手段17と、判定手段17がしきい値以上であると判定した場合、サスペンドモードから通常モードへの遷移を指示するリジューム信号を、USBインタフェース11を介して送信する送信手段15とを備える。
【0061】
検知手段12には、USBマウス1の床面に対する相対移動を検出するためのX軸用座標センサ及びY軸用座標センサと、USBマウス1上に設けられるクリックスイッチ(左右のクリックスイッチを含む)等が含まれる。
記憶手段16は、メモリ25を含んで成る。
これら各手段の制御及び処理は、CPU24を含めたファームウェア形式によって制御部20で実現される。
【0062】
図7は、本発明の第3の実施例によるUSBマウスの動作原理を示すフローチャートである。
ここで、初めにUSBマウスが接続されているパソコンが通常モードにあり、上述した図8の処理ループが既に実行されている場合を考える。
図8のステップS105において、USBマウス1の制御部20が、ホストからのサスペンド信号を受信したと判定した場合はステップS201へ進み、USBマウス1はサスペンドモードへ入る。
【0063】
ステップS201においてカウント数Nを設定する。なお、本実施例ではカウント数Nを10と設定したが、第1の実施例でも説明したように、カウント数Nは、必要とする待ち時間に応じて適宜設定すればよい。
次にステップS106において、CPUストップ復帰用タイマがセットされる。この時間は例えば数十〜数百m秒に設定される。
【0064】
次いでステップS107においてCPU24がストップする。
ステップS108においてCPUストップ復帰用タイマがオーバするか又はリジューム信号の割り込みがパソコンからあった場合、
ステップS109において、ストップしていたCPU24の処理動作が再びスタートする。
【0065】
次に、ステップS110において、制御部20は、パソコンからのリジューム信号を受信したか否かを判定する。
ステップS110においてリジューム信号を受信したと判定された場合は、ステップS113へ進んでリジューム処理がなされ、パソコン及びUSBマウス1はリジュームする。
【0066】
ステップS110においてリジューム信号を受信していないと判定された場合は、ステップS108において単にCPUストップ復帰用タイマがオーバしたことを意味するので、ステップS202へ進む。
ステップS202では、カウント数Nが0であるか否かを判定する。カウント数Nが0でない場合はステップS203へ進み、カウント数Nが0である場合はステップS111へ進む。
【0067】
ステップS202でカウント数Nは0ではないと判定された場合、ステップS203においてカウント数Nが1ディクリメントされ、ステップS106へ戻る。
前述のように、本実施例ではカウント数Nを10と設定していたので、サスペンドモードに入りパソコン側からリジューム信号を受信しない限りは、ステップS106〜S203を10回繰り返すということになる。従ってその間は検知手段12の検知は無効であり、前述のステップS111及びS112の処理は実行されず、USBマウス1を移動させてもクリックスイッチ23を押下してもリジュームすることはない。
【0068】
ステップS202においてカウント数Nが0であると判定された場合は、ステップS111へ進み、X軸用座標センサ21、Y軸用座標センサ22及びクリックスイッチ23等の各センサは、状態変化をそれぞれ検知(センシング)する。ステップS112では、制御部20は、ステップS111においてX軸用座標センサ21、Y軸用座標センサ22及びクリックスイッチ23等の各センサのいずれかにおいて状態変化があったか否かを判定する。この状態変化はX軸用座標センサ21及びY軸用座標センサ22についてはUSBマウスの移動の有無であり、クリックスイッチ23についてはその押下の有無である。
【0069】
ステップS112において状態変化はない判定された場合は再びステップS106へ戻る。
ステップS112において状態変化があったと判定された場合は、ユーザはUSBマウス1を操作することによってUSBマウス1側からリジューム処理を指示した可能性があることを意味するので、ステップS301へ進む。
【0070】
ステップS301では、第2の実施例で説明したように、カウント数Mを設定する。本実施例では、カウント数Mを2000と設定したが、必要とする検知時間に応じて適宜設定すればよい。
次にステップS302において、X軸用座標センサ21、Y軸用座標センサ22及びクリックスイッチ23等の各センサは、状態変化をそれぞれ検知(センシング)する。
【0071】
ステップS303では、制御部20は、パソコンからのリジューム信号を受信したか否かを判定する。
ステップS303においてリジューム信号を受信したと判定された場合は、ステップS113へ進んでリジューム処理がなされ、パソコン及びUSBマウス1はリジュームする。
【0072】
ステップS303においてリジューム信号を受信していないと判定された場合は、ステップS108において単にCPUストップ復帰用タイマがオーバしたことを意味するので、ステップS304へ進む。
ステップS304では、カウント数Mが0であるか否かを判定する。カウント数Mが0でない場合はステップS305へ進み、カウント数Mが0である場合はステップS306へ進む。
【0073】
ステップS304でカウント数Mは0ではないと判定された場合、カウント数Mを1ディクリメントすると共に、ステップ302において検知された状態変化を累積し記憶する(ステップS305)。ここで累積される状態変化量は、X軸用座標センサ21及びY軸用座標センサ22についてはUSBマウスの移動量(マウスカウント数) であり、クリックスイッチ23についてはその押下時間である。ステップS305終了後は、再びステップS302へ戻る。
【0074】
ステップS302〜S305の処理ループはカウント数Mが0になるまで実行され、その間はステップ302において検知された状態変化を累積していく。この処理ループは通常モードにおける検知周期と同様の処理周期(例えば数十〜数百μ秒)で実行される。
ステップS304でカウント数Mは0であると判定された場合は、ステップS302〜S305のループを抜け出し、ステップS306へ進む。
【0075】
ステップS306では、累積された状態変化量が所定のしきい値以上であるか否かを判定する。上述のように、X軸用座標センサ21及びY軸用座標センサ22についてはUSBマウスの移動量(マウスカウント数) であり、クリックスイッチ23についてはその押下時間である。ステップS306においては、USBマウス1の移動量あるいはクリックスイッチ23の押下時間等のうち少なくとも1つが所定のしきい値以上であるか否かが判定される。
【0076】
ステップS306で所定のしきい値以上ではないと判定された場合は、ステップS106へ戻る。すなわち、この場合はリジューム操作を意図していない微妙な振動及び接触である可能性が高いのでリジュームはせず、再び通常のサスペンドモードにおける処理が継続する。
ステップS306で所定のしきい値以上であると判定された場合、ユーザがUSBマウス1を操作することによってUSBマウス1側からリジューム処理を指示した可能性が高いのでステップS113へ進み、リジューム処理がなされ、パソコン及びUSBマウス1はリジュームする。
【0077】
以上説明したように、本発明の第3の実施例のUSBマウスによれば、、サスペンドモードに遷移してから所定の待ち時間が経過するまでは検知手段の検知は無効化されるので、USBマウスの移動やクリックスイッチの押下があってもリジュームすることはない。従って、例えば、通常モードからサスペンドモードへの切換えのためマウスカーソル操作の終了後にUSBマウスから手を離す際にUSBマウス本体が振動してしまっても、リジュームしてしまうことはない。
【0078】
また、サスペンドモードにおいてX軸用座標センサ、Y軸用座標センサ及びクリックスイッチ等の各センサにより状態変化が検知された場合は、所定の検知時間、この状態変化を累積し、この累積量が所定のしきい値以上である場合にリジューム処理を実行する。従って、リジューム操作を意図していない微妙な振動及び接触等によってリジュームしてしまうような誤動作を防止することができる。
【0079】
【発明の効果】
以上説明したように、第1の発明のUSBポインティングデバイスによれば、サスペンドモードに遷移してから所定の待ち時間が経過するまでは検知手段の検知は無効化されるので、USBポインティングデバイスの移動やクリックスイッチの押下があってもリジュームすることはない。従って、例えば、通常モードからサスペンドモードへの切換えのためマウスカーソル操作の終了後にUSBポインティングデバイスから手を離す際にUSBポインティングデバイス本体が振動してしまっても、リジュームしてしまうことはない。
【0080】
また、第2の発明のUSBポインティングデバイスによれば、サスペンドモードにおいて各センサ、クリックスイッチ、平面入力パネル等が状態変化を検知した場合は、所定の検知時間、この状態変化を累積し、この累積量が所定のしきい値以上である場合にリジューム処理を実行するので、リジューム操作を意図していない微妙な振動及び接触等によってリジュームしてしまう誤動作を防止することができる。また、この検知時間における各センサ、クリックスイッチ、平面入力パネルの検知周期は、通常モードの場合と同じであるので、信頼性の高い累積された状態変化量を得ることができ、これに基づいてリジュームの可否を判定するので信頼性が向上する。
【0081】
第3の発明は、第1の発明と第2の発明を組み合わせたものであり、これにより従来のUSBポインティングデバイスに比べてより操作性のよいリジューム(リモートウェイクアップ)を実現することができる。
【図面の簡単な説明】
【図1】USBマウスの基本構成を示す図である。
【図2】本発明の第1の実施例によるUSBマウスの機能ブロック図である。
【図3】本発明の第1の実施例によるUSBマウスの動作原理を示すフローチャートである。
【図4】本発明の第2の実施例によるUSBマウスの機能ブロック図である。
【図5】本発明の第2の実施例によるUSBマウスの動作原理を示すフローチャートである。
【図6】本発明の第3の実施例によるUSBマウスの機能ブロック図である。
【図7】本発明の第3の実施例によるUSBマウスの動作原理を示すフローチャートである。
【図8】従来例によるUSBマウスの動作原理を示すフローチャートである。
【符号の説明】
1…USBマウス
11…USBインタフェース
12…検知手段
13…受信手段
14…無効化手段
15…送信手段
16…記憶手段
17…判定手段
20…制御部
21…X軸用座標センサ
22…Y軸用座標センサ
23…クリックスイッチ
24…CPU
25…メモリ
26…バス
27…USBケーブル
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a pointing device having a USB interface.
[0002]
[Prior art]
In many cases, a universal serial bus (USB) interface is used as a connection interface between a personal computer and each peripheral device. The USB interface is more advantageous than the PS / 2 interface. For example, user-friendliness, such as a plug and play function for computer peripheral devices, a hot plug-in / plug-out function, and a common connector cable, is particularly considered. Designed.
[0003]
In a peripheral device having such a USB interface (hereinafter referred to as a USB device), the communication is all controlled by a host chip and an operating system in a connected personal computer.
USB devices can be classified into self-powered devices having a self-power supply and bus-powered devices that require power supply from a computer or the like. Among these, the bus power device includes a pointing device or a keyboard.
[0004]
In general, when a personal computer enters the suspend mode, the devices connected to the personal computer also enter the suspend mode, thereby reducing power consumption. In particular, in the bus power device, the maximum current value that is allowed to be supplied in the suspend mode is specified to be 500 μA.
The user switches between the normal mode and the suspend mode by operating a dedicated button, keyboard, pointing device, or the like provided on the personal computer body. For example, an instruction to switch from the normal mode to the suspend mode is made via software such as Windows 98 (registered trademark) by pressing a dedicated suspend button provided on the personal computer body or operating a pointing device.
[0005]
On the other hand, when returning from the suspend mode to the normal mode (referred to as “resume”), the resume operation is basically performed from the PC main body side. In particular, the resume instruction is issued from a USB pointing device such as a mouse, joystick, or trackball. It is also possible to do. Such a resume is also called a remote wakeup.
[0006]
For example, in the case of a USB mouse, a resume signal is sent to the computer when a change in state is detected such that the main body of the USB mouse is moved or a click switch is pressed. The operation principle of such a USB mouse will be briefly described.
FIG. 8 is a flowchart showing the operation principle of a conventional USB mouse.
[0007]
Here, consider the case where the personal computer is in the normal mode.
When the power of the personal computer to which the USB mouse is connected is turned on, or when the USB mouse is connected later to the personal computer to which the power is already turned on, in step S101, the memory of the USB mouse is initialized. The Thereafter, the USB mouse enters the processing operation in the normal mode shown in steps S102 to S105 described below.
[0008]
First, in step S102, a state change is detected (sensing) in each of the sensors such as the X-axis coordinate sensor, the Y-axis coordinate sensor, and the click switch.
Next, in step S103, the personal computer confirms with the USB mouse whether there is data to be transmitted regarding the state change. When the user moves the USB mouse body or presses the click switch, there is data to be transmitted, and the process proceeds to step S104. If there is no data to be transmitted, the process proceeds to step S105.
[0009]
In step S104, transmission data is set and transmitted to the personal computer via the USB interface.
In step S105, the CPU of the USB mouse determines whether or not a suspend signal instructing a transition from the normal mode to the suspend mode is received from the personal computer. If it is determined that it has been received, the process proceeds to step S106, and if not, the process returns to step S102.
[0010]
The processing loop of steps S102 to S105 described above includes the USB mouse X-axis coordinate sensor, Y-axis coordinate sensor, click switch, and the like when the user moves the USB mouse body or presses the click switch in the normal mode. This is processing for extracting state changes detected by each sensor. These processes are executed in a period of, for example, several tens to several hundreds of microseconds unless a suspend signal is received from a personal computer.
[0011]
If it is determined in step S105 that a suspend signal has been received from the host, the process proceeds to step S106, and the USB mouse enters the suspend mode.
As described above, in the suspend mode, the maximum current consumption value allowed by the USB interface standard is 500 μA. Accordingly, in a normal USB mouse, current consumption is suppressed by reducing the processing speed of the CPU and the processing speed of each sensor incorporated in the USB mouse in the suspend mode. Specifically, the processing operation of the CPU is stopped for a predetermined time. This time is defined by a timer called “CPU stop return timer” in this specification, and this time is set to several tens to several hundreds of milliseconds, for example. After the CPU processing operation stops, when this time elapses and the CPU stop recovery timer expires, the CPU normal processing operation returns.
[0012]
When the USB mouse enters the suspend mode, the CPU stop recovery timer is set in step S106, and then the CPU processing operation is stopped in step S107.
If the CPU stop recovery timer has expired in step S108, or if a resume signal has been interrupted from the personal computer instructing the resume (return) from the suspend mode to the normal mode, in step S109, the CPU of the stopped CPU is stopped. The processing operation starts again.
[0013]
Then, in step S110, the CPU of the USB mouse determines whether or not a resume signal from the personal computer has been received.
When it is determined that the resume signal has been received, the resume process is performed, and the personal computer and the USB mouse are resumed.
If it is determined that the resume signal has not been received, it means that the CPU stop recovery timer has simply expired in step S108, so the process proceeds to step S111, where the X-axis coordinate sensor, the Y-axis coordinate sensor, and the click Each sensor such as a switch detects a state change. Since this step S111 is executed only when the CPU stop recovery timer has expired, the detection processing operation of each sensor is synchronized with the processing operation of the CPU as a result.
[0014]
In step S112, the CPU determines in step S111 whether or not there has been a state change in any of the sensors and each switch such as a click switch.
If it is determined in step S112 that the state has changed, it means that the user has instructed the resume process from the USB mouse side by operating the USB mouse, so the process proceeds to step S113, where the resume process is performed, and the personal computer and the USB The mouse resumes.
[0015]
If it is determined in step S112 that there is no state change, the process returns to step S106 again.
[0016]
[Problems to be solved by the invention]
In the personal computer to which the USB mouse is connected, the user selects an icon corresponding to the suspend instruction from the menu on the Windows screen displayed on the display, for example, by operating the USB mouse, which is shown in step S105 in FIG. The normal mode is switched to the suspend mode through the processed process.
[0017]
As described above, in the USB mouse, it is possible to resume the personal computer and the USB mouse by moving the USB mouse body in the suspend mode. However, when the hand is released from the USB mouse after the mouse cursor operation is finished for switching to the suspend mode, the USB mouse body vibrates, and the USB mouse erroneously determines that this vibration was made for resume (see FIG. However, there is a problem that a malfunction is likely to occur, which is immediately resumed in the normal mode despite the suspension in step S111 and S112 of FIG.
[0018]
Furthermore, in the suspend mode, the USB mouse erroneously determines that the state has changed even if the vibration or contact is not intended for the resume operation (steps S111 and S112 in FIG. 8) and resumes. There is also a problem that malfunctions are likely to occur.
Accordingly, an object of the present invention is to provide a USB pointing device with improved operability for switching between the normal mode and the suspend mode in view of the above-described problems.
[0019]
[Means for Solving the Problems]
In order to achieve the above object, in the first invention, a pointing device having a USB interface includes a detection unit that detects a change in the state of the pointing device, and a suspend signal that instructs a transition from the normal mode to the suspend mode. The receiving means for receiving via the USB interface, the predetermined waiting time after receiving the suspend signal, the invalidating means for invalidating the detection of the detecting means, and when the state change is detected, the suspend mode is changed to the normal mode. And a transmission means for transmitting a resume signal instructing the transition of the data via the USB interface.
[0020]
In the second invention, the pointing device having the USB interface is a detecting means for detecting a change in the state of the pointing device, the detecting means for detecting a longer period of detection in the suspend mode than in the normal mode, and the suspend mode. When a change in state is detected when the vehicle is in the storage area, a storage unit that stores the cumulative amount of state change detected by the detection unit within a predetermined detection time and a determination as to whether the cumulative amount is greater than or equal to a predetermined threshold value And a transmission unit that transmits a resume signal that instructs a transition from the suspend mode to the normal mode when the determination unit determines that the determination unit is equal to or greater than the threshold value.
[0021]
In the third invention, the pointing device having the USB interface is a detecting unit that detects a change in the state of the pointing device, and in the suspend mode, the detecting unit detects at a detection cycle longer than that in the normal mode, and the normal mode Receiving means for receiving a suspend signal for instructing the transition from the suspend mode to the suspend mode, a disabling means for invalidating detection by the detection means, a predetermined waiting time after receiving the suspend signal, and a state A storage unit that stores an accumulated amount of state change detected by the detecting unit within a predetermined detection time when a change is detected; a determination unit that determines whether the accumulated amount is equal to or greater than a predetermined threshold; Resume to instruct the transition from suspend mode to normal mode when the judgment means judges that the threshold is exceeded Signals, and transmitting means for transmitting via a USB interface.
[0022]
According to the first aspect of the invention, even if the USB pointing device main body vibrates when the hand is released from the USB pointing device after completion of the mouse cursor operation for switching from the normal mode to the suspend mode, for example, the resume is performed. Malfunctions can be prevented.
Further, according to the second invention, it is possible to prevent a malfunction that is resumed due to subtle vibrations and contact that are not intended for the resume operation.
[0023]
According to the third invention, by combining the first invention and the second invention, it is possible to realize a resume (remote wakeup) with better operability than the conventional USB pointing device.
[0024]
DETAILED DESCRIPTION OF THE INVENTION
In this specification, a USB mouse will be described as an example of a pointing device having a USB interface. This USB mouse may be either a ball type or an optical type. The present invention can also be applied to a USB pointing device such as a joystick, a trackball, or a flat input panel.
[0025]
First, a USB mouse according to the first embodiment of the present invention will be described.
The USB mouse according to the present embodiment vibrates when the mouse is released from the USB mouse after the mouse cursor operation is finished, for example, for switching from the normal mode to the suspend mode. Therefore, it is possible to prevent a malfunction that is erroneously determined to have been made for this reason and immediately resumes the normal mode.
[0026]
FIG. 1 is a diagram showing a basic configuration of a USB mouse.
A USB mouse 1 having a USB interface 11 includes an X-axis coordinate sensor 21 and a Y-axis coordinate sensor 22 for detecting relative movement of the USB mouse 1 with respect to the floor, and a click switch 23 (on the USB mouse 1). Left and right click switches), a CPU 24, and a memory 25. Each component is connected via a bus 26.
[0027]
The USB mouse 1 is connected to a personal computer via a USB cable 27 connected to the USB interface 11.
FIG. 2 is a functional block diagram of a USB mouse according to the first embodiment of the present invention. According to this embodiment, the USB mouse 1 having the USB interface 11 sends the detection means 12 for detecting a change in the state of the USB mouse 1 and the suspend signal for instructing the transition from the normal mode to the suspend mode. The receiving means 13 for receiving the suspend signal, the invalidating means 14 for invalidating the detection of the detection means 12 for a predetermined waiting time after receiving the suspend signal, and the state change from the suspend mode to the normal mode when detected. And a transmission means 15 for transmitting a resume signal instructing the transition of the data via the USB interface 11.
[0028]
The detection means 12 includes an X-axis coordinate sensor and a Y-axis coordinate sensor for detecting relative movement of the USB mouse 1 relative to the floor, and click switches (including left and right click switches) provided on the USB mouse 1. Etc. are included.
Control and processing of these means are realized by the control unit 20 in a firmware format including the CPU 24 of FIG.
[0029]
FIG. 3 is a flowchart showing the operation principle of the USB mouse according to the first embodiment of the present invention.
Here, consider a case where the personal computer to which the USB mouse is connected is in the normal mode and the processing loop of FIG. 8 described above has already been executed. The same applies to the second and third embodiments described later, but in each figure, the processing contents executed in the steps having the same reference numerals are the same.
[0030]
If the control unit 20 of the USB mouse 1 determines in step S105 in FIG. 8 that it has received a suspend signal from the host, the process proceeds to step S201, and the USB mouse 1 enters the suspend mode.
In the present embodiment, the invalidating means 14 for invalidating the detection of the detection means 12 for a predetermined waiting time after the reception of the suspend signal is realized in the control unit 20 by a firmware format including the CPU 24. That is, steps S111 and S112 shown in FIG. 8 are not executed until this waiting time elapses after the USB mouse 1 enters the suspend mode. In step S201, the count number N is set as a waiting time generation element for realizing this waiting time. Although the count number N will be described in detail later, in this embodiment, for example, N = 10 is set.
[0031]
When the USB mouse 1 enters the suspend mode, a CPU stop return timer is set in step S106. As described above, in the suspend mode, in order to suppress the current consumption below the maximum current consumption value (500 μA) allowed by the USB interface standard, the processing operation of the CPU 24 is stopped for the time specified by the CPU stop return timer, The processing speed of the CPU 24 and the processing speed of each sensor are decreased. This time is set to several tens to several hundreds of milliseconds, for example.
[0032]
In step S108, after the processing operation of the CPU 24 is stopped, this time elapses and the CPU stop recovery timer is over, or a resume signal from the suspend mode to the normal mode is received from the personal computer side via the USB interface 11 and interrupted. When there was
In step S109, the stopped processing operation of the CPU 24 starts again.
[0033]
Next, in step S110, the control unit 20 determines whether or not a resume signal has been received from the personal computer.
If it is determined in step S110 that the resume signal has been received, the process proceeds to step S113, where the resume process is performed, and the personal computer and the USB mouse 1 are resumed.
[0034]
If it is determined in step S110 that the resume signal has not been received, it means that the CPU stop recovery timer has simply expired in step S108, and the process proceeds to step S202.
In step S202, it is determined whether or not the count number N is zero. If the count number N is not 0, the process proceeds to step S203, and if the count number N is 0, the process proceeds to step S111.
[0035]
If it is determined in step S202 that the count number N is 0, the process proceeds to step S111, and each of the sensors such as the X-axis coordinate sensor 21, the Y-axis coordinate sensor 22, and the click switch 23 detects a state change ( Sensing).
In step S112, the control unit 20 determines whether or not a state change has occurred in any of the sensors such as the X-axis coordinate sensor 21, the Y-axis coordinate sensor 22, and the click switch 23 in step S111. This state change is whether or not the USB mouse is moved for the X-axis coordinate sensor 21 and the Y-axis coordinate sensor 22, and whether or not the click switch 23 is pressed.
[0036]
If it is determined in step S112 that the state has changed, it means that the user has instructed the resume process from the USB mouse 1 side by operating the USB mouse 1, so that the process proceeds to step S113, where the resume process is performed. And the USB mouse 1 resumes.
If it is determined in step S112 that there is no state change, the process returns to step S106 again.
[0037]
If it is determined in step S202 that the count number N is not 0, the count number N is decremented by 1 in step S203, and the process returns to step S106.
In this embodiment, since the count number N is set to 10, the above steps S106 to S203 are repeated 10 times unless the suspend mode is entered and the resume signal is received from the personal computer side. During this time, the detection of the detection means 12 is invalidated, the processing in steps S111 and S112 described above is not executed, and even if the USB mouse 1 is moved or the click switch 23 is pressed, it is not resumed. In this embodiment, the count number N is set to 10. However, for example, when the CPU stop recovery timer in step S106 is set to several hundred milliseconds, the waiting time is several seconds (= several hundred milliseconds × 10). . The count number N may be set as appropriate according to the required waiting time.
[0038]
When the count number N becomes 0, that is, after a predetermined waiting time has elapsed since the resume signal was received, the processing loop up to steps S106, S107, S108, S109, S110, S202, S111, S112 and S106 Is executed and the suspend mode continues. When a resume signal is received from the personal computer (steps S108 and S110), or when the USB mouse 1 is moved or the click switch 23 is pressed (steps S111 and S112), the suspend mode is resumed to the normal mode. .
[0039]
As described above, according to the USB mouse of the first embodiment of the present invention, the detection of the detecting means is invalidated until a predetermined waiting time elapses after the transition to the suspend mode. It will not resume even if you move or click the switch. Therefore, for example, even if the USB mouse body vibrates when the hand is released from the USB mouse after completion of the mouse cursor operation for switching from the normal mode to the suspend mode, the resume does not occur.
[0040]
Next, a USB mouse according to the second embodiment of the present invention will be described.
In the suspend mode, the USB mouse according to the present embodiment erroneously determines that the state of the USB mouse has changed even when a subtle vibration or contact is not intended for the resume operation, and resumes a malfunction. It is to prevent. That is, when a state change is detected by each sensor such as the X-axis coordinate sensor, the Y-axis coordinate sensor, and the click switch in the suspend mode, the state change is accumulated for a predetermined detection time. Resume processing is executed when the threshold is exceeded. As a result, it is possible to prevent a malfunction that is resumed due to a subtle vibration or contact that is not intended for the resume operation.
[0041]
FIG. 4 is a functional block diagram of a USB mouse according to the second embodiment of the present invention. According to the present embodiment, the USB mouse 1 having the USB interface 11 is a detection unit 12 that detects a change in the state of the USB mouse 1 and that detects in the suspend mode at a detection cycle longer than that in the normal mode. 12 and a storage means 16 for storing a cumulative amount of state change detected by the detection means 12 within a predetermined detection time when a state change is detected in the suspend mode, and the cumulative amount is a predetermined threshold. Determining means 17 for determining whether the value is greater than or equal to the value, and when the determining means 17 determines that the value is greater than or equal to the threshold value, a resume signal instructing a transition from the suspend mode to the normal mode is transmitted via the USB interface 11 Transmitting means 15 for transmitting.
[0042]
The detection means 12 includes an X-axis coordinate sensor and a Y-axis coordinate sensor for detecting relative movement of the USB mouse 1 relative to the floor, and click switches (including left and right click switches) provided on the USB mouse 1. Etc. are included.
The storage unit 16 includes a memory 25.
Control and processing of these means are realized by the control unit 20 in a firmware format including the CPU 24.
[0043]
FIG. 5 is a flowchart showing the operation principle of the USB mouse according to the second embodiment of the present invention.
Here, consider a case where the personal computer to which the USB mouse is connected is in the normal mode and the processing loop of FIG. 8 described above has already been executed.
If the control unit 20 of the USB mouse 1 determines in step S105 in FIG. 8 that a suspend signal has been received from the host, the process proceeds to step S106, and the USB mouse 1 enters the suspend mode.
[0044]
When the USB mouse 1 enters the suspend mode, the CPU stop return timer is set in step S106, and then the processing operation of the CPU 24 is stopped in step S107.
In step S108, if the CPU stop return timer is over or an interruption of the resume signal instructing the resume from the suspend mode to the normal mode is received from the personal computer,
In step S109, the stopped processing operation of the CPU 24 starts again.
[0045]
Next, in step S110, the control unit 20 of the USB mouse 1 determines whether or not a resume signal has been received from the personal computer.
If it is determined in step S110 that the resume signal has been received, the process proceeds to step S113, where the resume process is performed, and the personal computer and the USB mouse are resumed by one.
[0046]
If it is determined in step S110 that the resume signal has not been received, it means that the CPU stop recovery timer has simply expired in step S108, so the process proceeds to step S111, where the X-axis coordinate sensor 21 and the Y-axis coordinate are detected. Each sensor such as the sensor 22 and the click switch 23 detects a state change. Since this step S111 is executed only when the CPU stop recovery timer has expired, the above-described detection processing operation of each sensor is synchronized with the processing operation of the CPU.
[0047]
In step S112, the control unit 20 determines whether or not a state change has occurred in any of the sensors such as the X-axis coordinate sensor 21, the Y-axis coordinate sensor 22, and the click switch 23 in step S111. This state change is whether or not the USB mouse is moved for the X-axis coordinate sensor 21 and the Y-axis coordinate sensor 22, and whether or not the click switch 23 is pressed.
[0048]
If it is determined in step S112 that there is no state change, the process returns to step S106 again.
If it is determined in step S112 that the state has changed, it means that the user may have instructed the resume process from the USB mouse 1 side by operating the USB mouse 1, and the process proceeds to step S301.
[0049]
In step S301, the count number M is set as a detection time generation element for realizing the above-described detection time. Although the count number M will be described in detail later, in this embodiment, for example, M = 2000 is set.
Next, in step S302, each of the sensors such as the X-axis coordinate sensor 21, the Y-axis coordinate sensor 22, and the click switch 23 detects (sensing) the state change.
[0050]
According to the conventional example, in the suspend mode, the CPU processing speed is reduced by using the CPU stop return timer. As a result, the detection speed of each sensor and click switch synchronized with the processing operation of the CPU is also reduced. A processing loop is executed.
[0051]
On the other hand, in this embodiment, the CPU 24 is operated at the same cycle (for example, several tens to several hundreds of microseconds) as in the normal mode for the reason described later, and the detection processing in step S302 is also executed at the same cycle as in the normal mode. .
In step S303, the control unit 20 determines whether or not a resume signal is received from the personal computer.
[0052]
If it is determined in step S303 that the resume signal has been received, it means that the instruction for the resume process has been received directly from the personal computer side, so that the process proceeds to step S113, the normal resume process is performed, and the personal computer and the USB mouse 1 are resumed. To do.
If it is determined in step S303 that the resume signal has not been received, it means that the CPU stop recovery timer has expired in step S108, and the process proceeds to step S304.
[0053]
In step S304, it is determined whether or not the count number M is zero. If the count number M is not 0, the process proceeds to step S305, and if the count number M is 0, the process proceeds to step S306.
If it is determined in step S304 that the count number M is not 0, the count number M is decremented by 1 in step S305, and the detected state change is accumulated and stored. The amount of state change accumulated in step 305 is the movement amount (mouse count) of the USB mouse for the X-axis coordinate sensor 21 and the Y-axis coordinate sensor 22, and the click time for the click switch 23. After step S305 ends, the process returns to step S302 again.
[0054]
The processing loop of steps S302 to S305 is executed until the count number M becomes 0, and during that time, the state changes detected in step 302 are accumulated. That is, if the state change amount is X and the state change detected in one processing loop is Δx, the accumulated state change amount is x + Δx. This processing loop is executed in the same processing cycle (for example, several tens to several hundreds of microseconds) as the detection cycle in the normal mode. In this embodiment, the count number M is set to 2000. For example, when the detection cycle of each sensor 21 and 22 and the click switch 23 in the normal processing mode (the processing cycle of steps S302 to S305) is 50 μsec, the count number is set. The detection time, which is the time until M becomes 0, is 100 msec (= 50 μsec × 2000), and data relating to the state change is accumulated during this time. The count number M may be appropriately set according to the required detection time.
As described above, in this embodiment, each sensor such as the X-axis coordinate sensor 21, the Y-axis coordinate sensor 22, and the click switch 23 has the same detection cycle as that in the normal mode even during the predetermined detection time and the suspend mode. State detection is performed. In the resume from the USB mouse according to the conventional example (that is, remote wakeup), it is determined whether or not the resume should be performed based on the presence or absence of the USB state change, but in this embodiment, when the USB state change occurs. It is determined whether or not to resume based on whether or not the total amount of state change in a predetermined detection time is equal to or greater than a predetermined threshold value. That is, each sensor such as the X-axis coordinate sensor 21, the Y-axis coordinate sensor 22, and the click switch 23 is detected at the same detection cycle as that in the normal mode, and data relating to the state change is accumulated to determine whether resumption is possible. Reliability is improved.
[0055]
If it is determined in step S304 that the count number M is 0, the process exits the loop of steps S302 to S305 and proceeds to step S306.
In step S306, it is determined whether or not the accumulated state change amount is equal to or greater than a predetermined threshold value. As described above, the X-axis coordinate sensor 21 and the Y-axis coordinate sensor 22 are the amount of movement of the USB mouse (mouse count), and the click switch 23 is the pressing time. Accordingly, in step S306, it is determined whether or not at least one of the movement amount of the USB mouse 1 or the pressing time of the click switch 23 is equal to or greater than a predetermined threshold value.
[0056]
If it is determined in step S306 that it is not equal to or greater than the predetermined threshold value, the process returns to step S106. That is, in this case, since there is a high possibility that the vibration and contact are not intended for the resume operation, the process is not resumed and the process in the normal suspend mode is performed again.
If it is determined in step S306 that the threshold value is equal to or greater than the predetermined threshold value, it is highly likely that the user has instructed the resume process from the USB mouse 1 side by operating the USB mouse 1, so the process proceeds to step S113, where the resume process is performed. The personal computer and the USB mouse 1 are resumed.
[0057]
As described above, according to the USB mouse of the second embodiment of the present invention, when a state change is detected by each sensor such as the X-axis coordinate sensor, the Y-axis coordinate sensor, and the click switch in the suspend mode. Accumulates this state change for a predetermined detection time, and executes the resume process when the accumulated amount is equal to or greater than a predetermined threshold value. Therefore, it is possible to prevent a malfunction that is resumed due to a subtle vibration or contact that is not intended for the resume operation.
[0058]
Although the USB mouse has been described here, this embodiment can also be applied to a case where the USB pointing device has a flat input panel. For example, when the flat input panel has been in contact for a predetermined time, it may be resumed.
Next, a USB mouse according to a third embodiment of the present invention will be described.
[0059]
The USB mouse according to the present embodiment is a combination of the first and second embodiments described above. That is, the USB mouse according to the present embodiment vibrates for resuming when the mouse is released from the USB mouse after completion of the mouse cursor operation for switching from the normal mode to the suspend mode, for example. In this case, the USB mouse changes its state even in the suspend mode even if it is caused by subtle vibration or contact that is not intended for the resume operation. This is to prevent a malfunction that is erroneously judged to be a problem and resumes.
[0060]
Since the features, modifications and others in each step have already been described in detail in the first and second embodiments, only the processing flow will be briefly described here.
FIG. 6 is a functional block diagram of a USB mouse according to the third embodiment of the present invention. According to the present embodiment, the USB mouse 1 having the USB interface 11 is a detection unit 12 that detects a change in the state of the USB mouse 1 and that detects in the suspend mode at a detection cycle longer than that in the normal mode. 12, a receiving means 13 for receiving a suspend signal for instructing a transition from the normal mode to the suspend mode via the USB interface 11, a predetermined waiting time after receiving the suspend signal, and detection of the detecting means 12 being invalidated Invalidating means 14, storage means 16 for storing the accumulated amount of state change detected by the detecting means 12 within a predetermined detection time when a change in state is detected, and the accumulated amount being a predetermined threshold value When it is determined that the determination means 17 and the determination means 17 are equal to or greater than the threshold value, the suspend mode is changed to the normal mode. The resume signal instructing a transition, and a transmitting means 15 for transmitting via the USB interface 11.
[0061]
The detection means 12 includes an X-axis coordinate sensor and a Y-axis coordinate sensor for detecting relative movement of the USB mouse 1 relative to the floor, and click switches (including left and right click switches) provided on the USB mouse 1. Etc. are included.
The storage unit 16 includes a memory 25.
Control and processing of these means are realized by the control unit 20 in a firmware format including the CPU 24.
[0062]
FIG. 7 is a flowchart showing the operation principle of the USB mouse according to the third embodiment of the present invention.
Here, consider a case where the personal computer to which the USB mouse is connected is in the normal mode and the processing loop of FIG. 8 described above has already been executed.
If the control unit 20 of the USB mouse 1 determines in step S105 of FIG. 8 that it has received a suspend signal from the host, the process proceeds to step S201, and the USB mouse 1 enters the suspend mode.
[0063]
In step S201, a count number N is set. In this embodiment, the count number N is set to 10. However, as described in the first embodiment, the count number N may be set as appropriate according to the required waiting time.
In step S106, a CPU stop return timer is set. This time is set to several tens to several hundreds of milliseconds, for example.
[0064]
Next, in step S107, the CPU 24 stops.
In step S108, if the CPU stop return timer has exceeded or the resume signal has been interrupted from the personal computer,
In step S109, the stopped processing operation of the CPU 24 starts again.
[0065]
Next, in step S110, the control unit 20 determines whether or not a resume signal has been received from the personal computer.
If it is determined in step S110 that the resume signal has been received, the process proceeds to step S113, where the resume process is performed, and the personal computer and the USB mouse 1 are resumed.
[0066]
If it is determined in step S110 that the resume signal has not been received, it means that the CPU stop recovery timer has expired in step S108, and the process proceeds to step S202.
In step S202, it is determined whether or not the count number N is zero. If the count number N is not 0, the process proceeds to step S203, and if the count number N is 0, the process proceeds to step S111.
[0067]
If it is determined in step S202 that the count number N is not 0, the count number N is decremented by 1 in step S203, and the process returns to step S106.
As described above, since the count number N is set to 10 in this embodiment, steps S106 to S203 are repeated 10 times unless the suspend mode is entered and the resume signal is received from the personal computer side. Accordingly, the detection of the detection means 12 is invalid during this period, and the processing in steps S111 and S112 described above is not executed, and the resume is not performed even if the USB mouse 1 is moved or the click switch 23 is pressed.
[0068]
If it is determined in step S202 that the count number N is 0, the process proceeds to step S111, and each of the sensors such as the X-axis coordinate sensor 21, the Y-axis coordinate sensor 22, and the click switch 23 detects the state change. (Sensing). In step S112, the control unit 20 determines whether or not a state change has occurred in any of the sensors such as the X-axis coordinate sensor 21, the Y-axis coordinate sensor 22, and the click switch 23 in step S111. This state change is whether or not the USB mouse is moved for the X-axis coordinate sensor 21 and the Y-axis coordinate sensor 22, and whether or not the click switch 23 is pressed.
[0069]
If it is determined in step S112 that there is no state change, the process returns to step S106 again.
If it is determined in step S112 that the state has changed, it means that the user may have instructed the resume process from the USB mouse 1 side by operating the USB mouse 1, and the process proceeds to step S301.
[0070]
In step S301, as described in the second embodiment, the count number M is set. In this embodiment, the count number M is set to 2000, but may be set as appropriate according to the required detection time.
Next, in step S302, each sensor such as the X-axis coordinate sensor 21, the Y-axis coordinate sensor 22, and the click switch 23 detects (sensing) the state change.
[0071]
In step S303, the control unit 20 determines whether or not a resume signal is received from the personal computer.
If it is determined in step S303 that the resume signal has been received, the process proceeds to step S113, where the resume process is performed, and the personal computer and the USB mouse 1 are resumed.
[0072]
If it is determined in step S303 that the resume signal has not been received, it means that the CPU stop recovery timer has expired in step S108, and the process proceeds to step S304.
In step S304, it is determined whether or not the count number M is zero. If the count number M is not 0, the process proceeds to step S305, and if the count number M is 0, the process proceeds to step S306.
[0073]
If it is determined in step S304 that the count number M is not 0, the count number M is decremented by 1 and the state change detected in step 302 is accumulated and stored (step S305). The accumulated state change amount is the movement amount (mouse count number) of the USB mouse for the X-axis coordinate sensor 21 and the Y-axis coordinate sensor 22, and the click time for the click switch 23. After step S305 ends, the process returns to step S302 again.
[0074]
The processing loop of steps S302 to S305 is executed until the count number M becomes 0, and during that time, the state change detected in step 302 is accumulated. This processing loop is executed in a processing cycle (for example, several tens to several hundreds of microseconds) similar to the detection cycle in the normal mode.
If it is determined in step S304 that the count number M is 0, the process exits the loop of steps S302 to S305 and proceeds to step S306.
[0075]
In step S306, it is determined whether or not the accumulated state change amount is equal to or greater than a predetermined threshold value. As described above, the X-axis coordinate sensor 21 and the Y-axis coordinate sensor 22 are the movement amount (mouse count number) of the USB mouse, and the click switch 23 is the pressing time. In step S306, it is determined whether or not at least one of the movement amount of the USB mouse 1 or the pressing time of the click switch 23 is equal to or greater than a predetermined threshold value.
[0076]
If it is determined in step S306 that it is not equal to or greater than the predetermined threshold value, the process returns to step S106. That is, in this case, since there is a high possibility that the vibration and contact are not intended for the resume operation, the resume is not performed and the process in the normal suspend mode is continued again.
If it is determined in step S306 that the threshold value is equal to or greater than the predetermined threshold value, it is highly likely that the user has instructed the resume process from the USB mouse 1 side by operating the USB mouse 1, so the process proceeds to step S113, where the resume process is performed. The personal computer and the USB mouse 1 are resumed.
[0077]
As described above, according to the USB mouse of the third embodiment of the present invention, the detection means is disabled until a predetermined waiting time elapses after the transition to the suspend mode. It does not resume even if the mouse moves or the click switch is pressed. Therefore, for example, even if the USB mouse body vibrates when the hand is released from the USB mouse after completion of the mouse cursor operation for switching from the normal mode to the suspend mode, the resume does not occur.
[0078]
In addition, when a change in state is detected by each sensor such as an X-axis coordinate sensor, a Y-axis coordinate sensor, and a click switch in the suspend mode, the state change is accumulated for a predetermined detection time, and the accumulated amount is predetermined. Resume processing is executed when the threshold is exceeded. Therefore, it is possible to prevent a malfunction that is resumed by a subtle vibration or contact that is not intended for the resume operation.
[0079]
【The invention's effect】
As described above, according to the USB pointing device of the first aspect of the invention, detection of the detection means is invalidated until a predetermined waiting time elapses after the transition to the suspend mode, so the movement of the USB pointing device Even if the click switch is pressed, it will not resume. Therefore, for example, even if the USB pointing device main body vibrates when the hand is released from the USB pointing device after the end of the mouse cursor operation for switching from the normal mode to the suspend mode, it does not resume.
[0080]
According to the USB pointing device of the second aspect of the present invention, when each sensor, click switch, flat input panel, etc. detect a state change in the suspend mode, the state change is accumulated for a predetermined detection time. Since the resume process is executed when the amount is equal to or greater than a predetermined threshold value, it is possible to prevent a malfunction that is resumed due to a subtle vibration or contact that is not intended for the resume operation. In addition, since the detection cycle of each sensor, click switch, and flat input panel in this detection time is the same as that in the normal mode, a highly reliable accumulated state change amount can be obtained. Reliability is improved because it is determined whether or not resume is possible.
[0081]
The third invention is a combination of the first invention and the second invention, and as a result, resumption (remote wakeup) with better operability than a conventional USB pointing device can be realized.
[Brief description of the drawings]
FIG. 1 is a diagram showing a basic configuration of a USB mouse.
FIG. 2 is a functional block diagram of a USB mouse according to the first embodiment of the present invention.
FIG. 3 is a flowchart showing an operation principle of the USB mouse according to the first embodiment of the present invention.
FIG. 4 is a functional block diagram of a USB mouse according to a second embodiment of the present invention.
FIG. 5 is a flowchart showing an operation principle of a USB mouse according to a second embodiment of the present invention.
FIG. 6 is a functional block diagram of a USB mouse according to a third embodiment of the present invention.
FIG. 7 is a flowchart illustrating an operation principle of a USB mouse according to a third embodiment of the present invention.
FIG. 8 is a flowchart showing an operation principle of a USB mouse according to a conventional example.
[Explanation of symbols]
1 ... USB mouse
11 ... USB interface
12 ... Detection means
13: Receiving means
14 ... Invalidation means
15 ... Transmission means
16: Storage means
17: Determination means
20 ... Control unit
21 ... X-axis coordinate sensor
22 ... Y-axis coordinate sensor
23 ... Click switch
24 ... CPU
25 ... Memory
26 ... Bus
27 ... USB cable

Claims (6)

USBインタフェースを有するポインティングデバイスであって、
該ポインティングデバイスの状態変化を検知する検知手段と、
通常モードからサスペンドモードへの遷移を指示するサスペンド信号を、前記USBインタフェースを介して受信する受信手段と、
前記サスペンド信号を受信してから所定の待ち時間、前記検知手段の前記の検知を無効にする無効化手段と、
前記状態変化が検知された場合、サスペンドモードから通常モードへの遷移を指示するリジューム信号を、前記USBインタフェースを介して送信する送信手段とを備えることを特徴とするポインティングデバイス。
A pointing device having a USB interface,
Detecting means for detecting a change in the state of the pointing device;
Receiving means for receiving a suspend signal instructing a transition from the normal mode to the suspend mode via the USB interface;
Invalidating means for invalidating the detection of the detection means, a predetermined waiting time after receiving the suspend signal;
A pointing device, comprising: a transmission unit configured to transmit a resume signal instructing a transition from a suspend mode to a normal mode through the USB interface when the state change is detected.
USBインタフェースを有するポインティングデバイスであって、
該ポインティングデバイスの状態変化を検知する検知手段であって、サスペンドモード時では通常モード時よりも長い検知周期で検知する検知手段と、
前記サスペンドモードにあるときに前記状態変化が検知された場合、所定の検知時間内に前記検知手段で検知される前記状態変化の累積量を記憶する記憶手段と、
前記累積量が所定のしきい値以上であるかを判定する判定手段と、
該判定手段が前記しきい値以上であると判定した場合、前記サスペンドモードから前記通常モードへの遷移を指示するリジューム信号を、前記USBインタフェースを介して送信する送信手段とを備えることを特徴とするポインティングデバイス。
A pointing device having a USB interface,
Detection means for detecting a change in the state of the pointing device, and detecting means for detecting in a suspend mode with a detection cycle longer than that in the normal mode;
Storage means for storing a cumulative amount of the state change detected by the detection means within a predetermined detection time when the state change is detected while in the suspend mode;
Determining means for determining whether the cumulative amount is equal to or greater than a predetermined threshold;
And a transmission means for transmitting a resume signal instructing a transition from the suspend mode to the normal mode via the USB interface when the determination means determines that the threshold value is equal to or greater than the threshold value. Pointing device.
USBインタフェースを有するポインティングデバイスであって、
該ポインティングデバイスの状態変化を検知する検知手段であって、サスペンドモード時では通常モード時よりも長い検知周期で検知する検知手段と、
前記通常モードから前記サスペンドモードへの遷移を指示するサスペンド信号を、前記USBインタフェースを介して受信する受信手段と、
前記サスペンド信号を受信してから所定の待ち時間、前記検知手段の前記の検知を無効にする無効化手段と、
前記状態変化が検知された場合、所定の検知時間内に前記検知手段で検知される前記状態変化の累積量を記憶する記憶手段と、
前記累積量が所定のしきい値以上であるかを判定する判定手段と、
該判定手段が前記しきい値以上であると判定した場合、前記サスペンドモードから前記通常モードへの遷移を指示するリジューム信号を、前記USBインタフェースを介して送信する送信手段とを備えることを特徴とするポインティングデバイス。
A pointing device having a USB interface,
Detection means for detecting a change in the state of the pointing device, and detecting means for detecting in a suspend mode with a detection cycle longer than that in the normal mode;
Receiving means for receiving a suspend signal instructing a transition from the normal mode to the suspend mode via the USB interface;
Invalidating means for invalidating the detection of the detection means, a predetermined waiting time after receiving the suspend signal;
Storage means for storing the accumulated amount of the state change detected by the detection means within a predetermined detection time when the state change is detected;
Determining means for determining whether the cumulative amount is equal to or greater than a predetermined threshold;
And a transmission means for transmitting a resume signal instructing a transition from the suspend mode to the normal mode via the USB interface when the determination means determines that the threshold value is equal to or greater than the threshold value. Pointing device.
前記検知手段は、前記検知時間内は前記通常モード時の検知周期で検知する請求項2又は3に記載のポインティングデバイス。The pointing device according to claim 2, wherein the detection unit detects the detection period within the detection time with a detection period in the normal mode. 前記累積量は、前記ポインティングデバイスの移動量である請求項2〜4のいずれか一項に記載のポインティングデバイス。The pointing device according to claim 2, wherein the cumulative amount is a movement amount of the pointing device. 前記累積量は、クリックスイッチの押下時間である請求項2〜4のいずれか一項に記載のポインティングデバイス。The pointing device according to claim 2, wherein the cumulative amount is a click switch pressing time.
JP2000227566A 2000-07-24 2000-07-24 pointing device Expired - Fee Related JP4371549B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000227566A JP4371549B2 (en) 2000-07-24 2000-07-24 pointing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000227566A JP4371549B2 (en) 2000-07-24 2000-07-24 pointing device

Publications (2)

Publication Number Publication Date
JP2002041237A JP2002041237A (en) 2002-02-08
JP4371549B2 true JP4371549B2 (en) 2009-11-25

Family

ID=18720990

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000227566A Expired - Fee Related JP4371549B2 (en) 2000-07-24 2000-07-24 pointing device

Country Status (1)

Country Link
JP (1) JP4371549B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008210205A (en) * 2007-02-27 2008-09-11 Nec Personal Products Co Ltd Pointing device and information processing system
US8078768B2 (en) * 2008-08-21 2011-12-13 Qualcomm Incorporated Universal Serial Bus (USB) remote wakeup
JP5197310B2 (en) * 2008-11-06 2013-05-15 富士通コンポーネント株式会社 Coordinate input device
JP2011129025A (en) * 2009-12-21 2011-06-30 Fujitsu Component Ltd Coordinate input device
JP2012198948A (en) * 2012-07-27 2012-10-18 Fujitsu Component Ltd Coordinate input device
JP6245056B2 (en) * 2014-04-28 2017-12-13 富士通株式会社 Information processing apparatus, power supply control program, and USB device

Also Published As

Publication number Publication date
JP2002041237A (en) 2002-02-08

Similar Documents

Publication Publication Date Title
US11163353B2 (en) Electronic device, control method of electronic device, and program
US5990868A (en) Method and apparatus for performing power conservation in a pointing device located on a wireless data entry device
CN101038522B (en) Mouse capable of automatically adapting left-right hand
JP7433005B2 (en) Touch controller and pen input system
JP4371549B2 (en) pointing device
CN105786245A (en) Operating control method and device for touch screen
JP3212272B2 (en) Image position indicating device
US6011541A (en) Dual pointing device
JP2002215327A (en) Mouse control mechanism
EP1156406A1 (en) Power saving method and means in a computer system
JP2005267645A (en) Wireless mouse
JP3051021B2 (en) Operation input device
JPH11242560A (en) Mouse device
CN110941368B (en) Optical navigation system and non-transitory computer accessible medium
KR102155127B1 (en) Hybrid stylus and touch input apparatus communicating with the hybrid stylus
JP2004362518A (en) Touch panel input device with cleaning mode
JP3756371B2 (en) Wireless information transmission system and wireless transmission device used in wireless information transmission system
CN215932596U (en) Touch sensing device and electronic equipment
US20240028142A1 (en) Input device, preferably a computer mouse device, and method for adjusting a parameter for signal detection using an input device
CN106959788A (en) Touch control method and device and terminal equipment
KR101233201B1 (en) Wireless mouse system and power controlling method of wireless mouse
JP3080940B1 (en) Computer system
JPH11288351A (en) Wireless type operation unit
JP2002073273A (en) Pointing device
JP2000099263A (en) Mouse system

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20031125

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070620

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: 20090804

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090901

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120911

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4371549

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130911

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees