Joypad Support?

8 replies [Last post]
mcfroogle
User offline. Last seen 13 years 9 weeks ago. Offline
Joined: 2010-08-25
Posts: 28

I read somewhere in the forum about joypad support?
Is it possible?
I've tried going to controls menu under the team's advanced setting but there are only mouse and keyboard commands listed.

I'm using the 0.9.13 official Windows release

Thanks in advance Smile

Spoon
User offline. Last seen 14 years 11 weeks ago. Offline
Joined: 2010-09-05
Posts: 10

I do believe that there is currently no support for anything other than plain old keyboard and mouse.

Inu
Inu's picture
User offline. Last seen 40 weeks 4 days ago. Offline
Joined: 2009-08-26
Posts: 240

It does support other devices, haven't tried it myself, but as far as I know the XBox 360 controller is fully supported for example.

Smaxx
Smaxx's picture
User offline. Last seen 13 years 28 weeks ago. Offline
Joined: 2009-04-29
Posts: 391

The game should be able to detect your controller if it's plugged in and active before you launch the game (the frontend). However there's a small bug that can (depending on your system) bug gamepad controls (which is fixed in 0.9.14). The game should work with any gamepad your operating system (and SDL) supports. XBox360 controllers should be detected as such and present you the correct button names instead of numbered buttons.

Inu
Inu's picture
User offline. Last seen 40 weeks 4 days ago. Offline
Joined: 2009-08-26
Posts: 240

This makes me wanna add a Playstation Dualshock button layout to it too now. :P

Smaxx
Smaxx's picture
User offline. Last seen 13 years 28 weeks ago. Offline
Joined: 2009-04-29
Posts: 391

Provide the string reported by SDL (can be seen in debug0.txt) and a key mapping like "button 0 = ..." and I'll try to add it.

mcfroogle
User offline. Last seen 13 years 9 weeks ago. Offline
Joined: 2010-08-25
Posts: 28

Thanks for the help and the amazingly quick responses, Hedgewars has such a great support community Smile

It turns out I was plugging in the controller after loading Hedgewars I think.

Problem is I have a different problem now :-s My joy pad has 2 joysticks, so there's 4 axis, I've tried setting the mouse/camera movement to 2 axis but for some reason the camera goes crazy and flies to the side of the screen, so I can't see any of the game play.

There are no conflicting button,
And the Joysticks are properly synchronised (forgotten the proper word)

Just in case it's needed I'm using a Logitech Duel Action,
So Inu the playstation layout would be great implemented in the game because the controller is pretty much a clone of it.

Thanks in advance

Inu
Inu's picture
User offline. Last seen 40 weeks 4 days ago. Offline
Joined: 2009-08-26
Posts: 240

I'll check they key layout this week or next weekend, classes are just now restarting so I'll probably have time.

Smaxx
Smaxx's picture
User offline. Last seen 13 years 28 weeks ago. Offline
Joined: 2009-04-29
Posts: 391

mcfroogle: That's the issue mentioned above. Wait for 0.9.14 - it should work by then.

User login

Copyright © 2004-2024 Hedgewars Project. All rights reserved. [ contact ]