Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: KyadCK on January 04, 2011, 01:52:41 am

Title: General Feature Requests
Post by: KyadCK on January 04, 2011, 01:52:41 am
If possible could dual-joystick compatibility be added? i'm a big fan of FreeSpace, and the only real issue i have is that in order to use both my joystick and throttle i need to set it to recognize the throttle and use a program (like Joymouse) to use my joystick in place of the mouse, limiting it to 3 keys.

By what i read, this doesn't seem to be mentioned so i figured the thought couldn't hurt


Others add their requests too, of cource
Title: Re: General Feature Requests
Post by: Nuke on January 04, 2011, 02:40:00 am
use ppjoy for now. ppjoy should come with a program called ppjoyjoy that lets you mix two joysticks into a virtual joystick. it somewhat limits you to 16 buttons total. you could use ppjoy with glovepie and get a little bit more control over things.

multiple joysticks is something thats been asked for many times over the past decade. main holdups have been pilot files which are being tested now. the best solution is to use sdl on windows instead of direct input. meh, il let the coders fill in the gaps, needless to say it will be awhile.
Title: Re: General Feature Requests
Post by: KyadCK on January 04, 2011, 02:46:09 am
while 16 keys may limit me slightly, those are way better solutions then my current set up, thanks much
Title: Re: General Feature Requests
Post by: Nuke on January 04, 2011, 08:25:53 am
you might be able to get more with glovepie, at the very least be able to bind things to keystrokes. it still requires ppjoy for its virtual joystick though. glove pie is pretty awesome, it lets you convert almost any kind of input to almost any other kind of input.
Title: Re: General Feature Requests
Post by: Goober5000 on January 04, 2011, 11:54:27 am
This is nontrivial.  Very, very nontrivial.

In fact, I think it's actually impossible without the soon-to-be-finalized pilot code.  And you know how long that took.
Title: Re: General Feature Requests
Post by: Dragon on January 04, 2011, 01:54:00 pm
Pilot code is coming though, so (as a guy with 3 device HOTAS set) I'd appreciate if somebody started to work on implementing multiple controllers.
Also, slide axes (like in TMP), which would allow you to control amount of vertical and lateral thrust using an additional joystick or trackpoint mouse (also usefull for HOTAS users who have radar cursor manipulators).
Title: Re: General Feature Requests
Post by: KyadCK on January 04, 2011, 02:51:21 pm
as an update, i couldn't get ppjoy (and thus glovepie) working, but have found a different program, "joystick 2 mouse" that allows for up to 32 keys (includeing shift+key shortcuts) from the mouse and keyboard to be used on the joystick

that should give the joystick plenty of keys while the throttle is selected by the launcher

still open to other programs that'll work though, i doubt joystick2mouse is the best one out there
Title: Re: General Feature Requests
Post by: Goober5000 on January 04, 2011, 02:58:26 pm
Pilot code is coming though, so (as a guy with 3 device HOTAS set) I'd appreciate if somebody started to work on implementing multiple controllers.
I think we all would.  The question is whether it will happen.  Judging by the difficulty of the problem, combined with the shortage of coder time, I'm predicting that this is unlikely.

Do you happen to know any coders who are familiar with device I/O or SDL?  That would probably greatly affect your odds of seeing this implemented.
Title: Re: General Feature Requests
Post by: Dragon on January 04, 2011, 03:49:51 pm
Unfortunately I don't, at least not in this community (my father is a programmer, but he doesn't ussualy work in C).
Title: Re: General Feature Requests
Post by: chief1983 on January 05, 2011, 12:11:27 am
I have a friend who has been asking a lot about the SCP, he's looking for something to bolster his resume.  He's done a lot of embedded C, so SDL might be something he's seen or can pick up easily.  I'll keep an eye on this.  We still have that Haptic code to get integrated too, you know :)
Title: Re: General Feature Requests
Post by: Nuke on January 05, 2011, 05:38:35 am
as an update, i couldn't get ppjoy (and thus glovepie) working, but have found a different program, "joystick 2 mouse" that allows for up to 32 keys (includeing shift+key shortcuts) from the mouse and keyboard to be used on the joystick

that should give the joystick plenty of keys while the throttle is selected by the launcher

still open to other programs that'll work though, i doubt joystick2mouse is the best one out there

this is probibly because you are using a version of windows that requires driver signing (particularly 64 bit). you can put windows into a test mode where it can run unsigned drivers. which will make ppjoy work. you have to enter "Bcdedit.exe -set TESTSIGNING ON" into run and reboot.

Pilot code is coming though, so (as a guy with 3 device HOTAS set) I'd appreciate if somebody started to work on implementing multiple controllers.
I think we all would.  The question is whether it will happen.  Judging by the difficulty of the problem, combined with the shortage of coder time, I'm predicting that this is unlikely.

Do you happen to know any coders who are familiar with device I/O or SDL?  That would probably greatly affect your odds of seeing this implemented.

i use sdl for a lot of input code in other programs that ive worked on. im just not too familiar with the existing input code, and will probably take another look after the pilot code hits trunk.