electronic machinery
The electronic device uses position and time thresholds to manage drag and menu functions, ensuring menu display at intended times and preventing unintended overlap.
Patent Information
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-09-30
- Publication Date
- 2026-04-09
AI Technical Summary
In electronic devices, the display of a menu on the screen due to a long-press operation can unintentionally overlap with drag operations, leading to unintended menu display during intended drag operations.
An electronic device with a position acquisition unit, elapsed time measurement unit, and menu display unit that activates either a drag function or a menu display function based on the relationship between elapsed time and thresholds for cursor position change, preventing unintended menu display during drag operations.
The device ensures menu display at the intended timing by the user, preventing unintentional display during drag operations and maintaining operational integrity.
Smart Images

Figure 2026062326000001_ABST
Abstract
Description
Technical Field
[0001] This embodiment relates to an electronic device.
Background Art
[0002] Conventionally, in an electronic device such as a notebook computer, a function of displaying a menu on the screen by a long-press operation by a user is known. When the user tries to display the menu, for example, when the user performs a long-press operation, the menu is displayed on the screen.
Prior Art Documents
Patent Documents
[0003]
Patent Document 1
Patent Document 2
Summary of the Invention
Problems to be Solved by the Invention
[0004] In the case where an electronic device is configured such that, for example, when the user long-presses the left button of a mouse or the like for a predetermined time to display a menu on the screen, the mouse operation for displaying the menu overlaps with the drag operation of an object, which is a function standard in the OS (Operating System). Therefore, there is a risk that the menu may be displayed on the screen unintentionally while the user is performing a drag operation on the object.
[0005] An object of an embodiment of the present invention is to provide an electronic device capable of displaying a menu on the screen at a timing intended by the user.
Means for Solving the Problems
[0006] An electronic device according to a first aspect of the present invention comprises a position acquisition unit, an elapsed time measurement unit, and a menu display unit. The position acquisition unit acquires the cursor position on the screen when a predetermined operation is performed in a device that controls the cursor position on the screen. The elapsed time measurement unit measures the elapsed time from the start to the end of the predetermined operation. The menu display unit displays a menu on the screen when the elapsed time exceeds a first threshold, and cancels the display of the menu based on the relationship between the amount of change in the cursor position on the screen since the predetermined operation started and a second threshold, which is a threshold for the amount of change.
[0007] The electronic device comprises a first function and a second function. The first function changes the position of an object on the screen by changing the cursor position on the screen while a predetermined operation is being performed. The second function causes a menu display unit to display a menu on the screen. Either the first or second function is activated based on the relationship between the elapsed time and a first threshold, and the relationship between the amount of change in the cursor position on the screen since the predetermined operation began and a second threshold.
[0008] In the aforementioned electronic device, the second threshold is calculated according to the screen magnification. [Effects of the Invention]
[0009] According to the above-described aspect of the present invention, a menu can be displayed on the screen at the timing intended by the user. [Brief explanation of the drawing]
[0010] [Figure 1] Figure 1 is a diagram illustrating the operation on the screen of the electronic device according to the first embodiment. [Figure 2] Figure 2 is a functional block diagram showing the functional configuration of the electronic device in the first embodiment. [Figure 3] Figure 3 is a diagram illustrating the operation of the menu display unit in the first embodiment. [Figure 4]Figure 4 illustrates the change over time in the menu cancellation boundary line of the first embodiment. [Figure 5] Figure 5 is a flowchart showing an example of the processing flow of the electronic device in the first embodiment. [Figure 6] Figure 6 is a flowchart showing an example of the processing flow of electronic devices in a proportional relationship. [Figure 7] Figure 7 is a functional block diagram showing the functional configuration of the electronic device in the second embodiment. [Modes for carrying out the invention]
[0011] [First Embodiment] The embodiments of the electronic device 1 will be described in detail below with reference to the attached drawings. The configuration of the embodiments described below, as well as the operation and results (effects) brought about by said configuration, are merely examples and are not limited to the contents described below. In this specification, ordinal numbers are used only to distinguish parts and materials and do not indicate order or priority.
[0012] First, with reference to Figure 1, an overview of the electronic device 1 according to the first embodiment will be described. Figure 1 is a diagram illustrating the operation on the screen 20 of the electronic device 1 of this embodiment. The electronic device 1 described in this embodiment is an example of a desktop personal computer or a notebook personal computer.
[0013] The operating system (OS) installed in the electronic device 1 typically includes input devices such as a mouse (hereinafter referred to as "mouse") or touchpad, which the user uses to specify and operate objects such as windows 207 and buttons displayed on the screen 20. The user operates the cursor 201 displayed on the monitor screen 20 using the mouse or touchpad. In this embodiment, the operation of the cursor 201 using a mouse will be described.
[0014] The electronic device 1 moves objects such as the cursor 201 and the window 207 on the screen 20 by operations such as horizontal movement of the mouse, left button click (hereinafter referred to as left click), right button click (hereinafter referred to as right click), and pressing of the left or right button, which are functions standard to the operating system (OS). Further, as a function separate from the OS standard function, the electronic device 1 displays, on the screen 20, a menu 202 which is a set of one or more icons indicating the functions installed in the electronic device 1, by an operation of pressing the left button of the mouse for a predetermined time. Details of this will be described later.
[0015] Next, referring to FIG. 2, the functional configuration of the electronic device 1 will be described. FIG. 2 is a functional block diagram showing the functional configuration of the electronic device 1 of the present embodiment. As shown in FIG. 2, the electronic device 1 includes a position acquisition unit 11, an elapsed time measurement unit 12, and a menu display unit 13.
[0016] The position acquisition unit 11 acquires the position of the cursor 201 on the screen 20 when a predetermined operation is performed in the electronic device 1 which is a device for controlling the position of the cursor 201 on the screen 20. More specifically, when the left button of the mouse is pressed, the position acquisition unit 11 acquires the position information of the cursor 201 on the screen 20 at the time when the left button is pressed.
[0017] Further, when the cursor 201 moves while the left button of the mouse is pressed, the position acquisition unit 11 acquires the amount of change in the position of the cursor 201 on the screen 20 after the left button is pressed (hereinafter referred to as cursor position change amount). Furthermore, the position acquisition unit 11 sets a second threshold value which is a predetermined threshold value of the cursor position change amount. Details of this will be described later.
[0018] In this embodiment, the position information of the cursor 201, the cursor position change amount, and the second threshold value obtained by the position acquisition unit 11 are pixel values indicating the X coordinate and the Y coordinate on the screen 20. The actual length indicated by the pixel value in the position information of the cursor 201 and the like varies depending on the resolution of the monitor (not shown) of the electronic device 1. The position information of the cursor 201 and the like obtained by the position acquisition unit 11 can be referred to by the electronic device 1 at an arbitrary timing. Also, the operation of pressing the left button may be the operation of pressing the right button.
[0019] The elapsed time measurement unit 12 measures the elapsed time from the start to the end of a predetermined operation. More specifically, when the left button is pressed, the elapsed time measurement unit 12 measures the elapsed time while the left button is pressed, based on the time at the point when the left button is pressed. When the left button is released from the state where it is pressed, the elapsed time measurement unit 12 ends the measurement of the elapsed time. The electronic device 1 monitors the elapsed time measured by the elapsed time measurement unit 12 at any time.
[0020] FIG. 3 is a diagram for explaining the operation of the menu display unit 13 of this embodiment. As shown in FIG. 3, when the elapsed time exceeds the first threshold value, the menu display unit 13 displays the menu 202 on the screen 20, and based on the magnitude relationship between the amount of change in the position of the cursor 201 on the screen 20 from the start of a predetermined operation and the second threshold value, which is the threshold value of the amount of change, the menu display unit 13 ends the measurement of the elapsed time by the elapsed time measurement unit 12 and cancels the display of the menu 202.
[0021] More specifically, the menu display unit 13 acquires from the elapsed time measurement unit 12 the elapsed time while the left button is pressed and the first threshold value, which is the value of a predetermined elapsed time, and when the elapsed time exceeds the first threshold value, the menu display unit 13 displays the menu 202 on the screen 20. Also, the menu display unit 13 acquires from the position acquisition unit 11 the cursor position change amount and the second threshold value, which is a predetermined change amount threshold value, and cancels the display of the menu 202 based on the magnitude relationship between the cursor position change amount and the second threshold value.
[0022] Here, the first threshold is a threshold indicating the elapsed time from when the left button is pressed until the menu 202 is displayed on the screen 20, and is a value that is pre-set in the electronic device 1. The second threshold indicates the range in which the display of the menu 202 is not canceled, starting from the position of the cursor 201 at the time the left button is pressed. The second threshold is indicated by the radius of the menu cancellation boundary line 205 in Figure 3. The menu cancellation boundary line 205 is a boundary line that is not actually displayed on the screen 20, but it may be displayed on the screen 20.
[0023] Furthermore, the position of the cursor 201 at the moment the left button is pressed is indicated by the cursor press start position 203 in Figure 3. The cursor press start position 203 is not actually displayed on the screen 20, but it may be displayed on the screen 20.
[0024] The menu display unit 13 displays menu 202 on screen 20 without canceling its display if the elapsed time while the left button is pressed exceeds the first threshold and the amount of cursor position change does not exceed the menu cancellation boundary line 205 (second threshold) (Figure 3(a)).
[0025] Furthermore, if the amount of cursor position change exceeds the menu cancellation boundary line 205, the menu display unit 13 terminates the elapsed time measurement by the elapsed time measurement unit 12 and does not display the menu 202 on the screen 20 (Figure 3(b)).
[0026] The content and number of functions displayed in menu 202, the first threshold, and the location where menu 202 is displayed are pre-configured by the user on the electronic device 1, but may be designed in a way that the user cannot change them.
[0027] Next, with reference to Figure 4, the changes in the menu cancellation boundary line 205 over time will be explained. Figure 4 is a diagram illustrating the changes in the menu cancellation boundary line 205 over time in this embodiment. As shown in Figure 4, the menu cancellation boundary line 205 expands concentrically around the cursor press start position 203 as time passes after it is displayed on the screen 20. Figure 4 shows the change in the menu cancellation boundary line 205 (second threshold dn) from the time the left button is pressed until 2.0 seconds have elapsed, when the first threshold tc is 2.0 seconds. For example, when the elapsed time t1 (0 seconds) is 0 seconds, the second threshold d1 becomes the menu cancellation boundary line 205, and when the elapsed time t2 (1.0 seconds) is 1.0 seconds, the second threshold d2 becomes the menu cancellation boundary line 205.
[0028] When the left button is pressed and 2.0 seconds have elapsed, which is the first threshold tc, the cursor 201 is positioned within the range where the display of menu 202, indicated by the menu cancellation boundary line 205, is not canceled. Therefore, the menu display unit 13 displays menu 202 near the cursor 201.
[0029] The menu display unit 13 generates a range expansion table based on the elapsed time tn and first threshold tc obtained from the elapsed time measurement unit 12 while the left button is pressed, and the second threshold dn obtained from the position acquisition unit 11. The range expansion table is a table that shows the correspondence between the elapsed time tn while the left button is pressed and the second threshold dn (menu cancel boundary line 205).
[0030] In the range expansion table of this embodiment, the second threshold dn increases in proportion to the elapsed time tn while the left button is pressed. That is, as time passes while the left button is pressed, the menu cancel boundary line 205 expands concentrically. The electronic device 1 can refer to the generated range expansion table at any time.
[0031] Next, returning to Figure 1, we will explain the relationship between the mouse drag operation on an object and the display of menu 202 by the menu display unit 13. As described above, the electronic device 1 has a function (hereinafter referred to as the drag function) as a standard OS function that changes the position of an object on the screen 20 by changing the position of the cursor 201 on the screen 20 while a predetermined operation is being performed. The drag function is a function that moves an object on the screen 20 by combining an operation of horizontal mouse movement and pressing the left button. For example, when the left button is pressed and the mouse is moved horizontally, the electronic device 1 moves the object (window 207) on the screen 20 in the same direction as the horizontal movement of the mouse.
[0032] At this time, since the left button is pressed, the elapsed time measurement unit 12 measures the elapsed time while the left button is pressed. The electronic device 1 activates either the first function or the second function based on the relationship between the elapsed time tn and the first threshold tc, and the relationship between the amount of change in the position of the cursor 201 on the screen 20 since the start of a predetermined operation and the second threshold dn. These functions are described below. The first function is an example of a drag function. The second function is an example of a function in which the menu display unit 13 displays menu 202 on the screen 20.
[0033] For example, if the elapsed time tn while the left button is pressed exceeds the first threshold tc, and the amount of cursor position change does not exceed the menu cancellation boundary line 205 (second threshold dn), then even if the user performs a drag operation on window 207, the drag function will not be executed, and the menu display unit 13 will display menu 202 on screen 20. In other words, in this case, the display function of menu 202 by the menu display unit 13 takes precedence over the drag function.
[0034] Furthermore, for example, if the amount of cursor position change exceeds the menu cancellation boundary line 205, and the user performs a drag operation on window 207, the drag operation on window 207 is executed. Meanwhile, the elapsed time measurement unit 12 terminates the measurement of elapsed time tn, and the menu display unit 13 does not display menu 202 on screen 20. In other words, in this case, the drag function takes precedence over the menu display function of menu 202 by the menu display unit 13. In this way, the electronic device 1 activates either the first or second function based on the relationship between the elapsed time tn while the left button is pressed and the first threshold tc, and the relationship between the amount of change in the position of the cursor 201 on screen 20 since the left button was pressed and the second threshold dn.
[0035] When the elapsed time tn while the left button is pressed is relatively small compared to the first threshold tc, the menu cancel boundary line 205 is a relatively small circle, making it easier for the user to perform operations where the cursor position change exceeds the menu cancel boundary line 205. In other words, even when the elapsed time tn while the left button is pressed exceeds the first threshold tc, the user can still easily perform drag operations, and the unintentional display of the menu on screen 20 when attempting to perform drag operations is suppressed.
[0036] In contrast, as the elapsed time tn while the left button is pressed approaches the first threshold tc, the menu cancellation boundary line 205 becomes a relatively large circle, making it easier for the user to perform operations where the amount of cursor position change does not exceed the menu cancellation boundary line 205. In other words, even if the user unintentionally moves the mouse while trying to display menu 202, it is still easy to display menu 202. Thus, even when the electronic device 1 is equipped with both a drag function and a menu display function by the menu display unit 13, menu 202 can be displayed on the screen 20 at the timing intended by the user.
[0037] [Process flow for displaying the menu] Next, with reference to Figure 5, the process flow for displaying menu 202 by the electronic device 1 will be described. Figure 5 is a flowchart showing an example of the process flow of the electronic device 1 in this embodiment. The flowchart in Figure 5 shows the process flow from the standby / resident state in which the electronic device 1 is not pressed to the display of menu 202 on screen 20.
[0038] In step S101 in Figure 5, when the user presses the left button and starts a long-press operation of the left button, in step S102, the position acquisition unit 11 acquires the position (Mx, My) of the cursor 201 on the screen 20 in pixels at the time the left button was pressed.
[0039] Next, in step S103, the electronic device 1 refers to the elapsed time t1 and second threshold d1 of the range expansion table generated by the menu display unit 13. Then, in step S104, the elapsed time measurement unit 12 starts measuring the elapsed time tn while the left button is pressed.
[0040] When the elapsed time measurement unit 12 starts measuring the elapsed time tn while the left button is pressed, the position acquisition unit 11 monitors whether or not the left button has been released from the pressed state.
[0041] In step S105, if the position acquisition unit 11 determines that the left button has been released, the electronic device 1 returns to the standby / resident state (step S101). If the position acquisition unit 11 determines that the left button has not been released, in step S106, the electronic device 1 determines whether the position of the cursor 201 has moved by more than the second threshold d1 referenced in the range expansion table from the position of the cursor 201 on the screen 20 (Mx, My) at the time the left button was pressed.
[0042] In step S106, if the electronic device 1 determines that the position of the cursor 201 has moved significantly beyond the second threshold d1 of the reference destination in the range expansion table from the position of the cursor 201 on the screen 20 (Mx, My) at the time the left button was pressed, in step S107, the elapsed time measurement unit 12 terminates the measurement of the elapsed time tn, and the electronic device 1 returns to the standby / resident state (step S101). If the electronic device 1 determines that the position of the cursor 201 has not moved significantly beyond the second threshold d1 of the reference destination in the range expansion table from the position of the cursor 201 on the screen 20 (Mx, My) at the time the left button was pressed, in step S108, the electronic device 1 determines whether the elapsed time tn measured by the elapsed time measurement unit 12 has exceeded the elapsed time t1 of the reference destination in the range expansion table.
[0043] If the electronic device 1 determines that the elapsed time tn measured by the elapsed time measurement unit 12 does not exceed the elapsed time t1 referenced in the range expansion table, it returns to step S105, and the electronic device 1 repeats the processing of steps S105 to S108 until the elapsed time tn exceeds the elapsed time t1. If the electronic device 1 determines that the elapsed time tn measured by the elapsed time measurement unit 12 has exceeded the elapsed time t1 referenced in the range expansion table, in step S109, the electronic device 1 determines whether the elapsed time tn since the left button was pressed has exceeded the first threshold tc.
[0044] In step S109, if the electronic device 1 determines that the elapsed time tn since the left button was pressed does not exceed the first threshold tc, in step S110, the electronic device 1 increments the index of the range expansion table it references. For example, if the electronic device 1 was referencing the elapsed time t1 and second threshold d1 of the range expansion table, the electronic device 1 increments the index of the range expansion table to reference the elapsed time t2 and second threshold d2. Then, it returns to step S105, and the electronic device 1 repeats the process from step S105 to step S110 until the elapsed time tn exceeds the first threshold tc.
[0045] In step S109, if the electronic device 1 determines that the elapsed time tn since the left button was pressed has exceeded the first threshold tc, the electronic device 1 displays menu 202 on screen 20 (step S111) and returns to the standby / resident state (step S101). Through the above procedure, the electronic device 1 performs the process of displaying menu 202.
[0046] Here, as an example of proportionality, the process flow for displaying a menu on the screen in a conventional electronic device will be explained with reference to Figure 6. Figure 6 is a flowchart showing an example of the process flow of an electronic device in proportionality. In the following explanation, steps similar to those in the process of electronic device 1 of this embodiment may be omitted.
[0047] In step S201 in Figure 6, when the user presses the left button and begins a long-press operation on the left button, in step S202, the electronic device acquires the cursor position (Mx, My) on the screen in pixels at the time the left button was pressed. Then, in step S203, the electronic device begins measuring the elapsed time while the left button is being pressed.
[0048] When an electronic device starts measuring the elapsed time while the left button is pressed, the device monitors whether or not the left button has been released from the pressed state.
[0049] In step S204, if the electronic device determines that the left button has not been released, in step S205, the electronic device determines whether the cursor position has moved by a predetermined distance from the cursor position (Mx, My) on the screen at the time the left button was pressed. Here, the predetermined distance is a constant that indicates the threshold amount of change in the cursor position on the screen since the left button was pressed, and is pre-set in the electronic device. Unlike the second threshold dn in this embodiment, the predetermined distance is a value that does not change with the elapsed time while the left button is pressed.
[0050] In step S205, if the electronic device determines that the cursor position has moved more than a specified distance from the cursor position on the screen (Mx, My) at the time the left button was pressed, in step S206, the measurement of elapsed time ends and the electronic device returns to the standby / resident state (step S201). In step S205, if the electronic device determines that the cursor position has not moved more than a specified distance from the cursor position on the screen (Mx, My) at the time the left button was pressed, in step S207, the electronic device determines whether the elapsed time since the left button was pressed has exceeded the first threshold.
[0051] In step S207, if the electronic device determines that the elapsed time since the left button was pressed exceeds the first threshold, the electronic device displays a menu on the screen (step S208) and returns to the standby / resident state (step S201). Through the above procedure, the process of displaying a menu by a conventional electronic device is performed.
[0052] As mentioned above, in the process of displaying menus on conventional electronic devices, the system always refers to a predetermined distance and a first threshold until the elapsed time since the left button was pressed exceeds the first threshold, without referring to a range expansion table. In other words, the menu cancellation boundary displayed on the screen does not change with the elapsed time since the left button was pressed. Therefore, for example, if a user attempts to perform a drag operation or similar when the elapsed time while the left button is pressed exceeds the first threshold, the cursor position may not cross the menu cancellation boundary, and the menu may be displayed on the screen unintentionally.
[0053] In contrast, in the process of displaying menu 202, the electronic device 1 in this embodiment refers to a range expansion table, and the menu cancellation boundary line 205 (second threshold dn) is determined based on the referenced range expansion table. Therefore, even when the device has both a drag function and a menu display function by the menu display unit 13, the user can display menu 202 on the screen 20 at the desired timing.
[0054] The electronic device 1 of the above embodiment comprises a position acquisition unit 11, an elapsed time measurement unit 12, and a menu display unit 13. The position acquisition unit 11 acquires the position of the cursor 201 on the screen 20 when a predetermined operation (long press operation of the left button) is performed on the electronic device 1, which is a device that controls the position of the cursor 201 on the screen 20. The elapsed time measurement unit 12 measures the elapsed time tn from the start to the end of the predetermined operation. The menu display unit 13, for example, displays a menu 202 on the screen 20 when the elapsed time tn exceeds a first threshold tc, and cancels the display of the menu 202 by ending the measurement of elapsed time tn by the elapsed time measurement unit 12 based on the relationship between the amount of change in the position of the cursor 201 on the screen 20 since the start of the predetermined operation and a second threshold dn, which is the threshold of the amount of change.
[0055] With the above configuration, the electronic device 1 can prevent the menu 202 from being unintentionally displayed on the screen 20 when the user performs a predetermined operation (for example, holding down the left mouse button) while using another application, and can also prevent the display of the menu 202 from being canceled if the cursor 201 on the screen 20 is moved unintentionally while trying to display the menu 202, because the position of the cursor 201 has changed by more than a second threshold dn since the predetermined operation began. Consequently, the electronic device 1 can display the menu 202 on the screen 20 at the timing intended by the user.
[0056] Furthermore, in this embodiment, the electronic device 1 includes a first function and a second function. The first function changes the position of an object (window 207) on the screen 20 by changing the position of the cursor 201 on the screen 20 while a predetermined operation (long press operation of the left button) is being performed. The second function causes the menu display unit 13 to display a menu 202 on the screen 20. The electronic device 1 activates either the first or second function based on the relationship between the elapsed time tn and the first threshold tc, and the relationship between the amount of change in the position of the cursor 201 on the screen 20 since the predetermined operation was started and the second threshold dn.
[0057] With the above configuration, for example, if the elapsed time tn is less than the first threshold tc, the first function (object dragging function) is activated, and if the elapsed time tn exceeds the first threshold tc and the amount of change in the position of the cursor 201 on the screen 20 is less than the second threshold dn, the second function (menu display function of the menu display unit 13) is activated. Consequently, the electronic device 1 can suppress the unintentional display of menu 202 on the screen 20 while the user is performing a drag operation, and can also suppress the cancellation of the display of menu 202 if the position of the cursor 201 on the screen 20 changes by more than the second threshold dn after a predetermined operation has started, when the user unintentionally moves the cursor 201 on the screen 20 in an attempt to display menu 202.
[0058] [Second Embodiment] Next, a second embodiment will be described with reference to Figure 7. In the following description of embodiments, components having the same function as those already described will be denoted by the same reference numerals as those previously described, and their description may be omitted. Furthermore, multiple components denoted by the same reference numerals do not necessarily share all functions and properties, and may have different functions and properties depending on the embodiment.
[0059] Figure 7 is a functional block diagram showing the functional configuration of the electronic device 1A of the second embodiment. In the electronic device 1A of the second embodiment shown in Figure 7, the position acquisition unit 11A calculates a second threshold dnA, which is the range in which the display of the menu 202 is not canceled, starting from the position of the cursor 201 when the left button is pressed, according to the magnification ratio M of the screen 20. The second threshold dnA is a value calculated by multiplying the second threshold dn value, which is pre-set in the electronic device 1, by the magnification ratio M of the screen 20, and can be calculated by the following formula 1. dnA = dn × M / 100 ... Equation 1
[0060] In the first embodiment, for example, if the size of the display of the electronic device 1 is relatively small, such as 13 inches, the screen magnification M of the display may be set to 150 percent. In such a case, the menu cancellation boundary line 205 (second threshold dn) becomes a relatively small circle with respect to the amount of mouse movement. Therefore, when a user attempts to display menu 202 using mouse operation, even a slight movement of the mouse may cause the cursor 201 to cross the menu cancellation boundary line 205, potentially unintentionally canceling the display of menu 202.
[0061] On the other hand, in the second embodiment, the position acquisition unit 11A performs a correction by multiplying the second threshold dn by the magnification ratio M of the screen 20. The menu display unit 13 then acquires the corrected value, the second threshold dnA, from the position acquisition unit 11A and cancels the display of the menu 202 based on the relationship between the cursor position change amount and the second threshold dnA. As a result, the electronic device 1A can improve the operability of the cursor 201 when the user operates the menu display, even when the second threshold dn is a small value relative to the screen resolution, such as 5 pixels.
[0062] In the electronic device 1A of the above embodiment, the second threshold value dnA is calculated according to the magnification ratio M of the screen 20.
[0063] In the above configuration, the second threshold dnA, which is the threshold for the amount of change in the position of the cursor 201 on the screen 20 after a predetermined operation has started, is calculated according to the magnification M of the screen 20. If the second threshold is not calculated according to the magnification M of the screen 20, for example, if the second threshold is a small value relative to the screen resolution such as 5 pixels, even a slight movement of the mouse or other device will cause the amount of change in the position of the cursor 201 to exceed the second threshold. As a result, when a user tries to display the menu 202, they may feel that the menu 202 is canceled by even a slight movement of the mouse or other device, and may feel uncomfortable with the operation of the mouse or other device.
[0064] On the other hand, the electronic device 1A of this embodiment corrects the second threshold dn by multiplying it by the magnification ratio M of the screen 20, for example. As a result, even when the second threshold dn is a small value relative to the screen resolution, such as 5 pixels, the electronic device 1A can improve the operability of the cursor 201 when the user operates the menu display.
[0065] Although embodiments of the present invention have been described above, these embodiments are presented as examples and are not intended to limit the scope of the invention. These embodiments can be implemented in various other forms, and various omissions, substitutions, and modifications can be made without departing from the spirit of the invention. These embodiments and their variations are included in the scope and spirit of the invention, as well as in the claims and their equivalents. [Explanation of Symbols]
[0066] 1, 1A electronic equipment 11, 11A Position acquisition part 12. Elapsed time measurement unit 13 Menu display section 20 screens 201 Cursor 202 Menu 205 Menu Cancel Boundary 207 Window dn, dnA Second threshold at elapsed time tn tc First threshold tn: Elapsed time while the left button is pressed.
Claims
1. A device for controlling the cursor position on a screen includes a position acquisition unit that acquires the cursor position on the screen when a predetermined operation is performed, A time measurement unit that measures the elapsed time from the start to the end of the predetermined operation, A menu display unit that displays a menu on the screen when the elapsed time exceeds a first threshold, and cancels the display of the menu based on the relationship between the amount of change in the cursor position on the screen since the predetermined operation was started and a second threshold which is the threshold of the amount of change, Equipped with, electronic equipment.
2. A first function that changes the position of an object on the screen by changing the cursor position on the screen while the predetermined operation is being performed, The menu display unit has a second function of displaying the menu on the screen, Equipped with, Based on the relationship between the elapsed time and the first threshold, and the relationship between the amount of change in the cursor position on the screen since the predetermined operation was started and the second threshold, either the first function or the second function is activated. The electronic device according to claim 1.
3. The second threshold is calculated according to the magnification of the screen. The electronic device according to claim 2.
Citation Information
Patent Citations
Screen display type key input device
JP3766695B2
screen touch input device
JP4316687B2