Method for triggering signal by using virtual optical micro-motion key

文档序号:866364 发布日期:2021-03-19 浏览:5次 中文

阅读说明:本技术 一种利用虚拟光学微动按键触发信号的方法 (Method for triggering signal by using virtual optical micro-motion key ) 是由 田冬林 张彦瑞 王周宝 于 2020-11-25 设计创作,主要内容包括:本发明旨在提供一种步骤简单、无须设置实体按键即可实现信号触发的利用虚拟光学微动按键触发信号的方法。本发明方法包括以下步骤:a.在设备的系统中设置虚拟光学微动按键;b.将虚拟光学微动按键与设备所处的水平高度建立联系:设定当设备被抬起至某一设定高度时,虚拟光学微动按键Lift-Stat=1,信号被触发,当设备位于设定的高度之下时,虚拟光学微动按键Lift-Stat=0,信号未被触发;c.当步骤b中的虚拟光学微动按键触发信号后,触发的信号被传输到设备的控制单元中。本发明应用于信号发生领域。(The invention aims to provide a method for triggering signals by using a virtual optical micro-motion key, which has simple steps and can realize signal triggering without arranging a physical key. The method comprises the following steps: a. setting a virtual optical micro-motion key in a system of the equipment; b. establishing a relation between the virtual optical jog key and the horizontal height of the equipment: setting that when the equipment is lifted to a certain set height, a signal is triggered by a virtual optical micro-motion key Lift _ Stat =1, and when the equipment is positioned below the set height, the signal is not triggered by the virtual optical micro-motion key Lift _ Stat = 0; c. and c, after the virtual optical jog key triggers the signal in the step b, the triggered signal is transmitted to a control unit of the equipment. The invention is applied to the field of signal generation.)

1. A method for triggering a signal using a virtual optical jog key, the method comprising the steps of:

a. setting a virtual optical jog key in a system of a device: setting a virtual optical micro-motion key Lift _ Stat in a main program of an equipment system, and defining that when the Lift _ Stat =1, the signal is triggered, and when the Lift _ Stat =0, the signal is not triggered;

b. establishing a relation between the virtual optical jog key and the horizontal height of the equipment: setting that when the equipment is lifted to a certain set height, a signal is triggered by a virtual optical micro-motion key Lift _ Stat =1, and when the equipment is positioned below the set height, the signal is not triggered by the virtual optical micro-motion key Lift _ Stat = 0;

c. and c, after the virtual optical jog key triggers the signal in the step b, the triggered signal is transmitted to a control unit of the equipment.

2. The method of claim 1, wherein in step b, the virtual optical jog key Lift _ Stat =1 is set for a period of time, and the determination signal is triggered.

3. The method for triggering signals by using the virtual optical jog key according to claim 1, wherein in the step b, the set height of the lifted device is 1-500 mm.

Technical Field

The invention relates to the field of signal generation, in particular to a method for triggering signals by utilizing virtual optical micro-motion keys, which is applied to interactive electronic equipment such as HID (high intensity discharge) equipment, consumer electronic equipment, entertainment equipment and the like.

Background

At present, for interactive electronic devices such as HID devices, consumer electronic devices, entertainment devices, etc., in order to achieve the interactive capability of the devices, one or more physical key switches, optical switches, or voice-operated switches are usually used to achieve one or more signal-triggered outputs, and the corresponding functions are triggered by the output signals. That is, the current interactive devices must be supported by one or more signal generating components to realize signal triggering. However, in this case, the existing interactive device needs to be modified and implemented by setting one or more signal triggering devices. This greatly increases the cost and also increases the difficulty of manufacturing the device. If a method for realizing signal triggering output can be designed without adding elements such as an entity key switch, an optical switch or a voice-operated switch of a triggering signal, the problems can be well solved.

Disclosure of Invention

The technical problem to be solved by the invention is to overcome the defects of the prior art and provide a method for triggering a signal by using a virtual optical micro-motion key, which has simple steps and can realize signal triggering without arranging a physical key.

The technical scheme adopted by the invention is that the method comprises the following steps:

a. setting a virtual optical jog key in a system of a device: setting a virtual optical micro-motion key Lift _ Stat in a main program of an equipment system, and defining that when the Lift _ Stat =1, the signal is triggered, and when the Lift _ Stat =0, the signal is not triggered;

b. establishing a relation between the virtual optical jog key and the horizontal height of the equipment: setting that when the equipment is lifted to a certain set height, a signal is triggered by a virtual optical micro-motion key Lift _ Stat =1, and when the equipment is positioned below the set height, the signal is not triggered by the virtual optical micro-motion key Lift _ Stat = 0;

c. and c, after the virtual optical jog key triggers the signal in the step b, the triggered signal is transmitted to a control unit of the equipment.

Further, in the step b, it is set that the virtual optical jog key Lift _ Stat =1 is maintained for a certain period of time, and the determination signal is triggered.

And in the step b, the set height of the lifted equipment is 1-500 mm.

The invention has the beneficial effects that: the virtual optical micro-motion key is arranged in the system of the equipment, the virtual optical micro-motion key is connected with the horizontal height of the equipment, when the equipment is above the set horizontal height, the signal can be triggered, the purpose of triggering the signal can be achieved without an external entity key, the steps are simple, the cost is low, and the structure of the existing interactive equipment is not required to be modified.

Detailed Description

The method comprises the following steps:

a. setting a virtual optical jog key in a system of a device: setting a virtual optical micro-motion key Lift _ Stat in a main program of an equipment system, and defining that when the Lift _ Stat =1, the signal is triggered, and when the Lift _ Stat =0, the signal is not triggered;

b. establishing a relation between the virtual optical jog key and the horizontal height of the equipment: setting that when the equipment is lifted to a certain set height, a signal is triggered by a virtual optical micro-motion key Lift _ Stat =1, and when the equipment is positioned below the set height, the signal is not triggered by the virtual optical micro-motion key Lift _ Stat = 0; the set height of the equipment to be lifted is 1-500 mm. In this embodiment, the height to which the apparatus is raised is set to 3 mm. Of course, the set height can be adjusted according to actual needs, actual use conditions and use habits, for example, a mouse can be used for setting the lifting height to be 5-15 mm, the game handle can be used for setting the height to be 100mm, and the set value can be adjusted according to personal habits.

c. And c, after the virtual optical jog key triggers the signal in the step b, the triggered signal is transmitted to a control unit of the equipment.

To prevent the virtual optical jog key from being triggered by mistake, a judgment is added to the system processing, and it is set that when the detected signals are all Lift _ Stat =1 in a continuous period of time, the triggering signal is used as a real signal to be triggered, and then the device does corresponding functions. If the SW (software system) is required to be matched with the PC to realize the functions, relevant control data can be sent to the PC end through the equipment, and various functions can be realized through the SW (software) of the PC end.

The method can realize that the interactive equipment such as HID equipment (a mouse, a keyboard, a game handle and the like), consumer equipment, entertainment equipment and the like can realize the same functions as the components with the signal generation such as key switches, optical switches, sound control switches and the like without adopting the components with the signal generation such as the physical key switches, the optical switches, the sound control switches and the like.

4页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:复合式手把

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类