Antimicro 是一款图形化程序,用于将键盘按键和鼠标控制映射到游戏手柄。该程序适用于使用不具备内置游戏手柄支持的 PC 游戏。此外,您还可以使用此程序通过游戏手柄控制任何桌面应用程序;在 Linux 系统上,这意味着您的系统必须运行 X 环境才能运行此程序。
该程序目前支持多种 Linux 发行版、Windows(Vista 及更高版本)和 FreeBSD。撰写本文时,Antimicro 可以在 Windows XP 上运行,但由于 Windows XP 已停止支持,因此官方将不再支持在 Windows XP 上运行该程序。不过,我们将尽力避免故意破坏与 Windows XP 的兼容性。
此外,目前对 FreeBSD 的支持非常有限。我日常不使用 BSD,所以 FreeBSD 的主要支持由 Anton 提供。他慷慨地将 antimicro 移植到了 FreeBSD 平台,您可以在以下网址找到它:http://www.freshports.org/x11/antimicro/
下载地址:
源代码存档和 Windows 二进制文件可从 GitHub 上的 antimicro Releases 部分获取:
https://github.com/AntiMicro/antimicro/releases
以及在 BinTray 上:
https://bintray.com/antimicro/antimicro/antimicro
AntiMicro 目前已包含在 Fedora 官方软件仓库中,可通过以下方式安装:
$ sudo dnf install antimicro
对于 Debian 和基于 Debian 的发行版,例如 Mint、Ubuntu 和 Steam OS,请查看由 mtdeguzis 慷慨托管的 LibreGeek 软件仓库:
http://packages.libregeek.org/
感谢 NK 和 Klaatu,AntiMicro 目前已可通过 SlackBuilds 在 Slackware 平台使用:
https://slackbuilds.org/result/?search=antimicro&sv=
Ubuntu 用户还可以查看 Launchpad 上的反微生物页面:
最新版本:https ://launchpad.net/~mdeguzis/+archive/ubuntu/libregeek
命令行:
Usage: antimicro [options] [profile]
Options:
| -h, --help |
Print help text. |
| -v, --version |
Print version information. |
| --tray |
Launch program in system tray only. |
| --no-tray |
Launch program with the tray menu disabled. |
| --hidden |
Launch program without the main window displayed. |
| --profile <location> |
Launch program with the configuration file selected as the default for selected controllers. Defaults to all controllers. |
| --profile-controller <value> |
Apply configuration file to a specific controller. Value can be a controller index, name, or GUID. |
| --unload [<value>] |
Unload currently enabled profile(s). Value can be a controller index, name, or GUID. |
| --startSet <number> [<value>] |
Start joysticks on a specific set. Value can be a controller index, name, or GUID. |
| -d, --daemon |
Launch program as a daemon. |
| --log-level (debug | info) |
Enable logging. |
| --eventgen (xtest | uinput) |
Choose between using XTest support and uinput support for event generation. Default: xtest. |
| -l, --list |
Print information about joysticks detected by SDL. |
| --map <value> |
Open game controller mapping window of selected controller. Value can be a controller index or GUID. |
预设个人资料:
Antimicro 提供了一个预制配置文件库。使用这些预制配置文件,您可以获得适合游戏的控制器布局,而无需自行映射所有按键。这使得 Antimicro 的使用非常便捷。要使用这些预制配置文件,您必须运行 Antimicro 2.0 或更高版本,并且 Antimicro 必须已编译并支持 SDL 2。
https://github.com/AntiMicro/antimicro-profiles