CN114428651A - Absolute position mouse configuration method, device, equipment and medium - Google Patents

Absolute position mouse configuration method, device, equipment and medium Download PDF

Info

Publication number
CN114428651A
CN114428651A CN202210116302.XA CN202210116302A CN114428651A CN 114428651 A CN114428651 A CN 114428651A CN 202210116302 A CN202210116302 A CN 202210116302A CN 114428651 A CN114428651 A CN 114428651A
Authority
CN
China
Prior art keywords
absolute position
physical device
target physical
mouse
vhf
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210116302.XA
Other languages
Chinese (zh)
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.)
Hangzhou Wulian Technology Co ltd
Original Assignee
Hangzhou Wulian Technology 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 Hangzhou Wulian Technology Co ltd filed Critical Hangzhou Wulian Technology Co ltd
Priority to CN202210116302.XA priority Critical patent/CN114428651A/en
Publication of CN114428651A publication Critical patent/CN114428651A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a method, a device, equipment and a medium for configuring an absolute position mouse, which comprise the following steps: acquiring report descriptor information of an absolute position mouse based on a preset information determination method; saving report descriptor information to a vhfcreatet function in the vhf framework, and detecting whether report descriptor information which is not saved to the vhfcreatet function exists; if the report descriptor information which is not stored in the vhfcreatet function does not exist, determining a target physical device object from a preset device tree, and establishing vhf a link relation between the handle object of the frame and the target physical device object; the target physical device object is launched using the vhf framework to perform a simulated operation on the absolute position mouse through the target physical device object using the link relationship between the handle object of the vhf framework and the target physical device object. Through the technical scheme, the compatibility of the absolute position mouse can be improved, the stability of the absolute position mouse is improved, the complexity of coding is reduced, and the user experience effect is improved.

Description

Absolute position mouse configuration method, device, equipment and medium
Technical Field
The invention relates to the technical field of cloud computer service, in particular to a method, a device, equipment and a medium for configuring an absolute position mouse.
Background
At present, in a cloud game scene, a windows system is mostly adopted by a host as a real game running system environment, and a windows system, an android system and an ios system are generally adopted by a client. If the user is mobile phone end software, no matter an android system or an ios system, relative mouse and associated acceleration and other information use realized by a traditional virtual mouse cannot be well compatible with a game remotely operated on a windows computer on a mobile phone platform, and phenomena of click drift, high delay, click failure and the like can occur, so that good use experience is difficult to provide for mobile phone users, and the game playing experience is worse and is difficult to play normally.
Therefore, in the process of absolute position mouse configuration, how to improve the compatibility of the absolute position mouse, increase the stability of the absolute position mouse, reduce the complexity of coding, and improve the user experience effect is a problem to be solved in the field.
Disclosure of Invention
In view of this, an object of the present invention is to provide a method, an apparatus, a device and a medium for configuring an absolute position mouse, which can improve the compatibility of the absolute position mouse, increase the stability of the absolute position mouse, reduce the complexity of encoding and improve the user experience effect. The specific scheme is as follows:
in a first aspect, the present application discloses a method for configuring an absolute position mouse, comprising:
acquiring report descriptor information of an absolute position mouse based on a preset information determination method; the report descriptor information comprises mouse button information, mouse wheel information and absolute mouse position moving range information;
saving the report descriptor information to a vhfcreatet function in the vhf framework, and detecting whether there is the report descriptor information that is not saved to the vhfcreatet function;
if the report descriptor information which is not stored in the vhfcreatet function does not exist, determining a target physical device object from a preset device tree, and establishing a link relation between a handle object of the vhf framework and the target physical device object;
launching the target physical device object with the vhf framework to perform a simulated operation on the absolute position mouse with the target physical device object using the link relationship between the handle object of the vhf framework and the target physical device object.
Optionally, the obtaining of the report descriptor information of the absolute position mouse based on the preset information determining method includes:
acquiring an open source code, and acquiring report descriptor information of an absolute position mouse from the open source code information;
or, according to the service requirement, the report descriptor information of the absolute position mouse is constructed by utilizing the human-computer interface device document.
Optionally, before the determining the target physical device object from the preset device tree, the method further includes:
physical device objects of the absolute position mouse are created through an vhf framework, and a device tree is constructed based on the physical device objects.
Optionally, the starting the target physical device object by using the vhf framework includes:
calling a vhfstart function in the vhf frame based on the handle object so that the vhf frame launches the target physical device object.
Optionally, the absolute position mouse configuration method further includes:
performing an initialization operation on the target physical device object to determine whether the target physical device object successfully boots based on whether the initialization is complete.
Optionally, the simulating, by the target physical device object, the absolute position mouse by using the link relationship between the handle object of the vhf framework and the target physical device object includes:
determining simulation data from the report descriptor information based on a preset data determination method;
and simulating the absolute position mouse by the target physical device object through the simulation data by using the link relation between the handle object of the vhf framework and the target physical device object.
Optionally, the performing, by using the simulation data, a simulation operation on the absolute position mouse by using the link relationship between the handle object of the vhf framework and the target physical device object through the target physical device object includes:
and calling a vhfreaddresssubmit function in an vhf frame through the simulation data so as to realize the simulation operation of the target physical device object on the absolute position mouse.
In a second aspect, the present application discloses an absolute position mouse configuration apparatus, comprising:
the information acquisition module is used for acquiring report descriptor information of the absolute position mouse based on a preset information determination method; the report descriptor information comprises mouse button information, mouse roller information, absolute mouse position moving range information and mouse behavior data information;
an information saving module, configured to save the report descriptor information to a vhfcreatat function in the vhf framework, and detect whether there is the report descriptor information that is not saved to the vhfcreatat function;
a target physical device object determining module, configured to determine a target physical device object from a preset device tree and establish a link relationship between a handle object of the vhf framework and the target physical device object if the report descriptor information is successfully stored in the vhfcreatet function; the preset equipment tree comprises a plurality of physical equipment objects;
a simulation module to launch the target physical device object with the vhf framework to perform a simulation operation on the absolute position mouse with the target physical device object using the link relationship between the handle object of the vhf framework and the target physical device object.
In a third aspect, the present application discloses an electronic device, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the absolute position mouse configuration method disclosed in the foregoing.
In a fourth aspect, the present application discloses a computer storage medium for storing a computer program; wherein the computer program when executed by a processor implements the steps of the absolute position mouse configuration method disclosed above.
The method comprises the steps of obtaining report descriptor information of the absolute position mouse based on a preset information determination method; the report descriptor information comprises mouse button information, mouse wheel information and absolute mouse position moving range information; saving the report descriptor information to a vhfcreatet function in the vhf framework, and detecting whether there is the report descriptor information that is not saved to the vhfcreatet function; if the report descriptor information which is not stored in the vhfcreatet function does not exist, determining a target physical device object from a preset device tree, and establishing a link relation between a handle object of the vhf framework and the target physical device object; launching the target physical device object with the vhf framework to perform a simulated operation on the absolute position mouse with the target physical device object using the link relationship between the handle object of the vhf framework and the target physical device object. According to the method, the complexity of coding can be effectively reduced by acquiring the report descriptor information of the absolute position mouse based on the preset information determination method, the absolute position mouse is configured through the vhf frame, the compatibility of the absolute position mouse can be effectively improved, the stability of the absolute position mouse is improved, and the user experience effect is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flow chart of a method for configuring an absolute position mouse as disclosed herein;
FIG. 2 is a flowchart of a method for configuring an absolute position mouse according to the present disclosure;
FIG. 3 is a flowchart of a method for configuring an absolute position mouse according to the present disclosure;
FIG. 4 is a schematic diagram of an absolute position mouse configuration apparatus according to the present disclosure;
fig. 5 is a block diagram of an electronic device provided in the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Under the current background, if a user is mobile phone end software, no matter an android system or an ios system, relative mouse and associated acceleration and other information use realized by a traditional virtual keyboard and mouse cannot be well compatible with a game remotely operated on a windows computer on a mobile phone platform, and the phenomena of click drift, high delay, click failure and the like can occur, so that good use experience is difficult to provide for mobile phone users, and the game playing experience is worse and is difficult to play normally. Therefore, in the process of absolute position mouse configuration, how to improve the compatibility of the absolute position mouse, increase the stability of the absolute position mouse, reduce the complexity of coding, and improve the user experience effect is a problem to be solved in the field.
Referring to fig. 1, an embodiment of the present invention discloses a method for configuring an absolute position mouse, which may specifically include:
step S11: acquiring report descriptor information of an absolute position mouse based on a preset information determination method; the report descriptor information includes mouse button information, mouse wheel information, and mouse absolute position movement range information.
In this embodiment, the following two methods are used to obtain the report descriptor information of the absolute position mouse, including: the method comprises the steps of obtaining an open source code, obtaining report descriptor information of an absolute position mouse from the open source code information, or constructing the report descriptor information of the absolute position mouse by using an HID (human interface device) document according to business requirements.
Step S12: saving the report descriptor information to a vhfcreate function in the vhf framework, and detecting whether there is the report descriptor information that is not saved to the vhfcreate function.
Step S13: if the report descriptor information which is not saved in the vhfcreatet function does not exist, determining a target physical device object from a preset device tree, and establishing a link relation between the handle object of the vhf framework and the target physical device object.
In this embodiment, before determining the target physical device object from the preset device tree, the method further includes: physical device objects of the absolute position mouse are created through an vhf framework, and a device tree is constructed based on the physical device objects. It can be understood that if there is no report descriptor information that is not saved to the vhfcreatet function, each physical device object of the absolute position mouse is created through an vhf framework, a device tree is built based on each physical device object, then a target physical device object is determined from a preset device tree, and a link relationship between a handle object of the vhf framework and the target physical device object is established, so that it can be seen that configuring the absolute position mouse through a vhf framework can effectively improve the compatibility of the absolute position mouse and increase the stability of the absolute position mouse.
Step S14: launching the target physical device object with the vhf framework to perform a simulated operation on the absolute position mouse with the target physical device object using the link relationship between the handle object of the vhf framework and the target physical device object.
In this embodiment, a vhfstart function in the vhf frame is called based on the handle object, an initialization operation is performed on the target physical device object, so as to determine whether the target physical device object is successfully started based on whether the initialization is completed, and then the target physical device object performs a simulation operation on the absolute position mouse by using a link relationship between the handle object of the vhf frame and the target physical device object.
In the embodiment, report descriptor information of an absolute position mouse is acquired based on a preset information determination method; the report descriptor information comprises mouse button information, mouse wheel information and absolute mouse position moving range information; saving the report descriptor information to a vhfcreate function in the vhf framework and detecting whether there is the report descriptor information that is not saved to the vhfcreate function; if the report descriptor information which is not stored in the vhfcreatet function does not exist, determining a target physical device object from a preset device tree, and establishing a link relation between a handle object of the vhf framework and the target physical device object; launching the target physical device object with the vhf framework to perform a simulated operation on the absolute position mouse with the target physical device object using the link relationship between the handle object of the vhf framework and the target physical device object. According to the method, the complexity of coding can be effectively reduced by acquiring the report descriptor information of the absolute position mouse based on the preset information determination method, the absolute position mouse is configured through the vhf frame, the compatibility of the absolute position mouse can be effectively improved, the stability of the absolute position mouse is improved, and the user experience effect is improved.
Referring to fig. 2, an embodiment of the present invention discloses a method for configuring an absolute position mouse, which may specifically include:
step S21: acquiring report descriptor information of an absolute position mouse based on a preset information determination method; the report descriptor information includes mouse button information, mouse wheel information, and absolute mouse position movement range information.
Step S22: saving the report descriptor information to a vhfcreatet function in the vhf framework, and detecting whether there is the report descriptor information that is not saved to the vhfcreatet function.
Step S23: if the report descriptor information which is not saved in the vhfcreat function does not exist, determining a target physical device object from a preset device tree, and establishing a link relationship between the handle object of the vhf framework and the target physical device object.
Step S24: starting the target physical device object by using the vhf frame, then determining simulation data from the report descriptor information based on a preset data determination method, and calling a vhfreaddresssubmit function in the vhf frame through the simulation data so as to realize the simulation operation of the target physical device object on the absolute position mouse.
In the embodiment, report descriptor information of an absolute position mouse is acquired based on a preset information determination method; the report descriptor information comprises mouse button information, mouse wheel information and absolute mouse position moving range information; saving the report descriptor information to a vhfcreatet function in the vhf framework, and detecting whether there is the report descriptor information that is not saved to the vhfcreatet function; if the report descriptor information which is not stored in the vhfcreatet function does not exist, determining a target physical device object from a preset device tree, and establishing a link relation between a handle object of the vhf framework and the target physical device object; starting the target physical device object by using the vhf framework, and then determining simulation data from the report descriptor information based on a preset data determination method; and calling a vhfreaddresssubmit function in an vhf frame through the simulation data so as to realize the simulation operation of the target physical device object on the absolute position mouse. Therefore, the method and the device for determining the absolute position mouse based on the preset information can effectively reduce the complexity of coding by acquiring the report descriptor information of the absolute position mouse based on the preset information determination method, can effectively improve the compatibility of the absolute position mouse by configuring the absolute position mouse through an vhf frame, and increase the stability of the absolute position mouse.
For example, as shown in fig. 3, report descriptor information of an absolute position mouse is first constructed, each physical device object of the absolute position mouse is then created through an vhf frame, the report descriptor information is saved to a vhfcreatet function in the vhf frame, a target physical device object is determined from the physical device objects, a link relationship between the handle object of the vhf frame and the target physical device object is established, the target physical device object is then started through the vhf frame, so that the target physical device object performs a simulation operation on the absolute position mouse through the link relationship between the handle object of the vhf frame and the target physical device object, simulation data is determined from the report descriptor information of the absolute position mouse is constructed based on a preset data determination method, and then the vhfrdreeportubmit function in an vhf frame is passed to realize the simulation of the absolute position mouse by the target physical device object, for example, the system indicates the target physical device object based on the simulation data determined from the report descriptor information of the absolute position mouse, from which absolute position coordinate point the first movement was to which absolute position coordinate point the second mouse button was clicked, how many degrees the third wheel was rotated forward, how many degrees the fourth wheel was rotated backward, etc.
Referring to fig. 4, an embodiment of the present invention discloses an absolute position mouse configuration device, which may specifically include:
the information acquisition module 11 is configured to acquire report descriptor information of the absolute position mouse based on a preset information determination method; the report descriptor information comprises mouse button information, mouse roller information, absolute mouse position moving range information and mouse behavior data information;
an information saving module 12, configured to save the report descriptor information to a vhfcreatat function in the vhf framework, and detect whether there is the report descriptor information that is not saved to the vhfcreatat function;
a target physical device object determining module 13, configured to determine a target physical device object from a preset device tree if the report descriptor information is successfully stored in the vhfc function, and establish a link relationship between the handle object of the vhf framework and the target physical device object; the preset equipment tree comprises a plurality of physical equipment objects;
a simulation module 14, configured to launch the target physical device object using the vhf framework, so as to perform a simulation operation on the absolute position mouse by using the link relationship between the handle object of the vhf framework and the target physical device object through the target physical device object.
In the embodiment, report descriptor information of an absolute position mouse is acquired based on a preset information determination method; the report descriptor information comprises mouse button information, mouse wheel information and absolute mouse position moving range information; saving the report descriptor information to a vhfcreatet function in the vhf framework, and detecting whether there is the report descriptor information that is not saved to the vhfcreatet function; if the report descriptor information which is not stored in the vhfcreat function does not exist, determining a target physical device object from a preset device tree, and establishing a link relationship between a handle object of the vhf framework and the target physical device object; launching the target physical device object with the vhf framework to perform a simulated operation on the absolute position mouse with the target physical device object using the link relationship between the handle object of the vhf framework and the target physical device object. According to the method, the complexity of coding can be effectively reduced by acquiring the report descriptor information of the absolute position mouse based on the preset information determination method, the absolute position mouse is configured through the vhf frame, the compatibility of the absolute position mouse can be effectively improved, the stability of the absolute position mouse is improved, and the user experience effect is improved.
In some specific embodiments, the information obtaining module 11 may specifically include:
the system comprises a first information acquisition module, a second information acquisition module and a third information acquisition module, wherein the first information acquisition module is used for acquiring an open source code and acquiring report descriptor information of an absolute position mouse from the open source code information;
and the second information acquisition module is used for constructing report descriptor information of the absolute position mouse by utilizing the human-computer interface equipment document according to the service requirement.
In some specific embodiments, the target physical device object determining module 13 may specifically include:
and the device tree construction module is used for creating each physical device object of the absolute position mouse through an vhf framework and constructing a device tree based on each physical device object.
In some embodiments, the simulation module 14 may specifically include:
a function call module, configured to call a vhfstart function in the vhf frame based on the handle object, so that the vhf frame starts the target physical device object;
and the initialization module is used for carrying out initialization operation on the target physical equipment object so as to determine whether the target physical equipment object is started successfully or not based on whether the initialization is completed or not.
In some embodiments, the simulation module 14 may specifically include:
a simulation data determination module for determining simulation data from the report descriptor information based on a preset data determination method;
and the function calling module is used for calling the vhfreaddrreportsubmit function in the vhf framework through the simulation data so as to realize that the target physical device object performs simulation operation on the absolute position mouse.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application. The absolute position mouse configuration device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a display screen 24, sensors 25, a communication interface 26, and a communication bus 27. The memory 22 is configured to store a computer program, and the computer program is loaded and executed by the processor 21 to implement relevant steps in the absolute position mouse configuration method executed by the absolute position mouse configuration device disclosed in any of the foregoing embodiments.
In this embodiment, the power supply 23 is configured to provide a working voltage for each hardware device on the absolute position mouse configuration device 20; the communication interface 26 can create a data transmission channel between the absolute position mouse configuration device 20 and an external device, and a communication protocol followed by the communication interface is any communication protocol applicable to the technical solution of the present application, and is not specifically limited herein; sensor 25 for acquiring sensor data, specific sensor types including, but not limited to, speed sensor, temperature sensor, infrared sensor, sound sensor, image sensor, and the like.
In addition, the storage 22 is used as a carrier for storing resources, and may be a read-only memory, a random access memory, a magnetic disk or an optical disk, etc., the resources stored thereon include an operating system 221, a computer program 222, data 223, etc., and the storage may be a transient storage or a permanent storage.
The operating system 221 is configured to manage and control each hardware device and the computer program 222 on the absolute position mouse configuration device 20, so as to implement the operation and processing of the mass data 223 in the memory 22 by the processor 21, which may be Windows, Unix, Linux, or the like. The computer program 222 may further include a computer program that can be used to perform other specific tasks in addition to the computer program that can be used to perform the absolute position mouse configuration method performed by the absolute position mouse configuration device 20 disclosed in any of the foregoing embodiments. The data 223 may include data received by the absolute position mouse configuration device and transmitted from an external device, data collected by the sensor 25, and the like.
Further, the present application also discloses a computer-readable storage medium for storing a computer program; wherein the computer program, when executed by a processor, implements the program debugging method disclosed above. For the specific steps of the method, reference may be made to the corresponding contents disclosed in the foregoing embodiments, which are not described herein again.
In the present specification, the embodiments are described in a progressive manner, and each embodiment focuses on differences from other embodiments, and the same or similar parts between the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Finally, it should also be noted that, in this document, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The absolute position mouse configuration method, device, equipment and storage medium provided by the invention are described in detail above, and a specific example is applied in the text to explain the principle and the implementation of the invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. An absolute position mouse configuration method, comprising:
acquiring report descriptor information of an absolute position mouse based on a preset information determination method; the report descriptor information comprises mouse button information, mouse wheel information and absolute mouse position moving range information;
saving the report descriptor information to a vhfcreatet function in the vhf framework, and detecting whether there is the report descriptor information that is not saved to the vhfcreatet function;
if the report descriptor information which is not stored in the vhfcreatet function does not exist, determining a target physical device object from a preset device tree, and establishing a link relation between a handle object of the vhf framework and the target physical device object;
launching the target physical device object with the vhf framework to perform a simulated operation on the absolute position mouse with the target physical device object using the link relationship between the handle object of the vhf framework and the target physical device object.
2. The absolute position mouse configuration method according to claim 1, wherein the obtaining of report descriptor information of an absolute position mouse based on a preset information determination method comprises:
acquiring an open source code, and acquiring report descriptor information of an absolute position mouse from the open source code information;
or, according to the service requirement, the report descriptor information of the absolute position mouse is constructed by utilizing the human-computer interface device document.
3. The absolute position mouse configuration method of claim 1, wherein before determining the target physical device object from the preset device tree, further comprising:
physical device objects of the absolute position mouse are created through an vhf framework, and a device tree is constructed based on the physical device objects.
4. The absolute position mouse configuration method of claim 1 wherein said launching the target physical device object using the vhf framework comprises:
calling a vhfstart function in the vhf frame based on the handle object so that the vhf frame starts the target physical device object.
5. The absolute position mouse configuration method according to claim 1, further comprising:
performing an initialization operation on the target physical device object to determine whether the target physical device object successfully boots based on whether the initialization is complete.
6. The absolute position mouse configuration method of claim 1, wherein the simulating the absolute position mouse by the target physical device object using the link relationship between the handle object of the vhf framework and the target physical device object comprises:
determining simulation data from the report descriptor information based on a preset data determination method;
and simulating the absolute position mouse by the target physical device object through the simulation data by using the link relation between the handle object of the vhf framework and the target physical device object.
7. The absolute position mouse configuration method according to any one of claims 1 to 6, wherein the performing, by using the simulation data, a simulation operation on the absolute position mouse by using the target physical device object through a link relationship between the handle object of the vhf framework and the target physical device object includes:
and calling a vhfreaddresssubmit function in an vhf frame through the simulation data so as to realize the simulation operation of the target physical device object on the absolute position mouse.
8. An absolute position mouse configuration apparatus, comprising:
the information acquisition module is used for acquiring report descriptor information of the absolute position mouse based on a preset information determination method; the report descriptor information comprises mouse button information, mouse roller information, absolute mouse position moving range information and mouse behavior data information;
an information saving module, configured to save the report descriptor information to a vhfcreatat function in the vhf framework, and detect whether there is the report descriptor information that is not saved to the vhfcreatat function;
a target physical device object determining module, configured to determine a target physical device object from a preset device tree and establish a link relationship between a handle object of the vhf framework and the target physical device object if the report descriptor information is successfully stored in the vhfcreatet function; the preset equipment tree comprises a plurality of physical equipment objects;
a simulation module to launch the target physical device object with the vhf framework to perform a simulation operation on the absolute position mouse with the target physical device object using the link relationship between the handle object of the vhf framework and the target physical device object.
9. An absolute position mouse configuration device, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the absolute position mouse configuration method of any one of claims 1 to 7.
10. A computer-readable storage medium for storing a computer program; wherein the computer program when executed by a processor implements the absolute position mouse configuration method of any of claims 1 to 7.
CN202210116302.XA 2022-02-07 2022-02-07 Absolute position mouse configuration method, device, equipment and medium Pending CN114428651A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210116302.XA CN114428651A (en) 2022-02-07 2022-02-07 Absolute position mouse configuration method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210116302.XA CN114428651A (en) 2022-02-07 2022-02-07 Absolute position mouse configuration method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN114428651A true CN114428651A (en) 2022-05-03

Family

ID=81314064

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210116302.XA Pending CN114428651A (en) 2022-02-07 2022-02-07 Absolute position mouse configuration method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN114428651A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1790262A (en) * 2005-12-20 2006-06-21 无锡永中科技有限公司 Method for controlling computer software running based on mouse track data
CN101377882A (en) * 2007-08-27 2009-03-04 宗盈国际科技股份有限公司 Remote-control system and apparatus with the function of simulating wireless signals, and signal transference method thereof
CN102446049A (en) * 2010-10-11 2012-05-09 梁宇杰 Device and method for cursor operation induction processing and using external display devices to display information
CN104160363A (en) * 2012-03-12 2014-11-19 伊斯奇里因特菲斯技术股份有限公司 Computer system and a control method therefor
CN111610868A (en) * 2020-04-13 2020-09-01 西安万像电子科技有限公司 Mouse data processing method and system
US20200356165A1 (en) * 2019-05-08 2020-11-12 International Business Machines Corporation Configurable sensor array for a multi-target environment
US20200371821A1 (en) * 2018-05-29 2020-11-26 Tencent Technology (Shenzhen) Company Limited Method and apparatus for adapting handle device to third-party application, and storage medium
CN112351324A (en) * 2020-10-27 2021-02-09 深圳Tcl新技术有限公司 Analog mouse control method, device, equipment and computer readable storage medium
CN113504918A (en) * 2021-05-17 2021-10-15 深圳市广通远驰科技有限公司 Equipment tree configuration optimization method and device, computer equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1790262A (en) * 2005-12-20 2006-06-21 无锡永中科技有限公司 Method for controlling computer software running based on mouse track data
CN101377882A (en) * 2007-08-27 2009-03-04 宗盈国际科技股份有限公司 Remote-control system and apparatus with the function of simulating wireless signals, and signal transference method thereof
CN102446049A (en) * 2010-10-11 2012-05-09 梁宇杰 Device and method for cursor operation induction processing and using external display devices to display information
CN104160363A (en) * 2012-03-12 2014-11-19 伊斯奇里因特菲斯技术股份有限公司 Computer system and a control method therefor
US20200371821A1 (en) * 2018-05-29 2020-11-26 Tencent Technology (Shenzhen) Company Limited Method and apparatus for adapting handle device to third-party application, and storage medium
US20200356165A1 (en) * 2019-05-08 2020-11-12 International Business Machines Corporation Configurable sensor array for a multi-target environment
CN111610868A (en) * 2020-04-13 2020-09-01 西安万像电子科技有限公司 Mouse data processing method and system
CN112351324A (en) * 2020-10-27 2021-02-09 深圳Tcl新技术有限公司 Analog mouse control method, device, equipment and computer readable storage medium
CN113504918A (en) * 2021-05-17 2021-10-15 深圳市广通远驰科技有限公司 Equipment tree configuration optimization method and device, computer equipment and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
MCCALLUM DC等: "ARC-Pad:Absolute plus Relative Cursor Positioning for Large Displays with a Mobile Touchscreen", 《ACM》, 1 January 2009 (2009-01-01) *
周成虎;李小魁;韩大伟;: "无线鼠标电路设计及算法实现", 计算机测量与控制, no. 12, 25 December 2012 (2012-12-25) *
李凌;周晓军;宫闽军;徐志农;: "鼠标映射虚拟位置传感器的驱动开发模型", 浙江大学学报(工学版), no. 08, 28 August 2006 (2006-08-28) *

Similar Documents

Publication Publication Date Title
CN104740872B (en) Simulate game program operation control method and device in Android environment
CN105477857B (en) Game paddle adaption method, device and system
CN111433743B (en) APP remote control method and related equipment
US6978439B2 (en) Cross-platform software development with a software development peripheral
US11354464B2 (en) Selective simulation of virtualized hardware inputs
CN110780789B (en) Game application starting method and device, storage medium and electronic device
CN111352844B (en) Test method and related device
CN108304676B (en) Automatic reconstruction method for three-dimensional model of assembly body, terminal device and storage medium
CN111063353B (en) Client processing method allowing user-defined voice interactive content and user terminal
CN112418259A (en) Method for configuring real-time rules based on user behaviors in live broadcast process, computer equipment and readable storage medium
CN113448730A (en) Service processing method and device, computer equipment and storage medium
CN105550046B (en) Virtual control method, device and system
CN114428651A (en) Absolute position mouse configuration method, device, equipment and medium
CN114610384A (en) Application migration method, device, equipment and storage medium
CN114061593B (en) Navigation method and related device based on building information model
CN110795388B (en) Binary file processing method, system, equipment and readable storage medium
CN110465093B (en) Method and device for analyzing inclusion redundant resources based on Unity
CN111385409A (en) Communication input method, device, equipment and medium
CN111163217A (en) Mobile phone game user matching method and device and server
CN116129472B (en) Grid point generation method, storage medium and system
CN113069757B (en) Cloud game automatic acceleration method, cloud game automatic acceleration equipment and computer readable storage medium
CN112580596B (en) Data processing method and device
CN115617431A (en) Software automatic operation method and device, storage medium and computer equipment
CN113407490A (en) Private directory file export method and device, electronic equipment and storage medium
CN112802163A (en) Animation adjusting method and device in game and electronic terminal

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