View Full Version : Support for game controllers
Hendrixlt
11-17-2009, 11:56 PM
Would like to use a game controller (i.e.: xbox 360 or ps3 controller) for our game. Is this something that can be done in unreal script or do you need source code.
Thanx
immortius
11-18-2009, 02:16 AM
It is supported, just a matter of binding the gamepad buttons.
Obviously the PS3 controller requires some sort of homebrewed driver, because there isn't an official one and Windows doesn't have a compatible driver
Solid Snake
11-18-2009, 04:48 AM
I just plugged mine in and it worked just fine.
Steve Polge
11-18-2009, 09:36 AM
Game controllers are supported out of the box. If you plan to make a controller your primary input device, you may want to base your input system off of UTConsolePlayerInput and UTConsolePlayerController, which support features like target adhesion.
armaril
02-18-2010, 06:07 PM
in relation custom devices, I am trying to get my logitech G27 steering wheel to work with my custom game, so I can use the wheel instead of my mouse and keyboard. I can easily see how to implement gamepad devices, such as the xbox controller and such, but I am having trouble understanding which key bindings I am supposed to use for my steering wheel.
In other words, when I start my game, how do I know my steering wheel is working with my custom game?
TiagoTiago
02-19-2010, 12:31 AM
AFAIK the SIXAXIS and the DualShock3 pretend to be basic 4 axis joypads when plugged on a Windows machine
that is, unless you got special drivers, like what Tamamy Ikesu offers, google it, (not the geocities page, the other one, Yahoo's translator seems to deal with the page better than Google's). Most drivers though don't deal with the gyro, if youw anna try to use the gyro, get GlovePIE ( DualShock3 support is still experimental, but from what i've heard, SIXAXIS works just fine)
thelaw
02-19-2010, 03:40 AM
According to this http://www.dcemu.co.uk/vbulletin/showthread.php?t=45209 and this http://www.dcemu.co.uk/vbulletin/showthread.php?t=257947 its possible.
I'll try it when I get home. It never worked for my wireless 360 controller via the USB charging cable so I never thought to try the PS3 controller.
TiagoTiago
02-19-2010, 04:17 AM
ah, yeah, AFAIK, PS3 controllers would only work via bluetooth in Windows with modified bluetooth drivers, no one has done it, at least AFAIK
TiagoTiago
02-19-2010, 04:32 AM
btw, http://tamamyikesu.web.fc2.com/ for the driver to use it as a regular game controller, with as much as 8 axes (no gyro though) and a bunch of buttons
and http://glovepie.org/ if you wanna use the gyro or do some more complex stuff (GPIE needs a few other programs and drivers depending on what you wanna do, the info about it is in some of the files that comes with it and the site (and the forum there) would also be good places to look for info)
TiagoTiago
02-19-2010, 04:39 AM
hm, MotionJoy claims to allow using via bluetooth, interesting....
either way,unless i'm remembering it wrong, MotionJoy is adware (meaning it displays ads), got a clumsy interface and didn't work all that well, i could be wrong though, i did test a bunch of alternatives before setling with Tamamy's driver for basic usage and GlovePIE for advanced stuff
sueds
02-19-2010, 08:19 AM
Game controllers are supported out of the box. If you plan to make a controller your primary input device, you may want to base your input system off of UTConsolePlayerInput and UTConsolePlayerController, which support features like target adhesion.
as far I remember xbox controler work fine but I tried some other controller and some direction were inversed. I checked over other forum and many game using unreal technology had that problem. Is is some bug or some user problem?
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.