1. Field of the Invention
The present invention relates to an input device, which has a touch panel on which a user makes contact with a finger to input information.
2. Description of the Related Art
Conventionally, there is known an information input device, which is constructed by combining a display for indicating an image and so on, and a touch panel laid on a surface of the display. A sign, including an icon, a mark, and a character, for prompting an input operation is indicated on the display. Thus, when a user touches the sign, or when the user touches an area of the touch panel, corresponding to the sign, it is deemed that the sign is selected, so that an input operation corresponding to the sign is carried out.
Such an input device is easily operated in comparison with a keyboard and so on, since the user may only touch the display with a finger. However, the input device has problems as follows. Namely, if the display has a large size, the user has to move a finger over a wide range so as to select the sign, which causes problems regarding the operability of the display. Further, in an apparatus, such as a cellular phone, which is usually operated by one hand, it is difficult to touch a sign on the display while holding the cellular phone in one hand.
Therefore, an object of the present invention is to improve the operability of the input operation using the touch panel.
According to the present invention, there is provided an input device comprising a display, a menu indicating processor, a touch panel, a moving direction obtaining processor, and a control processor.
The menu indicating processor indicates a menu containing signs for prompting an input operation. The touch panel is used in combination with the display. The moving direction obtaining processor obtains a moving direction from a first touch position to a second touch position. The first touch position is defined by touching the touch panel with a finger. The second touch position is defined by moving the finger while keeping the finger in contact with the touch panel. The control processor selects the sign, positioned on a straight line extending in the moving direction, from the signs contained in the menu.
Further, according to the present invention, there is provided a method for controlling an input device comprising a display, a menu indicating processor indicating a menu containing signs for prompting an input operation, and a touch panel used in combination with the display. The method comprising a selecting step for selecting a sign, which is contained in a menu to prompt an input operation, based on a movement of a touch position on the touch panel; and a processing step for performing a process indicating that the sign is selected.
Thus, in the present invention, a sign, indicated on the display, is selected not based on a touch position at which a finger touches the touch panel, but based on a moving direction of the touch. Namely, when any sign is to be selected on a surface on the display, it is not necessary for the user to vary the touch position largely in accordance with the indicating position of the sign. The selecting operation can be performed only by a movement of a finger on the touch panel toward the sign.
According to the present invention, a moving amount of a finger or hand of the user can be reduced, when operating the touch panel, and therefore, the operability is improved. Especially, when the display is large, the amount of movement, required for the operation, is drastically decreased. Further, when the display is applied to a cellular phone, since the operation for choosing the sign can be performed with a finger of the hand in which the cellular phone is held, the operability is effectively improved.
The objects and advantages of the present invention will be better understood from the following description, with reference to the accompanying drawings in which:
The present invention will be described below with reference to embodiments shown in the drawings.
An imaging unit 30 has a photographing optical system, a CCD, and so on. In the imaging unit 30, an optical image obtained through the photographing optical system is photoelectrical-converted by the CCD, so that an analogue image signal is generated. The analogue image signal is input to an image processing unit 40, in which the analogue image signal is A/D-converted, and the digital image signal is subjected to a predetermined image processing. The image-processed digital image signal or image data is stored in a memory 41.
In the memory 41, other than the image-processed image data, image data corresponding to various kinds of signal for prompting input operations are stored.
An LCD 50 is connected to the CPU 10 through an LCD controller 51. When a control signal is output from the CPU 10, an image corresponding to the image data stored in the memory 41 is indicated on the LCD 50 in accordance with a control of the LCD controller 51.
A touch panel 60 is laid on the LCD 50, and is connected to the CPU 10 through a touch panel controller 61. That is, the touch panel 60 is used in combination with the LCD 50. Thus, when the user of the cellular phone touches the touch panel 60, a response signal corresponding to the touch position is input to the CPU 10 from the touch panel controller 61. In the CPU 10, based on the response signal, coordinates of the touch position, in the coordinate system defined on the LCD 50, are calculated or obtained, and the processes described later are performed in accordance with the coordinates.
With reference to
In Step S100, an initialization for indicating an image is carried out, so that a subject to be photographed is indicated on the LCD 50 as shown in
In the first embodiment, the menu 52 has signs 52A, 52B, 52C, 52D, and 52E, which are indicated on a periphery of an indication area provided on the LCD 50, to form a channel shape. It is supposed that the user holds the cellular phone with the right hand, and thus, no sign is indicated on the right side of the LCD 50. Note that the area, in which no sign is indicated, is not restricted to the right side of the LCD 50, and can be changed to the left side of the LCD 50, depending upon the preference of the user. Thus, the menu 52 is indicated on a part of the periphery, around which a hand of the user does not access.
The sign 52A is provided for selecting a recording size of an image, the sign 52B is provided for selecting the image quality, and the sign 52C is provided for selecting the sensitivity. The signs 52D and 52E are provided for changing or scrolling the menu to another choice. Note that, in
In Step S106, the present coordinates A of the center 101P of the touch position 101 are obtained by calculation. Then, in Step S108, it is checked if the center 101P is positioned in the areas of the signs 52A through 52E, based on the coordinates of the center 10P. When it is confirmed that the center 101P is in the areas of the signs 52A through 52E, Step S110 is executed to perform a process corresponding to the sign. Conversely, when it is confirmed that the center 101P is not positioned at any areas of the signs 52A through 52E, Step S112 is executed.
In Step S112, it is checked whether the response signal is continuously being input from the touch panel controller 61. A case in which the response signal is not input, happens when the user releases the finger from the touch panel 60. In this case, the routine goes back to Step S100. Namely, the menu 52, indicated at Step S104, is deleted, and the indication of LCD 50 is returned to the state shown in
When the user does not release the finger from the touch panel 60, so that it is confirmed that the response signal is continuously input from the touch panel controller 61, Step S114 is executed. In Step S114, based on the response signal from the touch panel controller 61, the coordinates of the center of the touch position, at which the user is now touching, are obtained by calculation. As shown in
The routine then goes to Step S116, in which the moving direction D1 and the moving amount X, from the coordinates A to the coordinates B, are obtained by calculation. In Step S118, it is checked whether the moving amount X or the distance between the first touch position 101 and the second touch position 103, exceeds a predetermined threshold value. When it is confirmed that the moving amount X exceeds the threshold value, Step S120 is executed, in which a process is performed so that the sign, positioned on a straight line extending in the moving direction D1, is selected from the signs contained in the menu 52.
As shown in
When it is confirmed in Step S118 that the moving amount X does not exceeds the threshold value, the routine goes back to Step S112, the calculations for the moving direction D1 and the moving amount X are repeated. Namely, when the length, by which the finger slides on the touch panel 60, does not exceed the predetermined amount, no sign is selected.
After Step S120 is executed, the process goes to Step S122, in which it is checked whether the response signal is continuously input from the touch panel controller 61, in a similar way as Step S112. When the user releases the finger from the touch panel 60, so that the response signal is not input, the routine goes back to Step S100. As a result, the menu 52 and the arrow AR1 are deleted, the indication on the LCD 50 is resumed to a state shown in
When the user does not release the finger from the touch panel 60, so that it is confirmed that the response signal is continuously input from the touch panel controller 61, Step S124 is executed. In Step S124, based on the response signal from the touch panel controller 61, the coordinates of the center of the touch position, at which the user is now touching, are obtained by calculation. As shown in
Then, in Step S126, it is checked in which areas of the signs 52A through 52E the center 105P is positioned, based on the coordinates C. When it is confirmed that the center 105P is positioned in the areas of the signs 52A through 52E, Step S128 is executed to perform a process corresponding to the sign. Conversely, when it is confirmed that the center 105P is not positioned in any of the areas of the signs 52A through 52E, Step S130 is executed.
In Step S130, the coordinates A are compared with the coordinates C, so that it is checked whether the center 105P is positioned close to the center 101P. When it is confirmed that the center 105P is positioned close to the center 101P (see
Then, in Step S134, a process for indicating a menu for deciding an image quality, is executed according to the decision regarding sign 52B. As a result, the indication on the LCD 50 becomes that shown in
Note that, when it is confirmed in Step S130 that the center 105P is not positioned close to the center 101P, the routine goes back to Step S122, and the operations described above are repeated. Namely, if the position, to which the finger slides after the sign is selected, is greatly separated from the center 101P, the sign is not changed to the decision condition.
As described above, according to the first embodiment, the sign is selected and a process, corresponding to the sign, is decided to be performed, by moving the touch position back and fro along a straight line while keeping the finger in contact with the touch panel 60. Therefore, the touch panel 60 can be operated with a finger of a hand in which the cellular phone is held, so that the operability of the touch panel is improved.
Further, in the first embodiment, when the touch position is moved and returned to the initial position, the decision to select the sign to perform the corresponding process is finalized. Namely, before carrying out a process corresponding to the sign, the selection of the sign can be changed. Therefore, even if the user is not familiar with the operation, it is easy to select the sign and decide to perform the corresponding process.
Furthermore, according to the first embodiment, the signs can be disposed along the periphery of the LCD 50. In other words, it is not necessary that the signs are indicated at the central portion of the LCD 50. Therefore, as shown in
With reference to
The contents of Steps S200 through S210 shown in
In Step S212 shown in
When it is confirmed in Step S216 that a response signal is not input from the touch panel controller 61, Step S218 is executed. In Step S218, it is checked whether the coordinates B correspond to any area of the signs of the menu 52, so that it is checked whether the user has released the finger from the touch panel 60 at a sign or not. When it is confirmed that the user has released the finger at a sign, Step S220 is executed to perform a process corresponding to the sign.
Conversely, when it is confirmed that the user has released the finger at a position other than a sign, Step S222 is executed. In Step S222, a moving direction D2, from the coordinates A to the coordinates B, is obtained by calculation, so that a sign, existing on a straight line extending in the moving direction D2, is selected, and a process corresponding to the sign is decided to be performed. As a result, signs other than the selected sign are deleted from the LCD 50.
Then, in Step S224, a timer, for invalidating an input operation to the touch panel 60 for a predetermined time period, is actuated. Thus, for the predetermined time period after a sign is selected and the corresponding process is decided to be performed, even if the user touches the touch panel 60, the input is disregarded. Therefore, an erroneous operation is prevented, in which, after selecting a sign, a process corresponding the sign is decided to be performed against the user's will because the user accidentally touches the touch panel 60. When the predetermined time period has passed after activation of the timer, or after the second touch position was defined, Step S226 is executed, in which a process corresponding to the sign is carried out.
As described above, in the second embodiment, a sign is selected and a process corresponding to the sign is decided to be performed, only by moving or sliding a finger from the first touch position for a predetermined distance while keeping the finger in contact with the touch panel 60. Thus, the operation is simple.
Note that the first embodiment and the second embodiment may be applied to a single cellular phone, so that the user can select one of the operations of the first and second embodiments. Further, the present invention can be applied to a device other than a cellular phone.
Although the embodiments of the present invention have been described herein with reference to the accompanying drawings, obviously many modifications and changes may be made by those skilled in this art without departing from the scope of the invention.
The present disclosure relates to subject matter contained in Japanese Patent Application No. 2004-138715 (filed on May 7, 2004) which is expressly incorporated herein, by reference, in its entirety.
Number | Date | Country | Kind |
---|---|---|---|
P2004-138715 | May 2004 | JP | national |