JP2003256112A - Information processor and key operation control method for information processor - Google Patents

Information processor and key operation control method for information processor

Info

Publication number
JP2003256112A
JP2003256112A JP2002052776A JP2002052776A JP2003256112A JP 2003256112 A JP2003256112 A JP 2003256112A JP 2002052776 A JP2002052776 A JP 2002052776A JP 2002052776 A JP2002052776 A JP 2002052776A JP 2003256112 A JP2003256112 A JP 2003256112A
Authority
JP
Japan
Prior art keywords
key
event
mode
application program
information processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2002052776A
Other languages
Japanese (ja)
Inventor
Hideki Yagi
秀規 八木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP2002052776A priority Critical patent/JP2003256112A/en
Publication of JP2003256112A publication Critical patent/JP2003256112A/en
Pending legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To solve a problem of incapability in carrying out an event processing to an application program according to an operation mode, in freely setting an optional key code according to the application program and in setting virtual key codes for every routine in the application program. <P>SOLUTION: A different event processing for every application program can be carried out by setting the operation mode by a user, and the user can freely set the virtual key code by managing key assignment and the virtual key code according to the application program in a management table. Further, the different virtual key codes can be set for every prescribed routine by including the allocation information of the virtual key code in the prescribed routine of the application program. <P>COPYRIGHT: (C)2003,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、十字キー等に対す
るキー機能割り当てによる情報処理装置のキー操作制御
方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a key operation control method for an information processing apparatus by assigning a key function to a cross key or the like.

【0002】[0002]

【従来の技術】携帯型の情報処理装置には、小型化、可
搬性を重視するため通常キーボードやマウスと言った入
力装置が備え付けられていない。この様な携帯型の情報
処理装置では、装置に対する操作は、タブレットや装置
に備え付けられた十字キー等の必要最低限のデバイスを
用いて行われるように構成されている。
2. Description of the Related Art A portable information processing device is usually not equipped with an input device such as a keyboard or a mouse in order to make compactness and portability important. In such a portable information processing device, the operation of the device is configured to be performed using a minimum necessary device such as a tablet or a cross key provided in the device.

【0003】しかしながら、上記情報処理装置では、必
要最低限の操作用のデバイスしか有しておらず、個々の
操作デバイスに割り付けれらる機能は限られており、各
種アプリケーションプログラムで必要な操作を実現する
にはかなりの制限があった。
However, the above-mentioned information processing apparatus has only the minimum necessary operating devices, and the functions that can be assigned to individual operating devices are limited, so that various application programs can perform the necessary operations. There were quite a few restrictions to achieve.

【0004】一方、特開2000−89892公報に
は、所定のアプリケーションプログラムに対して、その
実行領域に応じてリモコンで指示する際のモードをマウ
スモードにするとマウス操作に応じたカーソル制御を行
い、アンカーモードにするとキーカーソル制御となるよ
う制御する点が示されている。
On the other hand, in Japanese Unexamined Patent Publication No. 2000-89892, when a mode for instructing a predetermined application program with a remote controller according to its execution area is set to a mouse mode, cursor control according to a mouse operation is performed. It is shown that the key cursor control is performed when the anchor mode is set.

【0005】[0005]

【発明が解決しようとする課題】この様に、携帯型の情
報処理装置において、上記の従来技術を用いても、各種
アプリケーションプログラムに必要な所定の操作を実行
するためのキーボード操作や、マウスカーソルの操作を
同時に制御できる手法は確立されていなかった。
As described above, in the portable information processing apparatus, even if the above-mentioned conventional technique is used, the keyboard operation and the mouse cursor for executing the predetermined operation necessary for various application programs are performed. A method that can simultaneously control the operations of was not established.

【0006】本発明では、所定の処理を実行するための
キーボード操作や、マウスカーソル操作等の一連の操作
イベントをアプリケーションプログラムに対応させて変
化させることにより、よりユーザにとって操作性を向上
させた情報処理装置を提供することを目的とする。
According to the present invention, by changing a series of operation events such as a keyboard operation for executing a predetermined process and a mouse cursor operation in accordance with an application program, the information which has improved the operability for the user can be obtained. An object is to provide a processing device.

【0007】[0007]

【課題を解決するための手段】本発明の情報処理装置
は、操作キーと、該操作キーに対する操作モードを設定
するためのモード設定手段と、このモード設定手段によ
り設定された操作モードに応じて、前記操作キーで発生
した操作イベントを所定のデータイベントに割当てる手
段と、割当てられたデータイベントをアプリケーション
プログラムに受け渡す手段とを具備したことを特徴とす
る。
An information processing apparatus according to the present invention has an operation key, a mode setting means for setting an operation mode for the operation key, and an operation mode set by the mode setting means. And a means for allocating an operation event generated by the operation key to a predetermined data event, and a means for transferring the allocated data event to an application program.

【0008】このような構成とすることにより、操作モ
ードに応じて操作イベントを所定のデータイベントに割
当てることが可能となる。本発明の情報処理装置は、更
に、アプリケーションプログラムに応じて前記操作キー
に対する仮想キーコードを割当てた管理テーブルを更に
有し、アプリケーションプログラムに対応させて前記操
作キーに対する仮想キーコードの割当てを行うキー割当
て設定手段と、この設定手段により設定された内容を前
記管理テーブルとして記憶する手段とを具備したことを
特徴とする。
With such a configuration, it becomes possible to assign an operation event to a predetermined data event according to the operation mode. The information processing apparatus of the present invention further has a management table in which virtual key codes are assigned to the operation keys according to application programs, and keys for assigning virtual key codes to the operation keys in association with the application programs. It is characterized by comprising an allocation setting means and a means for storing the contents set by the setting means as the management table.

【0009】このような構成とすることにより、アプリ
ケーションプログラム毎に操作キーの操作イベント毎に
仮想キーコードを自由に割当てることが可能となる。そ
して、本発明の情報処理装置は、操作キーと、アプリケ
ーションプログラムより送られてきた前記操作キーに対
応する仮想キーコードの割当て情報を受け取り、前記操
作キーを操作することによって発生する操作イベントを
前記受け取った仮想キーコードイベントに割当てる手段
と、割当てられたデータイベントをアプリケーションプ
ログラムに受け渡す手段とを具備したことを特徴とす
る。
With such a configuration, it becomes possible to freely assign a virtual key code for each operation event of the operation key for each application program. Then, the information processing apparatus of the present invention receives the operation key and the allocation information of the virtual key code corresponding to the operation key sent from the application program, and outputs the operation event generated by operating the operation key. It is characterized by comprising means for allocating the received virtual key code event and means for transferring the allocated data event to the application program.

【0010】このような構成とすることにより、アプリ
ケーションプログラムの所定の処理を単位として操作キ
ーの操作イベントに仮想キーコードを割当てることが可
能となる。
With such a configuration, it becomes possible to assign a virtual key code to the operation event of the operation key in units of predetermined processing of the application program.

【0011】[0011]

【発明の実施の形態】以下、図面を参照して本発明の実
施の形態について説明する。図1は、携帯型の情報処理
装置の外観図である。情報処理装置本体10には、表示
装置としての液晶表示装置と入力装置としてのタブレッ
ト装置を一体化させた表示入力装置11や、所定の操作
を行うための十字キー12や、特定の機能を実行するた
めの機能キー13が備えられている。十字キー12は、
上キー12a、左キー12b、右キー12c、下キー1
2dと確定キー12eから構成されている。また、本実
施形態では、機能キーは13a、13bの2個設けられ
ている。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is an external view of a portable information processing device. The information processing device body 10 includes a display / input device 11 in which a liquid crystal display device as a display device and a tablet device as an input device are integrated, a cross key 12 for performing a predetermined operation, and a specific function. A function key 13 for performing the operation is provided. The cross key 12
Up key 12a, Left key 12b, Right key 12c, Down key 1
2d and a confirmation key 12e. Further, in this embodiment, two function keys 13a and 13b are provided.

【0012】図2は、情報処理装置における主要機能を
示した機能ブロック図である。十字キー12や機能キー
13の操作に応じて入力されるキー操作データは、入力
制御部14にて管理される。本実施形態では、後述する
操作モードであるマウスモードやキーボードモードに応
じて、それぞれマウス操作データ、仮想キーコードデー
タとして扱われる。制御部15は、装置全体の制御を司
る。キー操作管理部17は、管理テーブルに格納された
アプリケーションプログラム毎に十字キー12の各キー
に割り当てられる機能を参照して、十字キー12から入
力された入力イベントに応じた仮想キーコードを割り当
てたり、マウスモードの時にはマウス操作データとして
入力イベントに基づいたデータを受け取るよう制御部1
5を介して入力制御部14を制御する。アプリケーショ
ン実行部16は、アプリケーションプログラムの実行管
理を行うもので、現在実行中のアプリケーションプログ
ラムの管理や、キー操作管理部17によって操作モード
に応じた、入力イベントを入力制御部14から制御部1
5を介してアプリケーションプログラムに受け渡す処理
を行う。
FIG. 2 is a functional block diagram showing the main functions of the information processing apparatus. Key operation data input according to the operation of the cross key 12 or the function key 13 is managed by the input control unit 14. In the present embodiment, it is treated as mouse operation data and virtual key code data according to a mouse mode and a keyboard mode, which are operation modes described later. The control unit 15 controls the entire device. The key operation management unit 17 refers to the function assigned to each key of the cross key 12 for each application program stored in the management table, and assigns a virtual key code corresponding to an input event input from the cross key 12 or the like. , The control unit 1 to receive the data based on the input event as the mouse operation data in the mouse mode.
The input control unit 14 is controlled via 5. The application execution unit 16 manages the execution of the application program. The application execution unit 16 manages the application program that is currently being executed, and the input operation unit 14 controls the input event according to the operation mode by the key operation management unit 17.
The process of passing the data to the application program via the command line 5 is performed.

【0013】図3は、操作モードの設定処理を説明する
ための図である。図3(a)は、操作モード設定用のプ
ロパティ画面を開いて設定する場合を示している。操作
モード設定用のプロパティ画面20aには、マウスモー
ドを選択項目20bとキーボードモードを選択項目20
cが設けてあり、いずれか1つを選択できるように構成
されている。選択した設定内容で登録する場合は、「は
い」の項目20dを選択し、選択を中断する場合には
「いいえ」の項目20eを選択する。
FIG. 3 is a diagram for explaining the operation mode setting process. FIG. 3A shows a case where an operation mode setting property screen is opened for setting. On the property screen 20a for setting the operation mode, the mouse mode selection item 20b and the keyboard mode selection item 20 are selected.
c is provided, and either one can be selected. When registering with the selected setting contents, the item 20d of "Yes" is selected, and when the selection is interrupted, the item 20e of "No" is selected.

【0014】また、図3(b)は、タスクトレイアイコ
ンから操作モードを設定する場合を説明するための図で
ある。表示入力装置11の表示画面は、デスクトップ画
面11aとタスクバー領域11bから構成されている。
タスクバー領域11bは、常に表示されていても、マウ
スカーソルが接近したときに表示するようにしても良
い。現在、このタスクバー領域11bには、タスクトレ
イアイコンとして、操作モード設定アイコン21dとそ
の他の機能アイコン21fが表示されている。この様な
状態で、マウスカーソル21eを、タスクバー領域11
bの操作モード設定アイコン21dに合わせ、所定の操
作を行う(例えば、十字キーの確定キー12eを操作)
と、操作モード設定用のメニュー画面21aが表示され
る。このメニュー画面21aには、選択肢としてマウス
モード選択肢21bと、キーボードモード選択肢21c
の2つが用意されており、いずれか一つが選択できるよ
うになっている。現状では、マウスモード選択肢21b
の左側にチェックマークが付いており、マウスモードが
選択されている状態を示している。
FIG. 3B is a diagram for explaining a case where the operation mode is set from the task tray icon. The display screen of the display input device 11 is composed of a desktop screen 11a and a taskbar area 11b.
The task bar area 11b may be always displayed, or may be displayed when the mouse cursor approaches. Currently, in the task bar area 11b, an operation mode setting icon 21d and other function icons 21f are displayed as task tray icons. In this state, move the mouse cursor 21e to the taskbar area 11
Perform a predetermined operation in accordance with the operation mode setting icon 21d of b (for example, operate the confirm key 12e of the cross key).
Then, a menu screen 21a for setting the operation mode is displayed. This menu screen 21a has mouse mode options 21b and keyboard mode options 21c as options.
There are two, and either one can be selected. Currently, mouse mode option 21b
A check mark is attached on the left side of, indicating that the mouse mode is selected.

【0015】図3のような設定操作により操作モードの
設定が行われ、ここで設定された内容は、キー操作管理
部17で管理される記憶領域にモード管理情報として記
憶される。図5は、管理テーブル18の内容を説明する
ための図である。管理テーブルとして管理されている項
目としては、アプリケーションプログラム名項目22
a、十字キー12の割当て対象となるキー配置を示す項
目22b、22bで割当てられたキーを操作した際に出
力される仮想キーコードを示す項目22cからなる。こ
のように、複数のアプリケーションプログラムに対し
て、それぞれ十字キーの各キーと、操作した際に出力す
る仮想キーコードが対応付けられて管理されている。
The operation mode is set by the setting operation shown in FIG. 3, and the contents set here are stored as mode management information in the storage area managed by the key operation management unit 17. FIG. 5 is a diagram for explaining the contents of the management table 18. The items managed as the management table include the application program name item 22.
a, an item 22b indicating a key arrangement to which the cross key 12 is assigned, and an item 22c indicating a virtual key code output when the key assigned in 22b is operated. In this way, each of the plurality of application programs is managed in association with each key of the cross key and the virtual key code output when the key is operated.

【0016】図6は、アプリケーションプログラムに対
して、十字キーのキー操作割当て設定する際の操作を説
明するための図である。設定画面23は、次の項目から
構成されている。まず、キー割当てを行うアプリケーシ
ョンプログラムを設定する項目としては、アプリケーシ
ョンプログラム名を直接してしたり参照ファイルを表示
する設定項目23aと、ファイル一覧から所定のアプリ
ケーション実行プログラムを選択するための参照項目2
3bとで構成されている。続いて、十字キー12の各キ
ーに割当てる仮想キーコードを設定する項目23cがあ
り、左側の十字キー内容に対応して、右側に各キーに割
当てる仮想キーコードを選択する部分がある。この右側
の選択タブを操作することにより任意の仮想キーコード
を割当てることができる。設定内容を確認するための確
認用項目23d、23eが設けられており、設定内容で
登録する場合には項目23dを選択し、登録を止める時
には項目23eを選択する。このようにして、設定され
た内容は、管理テーブル18に保存される。
FIG. 6 is a diagram for explaining the operation for setting the key operation assignment of the cross key for the application program. The setting screen 23 is composed of the following items. First, as an item for setting an application program for key assignment, a setting item 23a for directly setting the application program name or displaying a reference file, and a reference item 2 for selecting a predetermined application execution program from the file list.
3b and. Then, there is an item 23c for setting a virtual key code to be assigned to each key of the cross key 12, and a portion for selecting a virtual key code to be assigned to each key is provided on the right side in correspondence with the content of the cross key on the left side. By operating the selection tab on the right side, an arbitrary virtual key code can be assigned. Confirmation items 23d and 23e for confirming the setting contents are provided. When registering the setting contents, the item 23d is selected, and when the registration is stopped, the item 23e is selected. The contents thus set are stored in the management table 18.

【0017】図4は、本発明におけるキー操作制御処理
に関するフローチャートである。まず、入力制御部14
は、十字キー12の操作イベントを検出する(ステップ
S10)。制御部15は、キー操作管理部で管理された
操作モードが記憶されているモード管理情報に基づい
て、現在の操作モードがマウスモードであるか否かの判
断を行う(ステップS11)。ここで、マウスモードに
設定されている場合には、処理はステップS17へ進
み、キーボードモードに設定されている場合には、処理
はステップS12へ進む。
FIG. 4 is a flowchart relating to the key operation control processing according to the present invention. First, the input control unit 14
Detects an operation event of the cross key 12 (step S10). The control unit 15 determines whether or not the current operation mode is the mouse mode based on the mode management information in which the operation mode managed by the key operation management unit is stored (step S11). If the mouse mode is set, the process proceeds to step S17, and if the keyboard mode is set, the process proceeds to step S12.

【0018】操作モードがキーボードモードに設定され
ている場合には、アプリケーション実行部16で管理さ
れている現在アクティブなアプリケーションプログラム
を検索する(ステップS12)。続いて、アプリケーシ
ョン実行部16では、アクティブなアプリケーションプ
ログラムが、キーボードモードでのキー操作割当が行わ
れているプログラムであるかの判定を管理テーブル18
を参照して行われる。
When the operation mode is set to the keyboard mode, the currently active application program managed by the application execution unit 16 is searched (step S12). Subsequently, the application execution unit 16 determines whether or not the active application program is a program to which key operation assignment is performed in the keyboard mode.
Is done with reference to.

【0019】既に管理テーブル18として登録されたも
のであった場合は、処理はステップS14へ進み、登録
されていない場合はステップS16の処理へ進む。管理
テーブル18に登録されたアプリケーションプログラム
であった場合には、入力制御部14は管理テーブル18
の内容に基づいて、登録されたアプリケーションプログ
ラムと検知した十字キーイベントの種類から割当てられ
ている仮想キーコードをマッピングする(ステップS1
4)。一方、登録されていない場合は、入力制御部14
は、デフォルトの仮想キーコードをマッピングする(ス
テップS16)。続いて、入力制御部14でマッピング
されたキーボードイベントは、制御部15を介してアプ
リケーション実行部16へ渡され、現在実行中のアプリ
ケーションプログラムに渡される(ステップS15)。
If it is already registered as the management table 18, the process proceeds to step S14, and if it is not registered, the process proceeds to step S16. When the application program is registered in the management table 18, the input control unit 14 sets the management table 18
Based on the contents of the above, the virtual key code assigned from the registered application program and the detected cross key event type is mapped (step S1).
4). On the other hand, if not registered, the input control unit 14
Maps the default virtual key code (step S16). Subsequently, the keyboard event mapped by the input control unit 14 is passed to the application execution unit 16 via the control unit 15 and passed to the application program currently being executed (step S15).

【0020】処理ステップS11において、操作モード
がマウスモードに設定されていた場合には、入力制御部
14は、十字キーのイベントの種類からマウスイベント
としてマッピングする(ステップS17)。入力制御部
14でマッピングされたマウスイベントは、制御部15
を介してアプリケーション実行部16へ渡され、現在実
行中のアプリケーションプログラムに渡される(ステッ
プS18)。
In the processing step S11, if the operation mode is set to the mouse mode, the input control section 14 maps the event type of the cross key as a mouse event (step S17). The mouse event mapped by the input control unit 14 is controlled by the control unit 15.
Is passed to the application execution unit 16 via the, and passed to the application program currently being executed (step S18).

【0021】続いて、図7を参照して具体的な操作例に
ついて説明する。図7は、所定のアプリケーションプロ
グラムにおける操作モードに応じたイベント処理制御を
説明するための図である。図7(a)は、アプリケーシ
ョンプログラムを実行した際に、複数の選択項目が画面
に表示された状態である。表示入力装置11の表示画面
には、アプリケーションプログラムに対応したウインド
ウ24aが表示され、このウインドウ内に選択項目が6
つ表示されている。ここで、操作モードとしてマウスモ
ードが設定されている場合には、十字キー12の操作に
よりマウスイベントが出力されマウスカーソル24cを
任意の位置に移動させて、例えば、十字キー12の確定
キー12eを操作することにより、起動中のアクティブ
アプリケーションプログラムはカーソル位置の項目を実
行することになる。
Next, a specific operation example will be described with reference to FIG. FIG. 7 is a diagram for explaining event processing control according to an operation mode in a predetermined application program. FIG. 7A shows a state in which a plurality of selection items are displayed on the screen when the application program is executed. On the display screen of the display input device 11, a window 24a corresponding to the application program is displayed, and the selection item is 6 in this window.
Is displayed. Here, when the mouse mode is set as the operation mode, a mouse event is output by operating the cross key 12, and the mouse cursor 24c is moved to an arbitrary position. For example, the confirmation key 12e of the cross key 12 is pressed. By the operation, the active application program being activated executes the item at the cursor position.

【0022】続いて、図7(b)は、アプリケーション
プログラムとして、音楽再生アプリを起動した際の操作
パネル25が表示入力装置11の表示画面に表示された
状態を示す。この操作パネル25には、音楽再生状況を
示す状態表示領域25a、再生中のトラック番号を表示
する領域25b、再生時間を表示する領域25cと共
に、操作ボタンとして停止ボタン25d、再生ボタン2
5e、前トラック指示ボタン25f、次トラック指示ボ
タン25gが用意されている。この音楽再生アプリ(図
5では、アプリケーションB)に対して、管理テーブル
18として図5に示された内容で仮想キーコードが割当
てられているとする。さらに操作モードとしてキーボー
ドモードが設定されているとする。十字キー12の上キ
ー12aには仮想キーコードとして[再生]キーが割当
てられ、上キー12aを操作することにより再生ボタン
25eが操作された場合と同様な処理を実行する。以
下、同様にして下キー12d、左キー12b、右キー1
2cには、それぞれ[停止]キー、[前トラック]キ
ー、[次トラック]キーの仮想キーコードが割当てられ
ることになる。
Next, FIG. 7B shows a state in which the operation panel 25 is displayed as the application program on the display screen of the display input device 11 when the music reproduction application is activated. The operation panel 25 includes a status display area 25a showing a music reproduction status, an area 25b showing a track number being reproduced, an area 25c showing a reproduction time, and a stop button 25d and a reproduction button 2 as operation buttons.
5e, a previous track instruction button 25f, and a next track instruction button 25g are prepared. It is assumed that a virtual key code having the content shown in FIG. 5 as the management table 18 is assigned to this music reproduction application (application B in FIG. 5). Further, it is assumed that the keyboard mode is set as the operation mode. A [replay] key is assigned to the up key 12a of the cross key 12 as a virtual key code, and the same process as when the replay button 25e is operated by operating the up key 12a is executed. Thereafter, similarly, the down key 12d, the left key 12b, the right key 1
Virtual key codes of a [stop] key, a [previous track] key, and a [next track] key are assigned to 2c, respectively.

【0023】この様に、操作モードを指定することで、
各種アプリケーションプログラムに応じて十字キーに割
当てられたイベントを自由に割当てることができ、ユー
ザにとって情報処理装置の操作性が向上することにな
る。
By thus designating the operation mode,
The event assigned to the cross key can be freely assigned according to various application programs, and the operability of the information processing apparatus is improved for the user.

【0024】上記実施形態では、十字キーの一つのキー
に仮想キーコードを一つ対応させるようにしているが、
対応させる仮想キーコードは一つに限らず複数対応させ
るようにしても良い。例えば、十字キーの上キーに仮想
キーコード[A]キー及び[Enter]キーを対応さ
せると言った具合となる。
In the above embodiment, one virtual key code is made to correspond to one key of the cross key,
The virtual key code to be associated is not limited to one, but a plurality of virtual key codes may be associated. For example, the upper key of the cross key is made to correspond to the virtual key code [A] key and the [Enter] key.

【0025】さらに、上記実施形態では、アプリケーシ
ョンプログラムに対して操作キーの仮想キーコードを対
応付ける点について説明したが、アプリケーションプロ
グラム単位ではなく、情報処理装置を起動させた際に共
通に切替えるためにマクロを設定したり、プロファイル
を設定することで、操作キーに対する仮想キーコードを
変更させるようにしてもよい。この場合は、マクロやプ
ロファイルとして、図6に示すのと同様な手法によって
複数設定登録させてもよい。
Further, in the above embodiment, the virtual key code of the operation key is made to correspond to the application program. However, the macro is not used for each application program but is changed in common when the information processing apparatus is activated. May be set or a profile may be set to change the virtual key code for the operation key. In this case, a plurality of macros and profiles may be set and registered by the same method as shown in FIG.

【0026】次に、他の実施の形態について説明する。
先の実施形態では、操作モードとしてキーボードモード
が設定されている場合、予め管理テーブル18に登録さ
れた内容に基づいて仮想キーボードをマッピングする点
について説明した。この実施形態では、アプリケーショ
ンプログラムより所定のルーチンを実行する際に可変的
に仮想キーコードを設定する点について説明する。図8
は、アプリケーションプログラム内の所定ルーチン毎に
異なるキーイベントの設定を行う点を説明するための図
である。アプリケーションプログラム30には、マッピ
ング情報A(30a)は、ルーチンaに対してキー操作
を上下左右として割当てるように設定するための情報で
ある。同様に、マッピング情報B(30b)は、ルーチ
ンbに対してキー操作をABCDの文字を割当てるよう
に設定するための情報である。本アプリケーションプロ
グラムが実行され、所定のルーチンでインタフェースを
コールすると、十字キーの各キーに割当てるキーイベン
トを入力制御部14に渡す。入力制御部では、十字キー
12の操作状態に応じて、アプリケーションプログラム
30から得たキーイベントに基づいて、仮想キーコード
をマッピングすることになる。そして、入力制御部14
でマッピングされたキーボードイベントは、それ以降、
十字キー12が操作されると十字キーのキーボードイベ
ントに基づいて、制御部15を介してアプリケーション
実行部16へ渡され、現在実行中のアプリケーションプ
ログラムに渡される。
Next, another embodiment will be described.
In the above embodiment, when the keyboard mode is set as the operation mode, the virtual keyboard is mapped based on the contents registered in the management table 18 in advance. In this embodiment, the point of variably setting a virtual key code when executing a predetermined routine from an application program will be described. Figure 8
FIG. 6 is a diagram for explaining that different key events are set for each predetermined routine in the application program. In the application program 30, the mapping information A (30a) is information for setting that key operations are assigned to the routine a as up, down, left and right. Similarly, the mapping information B (30b) is information for setting the key operation for the routine b so as to assign the letters ABCD. When this application program is executed and the interface is called by a predetermined routine, the key event assigned to each key of the cross key is passed to the input control unit 14. The input control unit maps the virtual key code based on the key event obtained from the application program 30 according to the operation state of the cross key 12. Then, the input control unit 14
The keyboard event mapped by
When the cross key 12 is operated, it is passed to the application execution unit 16 via the control unit 15 based on a keyboard event of the cross key, and is passed to the application program currently being executed.

【0027】このようにして、アプリケーションプログ
ラム内でも任意のルーチンでマッピングにインタフェー
スをコールすることによりキーボードイベントを可変さ
せることも可能になり、ユーザにとってより操作性が向
上することになる。
In this way, it is possible to change the keyboard event by calling the interface for mapping in any routine in the application program, and the operability is further improved for the user.

【0028】[0028]

【発明の効果】このようにして、操作モードを指定する
ことにより各種アプリケーションプログラムに応じてキ
ーイベント処理を可変させることができるようになり、
ユーザにとって操作性が向上する。さらに、キーボード
イベントをユーザが任意に設定できると共に、一つのア
プリケーションでも処理ルーチン別にキーボードイベン
トを自由に設定することもできるので、ユーザにとって
更に利便性が増すことなる。
As described above, by designating the operation mode, the key event processing can be changed according to various application programs.
Operability is improved for the user. Further, since the user can arbitrarily set the keyboard event and even one application can freely set the keyboard event for each processing routine, the convenience is further increased for the user.

【図面の簡単な説明】[Brief description of drawings]

【図1】 情報処理装置の外観を示す図。FIG. 1 is a diagram showing an appearance of an information processing device.

【図2】 情報処理装置の機能ブロック図。FIG. 2 is a functional block diagram of the information processing device.

【図3】 操作モードの設定を説明するための図。FIG. 3 is a diagram for explaining setting of operation modes.

【図4】 キー操作制御処理に関するフローチャート。FIG. 4 is a flowchart relating to key operation control processing.

【図5】 管理テーブルの内容を示す図。FIG. 5 is a diagram showing the contents of a management table.

【図6】 キー操作割当て設定を説明するための図。FIG. 6 is a diagram for explaining key operation assignment setting.

【図7】 操作モードに応じたイベント処理を説明する
ための図。
FIG. 7 is a diagram for explaining event processing according to an operation mode.

【図8】 他の実施形態を説明するための図。FIG. 8 is a diagram for explaining another embodiment.

【符号の説明】[Explanation of symbols]

10 情報処理装置 11 表示入力装置 12 十字キー 13 機能キー 14 入力制御部 15 制御部 16 アプリケーション実行部 17 キー操作管理部 18 管理テーブル 10 Information processing equipment 11 Display input device 12 cross key 13 Function key 14 Input control section 15 Control unit 16 Application Execution Unit 17 Key operation management section 18 management table

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 操作キーと、 該操作キーに対する操作モードを設定するためのモード
設定手段と、 このモード設定手段により設定された操作モードに応じ
て、前記操作キーで発生した操作イベントを所定のデー
タイベントに割当てる手段と、 割当てられたデータイベントをアプリケーションプログ
ラムに受け渡す手段とを具備したことを特徴とする情報
処理装置。
1. An operation key, a mode setting means for setting an operation mode for the operation key, and an operation event generated by the operation key according to the operation mode set by the mode setting means. An information processing apparatus comprising: means for allocating a data event, and means for transferring the allocated data event to an application program.
【請求項2】 前記操作モードは、操作イベントとして
マウスイベントを発生するマウスモードと、操作イベン
トとして仮想キーコードを発生するキーボードモードと
し、 前記割当て手段は、操作モードがマウスモードに設定さ
れている場合には、前記操作キーで発生した操作イベン
トをマウスイベントとして割当て、また操作モードがキ
ーボードモードに設定されている場合には、前記操作キ
ーで発生した操作イベントを仮想キーコードイベントと
して割当てることを特徴とする請求項1記載の情報処理
装置。
2. The operation mode includes a mouse mode in which a mouse event is generated as an operation event and a keyboard mode in which a virtual key code is generated as an operation event, and the allocation unit is set to the mouse mode as an operation mode. In this case, the operation event generated by the operation key may be assigned as a mouse event, and if the operation mode is set to the keyboard mode, the operation event generated by the operation key may be assigned as a virtual key code event. The information processing apparatus according to claim 1, which is characterized in that.
【請求項3】 アプリケーションプログラムに応じて前
記操作キーに対する仮想キーコードを割当てた管理テー
ブルを更に有し、 アプリケーションプログラムに対応させて前記操作キー
に対する仮想キーコードの割当てを行うキー割当て設定
手段と、 この設定手段により設定された内容を前記管理テーブル
として記憶する手段とを具備したことを特徴とする請求
項1乃至2いずれか記載の情報処理装置。
3. A key assignment setting means for assigning a virtual key code to the operation key according to an application program, further comprising a management table to which a virtual key code is assigned to the operation key according to an application program. 3. The information processing apparatus according to claim 1, further comprising: a unit that stores the contents set by the setting unit as the management table.
【請求項4】 操作キーと、 アプリケーションプログラムより送られてきた前記操作
キーに対応する仮想キーコードの割当て情報を受け取
り、前記操作キーを操作することによって発生する操作
イベントを前記受け取った仮想キーコードイベントに割
当てる手段と、 割当てられたデータイベントをアプリケーションプログ
ラムに受け渡す手段とを具備したことを特徴とする情報
処理装置。
4. The operation key and the allocation information of the virtual key code corresponding to the operation key sent from the application program are received, and the operation event generated by operating the operation key is the received virtual key code. An information processing apparatus comprising means for allocating an event and means for delivering the allocated data event to an application program.
【請求項5】 操作キーを備えた情報処理装置における
キー操作制御方法において、 前記操作キーに対する操作モードを設定し、 この設定された操作モードに応じて、前記操作キーで発
生した操作イベントを所定のデータイベントに割当て、 この割当てられたデータイベントをアプリケーションプ
ログラムに受け渡す手段とを具備したことを特徴とする
情報処理装置におけるキー操作制御方法。
5. A key operation control method in an information processing apparatus having an operation key, wherein an operation mode for the operation key is set, and an operation event generated by the operation key is predetermined according to the set operation mode. And a means for delivering the allocated data event to an application program.
【請求項6】 前記操作モードは、操作イベントとして
マウスイベントを発生するマウスモードと、操作イベン
トとして仮想キーコードを発生するキーボードモードと
し、 前記割当て処理は、操作モードがマウスモードに設定さ
れている場合には、前記操作キーで発生した操作イベン
トをマウスイベントとして割当て、また操作モードがキ
ーボードモードに設定されている場合には、前記操作キ
ーで発生した操作イベントを仮想キーコードイベントと
して割当てることを特徴とする請求項5記載の情報処理
装置におけるキー操作制御方法。
6. The operation mode includes a mouse mode in which a mouse event is generated as an operation event and a keyboard mode in which a virtual key code is generated as an operation event, and in the allocation processing, the operation mode is set to the mouse mode. In this case, the operation event generated by the operation key may be assigned as a mouse event, and if the operation mode is set to the keyboard mode, the operation event generated by the operation key may be assigned as a virtual key code event. The key operation control method in the information processing apparatus according to claim 5.
【請求項7】 アプリケーションプログラムに対応させ
て前記操作キーに対する仮想キーコードの割当てを行う
キー割当て設定手段と、 設定された内容をアプリケーションプログラムに応じた
操作キーに対する仮想キーコードを割当てた管理テーブ
ルに記憶させることを特徴とする請求項5乃至6記載の
情報処理装置におけるキー操作制御方法。
7. A key assignment setting means for assigning a virtual key code to the operation key corresponding to an application program, and a set content in a management table to which a virtual key code is assigned to the operation key according to the application program. 7. The key operation control method in the information processing device according to claim 5, wherein the key operation control method is stored.
【請求項8】 操作キーを備えた情報処理装置における
キー操作制御方法において、 アプリケーションプログラムより送られてきた前記操作
キーに対応する仮想キーコードの割当て情報を受け取
り、前記操作キーを操作することによって発生する操作
イベントを前記受け取った仮想キーコードイベントに割
当て、 割当てられたデータイベントをアプリケーションプログ
ラムに受け渡すことを特徴とする情報処理装置における
キー操作制御方法。
8. A key operation control method in an information processing apparatus having an operation key, comprising: receiving allocation information of a virtual key code corresponding to the operation key sent from an application program, and operating the operation key. A key operation control method in an information processing apparatus, wherein an operation event that occurs is assigned to the received virtual key code event, and the assigned data event is passed to an application program.
JP2002052776A 2002-02-28 2002-02-28 Information processor and key operation control method for information processor Pending JP2003256112A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002052776A JP2003256112A (en) 2002-02-28 2002-02-28 Information processor and key operation control method for information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002052776A JP2003256112A (en) 2002-02-28 2002-02-28 Information processor and key operation control method for information processor

Publications (1)

Publication Number Publication Date
JP2003256112A true JP2003256112A (en) 2003-09-10

Family

ID=28664382

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002052776A Pending JP2003256112A (en) 2002-02-28 2002-02-28 Information processor and key operation control method for information processor

Country Status (1)

Country Link
JP (1) JP2003256112A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011525658A (en) * 2008-06-16 2011-09-22 クゥアルコム・インコーポレイテッド Method and system for revealing function assignments on a fixed keypad
JP2013162366A (en) * 2012-02-06 2013-08-19 Konica Minolta Inc Image formation device, operation standardization method, and operation standardization program
JP2014042203A (en) * 2012-08-23 2014-03-06 Konica Minolta Inc Image forming apparatus, application changeover method, and application changeover program
JP2019212212A (en) * 2018-06-08 2019-12-12 Dynabook株式会社 Electronic instrument, key code generation method and program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011525658A (en) * 2008-06-16 2011-09-22 クゥアルコム・インコーポレイテッド Method and system for revealing function assignments on a fixed keypad
JP2013162366A (en) * 2012-02-06 2013-08-19 Konica Minolta Inc Image formation device, operation standardization method, and operation standardization program
JP2014042203A (en) * 2012-08-23 2014-03-06 Konica Minolta Inc Image forming apparatus, application changeover method, and application changeover program
CN103634498A (en) * 2012-08-23 2014-03-12 柯尼卡美能达株式会社 Image forming apparatus and application switching method
JP2019212212A (en) * 2018-06-08 2019-12-12 Dynabook株式会社 Electronic instrument, key code generation method and program
JP7118758B2 (en) 2018-06-08 2022-08-16 Dynabook株式会社 ELECTRONIC DEVICE, KEYCODE GENERATING METHOD AND PROGRAM

Similar Documents

Publication Publication Date Title
US9483172B2 (en) Information processing device, information processing method, and computer-readable recording medium which records program
CN102841804B (en) Method and device for processing multiple foreground tasks on screen
KR20130080179A (en) Method and apparatus for managing icon in portable terminal
CN107508961A (en) A kind of active window starts method, terminal and computer-readable recording medium
JP5249686B2 (en) Information processing apparatus and program
JPH0822370A (en) Information processor
KR102095912B1 (en) Operating Method of Secure Indicator and Electronic Device supporting the same
KR100764763B1 (en) Custom menu composition method
JP2010066835A (en) Information processing apparatus and program
JP5155786B2 (en) Information processing apparatus and program
JP2003256112A (en) Information processor and key operation control method for information processor
JP2000089892A (en) Display controller, display control method and storage medium
JPH11272384A (en) Screen controller and storage medium
JP2002341990A (en) Information processor, control program of information processor, and storage medium in which the control program is stored
CN106775237B (en) Control method and control device of electronic equipment
EP1766512A1 (en) Command interaction mapping in a computing device
KR20150123922A (en) Engineering tool
KR100389825B1 (en) Data terminal equipment having touch screen key as a soft hot key and method thereof
KR20020061958A (en) Method for displaying a multi vision using one more personal data assistant
JP2002251289A (en) Information terminal equipment and program provided with program changeover control function
KR20030086123A (en) User interface method for portable communication terminal
JP2007299233A (en) Customizing device, customizing method, and customizing program
JP2000003240A (en) Display method and device
JP2001014260A (en) Input controller and recording medium
JP2020018402A (en) Program and game device