问题描述
我有一个通过FTDI/USB连接到计算机的自定义设备.我可以编写一个程序来接收来自设备的数据.我需要做的是制作一个可以充当键盘的程序,并允许它向指定的任何程序发送键.在某种程度上,它与"SendKeys" API相似,但是我已经对其进行了测试,发现它非常不可靠,尤其是对于全屏程序.
我已经搜索了互联网,但实际上找不到任何信息.是否有人对此有任何经验/知识/链接?
谢谢!
注意:为清楚起见,不,我不是在做某种形式的屏幕虚拟键盘.我需要该程序才能真正充当键盘.
I have a custom device attached to a computer via FTDI/USB. I can write a program that receives data from the device. What I need to be able to do is make a program that can then act as a keyboard, and allow it to send keys to whatever program is specified. In a way, it is similar to the "SendKeys" API however I have tested this and found it to be incredibly unreliable, especially for full screen programs.
I have searched the internet and I really cannot find any information about this. Does anyone have any experience/knowledge/links relating to this?
Thanks!
Note: Just to be clear, no, I am not making some kind of on screen virtual keyboard. I need the program to actually act as a keyboard.
推荐答案
这篇关于创建“虚拟"网站Windows/Linux键盘的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!