CN110124304B - Control method and device of gamepad - Google Patents

Control method and device of gamepad Download PDF

Info

Publication number
CN110124304B
CN110124304B CN201910252498.3A CN201910252498A CN110124304B CN 110124304 B CN110124304 B CN 110124304B CN 201910252498 A CN201910252498 A CN 201910252498A CN 110124304 B CN110124304 B CN 110124304B
Authority
CN
China
Prior art keywords
gamepad
electronic device
game
electronic equipment
mode
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.)
Active
Application number
CN201910252498.3A
Other languages
Chinese (zh)
Other versions
CN110124304A (en
Inventor
代仁军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201910252498.3A priority Critical patent/CN110124304B/en
Publication of CN110124304A publication Critical patent/CN110124304A/en
Priority to PCT/CN2020/081324 priority patent/WO2020200023A1/en
Application granted granted Critical
Publication of CN110124304B publication Critical patent/CN110124304B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/20Input arrangements for video game devices
    • A63F13/21Input arrangements for video game devices characterised by their sensors, purposes or types
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/20Input arrangements for video game devices
    • A63F13/21Input arrangements for video game devices characterised by their sensors, purposes or types
    • A63F13/214Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads
    • A63F13/2145Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads the surface being also a display device, e.g. touch screens
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/20Input arrangements for video game devices
    • A63F13/24Constructional details thereof, e.g. game controllers with detachable joystick handles

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)
  • Position Input By Displaying (AREA)

Abstract

The application provides a control method of a game handle, and the position relation between the game handle and an electronic device connected with the game handle can be a first position relation or a second position relation. When the position relationship between the game handle and the connected electronic equipment is the first position relationship or the second position relationship, different instructions can be corresponded. Therefore, the game handle can be arranged on the first side of the electronic equipment to trigger the electronic equipment to execute the first instruction; and the electronic equipment can be also arranged on the second side of the electronic equipment to trigger the electronic equipment to execute the second instruction. The same gamepad can be installed at different positions of the electronic equipment for use, so that the use cost of a user and the production and maintenance cost of a manufacturer are reduced.

Description

Control method and device of gamepad
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for controlling a gamepad.
Background
The joystick is an input device of an electronic device, and a user can control a simulated character in a game by manipulating buttons of the joystick or the like when playing the game of the electronic device. The use experience of the traditional holding type game handle is poor, and more users select to use a single-side handle.
Generally, a single-sided handle is installed at one side of an electronic device, for example, the single-sided handle can be installed at the left side of a mobile phone when the mobile phone is used with a horizontal screen. One hand of the user operates the single-sided handle to operate the game, and the other hand operates the game by touching the screen. Sometimes, the user desires to use two single-sided handles to implement a two-sided combination to implement a game using two single-sided handles without touching the screen. Generally, the left and right handles of the double-sided handle have different functions. When a user has the requirement of using the double-side handle, two different single-side handles need to be purchased, and the use cost is increased. Gamepad manufacturers also need to prepare two sets of different molds to produce the left and right handles, respectively, which increases production and maintenance costs.
Disclosure of Invention
The embodiment of the invention provides a control method of a game handle, wherein a single-side handle can be independently used; the double-side handle can also be combined by two same single-side handles to realize the function of the double-side handle; thereby reducing the use cost of the user, as well as the production and maintenance costs of the manufacturer.
In a first aspect, an embodiment of the present application provides a control method of a gamepad, where the method may include: establishing connection between a game handle and electronic equipment; the magnetic sensor on the game handle senses the polarity of the magnet, and the position relation between the game handle and the connected electronic equipment is detected; responding to the detected position relation between the game handle and the connected electronic equipment as a first position relation, and enabling a first operation key of the game handle to correspond to a first instruction; responding to the detected position relation between the game handle and the connected electronic equipment as a second position relation, and enabling the first operation key of the game handle to correspond to a second instruction; the first position relationship is different from the second position relationship, and the first instruction is different from the second instruction.
In the method, the game handle can be connected to different positions of the electronic equipment, so that the operation keys of the game handle correspond to different instructions. Therefore, the same game handle can be arranged at different positions of the electronic equipment to realize different functions. Also, two game pads may be used in combination. The use mode of the game handle is flexible, and different functions can be realized by the same game handle. The use cost of the user is reduced, and the production and maintenance cost of the manufacturer is reduced.
In one possible design, the first positional relationship is that the gamepad is mounted on a first side of the electronic device; the second position relation is that the game handle is arranged on the second side of the electronic equipment; wherein the first side is different from the second side.
In one possible design, sensing the polarity of the magnet via a magnetic sensor on the gamepad, sensing the positional relationship of the gamepad to the connected electronic device includes: if the magnetic sensor senses the magnetic south pole, the game handle is determined to be arranged on the first side of the electronic equipment; and if the magnetic north pole is sensed by the magnetic sensor, determining that the gamepad is installed on the second side of the electronic equipment. In this manner, it is determined on which side of the electronic device the game pad is mounted by sensing different polarities of the magnets by the magnetic sensors.
In one possible design, the gamepad is rotated 180 degrees clockwise or counterclockwise based on the orientation of the gamepad as mounted on the first side of the electronic device, which is the orientation of the gamepad as mounted on the second side of the electronic device.
In one possible design, in response to detecting that the position relationship between the game pad and the connected electronic device is the third position relationship, the first operation key of the game pad corresponds to the third instruction. In this manner, the gamepad can be used in a third position attached to the electronic device. The use mode of the game handle is more flexible.
In one possible design, in a case where the game pad is turned on, if it is determined that the game pad is not mounted on the first side or the second side of the electronic device, it is determined that the positional relationship of the game pad and the connected electronic device is a third positional relationship; wherein the first side is different from the second side. This approach provides a specific method of determining that the positional relationship of the gamepad and the connected electronic device is a third positional relationship.
In one possible design, the gamepad includes a magnetic sensor, and the positional relationship of the gamepad and the connected electronic device is determined to be a third positional relationship if it is determined that the magnetic sensor does not have an output signal. This approach provides a specific method of determining that the positional relationship of the gamepad and the connected electronic device is a third positional relationship.
In a second aspect, embodiments of the present application provide a gamepad that may include a processor and a memory. The processor is configured to enable the gamepad to perform the corresponding functions of the method of the first aspect described above. The memory is used for coupling with the processor and storing necessary program instructions and data of the sound box. In addition, the game pad can also comprise a communication interface for supporting the communication between the game pad and other electronic equipment. The communication interface may be a transceiver or a transceiver circuit. The gamepad may also include at least one key and/or joystick.
In one possible design, the communication interface is used to establish a connection between the gamepad and the electronic device; the processor is used for sensing the polarity of the magnet through the magnetic sensor on the gamepad and detecting the position relation between the gamepad and the connected electronic equipment; the processor is further used for responding to the first position relation detected by the position relation between the game handle and the connected electronic equipment, and determining that a first operation key of the game handle corresponds to a first instruction; the processor is further used for responding to the second position relation detected by the position relation between the game handle and the connected electronic equipment, and determining that the first operation key of the game handle corresponds to the second instruction; the first position relationship is different from the second position relationship, and the first instruction is different from the second instruction. At least one key and/or joystick for receiving user input to control a virtual object displayed on the electronic device.
In one possible design, the first positional relationship is that the gamepad is mounted on a first side of the electronic device; the second position relation is that the game handle is arranged on the second side of the electronic equipment; wherein the first side is different from the second side.
In one possible design, sensing the polarity of the magnet via a magnetic sensor on the gamepad, sensing the positional relationship of the gamepad to the connected electronic device includes: if the magnetic sensor senses the magnetic south pole, the game handle is determined to be arranged on the first side of the electronic equipment; and if the magnetic north pole is sensed by the magnetic sensor, determining that the gamepad is installed on the second side of the electronic equipment.
In one possible design, the gamepad is rotated 180 degrees clockwise or counterclockwise based on the orientation of the gamepad as mounted on the first side of the electronic device, which is the orientation of the gamepad as mounted on the second side of the electronic device.
In one possible design, the processor is further configured to determine that the first operation key of the game pad corresponds to the third instruction in response to detecting that the position relationship between the game pad and the connected electronic device is the third position relationship.
In one possible design, if the processor determines that the gamepad is not mounted on the first side or the second side of the electronic device with the gamepad being turned on, the positional relationship of the gamepad and the connected electronic device is determined to be a third positional relationship; wherein the first side is different from the second side.
In one possible design, the gamepad includes a magnetic sensor, and the processor is further configured to determine that the gamepad is in a third positional relationship with the connected electronic device if it is determined that the magnetic sensor is not present in the output signal.
An embodiment of the present application further provides a computer storage medium, which includes computer instructions, and when the computer instructions are run on an electronic device, the electronic device is caused to execute the control method of the gamepad according to the first aspect and the possible design manners thereof.
Embodiments of the present application further provide a computer program product, which when run on a computer, causes the computer to execute the control method of the gamepad according to the first aspect and its possible design.
An embodiment of the present application further provides a chip system, where the chip system includes a processor, and is configured to implement the method according to any one of the above aspects.
Any one of the above-mentioned devices, computer storage media, computer program products, or chip systems is configured to execute the above-mentioned corresponding method, so that the beneficial effects achieved by the device, the computer storage media, the computer program products, or the chip systems can refer to the beneficial effects of the corresponding schemes in the above-mentioned corresponding methods, and are not described herein again.
Drawings
FIG. 1 is a first schematic view of an example of use of a gamepad;
FIG. 2 is a schematic view of a second example of use of a gamepad;
FIG. 3 is a first diagram illustrating an example of a scenario of a control method of a joystick according to an embodiment of the present disclosure;
FIG. 4 is a system framework diagram of a game pad control method according to an embodiment of the present disclosure;
fig. 5 is a schematic composition diagram of a hardware structure of an electronic device according to an embodiment of the present disclosure;
FIG. 6 is a schematic diagram illustrating a hardware structure of a game pad according to an embodiment of the present disclosure;
fig. 7 is a schematic view illustrating a scene example of a control method of a gamepad according to an embodiment of the present disclosure;
FIG. 8A is a schematic diagram showing the relative positions of a magnetic sensor of a gamepad and a magnet of an electronic device according to an embodiment of the present disclosure;
FIG. 8B is a schematic diagram illustrating a relative position of a magnetic sensor of a gamepad and a magnet of an electronic device according to an embodiment of the present disclosure;
FIG. 8C is a schematic diagram showing the relative positions of the magnetic sensor of the joystick and the magnet of the electronic device according to an embodiment of the present disclosure;
FIG. 8D is a fourth schematic diagram illustrating a relative position of a magnetic sensor of a gamepad and a magnet of an electronic device according to an embodiment of the present disclosure;
FIG. 8E is a schematic diagram of the relative positions of the magnetic sensor of the gamepad and the magnet of the electronic device according to an embodiment of the present disclosure;
FIG. 9 is a schematic diagram of a Hall sensor circuit;
fig. 10 is a schematic view illustrating a scene example of a control method of a gamepad according to an embodiment of the present disclosure;
fig. 11A is a schematic view illustrating a scene example of a control method of a gamepad according to an embodiment of the present disclosure;
fig. 11B is a schematic diagram illustrating a scene example of a control method of a gamepad according to an embodiment of the present disclosure;
FIG. 12 is a sixth exemplary scenario of a method for using a single-sided handle according to an embodiment of the present disclosure;
fig. 13 is a schematic diagram of an example system framework according to an embodiment of the present application.
Detailed Description
When playing the game of the electronic equipment, the user can control the simulation role in the game and the like by operating the rocker, the key and the like of the game handle. The following description will be given taking a mobile phone as an example of the electronic device.
Conventional game pads are generally divided into left and right sides. It should be noted that, in the embodiment of the present application, the left and right are based on the orientation of the user facing the mobile phone; that is, when the user faces the mobile phone, the left-hand side is the left side, and the right-hand side is the right side. Referring to fig. 1, the game handle in fig. 1 is a double-sided handle. The left handle and the right handle of the bilateral handle are distributed differently, and the functions of the keys of the left handle and the keys of the right handle are different. For example, the rocker and the keys on the left handle are used for controlling actions with larger amplitude of the game simulation characters, and the rocker and the keys on the right handle are used for controlling finer actions. Illustratively, the left handle is provided with a rocker 1, and the right handle is provided with a rocker 6; the joystick 1 may be used to control the direction of action of a game simulation character and the joystick 6 may be used to control the aiming direction of a game simulation character.
More and more users choose to use a single-sided handle. Referring to fig. 2, the game handle in fig. 2 is a single-side handle. For example, a single-sided handle is installed on the left side of the mobile phone, and a rocker and a key on the handle are used for controlling the action of the game simulation character with larger amplitude. The right hand of the user can operate directly on the screen to control the finer movements of the game simulation character.
Sometimes, a user desires to combine two single-side handles to realize a function of a double-side handle to control a game without touching a screen. Generally, the left and right handles of a bilateral handle function differently, as in the bilateral handle of fig. 1. The two unilateral handles are combined for use, and a user needs to purchase two different unilateral handles, so that the use cost is increased. Gamepad manufacturers also need to prepare two sets of different molds to produce the left and right handles, respectively, which increases production and maintenance costs.
Referring to fig. 3, an embodiment of the present application provides a method for controlling a gamepad. As shown in fig. 3 (a), the single-sided handle is installed on the left side of the mobile phone, and the rocker and the key of the single-sided handle are executed according to the setting of the first mode. For example, when the single-sided handle is installed on the left side of the mobile phone, the rocker and the key on the single-sided handle are used for controlling the action of the game simulation character with larger amplitude. As shown in fig. 3 (b), the single-sided handle is installed on the right side of the mobile phone by rotating 180 degrees clockwise or counterclockwise on the basis of the left direction, and the rocker and the key of the single-sided handle are executed according to the setting of the second mode. For example, when the single-sided handle is installed on the right side of the mobile phone, the rocker and the key on the single-sided handle are used for controlling finer movements. As shown in fig. 3 (c), one single-sided handle is installed on the left side, and the other same single-sided handle is installed on the right side by rotating clockwise or counterclockwise 180 degrees on the basis of the left side direction, so that the two single-sided handles can be combined into a double-sided handle for use.
With continued reference to fig. 3, as shown in fig. 3 (d), in some embodiments, the single-sided handle may also be used without being mounted on the side of the handset, and the rocker and keys of the single-sided handle are implemented according to the third mode setting. The setting of the single-sided handle in the third mode can be the same as the first mode or the second mode, and can also be different from the first mode or the second mode. For example, the single-sided handle may not be mounted on one side of the mobile phone, but rather may be held by the user's hand alone for remote control of games on the mobile phone. Illustratively, a joystick and keys on a single-sided handle are used to simulate gestures in a game.
According to the control method of the game handle provided by the embodiment of the application, one unilateral handle can be used as a left side handle; can also be used as a right-side handle; or the mobile phone is not used as a left handle and a right handle, but is operated by remote control independently of the mobile phone. Thus, one single-side handle can be used independently, and two identical single-side handles can also be combined for use. Therefore, the same single-side handle of a plurality of users can be combined for use, and the user can also use one single-side handle independently, so that the use method is flexible, and the use cost is saved. Gamepad manufacturers may also reduce manufacturing and maintenance costs.
The control method of the game pad provided by the embodiment of the application can be applied to the system shown in fig. 4. The system may include an electronic device 100 and a gamepad 200. The electronic device 100 and the gamepad 200 may be connected by wireless or wired connections. A user may control a game in the electronic device 100 through the gamepad 200. For example, a user may control a simulated character in a game on electronic device 100 by manipulating a joystick or keys on gamepad 200.
The electronic device 100 may be a portable computer (e.g., a mobile phone, etc.), a notebook computer, a Personal Computer (PC), a tablet computer, a television, etc., and the embodiment of the present application does not limit the specific form of the electronic device 100. The gamepad 200 may be a single-sided gamepad.
Referring to fig. 5, a hardware architecture of the electronic device 100 is shown. The electronic device 100 may include a processor 110, a wireless communication module 120, a display 130, and two magnets 140.
It is to be understood that the illustrated structure of the embodiment of the present invention does not specifically limit the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a Graphics Processing Unit (GPU), a controller, a memory, a video codec, a Digital Signal Processor (DSP), and the like. The different processing units may be separate devices or may be integrated into one or more processors.
The controller may be, among other things, a neural center and a command center of the electronic device 100. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution. For example, the controller may be used to convert a received key signal of the game pad 200 into a control signal of a game.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals.
The wireless communication function of the electronic device 100 may be implemented by an antenna, the wireless communication module 120, or the like.
The antenna is used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas.
The wireless communication module 120 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), ZigBee (ZigBee), infrared technology (IR), and the like. For example, the wireless communication module 120 may be used to implement the communication between the electronic device 100 and the game pad 200 in the embodiment of the present application. The wireless communication module 120 may be one or more devices integrating at least one communication processing module. The wireless communication module 120 receives electromagnetic waves via an antenna, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. Wireless communication module 120 may also receive a signal to be transmitted from processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves via an antenna for radiation.
The electronic device 100 implements display functions via the GPU, the display screen 130, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 130 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 130 is used to display images, videos, and the like. The display screen 130 includes a display panel. The display panel may be a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), or the like. In some embodiments, the electronic device 100 may include 1 or N display screens 130, with N being a positive integer greater than 1.
In the present application, the display screen 130 may display an interface of an application (such as a game interface).
The magnet 140 may be a magnet. Magnet 140 cooperates with the magnetic sensor of gamepad 200 to provide magnetism to the magnetic sensor. Two magnets 140 are provided on the left and right sides of the electronic device 100, respectively, to match the positions of the magnetic sensors of the game pad 200. Specifically, the relative position and matching manner of the magnet 140 and the magnetic sensor of the game pad 200 are described in detail in the following embodiments. For example, the magnet 140 may be mounted inside the housing of the electronic device 100.
Referring to fig. 6, a hardware architecture of the gamepad 200 is shown. The gamepad 200 may include a processor 210, a wireless communication module 220, operation keys 230, and a magnetic sensor 240.
It is to be understood that the illustrated structure of the present embodiment is not intended to limit the game pad 200 in any particular manner. In other embodiments of the present application, gamepad 200 can include more or fewer components than shown, or some components can be combined, some components can be separated, or a different arrangement of components can be used. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 210 is a control center of the game pad 200, and can generate operation control signals according to the instruction operation codes and the timing signals, so as to complete the control of instruction fetching and instruction execution. For example, the processor 210 may be configured to receive the signal from the magnetic sensor 240, to recognize an operation mode (e.g., a first mode or a second mode) of the game pad 200, and to report the operation mode of the game pad 200 to the electronic device 100. For example, the processor 210 may be configured to report the operation information of the operation key 230 in the corresponding operation mode to the electronic device 100.
A memory may also be provided in processor 210 for storing instructions and data. The memory may hold instructions or data that have been used or recycled by processor 210. If the processor 210 needs to use the instruction or data again, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 210, thereby increasing the efficiency of the system.
The wireless communication function of the game pad 200 may be realized by an antenna, a wireless communication module 220, and the like.
The antenna is used for transmitting and receiving electromagnetic wave signals.
The wireless communication module 220 may provide a solution for wireless communication applied to the game pad 200, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) network), Bluetooth (BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), ZigBee (ZigBee), Infrared (IR), and the like. For example, the wireless communication module 220 may be used to implement the communication between the game pad 200 and the electronic device 100 in the embodiment of the present application. The wireless communication module 220 may be one or more devices integrating at least one communication processing module. The wireless communication module 220 receives electromagnetic waves via an antenna, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 210. The wireless communication module 220 may also receive a signal to be transmitted from the processor 210, frequency modulate it, amplify it, and convert it into electromagnetic waves via an antenna for radiation.
The operation keys 230 include a jog dial, a key, and the like. The game pad 200 may receive an input of the operation keys 230, and generate a key signal input related to user setting and function control of the operation keys 230. The keys and/or rockers of the operation keys 230 may receive user input to control virtual objects displayed on the electronic device 100. The operation keys 230 may be mechanical keys. In some embodiments, the operation keys 230 may also be touch keys. For example, gamepad 200 also includes touch sensor 250 and display 260. The display screen 260 may be used to display text, images, etc.; the display screen 260 includes a display panel. The touch sensor 250, also referred to as a "touch panel," may be disposed on the display screen 260; the touch sensor 250 and the display screen 260 form a touch screen, which is also called a "touch screen". The touch sensor 250 may be used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the processor to determine the touch event type. Visual output associated with the touch operation may also be provided via the display screen 260. In some examples, touch sensor 250 may also be disposed on a surface of gamepad 200 at a different location than display screen 260. Alternatively, in some examples, the surface of gamepad 200 is provided with touch sensors 250, rather than a display screen.
The magnetic sensor 240 includes a hall sensor. In some embodiments, magnetic sensor 240 is used in conjunction with magnet 140 of electronic device 100, and gamepad 200 can detect magnet 140 using magnetic sensor 240 to determine the mode of operation of the gamepad. For example, the magnetic sensor 240 may be placed inside the housing of the gamepad 200 (one-sided handle), near one side of the electronic device 100. Illustratively, if the front of the game pad 200 is aligned with the front of the electronic device and is installed on the left side of the electronic device, the magnetic sensor 240 is installed on the right side of the game pad 200. The magnetic sensor 240 matches the position of the magnet 140 of the electronic device 100. Specifically, the relative position and matching manner of the magnetic sensor 240 and the magnet 140 of the electronic device 100 are described in detail in the following embodiments.
In the embodiment of the present application, a surface of the electronic device 100 on which the display screen is mounted is a front surface, and a surface opposite to the front surface is a back surface. The joystick 200 has a front surface on which operation keys are mounted, and a back surface opposite to the front surface. When the front of the electronic device 100 or the joystick 200 faces the user, the left hand of the user is the left side, and the right hand of the user is the right side.
The control method of the gamepad provided by the embodiment of the application is specifically described below with reference to the accompanying drawings.
In some embodiments, the gamepad may operate in different modes of operation depending on whether it is mounted on the left or right side of the electronic device. The operation modes of the game pad include a first mode and a second mode, and the first mode and the second mode are different. When the game handle is determined to be arranged on the first side of the electronic equipment, the working mode of the game handle is a first mode, and the operation keys of the game handle work according to the first mode; when the game handle is determined to be arranged on the second side of the electronic equipment, the working mode of the game handle is the second mode, and the operation keys of the game handle work according to the second mode. For example, the first side is the left side and the second side is the right side.
The gamepad may be mounted to a side of the electronic device. For example, a card slot is arranged on one side of the game handle, and the game handle can be clamped on one side of the electronic device through the card slot. When the game handle is used, the connection between the game handle and the electronic equipment is established. For example, the gamepad may be wirelessly connected to the electronic device; illustratively, the gamepad may be connected to the electronic device via bluetooth. As another example, the gamepad can be wired to the electronic device.
In one implementation mode, the gamepad detects the position relation between the gamepad and the connected electronic equipment, and the gamepad is determined to be arranged on the first side or the second side of the electronic equipment according to the position relation between the gamepad and the electronic equipment. The positional relationship of the gamepad to the electronic device may include: a first positional relationship and a second positional relationship; wherein the first positional relationship is different from the second positional relationship. For example, the first positional relationship is that the game pad is mounted on a first side of the electronic device (see fig. 3 (a)); the second positional relationship is that the game pad is mounted on the second side of the electronic apparatus (see fig. 3 (b)). The position relation of the game handle and the electronic equipment is determined, namely the game handle is installed on the first side of the electronic equipment or the game handle is installed on the second side of the electronic equipment.
It should be noted that fig. 3 exemplifies a case where the mobile phone horizontal screen is placed. In some embodiments, the electronic device may also be placed portrait. Illustratively, the game pad is mounted on the left side of the electronic device, as shown in fig. 7 (a); the game pad is mounted on the right side of the electronic device as shown in fig. 7 (b).
In one implementation, the gamepad is mounted on the left or right side of the electronic device as determined by the relative position between the magnetic sensor of the gamepad and the magnet of the electronic device. For example, the magnetic sensor is disposed on one side (e.g., the right side) of the gamepad, and the two magnets are disposed on opposite sides (e.g., one on the left side and one on the right side) of the electronic device. The position of the magnetic sensor of the gamepad on the gamepad matches the position of the magnet of the electronic device on the electronic device. When the gamepad is arranged on the left side or the right side of the electronic equipment, the magnetic sensors can respectively sense different polarities of the magnets. The polarity of the magnet is divided into a magnetic south pole (S pole) and a magnetic north pole (N pole). The game handle determines that the game handle is arranged on the first side or the second side of the electronic equipment through the polarity sensed by the magnetic sensor.
The position of the magnetic sensor of the gamepad on the gamepad is matched with the position of the magnet of the electronic device on the electronic device, namely the magnetic sensor can sense the polarity of the magnet. If the game paddle determines that the magnetic sensor outputs the first signal, determining that the game paddle is installed on the first side of the electronic equipment; and if the magnetic sensor is determined to output the second signal, determining that the game handle is installed on the second side of the electronic equipment.
For example, the magnetic sensor may output different signals according to the polarity of the magnet. The different polarities of the magnetic sensor and the magnet are opposite, so that different output signals are output. For example, when the magnetic sensor is opposite to the S pole of the magnet, a first signal is output; the magnetic sensor is opposite to the N pole of the magnet, and then outputs a second signal. Illustratively, the magnetic sensor transmits the output signal thereof to a processor of the gamepad, and the processor receives the first signal and determines that the gamepad is installed on the left side of the electronic device; the processor receives the second signal and determines that the gamepad is installed on the right side of the electronic device. Thus, the game pad can be determined to be installed on the left side or the right side of the electronic device according to the output signal of the magnetic sensor.
In one example, the relative positions of the magnetic sensor and the magnet are set such that, when the game pad is on the left side of the electronic device, the S pole of the magnet is on the side close to the magnetic sensor and the N pole of the magnet is on the side away from the magnetic sensor. When the game handle is installed on the right side of the electronic device by rotating 180 degrees clockwise or anticlockwise on the basis of the left side direction, the S pole of the magnet is arranged on the side far away from the magnetic sensor, and the N pole of the magnet is arranged on the side close to the magnetic sensor. The magnetic sensor is opposite to the S pole of the magnet, and then outputs a first signal; the magnetic sensor is opposite to the N pole of the magnet, and then outputs a second signal. If the game paddle confirms that the magnetic sensor outputs the first signal, the game paddle confirms that the game paddle is installed on the left side of the electronic equipment; if the game paddle confirms that the magnetic sensor outputs the second signal, the game paddle confirms that the game paddle is installed on the right side of the electronic equipment.
In another example, the relative position of the magnetic sensor and the magnet is set such that, when the game pad is on the left side of the electronic device, the N pole of the magnet is on the side close to the magnetic sensor and the S pole of the magnet is on the side away from the magnetic sensor. When the game handle is installed on the right side of the electronic device by rotating 180 degrees clockwise or anticlockwise on the basis of the left side direction, the N pole of the magnet is arranged on the side far away from the magnetic sensor, and the S pole of the magnet is arranged on the side close to the magnetic sensor. The magnetic sensor is opposite to the S pole of the magnet, and then outputs a first signal; the magnetic sensor is opposite to the N pole of the magnet, and then outputs a second signal. If the game paddle confirms that the magnetic sensor outputs the first signal, the game paddle confirms that the game paddle is installed on the right side of the electronic equipment; if the game paddle confirms that the magnetic sensor outputs the second signal, the game paddle confirms that the game paddle is installed on the left side of the electronic equipment.
Referring to fig. 8A-8E, five arrangements of the position of the magnetic sensor of the gamepad on the gamepad, the position of the magnet of the electronic device on the electronic device, and the relative positions of the magnetic sensor and the magnet are shown. For more clear illustration, a dotted line (central line) in fig. 8A to 8E is used as an auxiliary line. The distance from the upper side of the gamepad or the electronic device to the midline is equal to the distance from the lower side of the gamepad or the electronic device to the midline.
As shown in fig. 8A, the magnetic sensor 240 of the game pad is disposed on the right side of the game pad and near the midline. The electronic device is provided with a magnet 1401 and a magnet 1402. Magnet 1401 is placed on the left side of the electronic device with the N pole facing up and the S pole facing down; the magnet 1402 is disposed on the right side of the electronic device with the S-pole facing up and the N-pole facing down; and both magnet 1401 and magnet 1402 are disposed above the midline. When the game pad is mounted on the left side of the electronic device, the magnetic sensor 240 faces the S pole of the magnet 1401, and outputs a first signal. When the joystick is rotated 180 degrees clockwise or counterclockwise on the basis of the left direction and installed on the right side of the electronic device, the magnetic sensor 240 is opposite to the N pole of the magnet 1402, and outputs a second signal.
As shown in fig. 8B, the magnetic sensor 240 of the game pad is disposed on the right side of the game pad and near the center line. The electronic device is provided with a magnet 1401 and a magnet 1402. Magnet 1401 is positioned on the left side of the electronic device with the N pole up and the S pole down, above the midline; the magnet 1402 is disposed on the right side of the electronic device with the N pole facing up and the S pole facing down, disposed below the centerline. When the game pad is mounted on the left side of the electronic device, the magnetic sensor 240 faces the S pole of the magnet 1401, and outputs a first signal. When the joystick is rotated 180 degrees clockwise or counterclockwise on the basis of the left direction and installed on the right side of the electronic device, the magnetic sensor 240 is opposite to the N pole of the magnet 1402, and outputs a second signal.
As shown in fig. 8C, the magnetic sensor 240 of the game pad is disposed on the right side of the game pad and near the midline. The electronic device is provided with a magnet 1401 and a magnet 1402. Magnet 1401 is positioned on the left side of the electronic device with the S pole facing left and the N pole facing right, positioned near the centerline; the magnet 1402 is disposed on the right side of the electronic device with the S pole facing left and the N pole facing right, disposed near the centerline. When the game pad is mounted on the left side of the electronic device, the magnetic sensor 240 faces the S pole of the magnet 1401, and outputs a first signal. When the joystick is rotated 180 degrees clockwise or counterclockwise on the basis of the left direction and installed on the right side of the electronic device, the magnetic sensor 240 is opposite to the N pole of the magnet 1402, and outputs a second signal.
As shown in fig. 8D, the magnetic sensor 240 of the game pad is disposed on the right side of the game pad, below the midline. The electronic device is provided with a magnet 1401 and a magnet 1402. Magnet 1401 is positioned on the left side of the electronic device with the N pole facing up and the S pole facing down, positioned near the centerline; the magnet 1402 is disposed on the right side of the electronic device with the N pole facing up and the S pole facing down, disposed near the centerline. When the game pad is mounted on the left side of the electronic device, the magnetic sensor 240 faces the S pole of the magnet 1401, and outputs a first signal. When the joystick is rotated 180 degrees clockwise or counterclockwise on the basis of the left direction and installed on the right side of the electronic device, the magnetic sensor 240 is opposite to the N pole of the magnet 1402, and outputs a second signal.
As shown in fig. 8E, the magnetic sensor 240 of the game pad is disposed on the right side of the game pad and above the midline. The electronic device is provided with a magnet 1401 and a magnet 1402. Magnet 1401 is positioned on the left side of the electronic device with the S pole facing up and the N pole facing down, positioned near the centerline; the magnet 1402 is disposed on the right side of the electronic device with the S-pole facing up and the N-pole facing down, disposed near the centerline. When the game pad is mounted on the left side of the electronic device, the magnetic sensor 240 faces the S pole of the magnet 1401, and outputs a first signal. When the joystick is rotated 180 degrees clockwise or counterclockwise on the basis of the left direction and installed on the right side of the electronic device, the magnetic sensor 240 is opposite to the N pole of the magnet 1402, and outputs a second signal.
It should be noted that five arrangements of the relative positions between the magnetic sensor and the magnet in fig. 8A to 8E are merely exemplary. In practical applications, there may be other arrangements as long as the magnetic sensor is disposed on the left side or the right side of the electronic device, and the magnetic sensor is opposite to the different polarities of the magnets. For example, in fig. 8A to 8E, the magnetic sensor is disposed on the left side of the electronic device, opposite to the S pole of the magnet; the magnetic sensor is disposed on the right side of the electronic device, opposite to the N pole of the magnet. In practical use, the magnetic sensor may be arranged to be opposite to the N pole of the magnet when arranged on the left side of the electronic device; the magnetic sensor is disposed on the right side of the electronic device, opposite the S-pole of the magnet. For example, in fig. 8A to 8E, a magnet 1401 and a magnet 1402 are respectively provided on the left and right sides of the electronic device on which the landscape screen is placed; in practical use, the magnet 1401 and the magnet 1402 can be respectively arranged at the left side and the right side of the electronic device vertical screen; or, it may be arranged that the magnet 1401 and the magnet 1402 are arranged on both the left and right sides of the electronic device where the landscape screen and the portrait screen are placed. The specific setting manner is not described herein.
In the following, the polarity characteristic function of a Hall sensor will be described by taking a Hall (Hall) sensor as an example of a magnetic sensor. Illustratively, FIG. 9 is a Hall sensor circuit. The Hall sensor circuit comprises a Hall sensor, a switch chopper, a chopper amplifier, a comparator, a polarity discriminator, an output buffer, an output port 1 and an output port 2, and can also comprise a biaser, an oscilloscope, a clock and the like. When the Hall sensor is opposite to the S pole of the magnetic pole, the output port 1 outputs a signal; when the Hall sensor is opposite to the N pole of the magnetic pole, the output port 2 outputs a signal. The output signal of the output port 1 is the first signal output by the hall sensor, and the output signal of the output port 2 is the second signal output by the hall sensor.
Further, the game pad operates in different operation modes according to whether the game pad is installed on the left side or the right side of the electronic device. For example, if the gamepad determines that it is mounted on the left side of the electronic device, it operates in the first mode. If the gamepad determines that it is mounted on the right side of the electronic device, it operates in a second mode. For example, the first mode is a left mode, and the second mode is a right mode; i.e. in a left mode if the gamepad detects that it is mounted on the left side of the electronic device, and in a right mode if the gamepad detects that it is mounted on the right side of the electronic device.
In the embodiments of the present application, the first mode is a left-side mode, and the second mode is a right-side mode. In actual use, the user can set the mode of the game handle on the electronic equipment according to the requirement. For example, the modes of the gamepad include a left-handed mode and a right-handed mode. In the left-hand mode, the first mode is a right-hand mode and the second mode is a left-hand mode; that is, if the game pad detects that it is mounted on the left side of the electronic device, the operation mode of the game pad is determined as the right side mode, and if the game pad detects that it is mounted on the right side of the electronic device, the operation mode of the game pad is determined as the left side mode. In the right-handed mode, the first mode is a left-side mode, and the second mode is a right-side mode; that is, if the game pad detects that it is mounted on the left side of the electronic device, the operation mode of the game pad is determined as the left side mode, and if the game pad detects that it is mounted on the right side of the electronic device, the operation mode of the game pad is determined as the right side mode.
For example, as shown in fig. 10, the electronic device 100 may receive a user's click operation (e.g., a single click operation) on the "set" application icon. In response to a user's click operation on the "settings" application icon, the electronic device 100 may display the settings interface in fig. 10. The settings interface may include "flight mode" options, "WLAN" options, "Bluetooth" options, "Mobile network" options, and "Games pad" options 801, among others. Specific functions of the "flight mode" option, the "WLAN" option, the "bluetooth" option, and the "mobile network" option may refer to specific descriptions in the conventional technology, and are not described herein again in this embodiment of the present application.
The electronic device 100 may receive a user's click operation (e.g., a single click operation) on the "gamepad" option 801. In response to a user clicking on the "gamepad" option 801, the electronic device 100 may display the gamepad interface of FIG. 10. Included in the gamepad interface is a "dominant hand" option 802. Electronic device 100 may receive a user click operation (e.g., a single click operation) on "dominant hand" option 802. In response to a user clicking on the "dominant hand" option 802, the electronic device 100 may display the dominant hand interface of FIG. 10. The dominant hand interface includes a "left hand" option 803 and a "right hand" option 804. For example, in response to a user clicking on the "left hand" option 803, the electronic device 100 may be set to the left-handed mode. In response to a user clicking on the "right-handed" option 804, device 100 may be set to the right-handed mode.
Further, the electronic apparatus 100 transmits the set mode information to the game pad 200. Gamepad 200 receives the mode information, from which the gamepad can be set to a left-handed mode or a right-handed mode.
In the first mode (left mode) and the second mode (right mode), the operation keys of the joystick may correspond to different functions, respectively. For example, in the left-side mode, the operation keys of the game pad are used for controlling the actions of the game simulation character with larger amplitude; in the right mode, the operation keys of the joystick are used to control the fine movements of the game simulation character. In an application program (for example, a game) of the electronic device, a function corresponding to each operation key is defined, that is, an instruction corresponding to each operation key is defined. For example, each instruction may correspond to an action of a simulated character in the game.
The user can realize corresponding functions by controlling the operation keys of the game handle. For example, the user's manipulation of the operation keys of the joystick may include: pushing operation of the rocker by the user, pressing operation of the key by the user, and the like. The game handle is arranged on the left side or the right side of the electronic equipment, and the electronic equipment can be triggered to execute different instructions in response to the operation of the same operation key by a user. For example, in response to detecting that the position relationship between the gamepad and the connected electronic device is a first position relationship, the gamepad operates in a first mode, and in response to the user operating a first operation key, the gamepad triggers the electronic device to execute a first instruction; and in response to the detection that the position relation between the game handle and the connected electronic equipment is the second position relation, the game handle works in a second mode, and in response to the operation of the first operation key by the user, the game handle triggers the electronic equipment to execute a second instruction. Wherein, the first operating key is any operating key of the game pad.
In one implementation, the first operation key of the game pad corresponds to the first operation signal (for example, the operation signal may be a coded signal) in the left mode; the right mode corresponds to a second operation signal; wherein the first operation signal is different from the second operation signal. When the gamepad detects the operation of the first operation key by the user, if the gamepad is determined to work in the left side mode, a first operation signal can be output in response to the operation of the first operation key by the user; if the game handle is determined to work in the right side mode, the second operation signal can be output in response to the operation of the first operation key by the user. The game handle transmits the first operation signal or the second operation signal to the electronic equipment. The electronic device (or an application of the electronic device) stores a first rule, and the first rule comprises an instruction corresponding to each operation signal. After the electronic device receives the first operation signal or the second operation signal, a corresponding instruction can be executed in an application of the electronic device according to the first rule. For example, the application may be an application currently run by a processor of the electronic device; alternatively, the application may be an application currently displayed on a display interface of the electronic device.
For example, in response to a user's manipulation of one of the operation keys of the joystick, the operation key outputs manipulation information. The processor of the game handle generates a corresponding operation signal according to the working mode of the game handle and the control information; the wireless communication module transmits the operation signal to the game handle; the wireless communication module of the game pad transmits the operation signal to the wireless communication module of the electronic device. After receiving the operation signal, the wireless communication module of the electronic device transmits the operation signal to a processor of the electronic device. And after receiving the operation signal, the processor of the electronic equipment executes a corresponding instruction in one application of the electronic equipment according to the first rule.
Illustratively, as shown in fig. 11A, the joystick includes a button 1, a button 2, a button 3, a button 4, and a joystick 5. When the gamepad is installed on the left side of the mobile phone, the key 1, the key 2, the key 3, the key 4 and the rocker 5 respectively correspond to the operation signal 1, the operation signal 2, the operation signal 3, the operation signal 4 and the operation signal 5. When the game handle is arranged on the right side of the mobile phone, the key 1, the key 2, the key 3, the key 4 and the rocker 5 respectively correspond to an operation signal 6, an operation signal 7, an operation signal 8, an operation signal 9 and an operation signal 10. When the game paddle confirms that the game paddle is arranged on the left side of the mobile phone, the game paddle receives the pressing operation of a user on the key 1 and responds to the pressing operation of the user on the key 1 to output an operation signal 1; the mobile phone receives the operation signal 1, and determines that the instruction corresponding to the operation signal 1 is to control the game simulation role to change game equipment in the game according to a first rule. When the game paddle confirms that the game paddle is arranged on the right side of the mobile phone, the game paddle receives the pressing operation of a user on the key 1 and responds to the pressing operation of the user on the key 1 to output an operation signal 6; the mobile phone receives the operation signal 6, and determines that the instruction corresponding to the operation signal 6 is that the game simulation role is controlled to pick up game equipment in the game according to the first rule.
Therefore, when the game handle is arranged on the left side or the right side of the mobile phone, different instructions are executed in response to the operation and control of the same operation key by a user.
In another implementation, one operation key of the game pad corresponds to one operation signal. When the game handle detects the operation of one operation key by a user, the operating mode information of the game handle and an operation signal output by responding to the operation of the operation key by the user are transmitted to the electronic equipment. The electronic device (or an application of the electronic device) stores a second rule, and the second rule includes an instruction corresponding to each operation signal in different gamepad working modes. For example, for the first operation signal, the left mode corresponds to command 1 and the right mode corresponds to command 2. After the electronic equipment receives the first operation signal and the working mode information of the gamepad, determining the working mode of the gamepad according to the working mode information of the gamepad; and executing corresponding instructions in an application of the electronic equipment according to the received first operation signal, the working mode of the game handle and the second rule. For example, the application may be an application currently run by a processor of the electronic device; alternatively, the application may be an application currently displayed on a display interface of the electronic device.
For example, in response to a user's manipulation of one of the operation keys of the joystick, the operation key outputs manipulation information. The processor of the game handle generates a corresponding operation signal according to the control information and transmits the operation signal and the working mode information of the game handle to the wireless communication module of the game handle; the wireless communication module of the game handle transmits the operation signal and the working mode information of the game handle to the wireless communication module of the electronic equipment. After receiving the operation signal and the working mode information of the game handle, the wireless communication module of the electronic equipment transmits the operation signal and the working mode information of the game handle to a processor of the electronic equipment. And the processor of the electronic equipment receives the operation signal and the working mode information of the game handle, and executes a corresponding instruction in one application of the electronic equipment according to the operation signal, the working mode information of the game handle and the second rule.
Illustratively, as shown in fig. 11A, the joystick includes a key 1, a key 2, a key 3, a key 4, and a joystick 5, which respectively correspond to the operation signal 1, the operation signal 2, the operation signal 3, the operation signal 4, and the operation signal 5. The gamepad receives the pressing operation of the key 1 by the user, and outputs an operation signal 1 in response to the pressing operation of the key 1 by the user. The game pad transmits the operation signal 1 and the working mode information of the game pad to the mobile phone. The mobile phone receives the operation signal 1 and the working mode information of the game handle, and determines the working mode of the game handle according to the working mode information of the game handle. For example, the mobile phone confirms that the operating mode of the game pad is the left mode, and confirms that the command corresponding to the operation signal 1 is to control the game simulation character to change the game equipment in the game according to the second rule. And the mobile phone confirms that the working mode of the gamepad is the right-side mode, and confirms that the instruction corresponding to the operation signal 1 is to control the game simulation role to pick up game equipment in the game according to a second rule.
Therefore, when the game handle is arranged on the left side or the right side of the mobile phone, different instructions are executed in response to the operation and control of the same operation key by a user.
According to the control method of the game handle provided by the embodiment of the application, the game handle is arranged on the left side of the electronic equipment, and then the game handle works in a first mode (for example, a left mode); the gamepad is mounted on the right side of the electronic device and operates in a second mode (e.g., a right mode). Under different working modes, the operation keys of the game handle correspond to different functions. Therefore, the same gamepad can be arranged on the left side of the electronic equipment and works in the first mode; and can also be installed at the right side of the electronic equipment to work in the second mode. Also, two gamepads, one mounted on the left side of the electronic device, may be operated in a first mode; the other is arranged at the right side of the electronic equipment and works in a second mode; the two game handles are combined into a double-side handle for use. The use mode of the game handle is flexible, and different functions can be realized by the same game handle. The use cost of the user is reduced, and the production and maintenance cost of the manufacturer is reduced.
In some embodiments, the modes of operation of the gamepad may further include a third mode; the third mode is different from the first mode or the second mode. And if the game handle determines that the working mode is not the first mode or the second mode, the working mode is determined to be the third mode, and the operation keys of the game handle work according to the third mode. For example, when the game pad is turned on, the game pad determines that it is not installed on the first side of the electronic device, and determines that it is not installed on the second side of the electronic device, the position relationship between the game pad and the connected electronic device is determined to be the third position relationship, and the operation mode of the game pad is the third mode. For example, the third mode is a free mode. Illustratively, as shown in fig. 3 (d), a user may hold the gamepad alone for remote control of a game on the electronic device.
In one implementation, the game pad determines whether the game pad is installed on the left side or the right side of the electronic device through the polarity sensed by the magnetic sensor. For example, the different polarities of the magnetic sensor and the magnet may output different output signals. The game handle can be determined to be arranged on the left side or the right side of the electronic equipment according to the output signal of the magnetic sensor. If the game pad determines that the magnetic sensor does not output a signal (i.e., does not output the first signal and does not output the second signal; i.e., determines that the operating mode of the game pad is not the first mode or the second mode), the position relationship between the game pad and the connected electronic device is determined to be the third position relationship, and the operating mode of the game pad is determined to be the third mode.
For example, if the processor 210 of the game pad 200 determines that the game pad 200 is in the on state and determines that the magnetic sensor 240 does not output any signal, it determines that the operation mode of the game pad 200 is the third mode.
In one possible design, in the third mode, the operation keys of the game pad correspond to functions different from those in the first mode and the second mode. The game handle is in a first mode, a second mode or a third mode, and the electronic equipment can be triggered to execute different instructions in response to the operation of the same operation key by a user. For example, in response to detecting that the position relationship between the gamepad and the connected electronic device is a first position relationship, the gamepad operates in a first mode, and in response to the user operating a first operation key, the gamepad triggers the electronic device to execute a first instruction; responding to the detection that the position relation between the gamepad and the connected electronic equipment is a second position relation, enabling the gamepad to work in a second mode, and responding to the operation and control of a user on the first operation key, and enabling the gamepad to trigger the electronic equipment to execute a second instruction; and in response to the detection that the position relation between the gamepad and the connected electronic equipment is a third position relation, the gamepad works in a third mode, and in response to the operation of the first operation key by the user, the gamepad triggers the electronic equipment to execute a third instruction. Wherein, the first operating key is any operating key of the game pad.
In one implementation mode, a first operation key of the game handle corresponds to a first operation signal in a left mode; the right mode corresponds to a second operation signal; corresponding to the third operating signal in the free mode. Wherein the third operation signal is different from the first operation signal or the second operation signal. When the game pad detects the operation of the first operation key by the user, if the working mode of the game pad is determined to be the free mode, the third operation signal can be output in response to the operation of the first operation key by the user. The game handle transmits the third operation signal to the electronic device. The electronic device (or an application of the electronic device) stores a first rule, and the first rule comprises an instruction corresponding to each operation signal. After receiving the third operation signal, the electronic device may execute a corresponding instruction in an application of the electronic device according to the first rule. For example, the application may be an application currently run by a processor of the electronic device; alternatively, the application may be an application currently displayed on a display interface of the electronic device.
Illustratively, as shown in fig. 11B, the joystick includes a button 1, a button 2, a button 3, a button 4, and a joystick 5. When the gamepad is installed on the left side of the mobile phone, the key 1, the key 2, the key 3, the key 4 and the rocker 5 respectively correspond to the operation signal 1, the operation signal 2, the operation signal 3, the operation signal 4 and the operation signal 5. When the game handle is arranged on the right side of the mobile phone, the key 1, the key 2, the key 3, the key 4 and the rocker 5 respectively correspond to an operation signal 6, an operation signal 7, an operation signal 8, an operation signal 9 and an operation signal 10. When the game handle is in a free mode, the key 1, the key 2, the key 3, the key 4 and the rocker 5 respectively correspond to an operation signal 11, an operation signal 12, an operation signal 13, an operation signal 14 and an operation signal 15. When the game paddle confirms that the game paddle is arranged on the left side of the mobile phone, the game paddle receives the pressing operation of a user on the key 1 and responds to the pressing operation of the user on the key 1 to output an operation signal 1; the mobile phone receives the operation signal 1, and determines that the instruction corresponding to the operation signal 1 is to control the game simulation role to change game equipment in the game according to a first rule. When the game paddle confirms that the game paddle is arranged on the right side of the mobile phone, the game paddle receives the pressing operation of a user on the key 1 and responds to the pressing operation of the user on the key 1 to output an operation signal 6; the mobile phone receives the operation signal 6, and determines that the instruction corresponding to the operation signal 6 is that the game simulation role is controlled to pick up game equipment in the game according to the first rule. When the gamepad confirms that the gamepad is in the free mode, the gamepad receives the pressing operation of the user on the key 1 and responds to the pressing operation of the user on the key 1 to output an operation signal 11; the mobile phone receives the operation signal 11, and determines that the instruction corresponding to the operation signal 11 is to control the game simulation role to squat in the game according to the first rule.
Therefore, when the game handle is arranged on the left side or the right side of the mobile phone or is independent of the mobile phone, different instructions are executed in response to the operation of the same operation key by a user.
In another implementation, one operation key of the game pad corresponds to one operation signal. When the game handle detects the operation of one operation key by a user, the operating mode information of the game handle and an operation signal output by responding to the operation of the operation key by the user are transmitted to the electronic equipment. The electronic device (or an application of the electronic device) stores a second rule, and the second rule includes an instruction corresponding to each operation signal in different gamepad working modes. For example, for the first operation signal, the left mode corresponds to command 1, the right mode corresponds to command 2, and the free mode corresponds to command 3. After the electronic equipment receives the first operation signal and the working mode information of the gamepad, determining the working mode of the gamepad according to the working mode information of the gamepad; and executing corresponding instructions in an application of the electronic equipment according to the received first operation signal, the working mode of the game handle and the second rule. For example, the application may be an application currently run by a processor of the electronic device; alternatively, the application may be an application currently displayed on a display interface of the electronic device.
Illustratively, as shown in fig. 11B, the joystick comprises a key 1, a key 2, a key 3, a key 4 and a joystick 5, which respectively correspond to the operation signal 1, the operation signal 2, the operation signal 3, the operation signal 4 and the operation signal 5. The gamepad receives the pressing operation of the key 1 by the user, and outputs an operation signal 1 in response to the pressing operation of the key 1 by the user. The game pad transmits the operation signal 1 and the working mode information of the game pad to the mobile phone. The mobile phone receives the operation signal 1 and the working mode information of the game handle, and determines the working mode of the game handle according to the working mode information of the game handle. For example, the mobile phone confirms that the operating mode of the game pad is the left mode, and confirms that the command corresponding to the operation signal 1 is to control the game simulation character to change the game equipment in the game according to the second rule. And the mobile phone confirms that the working mode of the gamepad is the right-side mode, and confirms that the instruction corresponding to the operation signal 1 is to control the game simulation role to pick up game equipment in the game according to a second rule. And the mobile phone confirms that the working mode of the game handle is a free mode, and confirms that the instruction corresponding to the operation signal 1 is to control the game simulation role to squat in the game according to a second rule.
Therefore, when the game handle is arranged on the left side or the right side of the mobile phone or is independent of the mobile phone, different instructions are executed in response to the operation of the same operation key by a user.
In some embodiments, the function of the operation keys of the game pad in the third mode may be the same as the function of the game pad in the first mode or the second mode. For example, in the first mode, in response to the user manipulating the first operation key, the gamepad triggers the electronic device to execute a first instruction; in the second mode, in response to the user operating the first operating key, the gamepad triggers the electronic equipment to execute a second instruction; in the third mode, the game handle triggers the electronic equipment to execute the first instruction in response to the user operating the first operation key. Or in the first mode, in response to the user operating the first operation key, the gamepad triggers the electronic equipment to execute the first instruction; in the second mode, in response to the user operating the first operating key, the gamepad triggers the electronic equipment to execute a second instruction; in the third mode, the game handle triggers the electronic equipment to execute a second instruction in response to the user operating the first operating key.
According to the control method of the game handle provided by the embodiment of the application, the game handle is arranged on the left side of the electronic equipment, and then the game handle works in a first mode (for example, a left mode); the game handle is arranged on the right side of the electronic equipment, and then the game handle works in a second mode (for example, a right side mode); the gamepad is independent of the electronic device, i.e., not mounted on the left side of the electronic device, or mounted on the right side of the electronic device, and operates in a third mode (e.g., a free mode). Under different working modes, the operation keys of the game handle can correspond to different functions. Therefore, the same gamepad can be arranged on the left side of the electronic equipment and works in the first mode; the device can also be arranged at the right side of the electronic equipment and works in a second mode; and may also operate in a third mode independent of the electronic device. Also, two gamepads, one mounted on the left side of the electronic device, may be operated in a first mode; the other is arranged at the right side of the electronic equipment and works in a second mode; the two game handles are combined into a double-side handle for use. The use mode of the game handle is flexible, and different functions can be realized by the same game handle. The use cost of the user is reduced, and the production and maintenance cost of the manufacturer is reduced.
In some embodiments, the gamepad transmits information of its operating mode to the electronic device. The electronic equipment confirms the working mode of the game handle according to the information of the working mode of the game handle. And the electronic equipment can display prompt information of the working mode of the game handle.
Illustratively, the processor 210 of the gamepad 200 transmits information of the operation mode of the gamepad 200 to the electronic device 100 through the wireless communication module 220 of the gamepad 200. The wireless communication module 120 of the electronic device 100 receives information of the operation mode of the game pad 200 and transmits the information to the processor 110 of the electronic device 100. The processor 110 of the electronic device 100 may determine the operating mode of the gamepad 200 from the information of the operating mode of the gamepad 200. Furthermore, a prompt message of the operation mode of the joystick 200 may be displayed on the display 130 of the electronic device 100.
In one example, as shown in FIG. 12, the electronic device 100 may receive a user click operation (e.g., a single click operation) on the "gamepad" option 801. In response to a user clicking on the "gamepad" option 801, the electronic device 100 may display the gamepad interface of FIG. 12. The gamepad interface includes a "dominant hand" option 802 and a "working mode" prompt 805. For example, the joystick confirms that it is operating in the left mode, and accordingly, the "operating mode" prompt 805 of the electronic device is displayed as "left-hand mode". The gamepad confirms that it is operating in the right-hand mode and accordingly, the "operating mode" prompt 805 for the electronic device is displayed as "right-hand mode". The gamepad confirms that it is operating in the free mode, and accordingly, the "operating mode" prompt 805 of the electronic device is displayed as "free mode".
It should be noted that different electronic devices have different designs. For example, in some electronic devices, the "gamepad" option 801 described above may be included in a bluetooth interface. For example, the manner in which the electronic device displays the gamepad interface includes responding to a user click on the "settings-gamepad". For example, the electronic device may display the gamepad interface in a manner that is responsive to a user clicking on the "settings-bluetooth-gamepad" operation.
In one embodiment, a cell phone and a gamepad are taken as examples. As shown in FIG. 13, the game pad includes nRF52832, RKJXY10006, AK8789-L, etc. Wherein, NordicTMnRF52832 is a chip that processor and bluetooth module two-in-one design can realize the processor and the bluetooth module of game pad in this application embodimentThe function of the wireless communication module. ALPSRKJXY10006 is a handle rocker, and can realize the function of the operation key in the embodiment of the present application. AKM AK8789-L is a Hall sensor, is arranged at the right end of the game handle, and can realize the function of a magnetic sensor in the embodiment of the application. Of course, the gamepad may also include keys, a touch pad, and a display screen, etc., not shown in fig. 13. The mobile phone comprises Hi3680, Hi1103, a magnet, a mobile phone shell and the like. The mobile phone shell is installed on the mobile phone. HisiliconTMHi3680 is a processor and can realize the functions of the processor of the mobile phone in the embodiment of the present application. Hi1103 is a Bluetooth module, and can implement the functions of the wireless communication module of the mobile phone in the embodiment of the present application. The magnet is arranged on the mobile phone shell of the mobile phone and is respectively positioned on the left side and the right side of the mobile phone shell, and the position of the magnet is matched with the position of AK 8789-L.
When the game pad is connected with the mobile phone, the hall sensors AK8789-L output a first signal or a second signal according to a magnetic signal corresponding to the polarity (such as S pole or N pole) of the magnet opposite thereto. The hall sensor AK8789-L transmits the first signal or the second signal to the processor nRF52832 of the gamepad; after the processor nRF52832 receives the corresponding signal, the game handle can be confirmed to work in the left side mode or the right side mode according to the output signal of the hall sensor AK 8789-L. The processor nRF52832 of the game pad transmits the working mode information of the game pad to the Bluetooth module Hi1103 of the mobile phone through the Bluetooth module nRF 52832. After receiving the working mode information of the gamepad, the mobile phone Bluetooth module Hi1103 transmits the information to a processor Hi3680 of the mobile phone; the mobile phone processor Hi3680 can determine the working mode of the game pad according to the working mode information of the game pad and display the working mode of the game pad in the setting information of the mobile phone.
When the rocker RKJXY10006 of the game handle detects the operation of the user, the corresponding control information is output in response to the control of the user on RKJXY 10006. The processor nRF52832 of the game pad receives the control information, encodes according to the control information and the working mode of the game pad, generates a coded signal, and transmits the coded signal to the bluetooth module Hi1103 of the mobile phone through the bluetooth module nRF 52832. The bluetooth module Hi1103 of the mobile phone transmits the received encoded signal to the processor Hi3680 of the mobile phone. After receiving the coded signal, the processor Hi3680 of the mobile phone executes a corresponding instruction in the current application according to the coded signal and a preset rule.
In other embodiments of the present application, embodiments of the present application disclose a gamepad comprising a processor, and a memory and a communication interface coupled to the processor. The gamepad may also include a magnetic sensor. For example, the processor may be the processor 210 in fig. 6, the memory may be a memory in the processor 210, the communication interface may be the wireless communication module 220 in fig. 6, and the magnetic sensor may be the magnetic sensor 240 in fig. 6. Wherein one or more computer programs are stored in the memory and configured to be executed by the processor, the one or more computer programs comprising instructions which may be used to perform the steps of the above-described method embodiments.
The embodiment of the present application further provides a computer storage medium, where a computer program code is stored in the computer storage medium, and when a processor of the electronic device executes the computer program code, the electronic device executes each step in the above method embodiments.
The embodiments of the present application also provide a computer program product, which when running on a computer, causes the computer to execute the steps in the above method embodiments.
The game pad, the computer storage medium, or the computer program product provided in the embodiments of the present application are all used for executing the corresponding methods provided above, and therefore, the beneficial effects that can be achieved by the game pad, the computer storage medium, or the computer program product may refer to the beneficial effects in the corresponding methods provided above, and are not described herein again.
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions. For the specific working processes of the system, the apparatus and the unit described above, reference may be made to the corresponding processes in the foregoing method embodiments, and details are not described here again.
Each functional unit in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially implemented or make a contribution to the prior art, or all or part of the technical solutions may be implemented in the form of a software product stored in a storage medium and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a processor to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: flash memory, removable hard drive, read only memory, random access memory, magnetic or optical disk, and the like.
The above description is only a specific implementation of the embodiments of the present application, but the scope of the embodiments of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the embodiments of the present application should be covered by the scope of the embodiments of the present application. Therefore, the protection scope of the embodiments of the present application shall be subject to the protection scope of the claims.

Claims (16)

1. A method of controlling a joystick, the method comprising:
establishing connection between the gamepad and the electronic equipment;
the magnetic sensor on the gamepad senses the polarity of a magnet to detect the position relation of the gamepad and the connected electronic equipment;
responding to the detection that the position relation between the game handle and the connected electronic equipment is a first position relation, and enabling a first operation key of the game handle to correspond to a first instruction;
responding to the fact that the position relation between the game handle and the connected electronic equipment is the second position relation, and enabling the first operation key of the game handle to correspond to the second instruction;
wherein the first positional relationship is different from the second positional relationship, and the first instruction is different from the second instruction.
2. The method of claim 1,
the first positional relationship is that the gamepad is mounted on a first side of the electronic device;
the second positional relationship is that the gamepad is mounted on a second side of the electronic device;
the first side is the left side or the right side when the electronic equipment transverse screen is placed, or the first side is the left side or the right side when the electronic equipment vertical screen is placed, and the second side is opposite to the first side.
3. The method of claim 2, wherein sensing the polarity of the magnet via a magnetic sensor on the gamepad comprises detecting a positional relationship of the gamepad to a connected electronic device comprising:
if the magnetic sensor senses the magnetic south pole, the game handle is determined to be arranged on the first side of the electronic equipment;
and if the magnetic sensor senses the magnetic north pole, determining that the gamepad is arranged on the second side of the electronic equipment.
4. The method of claim 3, wherein the gamepad is rotated 180 degrees clockwise or counterclockwise based on the orientation of the gamepad mounted on the first side of the electronic device, in the orientation of the gamepad mounted on the second side of the electronic device.
5. The method according to any one of claims 1-4, further comprising:
and responding to the third position relation detected by the position relation between the game handle and the connected electronic equipment, wherein the first operation key of the game handle corresponds to a third instruction.
6. The method of claim 5, further comprising:
under the condition that the gamepad is started, if the gamepad is determined not to be installed on the first side or the second side of the electronic equipment, determining that the position relation between the gamepad and the connected electronic equipment is a third position relation; wherein the first side is different from the second side.
7. The method of claim 6, wherein the gamepad includes a magnetic sensor, the method further comprising:
and if the magnetic sensor is determined not to have the output signal, determining that the position relation between the gamepad and the connected electronic equipment is a third position relation.
8. A gamepad, comprising:
the communication interface is used for establishing the connection between the gamepad and the electronic equipment;
the processor is used for sensing the polarity of the magnet through the magnetic sensor on the gamepad and detecting the position relation between the gamepad and the connected electronic equipment;
the processor is further used for determining that a first operating key of the gamepad corresponds to a first instruction in response to detecting that the position relationship between the gamepad and the connected electronic equipment is a first position relationship;
the processor is further used for determining that a first operation key of the game handle corresponds to a second instruction in response to the fact that the position relation between the game handle and the connected electronic equipment is a second position relation;
wherein the first positional relationship is different from the second positional relationship, and the first instruction is different from the second instruction.
9. The gamepad of claim 8,
the first positional relationship is that the gamepad is mounted on a first side of the electronic device;
the second positional relationship is that the gamepad is mounted on a second side of the electronic device;
the first side is the left side or the right side when the electronic equipment transverse screen is placed, or the first side is the left side or the right side when the electronic equipment vertical screen is placed, and the second side is opposite to the first side.
10. The gamepad of claim 9, wherein the sensing of the polarity of the magnet by a magnetic sensor on the gamepad comprises detecting the positional relationship of the gamepad to a connected electronic device by:
if the magnetic sensor senses the magnetic south pole, the game handle is determined to be arranged on the first side of the electronic equipment;
and if the magnetic sensor senses the magnetic north pole, determining that the gamepad is arranged on the second side of the electronic equipment.
11. The gamepad according to claim 10, wherein the gamepad is rotated 180 degrees clockwise or counter-clockwise, based on the orientation of the gamepad when mounted on a first side of the electronic device, in the orientation of the gamepad when mounted on a second side of the electronic device.
12. Gamepad according to any one of the claims 8-11,
the processor is further configured to determine that the first operation key of the gamepad corresponds to the third instruction in response to detecting that the position relationship between the gamepad and the connected electronic device is the third position relationship.
13. The gamepad of claim 12,
determining that the position relationship of the gamepad and the connected electronic equipment is a third position relationship if the processor determines that the gamepad is not installed on the first side or the second side of the electronic equipment under the condition that the gamepad is turned on; wherein the first side is different from the second side.
14. The gamepad of claim 13, wherein the gamepad comprises magnetic sensors,
the processor is further configured to determine that the position relationship between the gamepad and the connected electronic device is a third position relationship if it is determined that the magnetic sensor does not have an output signal.
15. A gamepad comprising a communications interface, a memory, one or more processors, at least one key and/or joystick, and one or more programs; wherein the one or more programs are stored in the memory; characterized in that the gamepad is adapted to perform the method according to any of the claims 1-7.
16. A computer storage medium comprising computer instructions that, when executed on an electronic device, cause the electronic device to perform the method of any of claims 1-7.
CN201910252498.3A 2019-03-29 2019-03-29 Control method and device of gamepad Active CN110124304B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910252498.3A CN110124304B (en) 2019-03-29 2019-03-29 Control method and device of gamepad
PCT/CN2020/081324 WO2020200023A1 (en) 2019-03-29 2020-03-26 Control method for gamepad and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910252498.3A CN110124304B (en) 2019-03-29 2019-03-29 Control method and device of gamepad

Publications (2)

Publication Number Publication Date
CN110124304A CN110124304A (en) 2019-08-16
CN110124304B true CN110124304B (en) 2020-09-08

Family

ID=67568842

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910252498.3A Active CN110124304B (en) 2019-03-29 2019-03-29 Control method and device of gamepad

Country Status (2)

Country Link
CN (1) CN110124304B (en)
WO (1) WO2020200023A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110124304B (en) * 2019-03-29 2020-09-08 华为技术有限公司 Control method and device of gamepad
CN109999486B (en) * 2019-03-29 2020-09-29 华为技术有限公司 Control method and device of gamepad and storage medium
CN112333319B (en) * 2020-11-05 2023-09-26 维沃移动通信有限公司 Electronic equipment

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103000163A (en) * 2012-06-19 2013-03-27 苏州佳世达电通有限公司 Display device, combined display device and combined application method of display device
US10232254B2 (en) * 2015-04-30 2019-03-19 Microsoft Technology Licensing, Llc Game controller with removable paddle accessory
JP6083884B2 (en) * 2015-06-12 2017-02-22 任天堂株式会社 Support device, charging device, and operation system
TR201706561A2 (en) * 2017-05-04 2018-05-21 Selin Kuecuek Sahin ERGONOMIC AND ELECTRONIC TABLET CASE THAT CAN BE INTEGRATED IN GEOGRAPHICAL MEASURING AND LASER SCANNING DEVICES USED IN FIELD STUDIES
JP6653293B2 (en) * 2017-06-05 2020-02-26 任天堂株式会社 Information processing system, information processing program, information processing apparatus, and information processing method
CN107485854B (en) * 2017-08-03 2022-03-01 惠州Tcl移动通信有限公司 Game paddle control method, storage medium and game paddle
CN207667128U (en) * 2017-10-31 2018-07-31 李小东 A kind of game paddle
CN108445970B (en) * 2018-03-30 2021-02-19 联想(北京)有限公司 Assembled electronic device and information processing method
CN108594938B (en) * 2018-04-24 2021-06-25 徐文娟 Expansion equipment and mobile combination equipment of mobile terminal
CN110124304B (en) * 2019-03-29 2020-09-08 华为技术有限公司 Control method and device of gamepad
CN109999486B (en) * 2019-03-29 2020-09-29 华为技术有限公司 Control method and device of gamepad and storage medium

Also Published As

Publication number Publication date
CN110124304A (en) 2019-08-16
WO2020200023A1 (en) 2020-10-08

Similar Documents

Publication Publication Date Title
CN110917614B (en) Cloud game system based on block chain system and cloud game control method
CN110124304B (en) Control method and device of gamepad
CN109999486B (en) Control method and device of gamepad and storage medium
US11006024B2 (en) Pop-up and rotational camera and electronic device including the same
US11914916B2 (en) Method for controlling display and electronic device therefor
CN114745589B (en) Screen throwing method of household equipment, target household equipment and intelligent equipment
CN108476316B (en) 3D display method and user terminal
US20230315156A1 (en) Electronic device for moving and displaying at least one object according to expansion of flexible display, and method for controlling same
US11996021B2 (en) Electronic device including expandable display and content provision method
US11853546B2 (en) Electronic device for controlling input mode according to folding angle, and method therefor
CN108008907A (en) A kind of input equipment and input method based on dummy keyboard
US11741869B2 (en) Electronic device including variable display and method of operating the same
TWM426820U (en) Operation and control system for multiple handheld devices
CN109040753B (en) Prediction mode selection method, device and storage medium
CN113198176A (en) Display method of prompt message and electronic equipment
CN108594938B (en) Expansion equipment and mobile combination equipment of mobile terminal
CN114844977A (en) Position marking method of household equipment and electronic equipment
EP4372731A1 (en) Display module control method, and electronic device for performing method
US20230353607A1 (en) Electronic devices and methods for providing video calls
US20230127190A1 (en) Electronic device comprising rotation module and method of operating the same
EP4350475A1 (en) Flexible electronic device and operation method thereof
US20230388404A1 (en) Electronic device and method for controlling a connectable external device
US20230289025A1 (en) Method for controlling electronic device by using stylus, and electronic device for receiving input from stylus by using method
US20230144615A1 (en) Electronic device comprising flexible display
US20240005828A1 (en) Electronic device and method for controlling display of same

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant