键盘模拟 [英] Simulation on the keyboard

查看:89
本文介绍了键盘模拟的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我还有一个让我失望的问题,请大家帮忙解决.

I have a more let me disconsolate problem, everyone please help solve the.

我试图使用winio库模拟键盘输入,但是我的操作系统环境是win7 64位,对此版本的winio库支持似乎还不够好.我看过C#编写示例,我想使用c ++来模拟键盘 功能.接下来我想问一下有没有其他类似于Winio库的库这样的功能,将能够实现驱动程序阶段的键盘仿真.或者任何其他拥有更好方法的人,都可以让游戏中需要速度的键盘模拟得以实现.

I tried to use winio library simulation keyboard input, but my operating system environment is win7 64 bits, winio library for this version of the support seems to be not good enough. I have seen C# write example, I want to use c + + to simulate the keyboard function. I want to ask next have any other library is similar to winio library such function, will be able to realize the driver stage keyboard simulation. Or anyone have other better method can let the keyboard simulation used in need for speed in the game.

谢谢您的建议.

推荐答案

这似乎是一个常见的Win32编程问题.您看过Win32函数keybd_event吗?

This seems like a general Win32 programming question. Have you looked at keybd_event Win32 function?

Eddy


这篇关于键盘模拟的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆