C#键盘映射应用程序 [英] C# Keymapping Application

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

问题描述

大家好,我目前正在开发一个允许将wii遥控器按钮映射到键盘按钮的应用程序,目前,这似乎可以在普通应用程序(例如ie和word)中使用,但在游戏中却似乎不起作用.有人有什么想法吗?

干杯



我在这里找到的键盘模拟器使用的是类似的内容

KeyboardSimulator.KeyDown(Keys.A);
KeyboardSimulator.KeyUp(Keys.A);

Hi guys im currently making an application that allows wii remote controller buttons to be mapped onto keyboard ones, currently this seems to work in normal applications such as ie and word for example but in games it doesn''t seem to work. Anyone have any ideas?

Cheers



Im using the keyboard simulator that I found on here goes something like this

KeyboardSimulator.KeyDown(Keys.A);
KeyboardSimulator.KeyUp(Keys.A);

推荐答案

在没有详细信息的情况下,我的主意是大多数这些游戏都将使用直接键盘访问(覆盖用户-级别的键盘挂钩).
Without detailed info, my geuss would be that most of those games would be using direct keyboard access (overriding the user-level keyboard hooking).


这篇关于C#键盘映射应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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