JPH09106324A - Touch panel device - Google Patents

Touch panel device

Info

Publication number
JPH09106324A
JPH09106324A JP28820395A JP28820395A JPH09106324A JP H09106324 A JPH09106324 A JP H09106324A JP 28820395 A JP28820395 A JP 28820395A JP 28820395 A JP28820395 A JP 28820395A JP H09106324 A JPH09106324 A JP H09106324A
Authority
JP
Japan
Prior art keywords
key
pattern
coordinate
pressed
data storage
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
JP28820395A
Other languages
Japanese (ja)
Inventor
Toshio Sano
俊夫 佐野
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP28820395A priority Critical patent/JPH09106324A/en
Publication of JPH09106324A publication Critical patent/JPH09106324A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Position Input By Displaying (AREA)

Abstract

PROBLEM TO BE SOLVED: To establish a pressed key number by using less storage area while the storage area of a large volume is required for the method of allocating the key numbers to the respective coordinates of the coordinates xy and establishing the pressed key number or the like. SOLUTION: A key establishing part 11 specifies the number of a key pattern stored in a key specifying data storage part 2 from the coordinate value of the y-coordinate of a pressed key on a touch panel 6. The key establishing part 11 checks the presence/absence of the allocation of a valid key from the coordinate value of the x-coordinate of the pressed key and the specified key pattern. When the valid key is allocated, the key establishing part 11 adds an offset value stored in the key specifying data storage part 2 to the relative value of the position of the pressed x-coordinate of the specified key pattern and establishes the key number.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明はタッチパネル装
置、特に押下されたキー番号を確定するために用いる記
憶容量の低減に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a touch panel device, and more particularly to reduction of a storage capacity used for determining a pressed key number.

【0002】[0002]

【従来の技術】タッチパネル装置で押下されたキー番号
を確定するには、各キーの形状からキーが割り当てられ
ている座標を算出し、全ての有効キーについての座標と
押下された座標と比較し一致したところでキー番号を確
定する方法、上記方法において予めタッチパネルを所定
のブロックに分割し上記比較回数を少なくする方法、及
び、タッチパネル上の各ドットに対応するキー番号を割
付けておき押下された座標からキー番号を確定する方法
がある。
2. Description of the Related Art To determine the key number pressed on a touch panel device, the coordinates to which the key is assigned are calculated from the shape of each key, and the coordinates for all valid keys are compared with the pressed coordinates. A method of determining the key number when they match, a method of dividing the touch panel into predetermined blocks in advance in the above method to reduce the number of comparisons, and a key number corresponding to each dot on the touch panel and assigned coordinates There is a method to confirm the key number from.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、キーの
形状からキー座標を算出する方法では演算に時間がかか
る。例えば、単に四角いキーのキー番号を確定する場合
であってもキーを構成する座標ごとにかなりの回数比較
をしなければならないので比較に時間がかかる。特にキ
ー形状が複雑であると演算時間はさらに増える。
However, in the method of calculating the key coordinates from the shape of the key, the calculation takes time. For example, even when the key number of a square key is simply determined, it takes a lot of time because comparison has to be performed a considerable number of times for each coordinate forming the key. Especially, if the key shape is complicated, the calculation time further increases.

【0004】また、座標xyの各ドットにキー番号を割
り当てる方法は大量の記憶容量を必要とする。
Further, the method of assigning a key number to each dot of coordinates xy requires a large amount of storage capacity.

【0005】この発明はかかる短所を解消するためにな
されたものであり、タッチパネルをx座標からなるいく
つかのパターンにまとめることにより、押下されたキー
の確定のための記憶域の減少を図ることを目的とする。
The present invention has been made in order to solve the above disadvantages, and aims to reduce the storage area for determining the pressed key by arranging the touch panel into some patterns composed of x coordinates. With the goal.

【0006】[0006]

【課題を解決するための手段】この発明に係るタッチパ
ネル装置は、xy座標で押下された位置を特定するタッ
チパネルとキー特定データ記憶部とキー確定部を備え、
キー特定データ記憶部はタッチパネルのx座標上の位置
における有効キーの割当の有無と割り当てた有効キーの
番号のx座標上における最小キー番号を基準とした相対
値とを複数のパターンにまとめたキーパターンと、y座
標の各座標値に対応するキーパターンのパターン番号と
を記憶して、押下された座標上の有効キーの割当の有無
を判断できるようにする。
A touch panel device according to the present invention comprises a touch panel for identifying a position pressed by xy coordinates, a key identification data storage section, and a key determination section.
The key specific data storage unit is a key in which a plurality of patterns are combined into a plurality of patterns that indicate whether or not a valid key is assigned at a position on the x-coordinate of the touch panel and the relative value of the assigned valid key number based on the minimum key number on the x-coordinate. The pattern and the pattern number of the key pattern corresponding to each coordinate value of the y coordinate are stored so that it is possible to determine whether or not the valid key on the pressed coordinate is assigned.

【0007】また、キー特定データ記憶部はy座標の座
標値に対応するキーパターンで表わされるx座標軸上の
位置におけるキー番号の相対値と実際のキー番号との差
を記憶し、キー確定部は押下されたキーのy座標の座標
値からキー特定データ記憶部に記憶したキーパターンの
パターン番号を特定し、押下されたキーのx座標の座標
値と特定したキーパターンから座標に割り当てられた有
効キーの有無を調べ、有効キーが割り当てられていると
特定したキーパターンのx軸上の押下された位置の有効
キーの番号の相対値にキー特定データ記憶部に記憶した
オフセット値を加算して押下されたキー番号を確定す
る。
The key specifying data storage unit stores the difference between the relative key number at the position on the x coordinate axis represented by the key pattern corresponding to the coordinate value of the y coordinate and the actual key number, and the key determining unit. Specifies the pattern number of the key pattern stored in the key specification data storage unit from the coordinate value of the y coordinate of the pressed key, and is assigned to the coordinate value of the x coordinate of the pressed key and the specified key pattern. The presence or absence of a valid key is checked, and the offset value stored in the key specific data storage section is added to the relative value of the number of the valid key at the pressed position on the x-axis of the key pattern identified as having the valid key assigned. Confirm the key number that was pressed.

【0008】さらに、キー特定データ記憶部は押下され
たキー番号を変換するときの各キー番号の変換値を予め
記憶し、キー確定部は押下されたキー座標とキー特定デ
ータ記憶部に記憶したデータを基に押下されたキー番号
を仮に確定し、仮に確定したキー番号と予めキー特定デ
ータ記憶部に記憶した各キー番号の変換値を基に実際に
押下されたキーを確定して、キー番号の差が異なる場合
であっても同一パターンで表わして、パターン化をさら
に進める。
Further, the key specifying data storage unit stores in advance the conversion value of each key number when converting the pressed key number, and the key confirming unit stores the pressed key coordinates and the key specifying data storage unit. Temporarily confirms the key number that was pressed based on the data, and confirms the key that was actually pressed based on the temporarily determined key number and the conversion value of each key number stored in the key specific data storage unit in advance. Even if the numbers differ, they are represented by the same pattern and the patterning is further advanced.

【0009】さらに、キー特定データ記憶部はタッチパ
ネルをy座標軸に沿って分割した複数のブロック毎にキ
ーパターンを記憶して、パターン化しにくい複雑な画面
でも容易にパターン化できるようにする。
Further, the key specific data storage unit stores a key pattern for each of a plurality of blocks obtained by dividing the touch panel along the y-coordinate axis so that a complicated screen that is difficult to pattern can be easily patterned.

【0010】さらに、キー特定データ記憶部は複数の画
面で共通なキーパターンを記憶して、キー番号の確定に
必要な記憶容量が画面の数が増加すると同じ割合で増加
することを防止する。
Further, the key specific data storage unit stores a key pattern common to a plurality of screens, and prevents the storage capacity required for determining the key number from increasing at the same rate as the number of screens increases.

【0011】[0011]

【発明の実施の形態】この発明のタッチパネル装置は、
xy座標で押下された位置を特定するタッチパネルとキ
ー特定データ記憶部とキー確定部を備え、タッチパネル
をx座標で表わす複数のキーパターンにまとめることに
より、押下されたキーの確定のために必要な記憶域を少
なくするものである。
BEST MODE FOR CARRYING OUT THE INVENTION The touch panel device of the present invention is
A touch panel for specifying the pressed position in xy coordinates, a key specification data storage unit, and a key determination unit are provided, and the touch panel is grouped into a plurality of key patterns expressed in x coordinates, which is necessary for determining the pressed key. It reduces storage space.

【0012】タッチパネルをy座標軸方向にy座標軸の
座標単位に分割し、タッチパネルをx軸のみの1次元座
標で表わした複数のパネル(以後、「x軸パネル」とい
う。)に分割する。各x軸パネルでは、例えば有効キー
がない位置をゼロで表わし、有効キーがある位置をゼロ
以外の整数で表わして、各x軸パネルはx座標上の各位
置に有効キーがあるか否かを表わす。ここで、x座標上
に割り当てられたキー番号はそれぞれ異なる場合がある
ので、上記ゼロ以外の整数で各キーに割り当てられた番
号でx座標上における最小キー番号を基準とした相対値
を表わすようにする。例えば、最も少ないキー番号が割
り当てられた位置を「1」で表わし、それ以外の位置の
キー番号を最も少ないキー番号との差に「1」を加算し
た数で表わす。これにより、有効キーがタッチパネル上
で規則的にならんでいる場合に一種類のパターンで複数
の有効キーを表わすことができ、同一のパターンをもつ
x軸パネルをいくつかの代表的パターンにまとめること
ができる。以後、この代表的パターンを「キーパター
ン」という。タッチパネル装置ではこのキーパターンを
キー特定データ記憶部に記憶する。
The touch panel is divided in the y-coordinate axis direction in units of y-coordinate axes, and the touch panel is divided into a plurality of panels (hereinafter referred to as "x-axis panels") represented by one-dimensional coordinates of only the x-axis. In each x-axis panel, for example, a position without a valid key is represented by zero, a position with a valid key is represented by an integer other than zero, and each x-axis panel determines whether or not there is a valid key at each position on the x coordinate. Represents Here, since the key numbers assigned on the x-coordinate may be different from each other, an integer other than zero is used to represent a relative value based on the minimum key number on the x-coordinate. To For example, the position to which the smallest key number is assigned is represented by "1", and the key numbers at other positions are represented by the number obtained by adding "1" to the difference from the smallest key number. This allows multiple valid keys to be represented by one type of pattern when the valid keys are regularly arranged on the touch panel, and an x-axis panel having the same pattern can be grouped into several typical patterns. You can Hereinafter, this typical pattern is referred to as a "key pattern". The touch panel device stores this key pattern in the key specific data storage unit.

【0013】また、キー特定データ記憶部は上記キーパ
ターンを割り出すデータとして、y座標の各座標値に対
応するキーパターンのパターン番号をキー特定データ記
憶部に記憶する。これにより、キーパターンを特定し、
x座標上の位置から有効キーの有無を判断できる。この
ままでは、有効キーの有無とキー番号の相対値は分かる
が押下されたキー番号が分からないので、y座標の座標
値に応じてキーパターンに記憶した各キー番号の相対値
と実際のキー番号との差をキー特定データ記憶部に記憶
する。例えば、キーパターンに記憶した最も少ないキー
番号に割り当てた数と実際のキー番号との差の値(以
後、「オフセット値」という。)をキー特定データ記憶
部に記憶する。
Further, the key identification data storage unit stores the pattern number of the key pattern corresponding to each coordinate value of the y coordinate in the key identification data storage unit as data for indexing the key pattern. This will identify the key pattern,
The presence or absence of a valid key can be determined from the position on the x coordinate. As it is, the existence of an effective key and the relative value of the key number are known, but the pressed key number is not known, so the relative value of each key number stored in the key pattern according to the coordinate value of the y coordinate and the actual key number. The difference between and is stored in the key identification data storage unit. For example, the value of the difference between the number assigned to the smallest key number stored in the key pattern and the actual key number (hereinafter referred to as “offset value”) is stored in the key specific data storage unit.

【0014】上記データをキー特定データ記憶部に記憶
することにより、キー確定部は押下されたキーのy座標
の座標値とキー特定データ記憶部に記憶したパターン特
定データからキーパターンを特定し、押下されたキーの
x座標の座標値と特定したキーパターンから座標に割り
当てられた有効キーの有無を調べ、有効キーが割り当て
られているとキーパターンのx軸上の位置の有効キーの
番号の相対値にキー特定データ記憶部に記憶したオフセ
ット値を加算して押下されたキーの番号を確定すること
ができる。
By storing the above data in the key specifying data storage unit, the key determining unit specifies the key pattern from the coordinate value of the y coordinate of the depressed key and the pattern specifying data stored in the key specifying data storage unit, The presence or absence of a valid key assigned to the coordinate is checked from the coordinate value of the pressed key on the x coordinate and the specified key pattern. If a valid key is assigned, the number of the valid key at the position on the x axis of the key pattern is checked. The offset value stored in the key identification data storage unit can be added to the relative value to determine the number of the pressed key.

【0015】さらに、キー特定データ記憶部は押下され
たキー番号を他のキー番号に変換するときの各キー番号
の変換値を予め記憶し、キー確定部は押下されたキー座
標とキー特定データ記憶部に記憶したデータを基に押下
されたキー番号を仮に確定し、仮に確定したキー番号と
予めキー特定データ記憶部に記憶したキー番号の変換値
を基に実際に押下されたキーを特定することで、割り当
てられたキー番号の差分が異なる場合であっても、キー
番号を仮確定した後に実際のキー番号に変換することが
でき同一パターンで表わすことができるので、パターン
化をさらに進めることができる。
Further, the key specifying data storage section stores in advance the conversion value of each key number when converting the pressed key number into another key number, and the key determining section stores the pressed key coordinates and the key specifying data. The pressed key number is temporarily determined based on the data stored in the storage unit, and the actually pressed key is specified based on the temporarily determined key number and the conversion value of the key number stored in advance in the key identification data storage unit. By doing so, even if the difference between the assigned key numbers is different, the key numbers can be converted to actual key numbers after being provisionally fixed and can be represented by the same pattern. be able to.

【0016】さらに、キー特定データ記憶部はタッチパ
ネルをy座標軸に沿って複数のブロックに分割したブロ
ック毎にキーパターンを記憶するして、キーの配置が複
雑でパターン化が困難な場合であってもブロック毎に分
割することにより容易にパターン化できるようにする。
Further, the key specific data storage unit stores a key pattern for each block obtained by dividing the touch panel into a plurality of blocks along the y-coordinate axis, so that the key arrangement is complicated and difficult to pattern. Also, it is possible to easily form a pattern by dividing each block.

【0017】さらに、複数の画面を備える場合に、各画
面で共通なキーパターンを記憶するので、重複したキー
パターンを記憶する必要がなく、複数の画面を備えた場
合であっても画面の数に比例して、キー特定データ記憶
部に必要な記憶容量が増加することを防止する。
Furthermore, when a plurality of screens are provided, a common key pattern is stored in each screen, so there is no need to store duplicate key patterns, and even if a plurality of screens are provided, the number of screens is increased. The storage capacity required for the key specific data storage unit is prevented from increasing in proportion to.

【0018】[0018]

【実施例】図1はこの発明の一実施例のタッチパネル装
置の構成図である。図に示すように、タッチパネルは主
制御部1、キー特定データ記憶部2、画面記憶部3、R
OM4、RAM5、タッチパネル6及び表示部7を有す
る。主制御部1はROM4に記憶したプログラム等に従
ってタッチパネル装置全体の動作を制御する部分で、キ
ー確定部11を備える。キー特定データ記憶部2はxy
座標で押下された位置を表わすタッチパネル6のx座標
上の位置における有効キーの割当の有無と割り当てた有
効キーの番号のx座標上における最小キー番号を基準と
した相対値とを複数のパターンにまとめたキーパターン
と、y座標の各座標値に対応する各キーパターンのパタ
ーン番号と、y座標の座標値に対応したキーパターンで
表わされるx座標軸上の位置におけるキー番号の相対値
と実際のキー番号の差を表わす値であるオフセット値を
記憶する。画面記憶部3は表示部7に表示する画面を記
憶する。タッチパネル6はキー入力をする部分であり表
示部7に重ねて設けられている。表示部7はタッチパネ
ル6に重ねて設けられ、画面記憶部3に記憶した画面を
表示する。
1 is a block diagram of a touch panel device according to an embodiment of the present invention. As shown in the figure, the touch panel includes a main control unit 1, a key specific data storage unit 2, a screen storage unit 3, and R.
It has an OM 4, a RAM 5, a touch panel 6 and a display unit 7. The main control unit 1 is a unit that controls the operation of the entire touch panel device according to a program stored in the ROM 4 and the like, and includes a key determination unit 11. The key specific data storage unit 2 is xy
Whether or not a valid key is assigned at the position on the x coordinate of the touch panel 6 that represents the position pressed by coordinates and the relative value of the assigned valid key number based on the minimum key number on the x coordinate are set in a plurality of patterns. The summarized key pattern, the pattern number of each key pattern corresponding to each coordinate value of the y coordinate, the relative value of the key number at the position on the x coordinate axis represented by the key pattern corresponding to the coordinate value of the y coordinate, and the actual value. An offset value, which is a value representing the difference between key numbers, is stored. The screen storage unit 3 stores the screen displayed on the display unit 7. The touch panel 6 is a portion for key input and is provided so as to overlap the display unit 7. The display unit 7 is provided so as to overlap the touch panel 6 and displays the screen stored in the screen storage unit 3.

【0019】上記構成のタッチパネル装置の動作につい
て説明する前に、上記キー特定データ記憶部2に記憶す
るデータについて説明する。
Before describing the operation of the touch panel device having the above configuration, the data stored in the key specifying data storage unit 2 will be described.

【0020】例えば図2に示すような画面を表示部7か
ら表示して、タッチパネル6からキー入力する場合を考
える。タッチパネル6の各座標に有効なキーが割り当て
られているか否か「1」と「0」で表わすと、図3
(a)に示すようになる。例えば、座標を(x,y)で
表わすと、座標(2,2)にはキー番号「1」のキーが
割り当てられているので、図3(a)において座標
(2,2)は「1」になるが、座標(2,3)にはキー
が割り当てられていないので、図3(a)において
(2,3)は「0」になる。これをy座標の座標単位に
分割し、タッチパネルをx軸のみの1次元座標で表わし
た複数のパネルに分割する(以後、この分割したパネル
を「x軸パネル」という。)。ここで、x軸パネル上で
割り当てられたキー番号はそれぞれ異なる場合があるの
で、割り当てられたキー番号の相対値を上記「1」を割
り当てた部分で表わす。例えば、図3(b)に示すよう
に最も少ないキー番号が割り当てられた位置を「1」で
表わし、それ以外の位置のキー番号を最も少ないキー番
号との差に「1」を加算した数で表わす。例えば座標
(2,5)にはキー番号「2」のキーが割り当てられ座
標(6,5)にはキー番号「3」のキーが割り当てられ
ているので、図3(b)に示すように座標(2,5)に
対応する部分は「1」となり座標(6、5)に対応する
部分は(2−1+1)から「2」となる。これにより、
キーが規則的にならんでいる場合に一種類の分割された
キーパターンで複数のキー割り当てを表わすことができ
るようになる。そこで、図3(c)に示すように同一の
パターンをもつx軸パネルをいくつかの代表的パターン
にまとめることができる。以後、この代表的パターンを
「キーパターン」という。上記のようにタッチパネル6
上で、図2の画面に対応する部分を図4に示すようにパ
ターン1、パターン2、パターン3及びパターン4の4
つのキーパターンで表わすことができ、これをキー特定
データ記憶部2に記憶する。ここで、キーパターンの各
数字は左からx座標に対応する位置における有効キーの
割り当ての有無及び有効キーのキー番号の相対値を示
す。
Consider, for example, a case where a screen as shown in FIG. 2 is displayed on the display unit 7 and a key is input from the touch panel 6. Whether or not a valid key is assigned to each coordinate on the touch panel 6 is represented by "1" and "0", as shown in FIG.
As shown in FIG. For example, when the coordinates are represented by (x, y), the key with the key number "1" is assigned to the coordinates (2, 2), so that the coordinates (2, 2) is "1" in FIG. However, since a key is not assigned to the coordinate (2,3), (2,3) becomes “0” in FIG. 3A. This is divided into y-coordinate units, and the touch panel is divided into a plurality of panels represented by one-dimensional coordinates of only the x-axis (hereinafter, this divided panel is referred to as "x-axis panel"). Here, since the key numbers assigned on the x-axis panel may be different from each other, the relative value of the assigned key numbers is represented by the portion assigned "1". For example, as shown in FIG. 3B, the position to which the smallest key number is assigned is represented by "1", and the key numbers at other positions are added to the difference between the smallest key number and "1". Express with. For example, since the key with the key number “2” is assigned to the coordinate (2, 5) and the key with the key number “3” is assigned to the coordinate (6, 5), as shown in FIG. The part corresponding to the coordinates (2, 5) is "1", and the part corresponding to the coordinates (6, 5) is "2-1" to "2". This allows
When the keys are regularly arranged, it becomes possible to represent a plurality of key assignments with one kind of divided key pattern. Therefore, as shown in FIG. 3C, the x-axis panel having the same pattern can be put together into some representative patterns. Hereinafter, this typical pattern is referred to as a "key pattern". Touch panel 6 as above
As shown in FIG. 4, the part corresponding to the screen of FIG. 2 is divided into pattern 1, pattern 2, pattern 3 and pattern 4 4 as shown in FIG.
It can be represented by one key pattern, which is stored in the key specific data storage unit 2. Here, each number in the key pattern indicates whether or not a valid key is assigned at the position corresponding to the x coordinate from the left and the relative value of the key number of the valid key.

【0021】このままでは、押下されたタッチパネル6
上の座標からキーパターンを割り出すことができないの
で、キーパターンを割り出すデータとして、y座標軸上
の各座標値に対応する各キーパターンのパターン番号
を、図5に示すように設け、これをキー特定データ記憶
部2に記憶する。これにより、キーパターンを特定し、
x座標上の位置から有効キーの有無を判断できるが、押
下されたキー番号は分からないので、図5に示すように
y軸上の位置とキーパターンに記憶した各キー番号の相
対値と実際のキー番号の差を表わすオフセット値をキー
特定データ記憶部に記憶する。例えば、キーパターンに
記憶した最も少ないキー番号に割り当てた相対値と実際
のキー番号との差をオフセット値としてキー特定データ
記憶部2に記憶する。キー確定部11は押下されたキー
のy座標の座標値とキー特定データ記憶部2に記憶した
パターン特定データからキーパターンを特定し、押下さ
れたキーのx座標の座費用値と特定したキーパターンか
ら座標に割り当てられた有効キーの有無を調べ、有効キ
ーが割り当てられているとキーパターンのx軸上の位置
の有効キーの番号の相対値にキー特定データ記憶部2に
記憶したオフセット値を加算して押下されたキーの番号
を確定する。
In this state, the touch panel 6 that has been pressed
Since the key pattern cannot be calculated from the above coordinates, the pattern number of each key pattern corresponding to each coordinate value on the y coordinate axis is provided as the data for calculating the key pattern as shown in FIG. The data is stored in the data storage unit 2. This will identify the key pattern,
Whether or not there is a valid key can be determined from the position on the x-coordinate, but since the pressed key number is not known, the relative value of each key number stored in the y-axis position and key pattern as shown in FIG. An offset value representing the difference between the key numbers is stored in the key identification data storage unit. For example, the difference between the relative value assigned to the smallest key number stored in the key pattern and the actual key number is stored in the key specific data storage unit 2 as an offset value. The key determination unit 11 specifies the key pattern from the coordinate value of the y-coordinate of the pressed key and the pattern specifying data stored in the key specifying data storage unit 2, and specifies the seat cost value of the pressed key in the x-coordinate. The presence or absence of a valid key assigned to the coordinate is checked from the pattern, and if the valid key is assigned, the offset value stored in the key specific data storage unit 2 is used as the relative value of the number of the valid key at the position on the x axis of the key pattern. Is added to confirm the number of the pressed key.

【0022】上記画面を表示部7から表示して、タッチ
パネル6からキー入力する場合のタッチパネル装置の動
作を、図6のフローチャートを参照して説明する。
The operation of the touch panel device when the above screen is displayed on the display unit 7 and a key is input from the touch panel 6 will be described with reference to the flowchart of FIG.

【0023】画面記憶部3に記憶した図2に示す画面を
表示部7から表示して、オペレータが表示部7の表示を
見ながら、例えばタッチパネル6の座標(7,2)を押
下すると(ステップS1)。タッチパネル6は押下され
た座標(7,2)を検出する(ステップS2)。キー確
定部11はタッチパネル6が押下された座標(7,2)
を検出すると、押下されたy座標の座標値を基にキー特
定データ記憶部2に図5に示すように記憶したデータを
参照して対応するパターン番号とオフセット値を取得す
る。この場合はy座標の値が「2」であるので、パター
ン番号は「2」でオフセット値は「0」である。キー確
定部11はパターン番号とオフセット値を取得すると、
取得したパターン番号のキーパターンとx座標の座標値
から押下された座標に有効なキーが割り当てられている
か否かを判断する。この場合はキーパターンはパターン
2であり、x座標の座標値は「7」であるので、パター
ン2の左から「8」番目の数を調べる。パターン2の左
から「8」番目の数は「0」であるので(ステップS
4)、キー確定部11は有効キー部分が押下されていな
いと判断する(ステップS5)。
When the screen shown in FIG. 2 stored in the screen storage unit 3 is displayed from the display unit 7 and the operator presses the coordinates (7, 2) on the touch panel 6 while looking at the display of the display unit 7 (step S1). The touch panel 6 detects the pressed coordinates (7, 2) (step S2). The key determination unit 11 has coordinates (7, 2) at which the touch panel 6 is pressed.
When it is detected, the corresponding pattern number and offset value are acquired by referring to the data stored in the key specifying data storage unit 2 as shown in FIG. 5 based on the coordinate value of the pressed y coordinate. In this case, since the y coordinate value is "2", the pattern number is "2" and the offset value is "0". When the key confirming unit 11 acquires the pattern number and the offset value,
From the acquired key pattern of the pattern number and the coordinate value of the x coordinate, it is determined whether or not a valid key is assigned to the pressed coordinate. In this case, the key pattern is pattern 2 and the coordinate value of the x coordinate is "7", so the "8" th number from the left of pattern 2 is checked. Since the “8” th number from the left of pattern 2 is “0” (step S
4), the key confirming unit 11 determines that the effective key portion is not pressed (step S5).

【0024】これに対して、オペレータが、例えばタッ
チパネル6上の座標(7,5)を押下し、タッチパネル
6が座標(7,5)が押下されたことを検出した場合は
(ステップS1,S2)、キー確定部11は押下された
y座標の座標値である「5」とキー特定データ記憶部2
に図5に示すように記憶したデータを基に対応するパタ
ーン番号とオフセット値として、パターン番号「4」と
オフセット値「1」を取得する(ステップS3)。キー
確定部11は、取得したパターン番号のキーパターンで
あるパターン4とx座標の座標値である「7」からパタ
ーン4の左から「8」番目の数を調べる。パターン4の
左から「8」番目の数は「2」であるので、キー確定部
11はパターン4の左から「8」番目の数である「2」
とオフセット値である「1」を加算して、キー番号とし
て「3」を確定し、キー番号が「3」のキーが押下され
たと判断する。このように、タッチパネル6をいくつか
のキーパターンに分けて押下された座標のキーの割当を
特定するので、キー特定データ記憶部2は少ない記憶容
量で、キーを特定するためのデータを記憶することがで
きる。また、データを比較する回数も少ないので、迅速
に押下されたキーを特定することができる。
On the other hand, when the operator presses the coordinate (7, 5) on the touch panel 6 and the touch panel 6 detects that the coordinate (7, 5) is pressed (steps S1 and S2). ), The key confirming unit 11 indicates that the coordinate value of the pressed y coordinate is “5” and the key specifying data storage unit 2
The pattern number "4" and the offset value "1" are acquired as the corresponding pattern number and offset value based on the data stored as shown in FIG. 5 (step S3). The key confirming unit 11 checks the number “8” from the left of the pattern 4 from the pattern 4 that is the key pattern of the acquired pattern number and the coordinate value “7” of the x coordinate. Since the “8” th number from the left of the pattern 4 is “2”, the key confirming unit 11 sets the “8” th number from the left of the pattern 4 to “2”.
And the offset value “1” are added to determine “3” as the key number, and it is determined that the key with the key number “3” has been pressed. In this way, since the touch panel 6 is divided into some key patterns and the key assignment of the pressed coordinates is specified, the key specifying data storage unit 2 stores the data for specifying the key with a small storage capacity. be able to. Moreover, since the number of times data is compared is small, it is possible to quickly identify the pressed key.

【0025】なお、図7に示すように割り当てられたキ
ー番号の差が一定でない場合があるので、例えば図8に
示すようなキー番号を変換するときの対応を予めキー特
定データ記憶部2に記憶しても良い。キー確定部11は
押下されたキー座標とキー特定データ記憶部2に記憶し
たキーパターン等のデータを基に上記のように押下され
たキー番号を確定し、確定した番号を仮に確定したキー
番号をみなし、仮に確定したキー番号と上記予めキー特
定データ記憶部2に記憶した各キー番号の対応を基に実
際に押下されたキーを特定する。例えば座標(7,8)
が押下された場合は、キー確定部11は、既に説明した
ように押下された座標(7,8)と予めキー特定データ
記憶部2に記憶した図4及び図5のデータから押下され
たキー番号を「5」と仮に確定し、予めキー特定データ
記憶部2に記憶した図8のデータと仮に確定したキー番
号の「5」とから実キー番号「7」を取得して、押下さ
れたキーの番号を「7」と確定する。このように、割り
当てられたキー番号の差分が異なる場合であっても同一
キーパターンで表わすことができるので、パターン化を
さらに進め、キー特定データ記憶部11に必要な記憶容
量をさらに少なくすることができる。
Since the difference between the assigned key numbers may not be constant as shown in FIG. 7, for example, the correspondence when converting the key numbers as shown in FIG. You may remember. The key confirming unit 11 confirms the pressed key number as described above based on the pressed key coordinates and the data such as the key pattern stored in the key specifying data storage unit 2, and the confirmed number is temporarily confirmed. The key actually pressed is specified based on the correspondence between the temporarily fixed key number and each key number stored in the key specifying data storage unit 2 in advance. For example, coordinates (7,8)
When is pressed, the key confirming unit 11 determines the pressed key from the pressed coordinates (7, 8) and the data of FIGS. 4 and 5 stored in advance in the key specifying data storage unit 2 as described above. The number is temporarily determined to be "5", the actual key number "7" is acquired from the data of FIG. 8 stored in advance in the key identification data storage unit 2 and the temporarily determined key number "5", and the key is pressed. Confirm the key number as "7". In this way, even if the differences in the assigned key numbers are different, they can be represented by the same key pattern. Therefore, the patterning can be further advanced and the storage capacity required for the key specific data storage unit 11 can be further reduced. You can

【0026】さらに、タッチパネル6を特定のy座標軸
に沿って複数のブロックに分割し、分割したブロック毎
にキーパターンを設けて、パターン化しにくい画面でも
容易にパターン化できるようにしても良い。例えば、図
9のような画面の場合は画面を座標(0,0)から座標
(10,10)までのブロックAと座標(11,0)か
ら座標(17,10)までのブロックBとに二分割す
る。分割した各ブロックA,Bについて上記実施例のよ
うにキーパターン等を作成し、予めキー特定データ記憶
部2に記憶する。この場合、タッチパネル6を二分割し
たので、キーパターンは、図10に示すようにパターン
A1及びパターンA2から成るブロックA用のキーパタ
ーンと、パターンB1、パターンB2及びパターンB3
から成るブロックB用のキーパターンとに分かれる。な
お、パターンA1及びパターンA2ではx座標の値「1
1」に対応する部分以後に値「B」を入れているが、こ
れは、この部分がブロックB用のキーパターンであるパ
ターンB1、パターンB2及びパターンB3を適用する
部分であることを示す。また、キー特定データ記憶部2
は、図11に示すように前記実施例の図5と同様にキー
パターン等を特定するデータを記憶する。ここで、図1
1のデータでブロックB用のデータは(パターン番号,
オフセット値,座標のオフセット値)で構成されてい
る。座標のオフセット値とはブロックBの開始座標であ
りこの場合はx座標の「11」を示す。
Furthermore, the touch panel 6 may be divided into a plurality of blocks along a specific y-coordinate axis, and a key pattern may be provided for each divided block so that the screen that is difficult to pattern can be easily patterned. For example, in the case of the screen as shown in FIG. 9, the screen is divided into a block A from coordinates (0,0) to coordinates (10,10) and a block B from coordinates (11,0) to coordinates (17,10). Divide into two. A key pattern or the like is created for each of the divided blocks A and B as in the above embodiment and stored in advance in the key specific data storage unit 2. In this case, since the touch panel 6 is divided into two, the key pattern is the key pattern for the block A including the pattern A1 and the pattern A2 and the pattern B1, the pattern B2, and the pattern B3 as shown in FIG.
And a key pattern for block B consisting of In the patterns A1 and A2, the value of the x coordinate is "1.
The value "B" is inserted after the portion corresponding to "1", which means that this portion is a portion to which the pattern B1, the pattern B2, and the pattern B3 which are the key patterns for the block B are applied. In addition, the key identification data storage unit 2
Stores the data for specifying the key pattern and the like as shown in FIG. 11 of the above embodiment, as shown in FIG. Here, FIG.
The data for block B is (pattern number,
Offset value, coordinate offset value). The offset value of the coordinate is the starting coordinate of the block B, and in this case, the x coordinate is “11”.

【0027】上記図9に示す画面において、例えば座標
(14,5)が押下されたとする。キー確定部11はy
座標の座標値である「5」とキー特定データ記憶部2に
記憶した図11のブロックA用のデータからパターン番
号「2」とオフセット値「2」を取得する。次ぎに、キ
ー確定部11はブロックA用のパターン番号「2」のキ
ーパターンであるパターンA2とx座標値の「14」か
ら対応する位置の値を読み込む。この場合はパターンA
2の左から15番目のデータは「B」であり、押下され
た座標がブロックB内の座標であることを示しているの
で、キー確定部11はy座標の値である「5」とキー特
定データ記憶部2に記憶した図11のブロックB用のデ
ータからパターン番号「3」とオフセット値「6」を取
得する。次ぎに、キー確定部11はブロックB用のパタ
ーン番号「3」のキーパターンであるパターンB3とx
座標値の「14」から対応する位置の値を読み込む。こ
の場合、ブロックBはx座標の「11」から始まるの
で、左から「4」番目(14−11+1)のデータを読
みだす。パターンB3の左から4番目のデータは「1」
であるので、キー確定部11はパターンB3の左から4
番目のデータである「1」とオフセット値である「6」
を加算してキー番号をして「7」を確定する。
It is assumed that, for example, the coordinate (14, 5) is pressed on the screen shown in FIG. The key confirming unit 11 is y
The pattern number “2” and the offset value “2” are acquired from the coordinate value “5” and the data for the block A in FIG. 11 stored in the key specifying data storage unit 2. Next, the key confirming unit 11 reads the value of the corresponding position from the pattern A2 which is the key pattern of the pattern number "2" for the block A and the x coordinate value "14". In this case, pattern A
The fifteenth data from the left of 2 is “B”, which indicates that the pressed coordinate is the coordinate within the block B. Therefore, the key confirming unit 11 uses the key “5”, which is the value of the y coordinate, as the key. The pattern number “3” and the offset value “6” are acquired from the data for the block B of FIG. 11 stored in the specific data storage unit 2. Next, the key confirming unit 11 selects the pattern B3 and the pattern x which are the key patterns of the pattern number “3” for the block B.
The value of the corresponding position is read from the coordinate value "14". In this case, since the block B starts from “11” of the x coordinate, the “4” th (14-11 + 1) th data from the left is read. The fourth data from the left of pattern B3 is "1"
Therefore, the key confirming unit 11 selects 4 from the left of the pattern B3.
The first data is "1" and the offset value is "6"
Is added, the key number is added, and “7” is confirmed.

【0028】さらに、複数の画面を動作モードに応じて
表示する場合について説明する。
Further, the case where a plurality of screens are displayed according to the operation mode will be described.

【0029】例えば動作モードに応じて図9に示す画面
と図12に示す画面とを切り替えて表示する場合、図1
2に示す画面のキーパターンは図13に示すように図9
に示す画面のキーパターンにパターンA3とパターンB
4を追加したものとなる。そので、キー特定データ記憶
部2は、図13に示すキーパターンを図9の画面及び図
12の画面に共通のキーパターンとして記憶する。ま
た、キー特定データ記憶部2は、図14に示すようにキ
ーパターン等を特定するデータ及び図11に示すように
キーパターン等を特定するデータを前記実施例の図5と
同様に記憶する。
For example, when the screen shown in FIG. 9 and the screen shown in FIG. 12 are switched and displayed according to the operation mode, the screen shown in FIG.
The key pattern of the screen shown in FIG. 2 is as shown in FIG.
Pattern A3 and pattern B are added to the key patterns on the screen shown in
4 will be added. Therefore, the key specifying data storage unit 2 stores the key pattern shown in FIG. 13 as a key pattern common to the screen of FIG. 9 and the screen of FIG. Further, the key specifying data storage unit 2 stores the data for specifying the key pattern and the like as shown in FIG. 14 and the data for specifying the key pattern and the like as shown in FIG. 11 similarly to FIG. 5 of the embodiment.

【0030】上記図9に示す画面と図12に示す画面と
をモードに応じて切り換える場合について、図15のフ
ローチャートを参照して説明する。
A case in which the screen shown in FIG. 9 and the screen shown in FIG. 12 are switched according to the mode will be described with reference to the flowchart of FIG.

【0031】タッチパネル装置は画面記憶部3に記憶し
た図12に示す画面を表示部7から表示する。オペレー
タが、例えばタッチパネル6の座標(14,2)を押下
し、タッチパネル6が押下された座標(14,2)を検
出すると(ステップS11,S12)、キー確定部11
はモードにあわせたキーパターン特定用のデータを選択
する。この場合、図12を表示しているので、キー確定
部11は、図14に示すデータを選択する(ステップS
13)。キー確定部11は、図14に示すデータを選択
すると、押下されたy座標の座標値とキー特定データ記
憶部2に記憶した図14に示すデータを基に対応するパ
ターン番号とオフセット値を取得する(ステップS1
4)。この場合はy座標の座標値が「2」であるので、
パターン番号は「2」でオフセット値は「0」である。
The touch panel device displays the screen shown in FIG. 12 stored in the screen storage unit 3 from the display unit 7. For example, when the operator presses the coordinates (14, 2) on the touch panel 6 and detects the coordinates (14, 2) on the touch panel 6 (steps S11 and S12), the key confirming unit 11
Selects the data for specifying the key pattern according to the mode. In this case, since FIG. 12 is displayed, the key confirming unit 11 selects the data shown in FIG. 14 (step S
13). When the data shown in FIG. 14 is selected, the key confirming unit 11 obtains the corresponding pattern number and offset value based on the coordinate value of the pressed y coordinate and the data shown in FIG. 14 stored in the key specifying data storage unit 2. Yes (step S1
4). In this case, since the coordinate value of the y coordinate is “2”,
The pattern number is "2" and the offset value is "0".

【0032】キー確定部11は取得したパターン番号の
キーパターンとx座標の座標値を基に押下された座標に
有効なキーが割り当てられているか否かを判断する。こ
の場合は,キーパターンはパターンA2であり、x座標
の座標値は「14」であるので、パターンA2の左から
「15」番目の数を調べる。パターンA2の左から「1
5」番目のデータは「B」であるので(ステップS1
5)、キー確定部11はキーパターンをブロックB用の
キーパターンと交換し(ステップS16)、y座標の座
標値である「2」とキー特定データ記憶部2に記憶した
図14のブロックB用のデータからパターン番号「4」
とオフセット値「9」と座標オフセット値「11」を取
得する(ステップS17)。
The key confirming unit 11 determines whether or not a valid key is assigned to the pressed coordinate based on the acquired key pattern of the pattern number and the coordinate value of the x coordinate. In this case, since the key pattern is the pattern A2 and the coordinate value of the x coordinate is "14", the "15" th number from the left of the pattern A2 is checked. From the left of pattern A2, "1
The 5th "data is" B "(step S1
5), the key confirming unit 11 exchanges the key pattern with the key pattern for the block B (step S16), and the coordinate value “2” of the y coordinate is stored in the key specifying data storage unit 2 in the block B of FIG. No. from the data for pattern "4"
And the offset value "9" and the coordinate offset value "11" are acquired (step S17).

【0033】キー確定部11はx座標値を((x座標
値)−(座標オフセット値))の値で置き換えて(ステ
ップS18)、取得したパターン番号のキーパターンと
x座標の座標値から押下された座標に有効なキーが割り
当てられているか否かを判断する。この場合、キーパタ
ーンはパターンB4であり、x座標の座標値である「1
4」から座標オフセット値である「11」を引いた値で
ある「3」でx座標の座標値を置き換えているので、パ
ターンB4とx座標の座標値である「3」からパターン
B4の左から「4」番目の数を調べる。キー確定部11
は、既に説明したようにパターンB4の左から4番目の
データが「1」であるので(ステップS19)、オフセ
ット値である「9」を加算してキー番号として「10」
を確定する(ステップS21)。このように、複数の画
面に共通なキーパターンを記憶することにより、複数の
画面を備える場合に記憶領域が画面の数に比例して増加
することを防止することができる。
The key confirming unit 11 replaces the x-coordinate value with the value of ((x-coordinate value)-(coordinate offset value)) (step S18) and presses the key pattern of the acquired pattern number and the coordinate value of the x-coordinate. It is determined whether a valid key is assigned to the designated coordinates. In this case, the key pattern is pattern B4 and the coordinate value of the x coordinate is "1.
Since the coordinate value of the x coordinate is replaced with "3" which is a value obtained by subtracting "11" which is the coordinate offset value from "4", the coordinate value of the pattern B4 and the coordinate value of "3" of the x coordinate are left of the pattern B4. Check the "4" th number. Key determination unit 11
As described above, since the fourth data from the left of the pattern B4 is "1" (step S19), the offset value "9" is added and the key number is "10".
Is confirmed (step S21). In this way, by storing a common key pattern on a plurality of screens, it is possible to prevent the storage area from increasing in proportion to the number of screens when a plurality of screens are provided.

【0034】[0034]

【発明の効果】この発明は以上説明したように、タッチ
パネルのx座標上の位置における有効キーの割当の有無
と割り当てた有効キーの番号のx座標上における最小キ
ー番号を基準とした相対値とをいくつかのパターンにま
とめたキーパターンと、y座標の各座標値に対応するキ
ーパターンのパターン番号とを記憶するので、押下され
た座標上の有効キーの割り当ての有無を判断できる。
As described above, according to the present invention, whether or not a valid key is assigned at a position on the x coordinate of a touch panel and the relative value of the assigned valid key number based on the minimum key number on the x coordinate are used. Since the key pattern in which is divided into several patterns and the pattern number of the key pattern corresponding to each coordinate value of the y coordinate are stored, it is possible to determine whether or not the effective key on the pressed coordinate is assigned.

【0035】また、y座標の座標値に対応したキーパタ
ーンで表わされるx座標軸上の位置におけるキー番号の
相対値と実際のキー番号との差であるオフセット値を記
憶するので、押下されたキーの座標とキーパターンとオ
フセット値を基に押下されたキー番号を確定することが
できる。
Since the offset value which is the difference between the relative key number at the position on the x coordinate axis represented by the key pattern corresponding to the coordinate value of the y coordinate and the actual key number is stored, the pressed key The pressed key number can be determined based on the coordinates, the key pattern, and the offset value.

【0036】さらに、押下されたキー番号を変換すると
きの各キー番号の変換値を予め記憶し、記憶したデータ
と押下されたキー座標とを基に押下されたキー番号を仮
確定し、仮確定したキー番号と予め記憶した各キー番号
の変換値を基に実際に押下されたキーを確定するので、
キー番号の差が異なる場合であっても同一のキーパター
ンで表わすことができ、キー番号の確定のために必要な
記憶容量をさらに少なくすることができる。
Further, the converted value of each key number when converting the pressed key number is stored in advance, and the pressed key number is provisionally determined based on the stored data and the pressed key coordinates, Since the actually pressed key is confirmed based on the confirmed key number and the conversion value of each key number stored in advance,
Even if the key numbers differ, they can be represented by the same key pattern, and the storage capacity required for determining the key numbers can be further reduced.

【0037】さらに、タッチパネルをy座標軸に沿って
分割した複数のブロック毎にキーパターンを記憶するの
で、パターン化しにくい画面でも容易にパターン化でき
るようにする。
Furthermore, since the key pattern is stored for each of a plurality of blocks obtained by dividing the touch panel along the y coordinate axis, it is possible to easily pattern even a screen that is difficult to pattern.

【0038】さらに、複数の画面を備える場合に、各画
面で共通なキーパターンを記憶するので、キー番号確定
のために必要な記憶領域が画面の数に比例して増加する
ことを防止できる。
Furthermore, when a plurality of screens are provided, a common key pattern is stored in each screen, so that it is possible to prevent the storage area required for determining the key number from increasing in proportion to the number of screens.

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

【図1】この発明の実施例を示す構成図である。FIG. 1 is a configuration diagram showing an embodiment of the present invention.

【図2】簡単な画面の構成図である。FIG. 2 is a configuration diagram of a simple screen.

【図3】簡単な画面のキーパターンを得る場合の説明図
である。
FIG. 3 is an explanatory diagram for obtaining a simple screen key pattern.

【図4】簡単な画面のキーパターンの構成を示す構成図
である。
FIG. 4 is a configuration diagram showing a configuration of a key pattern on a simple screen.

【図5】簡単な画面のキーパターンを割り出すデータの
構成図である。
FIG. 5 is a configuration diagram of data for determining a key pattern of a simple screen.

【図6】簡単な画面のキー番号を確定する動作を示すフ
ローチャートである。
FIG. 6 is a flowchart showing an operation for confirming a key number on a simple screen.

【図7】キー番号の差が一定でない画面の構成図であ
る。
FIG. 7 is a configuration diagram of a screen in which the difference in key numbers is not constant.

【図8】キー番号を変換するデータの構成図である。FIG. 8 is a configuration diagram of data for converting a key number.

【図9】複数ブロックに分割した画面の構成図である。FIG. 9 is a configuration diagram of a screen divided into a plurality of blocks.

【図10】複数ブロックに分割した画面のキーパターン
の構成図である。
FIG. 10 is a configuration diagram of a key pattern of a screen divided into a plurality of blocks.

【図11】分割した画面のキーパターンを割り出すデー
タの構成図である。
FIG. 11 is a configuration diagram of data for determining a key pattern of a divided screen.

【図12】他の複数ブロックに分割した画面の構成図で
ある。
FIG. 12 is a configuration diagram of a screen divided into other plural blocks.

【図13】他の複数ブロックに分割した画面のキーパタ
ーンの構成図である。
FIG. 13 is a configuration diagram of a key pattern of a screen divided into other plural blocks.

【図14】他の分割した画面のキーパターンを割り出す
データの構成図である。
FIG. 14 is a configuration diagram of data for determining a key pattern of another divided screen.

【図15】複数画面を備える場合の動作を示すフローチ
ャートである。
FIG. 15 is a flowchart showing an operation when a plurality of screens are provided.

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

1 主制御部 11 キー確定部 2 キー特定データ記憶部 3 画面記憶部 6 タッチパネル 7 表示部 1 main control unit 11 key confirming unit 2 key specific data storage unit 3 screen storage unit 6 touch panel 7 display unit

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 xy座標で押下された位置を特定するタ
ッチパネルとキー特定データ記憶部とキー確定部を備
え、キー特定データ記憶部はタッチパネルのx座標上の
位置における有効キーの割当の有無と割り当てた有効キ
ーの番号のx座標上における最小キー番号を基準とした
相対値とを複数のパターンにまとめたキーパターンと、
y座標の各座標値に対応するキーパターンのパターン番
号と、y座標の座標値に対応するキーパターンで表わさ
れたキー番号の相対値と実際のキー番号の値との差であ
るオフセット値を記憶し、キー確定部は押下されたキー
のy座標の座標値からキー特定データ記憶部に記憶した
キーパターンを特定し、押下されたキーのx座標の座標
値と特定したキーパターンから押下された座標に割り当
てた有効キーの有無を調べ、有効キーを割り当てている
と特定したキーパターンのx軸上の押下された位置のキ
ーの番号の相対値にキー特定データ記憶部に記憶したオ
フセット値を加算して押下されたキーの番号を確定する
ことを特徴とするタッチパネル装置。
1. A touch panel for specifying a position pressed by xy coordinates, a key specifying data storage section, and a key confirming section, wherein the key specifying data storage section indicates whether or not an effective key is assigned at a position on the x coordinate of the touch panel. A key pattern in which a relative value based on the minimum key number on the x-coordinate of the assigned effective key number is combined into a plurality of patterns;
The pattern number of the key pattern corresponding to each coordinate value of the y coordinate and the offset value that is the difference between the relative value of the key number represented by the key pattern corresponding to the coordinate value of the y coordinate and the value of the actual key number. The key determination unit identifies the key pattern stored in the key identification data storage unit from the coordinate value of the y-coordinate of the pressed key, and depresses from the coordinate value of the x-coordinate of the pressed key and the identified key pattern. The existence of a valid key assigned to the specified coordinates is checked, and the offset stored in the key identifying data storage unit is used as the relative value of the key number at the pressed position on the x-axis of the key pattern identified as having a valid key assigned. A touch panel device characterized by adding a value to determine the number of a pressed key.
【請求項2】 キー特定データ記憶部は押下されたキー
番号を変換するときの各キー番号の変換値を予め記憶
し、キー確定部は押下されたキー座標とキー特定データ
記憶部に記憶したデータを基に押下されたキー番号を仮
に確定し、仮に確定したキー番号と予めキー特定データ
記憶部に記憶した各キー番号の変換値を基に実際に押下
されたキーを特定する請求項1記載のタッチパネル装
置。
2. The key specifying data storage unit stores in advance the conversion value of each key number when converting the pressed key number, and the key confirming unit stores the pressed key coordinates and the key specifying data storage unit. The key number that is actually pressed is temporarily determined based on the data, and the key that is actually pressed is specified based on the temporarily determined key number and the conversion value of each key number stored in advance in the key specification data storage unit. The touch panel device described.
【請求項3】 キー特定データ記憶部はタッチパネルを
y座標軸に沿って分割した複数のブロック毎にキーパタ
ーンを記憶する請求項1記載のタッチパネル装置。
3. The touch panel device according to claim 1, wherein the key specific data storage unit stores a key pattern for each of a plurality of blocks obtained by dividing the touch panel along the y coordinate axis.
【請求項4】 キー特定データ記憶部は複数の画面を備
える場合に、各画面で共通なキーパターンを記憶する請
求項1記載のタッチパネル装置。
4. The touch panel device according to claim 1, wherein the key specific data storage unit stores a key pattern common to each screen when the key specific data storage unit includes a plurality of screens.
JP28820395A 1995-10-11 1995-10-11 Touch panel device Pending JPH09106324A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28820395A JPH09106324A (en) 1995-10-11 1995-10-11 Touch panel device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28820395A JPH09106324A (en) 1995-10-11 1995-10-11 Touch panel device

Publications (1)

Publication Number Publication Date
JPH09106324A true JPH09106324A (en) 1997-04-22

Family

ID=17727159

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28820395A Pending JPH09106324A (en) 1995-10-11 1995-10-11 Touch panel device

Country Status (1)

Country Link
JP (1) JPH09106324A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100449519B1 (en) * 2002-06-05 2004-10-01 박경희 Compact input device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100449519B1 (en) * 2002-06-05 2004-10-01 박경희 Compact input device

Similar Documents

Publication Publication Date Title
JPH07200172A (en) Device used for computer with display
CN109484925B (en) Floor information display method and device, computer equipment and storage medium
JP2828271B2 (en) Shape generation method in CAD system
JPH09106324A (en) Touch panel device
JPH07281813A (en) Touch panel device and its position detecting method
JP5109433B2 (en) Verification system and method, and program
JP2000082082A (en) Display device for wiring tray network
JP3884760B2 (en) Information display device
JPH07249056A (en) Graphic processor
JPH064549A (en) Work instruction display system
JPH02275579A (en) Floor load distribution display processing system in office
JP2713180B2 (en) Spatial figure arrangement display
JP2542784B2 (en) Automatic parts recognition device
JP2936531B2 (en) Placement device
JPH08137949A (en) Method for changing plan of gantt chart
JPH056241A (en) Keyboard input system with macro function
JPS63208157A (en) Document managing device
JPH07152687A (en) Intelligent terminal device
JPS634322A (en) Input device
JPH0237473A (en) Drawing system
JPH05289808A (en) Coordinate input controller
JP2000003240A (en) Display method and device
JPH08229889A (en) Panel allocating device
JPH04281513A (en) Key assignment processor
JPH0451358A (en) Document preparing device