PDA

View Full Version : Read Joystick via SIOC



verticallimit
01-18-2012, 06:00 PM
I think there is a way to read the input values ​​from the joystick, buttons and axes. How is it the script looks like.

Var 5555, Link .............................. ?

Schraddel
01-20-2012, 04:58 AM
Hello Claus,

maybe a stupid question...but why don't you use (registered) FSUIPC for this ?

Greets,
Kai

verticallimit
01-20-2012, 10:56 AM
It must be be a little more advanced than just reading the input state.
On my MD-80, I have the AP and AT switch controlled by musemacros and a joystick buttons in the FS. In my cockpit the buttons shall be tripped electrically to off, therefore I would like to read the joystick button's status so I can send a control signal for disconnection of the AT and AP.

A small script could do this for me, but I need to read the joystick values ​​using SIOC.
When I later have to make the autopilot movements for the column and yoke I then need to read the joystick axis values.

verticallimit
04-01-2012, 12:25 PM
I still have a problem.
I use a button input on my joystick cards, and this input, I also want to use through SIOC script.
How can I read the joystick input. I've tried to read the signal with different FSUIPC offset but without any result.
I also need this for ajusting my auto pilot altitude display.

Does nobody have a solution to such a "simple" problem ?

kiek
04-07-2012, 04:02 AM
Hi,
Don't think you can read Joystick buttons and axis conneceted to Windows directly from SIOC.
An alternative could be to let your joystick button toggle a bit in a free FSUIPC offset and that you read that offset from SIOC.
rgrds,
Nico
www.lekseecon.nl

verticallimit
04-07-2012, 08:45 AM
Thanks. I will try to assign a free FSUIPC offsett to my buttons.

crashdog
04-10-2012, 02:54 PM
Hi Claus,
or you could connect the buttons to the OC mastercard inputs ? If I remember right you could also use OC's joystick card. But not 100% sure about that. I should be described in the sioc programming guide.

Regards,
Gery

verticallimit
04-16-2012, 04:51 PM
Hi Claus,
or you could connect the buttons to the OC mastercard inputs ? If I remember right you could also use OC's joystick card. But not 100% sure about that. I should be described in the sioc programming guide.

Regards,
Gery

Hi Gery
Yes that could become a solution. At the moment I have connected it to the Leo budnar joystick card.