xbox360链接pc
The keyboard and mouse might be a good fit for many native computer games, but it feels downright weird to play emulated games that way. Whether you want to play Super Mario with a proper gamepad or try out a new PC title like Diablo III in comfort, we’ve got you covered.
键盘和鼠标可能非常适合许多本机计算机游戏,但是以这种方式玩模拟游戏感觉很奇怪。 无论您是想要使用合适的游戏手柄来玩《超级马里奥》,还是想要舒适地尝试诸如Diablo III之类的新PC游戏,我们都可以满足您的要求。
Today we’re taking a look at how you can take a Microsoft Xbox 360 controller and configure it to work with everything from your favorite emulators to old and new PC games. Whether you want the authentic feel of a controller in your hand when you play old school games or you’re looking for a gentle-on-the-wrists way to play modern games, it’s easy to set up.
今天,我们来看看如何使用Microsoft Xbox 360控制器并将其配置为可以与从您喜欢的模拟器到新旧PC游戏的所有功能一起使用。 无论您是想在玩老式游戏时想要手中的控制器真实感觉,还是正在寻找一种轻柔的方式玩现代游戏,都可以轻松设置。
你需要什么 (What You’ll Need)
For this tutorial you’ll need the following things:
对于本教程,您需要满足以下条件:
A wired Xbox controller (Official or well-constructed unofficial controller like the Mad Katz model is OK).
有线Xbox控制器 (可以使用官方的或结构良好的非官方控制器,例如Mad Katz模型)。
A copy of ShowOff (for diagnostic purposes).
ShowOff的副本(用于诊断)。
A copy of Xpadder ($10, necessary for more advanced configuration techniques).
Xpadder的副本(10美元,需要更高级的配置技术)。
An emulator or video game to configure the controller for. 用于为其配置控制器的仿真器或视频游戏。
While it’s possible to use a wireless controller for this tutorial, doing so adds an extra layer of complexity and troubleshooting to the project (many people report widespread issues with using the wireless 360 controller for PC-based gameplay) and as such we’ve opted to stick with the wired model. If you have success using the wireless models, be sure to drop a note in the comments and share your tips and tricks.
尽管可以在本教程中使用无线控制器,但这样做会给项目增加一层额外的复杂性和故障排除(许多人报告了将无线360控制器用于基于PC的游戏玩法的普遍问题),因此我们选择了坚持使用有线模型。 如果您成功使用了无线型号,请确保在注释中添加注释并分享您的提示和技巧。
Also, we strongly recommend reading through the entire tutorial and checking out the specific applications and games you want to use your Xbox controller with before purchasing anything on the What You’ll Need list as some setups require les configuration than others (effectively reducing the cost for the project to $0 outside the cost of the actual controller).
另外,我们强烈建议您通读整个教程,并在购买“您将需要的东西”列表中的任何内容之前,仔细阅读要与Xbox控制器一起使用的特定应用程序和游戏,因为某些设置比其他设置需要配置(有效地降低了成本(实际计画费用以外的$ 0美元)。
安装和测试Xbox 360控制器 (Installing and Testing the Xbox 360 Controller)
Installing the Xbox 360 controller should be a pretty painless affair. Plug your controller into an unoccupied USB port on your Windows machine. Windows should automatically detect and install the drivers for the device and in under 10 seconds the computer will be accepting input from the controller.
安装Xbox 360控制器应该是一件很轻松的事。 将控制器插入Windows计算机上闲置的USB端口。 Windows应自动检测并安装该设备的驱动程序,并且计算机将在10秒内接受来自控制器的输入。
If, during the following diagnostic tests, it becomes clear that the installation did not go as planned, you can visit the support page for the 360 controller here and download the appropriate drivers for your version of Windows.
如果在以下诊断测试中清楚地表明安装未按计划进行,则可以在此处访问360控制器的支持页面,并下载适用于您Windows版本的适当驱动程序。
To test out the controller, we have a two prong approach. The first thing you want to do is go to the Start Menu and typejoy.cplin the run box. This will pull up the Game Controllers control panel like so:
为了测试控制器,我们有两种方法。 您要做的第一件事是转到“开始”菜单,然后在运行框中键入joy.cpl。 这将拉起游戏控制器控制面板,如下所示:
As you can see we’re using the cheaper MadCatz 360 controller for this project. Clicking on advanced simply allows you to switch between controllers, which in our case isn’t relevant. ClickingPropertiespulls up the controller properties for the 360 controller.
如您所见,我们在该项目中使用了更便宜的MadCatz 360控制器。 单击高级仅允许您在控制器之间切换,在我们的情况下这无关紧要。 单击属性可拉出360控制器的控制器属性。
Select theTest tab. Try out each button on the controller. If everything is working properly,somethingshould happen when you press each button or move each control stick/directional pad. If you fail to get any input at all, go back to the beginning of this section and download the drivers. If you get input but it’s erratic (e.g. you push up on one of the joy sticks and the axis display goes down and left) you need to click on theSettings Taband click the configuration button. The configuration wizard will walk you through identifying and correctly calibrating each button and joystick.
选择“测试”选项卡。 试用控制器上的每个按钮。 如果一切正常,则按下每个按钮或移动每个控制杆/方向键时,都会发生某些情况。 如果根本无法获得任何输入,请返回本节的开头并下载驱动程序。 如果您得到输入但它不固定(例如,您向上推操纵杆之一,并且轴显示向下和向左),则需要单击“设置”选项卡,然后单击配置按钮。 配置向导将引导您识别并正确校准每个按钮和操纵杆。
Once you’ve confirmed all the buttons are working and configured properly, it’s quite helpful to run the small AutoHotkey executable ShowOff we listed in the What You Need section. This tiny app will put a small white overlay window on your screen that simply reports every button press, whether it’s from a keyboard, mouse, gamepad, or other input device (as seen in the screenshot above). You don’t need to keep the application on for the controller to work properly with your games, but during the setup process it can be very useful to see what the specific button code for each button is while you’re configuring your emulators and games.
确认所有按钮均正常工作并正确配置后,运行在您需要的部分中列出的小型AutoHotkey可执行文件ShowOff将非常有帮助。 这个小应用程序将在屏幕上显示一个小的白色覆盖窗口,该窗口仅报告每一次按钮的按下,无论是来自键盘,鼠标,游戏手柄还是其他输入设备(如上面的屏幕截图所示)。 您不需要保持应用程序正常运行就可以使控制器与您的游戏一起正常工作,但是在设置过程中,在配置模拟器和游戏时查看每个按钮的特定按钮代码是非常有用的。
配置允许自定义按钮选择的模拟器和游戏 (Configuring Emulators and Games That Allow Custom Button Selections)
If you’re using a gaming emulator or stand alone game that allows you to customize game inputs to whatever buttons you desire, configuration is just a matter of opening up the appropriate section in the game menus and carefully mapping each button. To demonstrate how simple this is, we’re going to use the excellent game emulator BSNES.
如果您使用的是游戏模拟器或独立游戏,可以根据需要使用任何按钮自定义游戏输入,则只需在游戏菜单中打开相应部分并仔细映射每个按钮即可进行配置。 为了演示这是多么简单,我们将使用出色的游戏模拟器BSNES 。
Not only does BSNES emulate over 8 consoles including the NES, Super NES, and Game Boy, but it does an amazing job at it while providing highly customizable play—including custom controller configurations. You can follow along with any application that allows you to select custom inputs.
BSNES不仅可以仿真包括NES,Super NES和Game Boy在内的8个游戏机,而且在提供高度可定制的游戏(包括定制的控制器配置)的同时,还可以完成出色的工作。 您可以与允许选择自定义输入的任何应用程序一起使用。
To configure BSNES we simply download it, extract the folder, and run the BSNES executable. Once launched, navigate toSettings –> Configuration, and click onInputin the sidebar. There you can select which game system BSNES supports that you wish to configure. We’re going to configure the Super NES controller. Let’s demonstrate by remapping the four main buttons on the SNES controller from the keyboard to the Xbox 360 controller’s four main buttons.
要配置BSNES,我们只需下载它,解压缩文件夹,然后运行BSNES可执行文件即可。 启动后,导航至“设置”->“配置”,然后单击侧栏中的“输入”。 在这里,您可以选择想要配置的BSNES支持的游戏系统。 我们将配置Super NES控制器。 让我们通过将SNES控制器上的四个主要按钮从键盘重新映射到Xbox 360控制器的四个主要按钮进行演示。
You can see that, by default, all the mappings in BSNES are keyboard based (thus the KB0 variable and the corresponding key). All you need to do in order to remap the button shortcuts from the ZXAS keyboard configuration they are in to the buttons on the controller is to double-click each entry with the mouse and then press the button on the Xbox controller like so:
您可以看到,默认情况下,BSNES中的所有映射都是基于键盘的(因此KB0变量和相应的键)。 为了将按钮快捷方式从ZXAS键盘配置重新映射到控制器上的按钮,需要做的就是用鼠标双击每个条目,然后按如下所示在Xbox控制器上按按钮:
Simply repeat the process for all the buttons you wish to map to the Xbox controller. Once you’re done mapping, it’s time to take the controller for a test drive:
只需对要映射到Xbox控制器的所有按钮重复该过程。 完成映射后,就该将控制器用于测试驱动器了:
It’sA Link to the Pastjust like we remember it: control pad in hand instead of fingers sprawled and cramping on the keyboard. Success!
就像我们记得的那样,它是“过去的链接”:手中的控制板,而不是手指在键盘上蔓延和拥挤。 成功!
What about emulators and games where you can’t easily configure the inputs like you can with BSNES? To that end you’ll need to employ a third-party application; we show you how in the next section.
在模拟器和游戏中,您无法像使用BSNES那样轻松配置输入呢? 为此,您需要使用第三方应用程序。 我们将在下一部分中向您展示。
使用有限的自定义选项配置模拟器和游戏 (Configuring Emulators and Games With Limited Customization Options)
Configuring an emulator or game when it readily accepts gamepad buttons presses as legitimate input (as we demonstrated BSNES does in the previous section of the guide) makes it easy to setup the controller as you can customize each button to your heart’s content. What if the game doesn’t accept custom inputs or, if it does, they’re limited to actual keystrokes and mouse clicks?
配置模拟器或游戏时,只要它能轻易接受游戏手柄的按键输入(如我们在本指南的上一节中演示的BSNES所做的那样)就可以轻松设置控制器,因为您可以根据自己的喜好自定义每个按钮。 如果游戏不接受自定义输入,或者如果游戏仅接受实际的击键和鼠标单击,该怎么办?
If you’re in that situation, you’re not out of luck. Thanks to the dedication of Jonathan Firth, the one-man coding operation behind popular Xbox configuration tool Xpadder, it’s possible to map the Xbox controller’s inputs to whatever keyboard and mouse inputs the game requires you to use. Not only does Xpadder work wonderfully with the Xbox controller, but it’s customizable to work withanygamepad or input device recognized by Windows. There’s a thriving community of gamers making unique profiles for Xpadder for every gaming device under the sun. Let’s take a look at installing and configuring Xpadder.
如果您处在这种情况下,那么您就不会碰运气。 由于流行的Xbox配置工具Xpadder背后的单人编码操作Jonathan Firth的奉献精神,可以将Xbox控制器的输入映射到游戏中您需要使用的任何键盘和鼠标输入。 Xpadder不仅可以与Xbox控制器完美配合,而且可以自定义以与Windows识别的任何游戏手柄或输入设备一起使用。 有一个蓬勃发展的游戏社区,他们在阳光下为每个游戏设备为Xpadder制作独特的配置文件。 让我们看一下安装和配置Xpadder。
Xpadder is a portable application, once you purchase the app and download the executable, you just need to pick a folder for it and run through a very basic initial configuration. We parked the app in our Dropbox/Portable Apps/ folder. On first launch you’ll see some information about the app, click through until you reach:
Xpadder是一个便携式应用程序,一旦您购买了该应用程序并下载了可执行文件,您只需要为其选择一个文件夹并运行一个非常基本的初始配置即可。 我们将应用程序停在了Dropbox / Portable Apps /文件夹中。 首次启动时,您会看到有关该应用程序的一些信息,请单击直至达到:
Here you can opt to have the profiles and other information saved either in your My Documents folder or the location of the program. We like to keep our portable apps tidy so we opted to keep all the data with the Program location.
在这里,您可以选择将配置文件和其他信息保存在“我的文档”文件夹中或程序的位置。 我们希望保持便携式应用的整洁,因此我们选择将所有数据保留在程序位置。
Next, you can opt to associate the unique profiles of XPadder with the application. We opted to associate the file to save ourselves a little time in the future.
接下来,您可以选择将XPadder的唯一配置文件与应用程序相关联。 我们选择将文件关联起来,以节省以后的时间。
When you’re done setting up the very minimal installation configuration, you’re kicked into the main app interface. Right now it looks pretty bare as the app comes with no default controller configuration. Fortunately setting one up is easy and once you’ve mapped out your controller you can use the template to create profiles for all your games.
完成极小的安装配置的设置后,您将进入主应用程序界面。 现在,由于该应用程序没有默认的控制器配置,因此看起来非常裸露。 幸运的是,设置起来很容易,一旦您绘制好控制器,就可以使用模板为所有游戏创建配置文件。
First you’ll need a base image of the controller to make mapping out the controls easier. Youcouldmake your own from scratch, but that’s a lot of effort when the work has already been done for you. It’s time to hit up the Xpadder controller database and pick out the configuration module for our controller. We really liked the clean exploded-buttons style image in the Xbox 360/Official Xbox 360/ category by Oke Doke and opted to use that as the base of our build.
首先,您需要控制器的基本映像,以简化控件的映射。 您可以从头开始制作自己的东西,但是当您已经为您完成工作时,这会花费很多精力。 现在是时候访问Xpadder控制器数据库并为我们的控制器挑选配置模块了。 我们真的很喜欢Oke Doke 在Xbox 360 / Official Xbox 360 /类别中干净的xploded-buttons样式图像,并选择将其用作构建的基础。
To use the image simply right click and copy it in your browser, then click on the small controller icon in on the upper right side of the Xpadder interface to access the menu. From there, click onSettingsto create your controller profile. From within the settings menu, click thePastebutton to paste your controller image.
要使用该图像,只需右键单击并复制到您的浏览器中,然后单击Xpadder界面右上角的小控制器图标即可访问菜单。 在此处,单击“设置”以创建您的控制器配置文件。 在设置菜单中,单击“粘贴”按钮以粘贴您的控制器图像。
Once you’ve pasted the image in, you can begin clicking on the entries in the navigation sidebar like Sticks, DPads, and Buttons. Each entry will guide you through pressing the buttons on your controller. Each time you assign a button, you can drag it to the appropriate place on the visual map we just pasted into the interface (see the screenshot above to see what the layout looks like after all the buttons have been dragged into place). Click OK to return to the main interface.
粘贴图像后,您可以开始单击导航侧栏中的条目,例如Sticks,DPads和Buttons。 每个条目将引导您按控制器上的按钮。 每次分配按钮时,都可以将其拖动到我们刚刚粘贴到界面中的可视化地图上的适当位置(请参见上面的屏幕快照,以查看将所有按钮都拖动到位后的布局是什么样的)。 单击“确定”返回主界面。
Let’s take a moment to save out blank default configuration before we started editing it. Click on the controller icon again to pull up the menu and selectSave As. We saved it with an appropriately clear title for future reference:
让我们花点时间保存空白的默认配置,然后再开始对其进行编辑。 再次单击控制器图标以拉出菜单,然后选择另存为。 我们以适当清晰的标题保存了它,以备将来参考:
At this point we have a blank slate to assign each button on our gamepad a specific value. Let’s return for a moment to BSNES and pretend that the application absolutely did not allow us to configure buttons other than the default ones.
此时,我们的面板空白,可以为游戏手柄上的每个按钮分配特定的值。 让我们回到BSNES,并假装该应用程序绝对不允许我们配置默认按钮以外的其他按钮。
Using Xpadder we can easily circumvent any game with fixed-buttons by assigning those buttons as we see fit. The default in BSNES for the four primary controller buttons is the assignment of keyboard keys ZXAS for Super NES buttons BAYX. Assuming we couldn’t reconfigure those buttons, we can easily assign the keyboard values to the buttons by clicking on the specific button we want to assign in Xpadder. Doing so pulls up a virtual keyboard like so:
使用Xpadder,我们可以通过分配固定的按钮轻松地绕开任何带有固定按钮的游戏。 四个主控制器按钮在BSNES中的默认设置是为超级NES按钮BAYX分配键盘键ZXAS。 假设我们无法重新配置这些按钮,则可以通过单击要在Xpadder中分配的特定按钮来轻松地将键盘值分配给这些按钮。 这样做会拉起一个虚拟键盘,如下所示:
Using the virtual keyboard we can assign the ZXAS keyboard keys to the BAYX buttons on the Xbox controller like so:
使用虚拟键盘,我们可以将ZXAS键盘键分配给Xbox控制器上的BAYX按钮,如下所示:
Continue the process of assigning buttons until you’ve mapped all the necessary buttons for your game. Once you’re done, click on the floppy disk icon on the right hand side of the interface next to Untitled Profile to save your game profile. You can make as many profiles as you wish for your various games and emulators.
继续分配按钮的过程,直到为游戏映射了所有必需的按钮为止。 完成后,单击界面右侧右侧“无标题的配置文件”旁边的软盘图标以保存您的游戏配置文件。 您可以为各种游戏和模拟器创建任意数量的配置文件。
Here’s an example of Xpadder being used to control a melee character in the popular game Diablo III with a 360 controller (you can download the controller profile here):
这是一个Xpadder的示例,该Xpadder用于在具有360控制器的流行游戏Diablo III中控制近战角色(您可以在此处下载控制器配置文件 ):
While customizing your controller profiles gives you fine-tooth control over the results (thus you could keep your keyboard and mouse settings for a game completely intact while creating a controller profile over top those key bindings), you will save yourself a lot of time by visiting the Xpadder forums and grabbing one of the hundreds of game profiles other gamers have already crafted for you.
自定义控制器配置文件可以使您对结果进行细致的控制(因此,可以在保留所有按键绑定的基础上创建控制器配置文件的同时,完整保留游戏的键盘和鼠标设置),但可以节省大量时间访问Xpadder论坛并获取其他游戏玩家已经为您准备的数百个游戏配置文件之一。
Whether by mapping the button inputs within the game or using Xpadder to help you map the buttons to any number of keyboard configurations, it’s possible to play virtually every game on your computer using a comfortable Xbox 360 controller.无论是通过映射游戏中的按钮输入还是使用Xpadder帮助您将按钮映射到任意数量的键盘配置,都可以使用舒适的Xbox 360控制器在计算机上玩几乎所有游戏。
翻译自: /118059/how-to-use-an-xbox-360-controller-on-your-windows-pc/
xbox360链接pc