中断发生后pc指令_如何停止Windows键中断PC游戏?

中断发生后pc指令

中断发生后pc指令

Full screen video gaming on Windows has some hazards: tapping the Window key, using any sort of Windows shortcuts like ALT+TAB, or even clicking the mouse in the wrong spot if you’re using multiple monitors can crash your game. Read on as we highlight solutions for each of those problems.

Windows上的全屏视频游戏会带来一些危害:点击Window键,使用诸如ALT + TAB之类的任何Windows快捷方式,或者如果使用多个监视器,甚至在错误的位置单击鼠标,都可能导致游戏崩溃。 在我们重点介绍针对每个问题的解决方案时,请继续阅读。

Dear How-To Geek,

亲爱的How-To Geek,

It’s been a long time since I’ve played computer games and, after getting back into gaming, I’ve run into some headaches that didn’t exist back when I was an avid gamer. Just to be clear, when I say “back when” I mean like back when having a Pentium I was a serious gaming rig and we still booted most of our games into DOS. The problems I’m running into now just didn’t exist back then.

自从我玩电脑游戏已有很长时间了,回到游戏之后,我遇到了一些困扰,而当我还是一个狂热的游戏玩家时,这种头痛就不存在了。 明确地说,当我说“回到何时”时,我的意思是像回到奔腾时一样,我是一个认真的游戏平台,我们仍然将大多数游戏引导到DOS中。 我现在遇到的问题当时才不存在。

Specifically, I’ve run into several annoyances that I’d love to find some quick fixes for. First, when I’m playing a game in full screen mode if I bump the Windows key, most of the games will crash or lockup and I’ll get kicked back to the Windows desktop. I could run the game in Windowed mode, but that kind of ruins the immersion. Hard to trick myself into thinking I’m raiding a dungeon or something if I can see my Windows taskbar. While we’re at it, is there anyone to turn off other shortcuts that might kick me back into Windows like ALT+TAB?

具体来说,我遇到了一些烦恼,很想找到一些快速修复的方法。 首先,当我按Windows键以全屏模式玩游戏时,大多数游戏会崩溃或死机,我将被踢回到Windows桌面。 我可以在“窗口模式”下运行游戏,但是那样会破坏沉浸感。 如果可以看到Windows任务栏,就很难欺骗自己以为我在袭击地牢或其他东西。 在执行此操作时,是否有人可以关闭其他可能使我像ALT + TAB一样退回到Windows的快捷方式?

The other issue, again one that I didn’t have back in the day when I just had one huge CRT monitor, is multiple monitors. I have three monitors now and typically only game on the center one (because man, what a pain it is to try and enable multi-monitor support for most games). I’ve noticed that some games don’t do a very good job isolating the game window and the mouse and you can lose the mouse onto the secondary screens (which is annoying) or can accidentally click on something on the second screen which causes the game to crash back to the desktop like the Windows key does (which is even more annoying). Is there anything that can be done about that short of outright disabling the secondary monitors when gaming?

另一个问题,就是我只有一台巨大的CRT显示器的时候,我再也没有过的问题,那就是多台显示器。 我现在有三台显示器,通常只有一个在中央显示器上(因为人,尝试为大多数游戏启用多显示器支持是多么痛苦的事情)。 我注意到有些游戏无法很好地隔离游戏窗口和鼠标,您可能会将鼠标丢到辅助屏幕上(这很烦人),或者不小心单击了第二个屏幕上的内容,从而导致游戏会像Windows键一样崩溃回到桌面(更令人讨厌)。 除了在游戏时完全禁用辅助显示器之外,还有什么可以做的吗?

Thanks guy!

谢了,兄弟们!

Sincerely,

真诚的

Game Noob All Over Again

游戏新手又来了

There’s nothing worse than being completely immersed in your game only to have an errant key press rip you out of the moment and dump you unceremoniously back on the desktop. You would think that we’d have a solid built-in solution for the problems you highlight at this point (including, even, better multi-monitor support for games given that it’s 2014 and lots of people have more than one monitor).

没有什么比完全沉迷于游戏中更糟糕的了,只是让错误的按键立即将您撕裂,然后毫不客气地将您丢回桌面。 您可能会认为我们将针对此刻存在的问题提供一个可靠的内置解决方案(包括在2014年就已经提供更好的多显示器游戏支持,因为很多人拥有不只一个显示器)。

That said, it’s not terribly difficult to fix the problems you’re facing if you’re willing to use a few little helper applications to assist your games and Windows in playing nice.

就是说,如果您愿意使用一些小助手应用程序来帮助您的游戏和Windows玩的不错,解决您所面临的问题并不是很难。

If you’re curious why they still struggle to play nice after all these years, we’d encourage you to check out our explainer on the subject: Why PC Games Struggle with Alt+Tab and How to Fix It.

如果您想知道为什么这些年来他们仍然难以发挥出色,我们鼓励您查看我们的解释器: 为什么PC Games努力与Alt + Tab斗争以及How to Fix It

There are programs out there that will disable the Windows key on your behalf, no effort required. For example you could use the simple and free WKey Disabler to accomplish this task (as long as the program is active, it disables the Windows key). If you want to maintain more control over what you run on your computer and if you want to modify more than just the Windows key, you’ll need to turn to AutoHotkey to get the job down cleanly and with no bloat.

那里有一些程序可以代替您禁用Windows键,而无需付出任何努力。 例如,您可以使用免费的简单WKey Disabler完成此任务(只要该程序处于活动状态,它将禁用Windows键)。 如果您想对计算机上的内容保持更多的控制权,并且要修改的不仅仅是Windows键,则需要使用AutoHotkey来使工作顺利进行,并且不会出现膨胀。

If you’ve never used AutoHotkey before, it can seem a bit intimidating, but we assure you it’s a pretty straightforward affair. Definitely check out The Begginer’s Guide to Using an AutoHotkey Script and grab a copy of Autohotkey. Once you’ve installed it, simply create a new AHK script by creating a text file on your desktop, pasting the following text into it:

如果您以前从未使用过AutoHotkey,这似乎有些令人生畏,但我们向您保证这是一件非常简单的事情。 一定要查看《使用AutoHotkey脚本的初学者指南》,并获取Autohotkey的副本。 安装后,只需在桌面上创建一个文本文件,然后将以下文本粘贴到其中即可创建一个新的AHK脚本:

LWin::Return

LWin::Return

RWin::Return

RWin::Return

!Tab::Return

!Tab::Return

and then saving the file with some easy to remember name like gaming-key-script.ahk

然后使用易于记忆的名称保存文件,例如gaming-key-script.ahk

The above script is a simple AutoHotkey key map. Each line maps an existing key to another key using the Key1::Key2/function format. In this case, we simply remapped the left Windows key, the right Windows key, and the ALT+TAB (indicated by the !Tab in the last line) all to the Return function (because we have to map it to something). If you accidentally brush any of the Windows keys or attempt to use the ALT+TAB combo, it’ll call the Return function, which will simply dump the key press because there is no previous function to return to. If you want to expand your list to include more key combinations, we recommend checking out the AHK documentation for hotkeys and keyboard remapping.

上面的脚本是一个简单的AutoHotkey键映射。 每行使用Key1 :: Key2 / function格式将现有键映射到另一个键。 在这种情况下,我们只需将左Windows键,右Windows键和ALT + TAB(由最后一行中的!Tab表示)重新映射为Return函数(因为我们必须将其映射到某些内容)。 如果您不小心刷了任何Windows键或尝试使用ALT + TAB组合键,它将调用Return函数,该函数将简单地转储按键,因为没有以前的函数可以返回。 如果要扩展列表以包括更多组合键,建议您查看AHK文档中的热键键盘重新映射

To use the above script, simply double click on the AHK file you created. Play your game. When you’re done, look in the Window system tray for the AHK icon and disable the script.

要使用上述脚本,只需双击您创建的AHK文件。 玩游戏。 完成后,在Window系统托盘中查找AHK图标并禁用脚本。

As for jailing your mouse to keep it from vanishing off the screen or crashing your game, we’re going to refer to a reader tip on the subject, courtesy of HTG reader Steve:

至于为防止鼠标滑出屏幕而使其崩溃或使游戏崩溃,我们将参考HTG读者Steve提供的有关该主题的读者提示:

I love my multi-monitor setup but there are times when it can be a pain. Specifically when playing certain computer games or running certain legacy applications I have to use for my job. Games and older applications often don’t know what to do with a multi-monitor setup and all sorts of weird stuff can happen. I’ve had the mouse get stuck on the secondary monitor, had applications crash when the mouse went from the primary monitor to the secondary monitor, and had the mouse outright disappear once it left the primary monitor. Even when it’s not that drastic it’s annoying when you expect a “hard edge” while playing a game and the mouse just zips right out of the frame and vanishes.

我喜欢我的多显示器设置,但有时可能会很痛苦。 特别是在玩某些计算机游戏或运行某些旧版应用程序时,我必须使用它来完成工作。 游戏和较旧的应用程序通常不知道如何使用多显示器设置,并且可能会发生各种奇怪的事情。 我将鼠标卡在了辅助监视器上,当鼠标从主监视器转到辅助监视器时,应用程序崩溃了,一旦鼠标离开了主监视器,鼠标就彻底消失了。 即使不是那么激烈,当您在玩游戏时期望“硬边”并且鼠标只是从框架中滑出并消失时,也很烦人。

My solution is an open source app I found called Mousenitor. It’s a simple little application that allows you to effectively “jail” the mouse. You can set boundaries, toggle it with hot keys, and even set up profiles for different apps and games. It’s saved me from so many headaches! Speaking of headaches, don’t set up a profile that restricts the mouse to the primary monitor, then put the Mousenitor control panel on the second monitor, and then turn it on. That was quite a puzzle to solve.

我的解决方案是一个名为Mousenitor的开源应用程序。 这是一个简单的小应用程序,可让您有效地“囚禁”鼠标。 您可以设置边界,使用热键切换边界,甚至可以为不同的应用程序和游戏设置配置文件。 它使我免于太多头痛! 说到头痛,请不要设置将鼠标限制在主显示器上的配置文件,然后将Mousenitor控制面板放在第二台显示器上,然后再打开它。 那真是一个难题。

His tip worked great back in 2011 when he sent it in, and we’re still using it for those pesky don’t-jail-the-mouse games. Between the handy AHK script and Mousenitor, you’ll be free from those annoying crash-to-desktop moments.

当他在2011年将提示发送给他时,他的提示效果很好,而我们仍在将其用于那些讨厌的“不羁鼠标”游戏。 在方便的AHK脚本和Mousenitor之间,您将摆脱那些烦人的崩溃到桌面的麻烦。



Have a pressing tech question? Shoot us an email at ask@howtogeek.com and we’ll do our best to answer it.

有紧迫的技术问题吗? 向我们发送电子邮件至ask@howtogeek.com,我们将尽力答复。

翻译自: https://www.howtogeek.com/183776/ask-htg-how-can-i-tame-the-windows-key-while-gaming/

中断发生后pc指令

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值