Baron of Hell
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Source Ports > Gamepad/Joystick in prboom-plus
 
Author
All times are GMT. The time now is 05:25. Post New Thread    Post A Reply
boris
meow


Posts: 3611
Registered: 05-00


Anybody got gamepad/joystick working in prboom-plus 2.5.1.3? I tried it with a XBox 360 gamepad on Windows 7 64bit, but looking at stdout.txt there's no mention of joysticks at all, even though I set use_joystick to 1 in prboom-plus.cfg. Any ideas?

Old Post 02-05-13 21:34 #
boris is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
DoomUK
Forum Spammer


Posts: 3835
Registered: 04-04



boris said:
Anybody got gamepad/joystick working in prboom-plus 2.5.1.3? I tried it with a XBox 360 gamepad on Windows 7 64bit, but looking at stdout.txt there's no mention of joysticks at all, even though I set use_joystick to 1 in prboom-plus.cfg. Any ideas?

Xpadder?

Old Post 02-17-13 09:17 #
DoomUK is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
boris
meow


Posts: 3611
Registered: 05-00



DoomUK said:

Xpadder?


Won't help me for what I had/have in mind.

Old Post 02-17-13 10:06 #
boris is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
40oz
Why don't I have a custom title by now?!


Posts: 6218
Registered: 08-07


I'm awaiting an answer too, I'm using xpadder atm but it's not an ideal solution.

Old Post 02-22-13 19:29 #
40oz is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 5757
Registered: 08-00


If the XBox joystick can only be recognized as an XInput device, it's never going to work, as SDL is mired in the dark ages and only recognizes DirectInput devices.

On top of that prboom-plus is so rigidly compatible as to never have added any enhanced joystick control options that I'm aware of, so I wouldn't expect more than 4 buttons to work, and you can probably forget analog sticks altogether.

Old Post 02-22-13 22:15 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
boris
meow


Posts: 3611
Registered: 05-00


This test program works fine and for example Eternity does recognize the gamepad (no really usable, though, the player keeps turning in either direction, maybe there's no threshold for the analogue sticks?).

And yeah, looking at the prboom-plus source the joystick code is very rudimentary.

Old Post 02-22-13 23:06 #
boris is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 5757
Registered: 08-00



boris said:
This test program works fine and for example Eternity does recognize the gamepad (no really usable, though, the player keeps turning in either direction, maybe there's no threshold for the analogue sticks?).

And yeah, looking at the prboom-plus source the joystick code is very rudimentary.


Interesting; guess the API is not the problem then. And yes, EE doesn't really support analog yet itself. I would like to add it but I really need to get an analog device myself, so I can test it. My old gamepad is just a + :P

Old Post 02-23-13 01:46 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Ragnor
I do see the humour in a mod sneakily changing my title


Posts: 1870
Registered: 01-08


I could get the sticks to work in Xpadder.

Native controller support with modern controllers is the biggest reason I dont really use other engines than G/ZDoom.

Old Post 02-23-13 09:43 #
Ragnor is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
entryway
Forum Staple


Posts: 2709
Registered: 01-04


All joystick code is under HAVE_SDL_JOYSTICKGETAXIS define and it is not defined for MSVC solutions for some reasons.

Does it work?
http://prboom-plus.sourceforge.net/glboom-plus.exe.zip

Old Post 02-25-13 13:37 #
entryway is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
boris
meow


Posts: 3611
Registered: 05-00



entryway said:
Does it work?
http://prboom-plus.sourceforge.net/glboom-plus.exe.zip


Yes, that works.

Old Post 02-25-13 18:04 #
boris is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Ralphis
IDL Founder


Posts: 3704
Registered: 09-02


Not sure if this would help you, but Odamex has XBox joypad support (there is an actual xbox build of Odamex available) and pretty ballin compatibility (though the features in this area are not nearly as robust as pr+)

Old Post 02-28-13 18:10 #
Ralphis is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
boris
meow


Posts: 3611
Registered: 05-00


Yes, Odamex would be nice, but it's so damn slow on my Pandora (about 12 fps at the start of Doom 2 map01).

Old Post 03-02-13 10:08 #
boris is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 05:25. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Source Ports > Gamepad/Joystick in prboom-plus

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Message Board Statistics