Showing posts with label joystick. Show all posts
Showing posts with label joystick. Show all posts

Sunday, October 18, 2015

Map Keyboard/Mouse Input To Your Gamepad With AntiMicro

AntiMicro is an application that can be used to map keyboard and mouse keys to gamepad buttons, useful for playing games with no gamepad support.

The application, written in C++ using Qt for the graphical framework, has been created as a replacement for QJoyPad which unfortunately is no longer being maintained.



AntiMicro features controller stick support, 8-way controls, virtual Dpad support, profiles that can be loaded via command line and more.

Compared to QJoyPad, the application comes with some extra features like assigning multiple keys to one controller button (for example Shift+Tab to bring up the Steam overlay interface in a game), macros for button presses which lets you add conditional actions, change button configurations on the fly and there's also a tray icon that works under Unity. Furthermore, AntiMicro has better mouse movement support.


Basic usage


To assign a keyboard or mouse key to gamepad buttons, press a button on your gamepad and the corresponding button in the AntiMicro user interface should be highlighted:

AntiMicro

Then, click the highlighted button from the AntiMicro user interface and assign it to a keyboard or mouse key:

AntiMicro

AntiMicro

You can also click the "Quick set" button at the bottom of the AntiMicro window, then press a button or move an axis on the joystick and a window will show up allowing you to assign it a key.

When assigning a key, you can select to use turbo or toggle modes:
  • turbo: when the button is pressed on the joystick, the corresponding key acts as if the button was pressed multiple times. The delay/rate can be set under Advanced;
  • toggle: a simple press of the Joystick button leaves it virtually pressed. Pressing it again stops it.

Below you can watch an AntiMicro demo with Left 4 Dead 2, recorded by its developer:


(direct video link)


Download AntiMicro


Download AntiMicro (alternative download link) - there are packages available for Ubuntu/Debian, Arch Linux and Gentoo as well as the source code.

Report any bugs you may find @ GitHub.

via Reddit
Read more »

Get Xbox Gamepads Properly Configured In Ubuntu With ubuntu-xboxdrv

You can use Xbox/Xbox360 gamepads in Linux by using the xboxdrv driver, and configure it using the jstest-gtk tool however, the package below fixes a few things related to xboxdrv.

failsdownloads reader Rael has created a PPA for getting xboxdrv properly configured and running in Ubuntu: his package creates a start daemon for xboxdrv, cleans up old broken configurations, marks xpad as conflict (and stop it if necessary) and adds the "Joysticks" (jstest-gtk) entry into System Settings.


He notes:

I know that for some people, the wired version, and some Logitech versions too, all will work fine.

But I saw a lot of people facing problems, sometimes the joystick wasn't working properly, sometimes there are crazy blinking leds, and other problems (in my case, my transceiver got recognized as first joystick).

With reason, a good voted question in AskUbuntu is http://askubuntu.com/questions/165210/how-do-i-get-an-xbox-360-controller-working

So, after I saw all these problems, I thought about the average user: why not create a proper package to get this working, and additionally create a "Joysticks" entry into System Settings?


I don't have an Xbox gamepad so I couldn't test this, but here are some screenshots from Rael (the PPA maintainer):




To add the PPA and install the ubuntu-xboxdrv package, use the following commands:
sudo apt-add-repository ppa:rael-gc/ubuntu-xboxdrv
sudo apt-get update
sudo apt-get install ubuntu-xboxdrv
Installing ubuntu-xbobxdrv also installs xboxdrv and jstest-gtk, required to get your Xbox gamepad working and configured in Ubuntu.

Report any bugs you may find related to the ubuntu-xboxdrv package @ GitHub.
Read more »