Aidor Posted April 24, 2017 Posted April 24, 2017 Hi, I've downloaded the last build (build 2016-08-22 for Windows) and gamepad doesn't work. Xinput gamepad works if I use the other build I used some month ago (build 2014-12-15), but not with the last one. What I'm doing wrong? I've been searching here and there for a while, but with no luck. Thanks in advance.
ensiform Posted April 24, 2017 Posted April 24, 2017 There's no xinput support anymore, it's handled by SDL directly. Also that build is way old but unfortunately we don't have a new one for you right now. Aidor likes this
Aidor Posted April 24, 2017 Author Posted April 24, 2017 Ok, thanks ensiform. And what should I do to use the joystick (a xbox360 gamepad) with this new system? I've look at www.libsdl.org but didn't see the way to use it.
Aidor Posted April 24, 2017 Author Posted April 24, 2017 Any help? I guess that I have to use this settings: in_joystick "2"in_joystickNo "0"in_joystickUseAnalog "1" Even I've tried different settings and joystick still doesn't work...
ensiform Posted April 25, 2017 Posted April 25, 2017 in_joystick 2 no longer exists its only 1 or 0 now, so 2 is basically same as 1. You need to bind the keys for buttons, and I'm not sure on the axes depending on which controller.
Aidor Posted April 25, 2017 Author Posted April 25, 2017 in_joystick 2 no longer exists its only 1 or 0 now, so 2 is basically same as 1. You need to bind the keys for buttons, and I'm not sure on the axes depending on which controller. Ok, I see, thanks. Actually my xbox360 gamepad is detected, cause I can bind some buttons to some actions, but the problem is the right stick (which should control the camera). I can bind it via in-game setting to "look up", "look down", "turn left" and "turn right", but the result is weird, with no sensitivity, like if I was using xpadder or Pinnacle. There should be a way to set the joystick the same way it worked before the SDL.dll implamentantion, where we just needed to plug in the joystick, and the right stick controls the camera automatically, with no need to edit any file or settings. Let's see if anybody knows how this new joystick input system works, cause I can't see it.
ensiform Posted April 25, 2017 Posted April 25, 2017 Ok, I see, thanks. Actually my xbox360 gamepad is detected, cause I can bind some buttons to some actions, but the problem is the right stick (which should control the camera). I can bind it via in-game setting to "look up", "look down", "strafe left" and "strafe right", but the result is weird, with no sensitivity, like if I was using xpadder or Pinnacle. There should be a way to set the joystick the same way it worked before the SDL.dll implamentantion, where we just needed to plug in the joystick, and the right stick controls the camera automatically, with no need to edit any file or settings. Let's see if anybody knows how this new joystick input system works, cause I can't see it. Well, the axes aren't implemented and that old method wasn't very correct either. You won't be able to play with a pad right now and its not very effective to do so especially in Multiplayer where you will get steamrolled anyway. Aidor likes this
Aidor Posted April 25, 2017 Author Posted April 25, 2017 Ok, if axes aren't implemented as you say, I see the problem now. Well, the old method worked quite well, and both sticks had sensitivity, not adjustable as far as I know, but it had a sensitivity curve quite good. Even for changing between walk/run, the left stick controlled it, with no need to edit nothing). And all this 'by default'. About MP, sure, I only use the gamepad to play SP mods, not in MP. So I'm going to stay with the old build (2014-12-15) to play SP mods, and let's see if someday axes are implemented. Thanks for the help ensiform.
ensiform Posted April 25, 2017 Posted April 25, 2017 I know it worked sorta well by default, it was implemented badly by comparison. User perspective vs badly programmed are two different things. That old build is not recommended but if you insist. I have working better stuff locally but its not ready and even if i commit it, there won't be a windows build for you to grab. You'd need to find someone to build a generic copy.
Aidor Posted April 25, 2017 Author Posted April 25, 2017 If you are/were talking about badly programmed, I have nothing to say, of course. Well, let's see if somebody can build that generic copy for me, it would be nice. Thanks!
ensiform Posted April 25, 2017 Posted April 25, 2017 I only said if I commit the changes, right now that won't happen. And SP doesn't load for me currently.
Aidor Posted April 26, 2017 Author Posted April 26, 2017 Ok, I understand, we need you commit it first. Whenever you want/can do it, of course. Thanks once more.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now