Assigning controls or keys to the FMS cursor?

Locked
User avatar
paypal
Posts: 2
Joined: Sun Dec 22, 2019 6:27 am
Location: San Francisco, CA
Assigning controls or keys to the FMS cursor?

Post by paypal » Sun Dec 22, 2019 10:19 pm

So ideally I would like to be able to assign joystick inputs using FSUIPC, so that I can control the FMS cursor (left/right, push to select) with my joystick. If it's not possible to do it with FSUIPC, can I at least do it with keyboard controls?

N4GIX
Posts: 1023
Joined: Mon Sep 06, 2010 3:47 pm
Re: Assigning controls or keys to the FMS cursor?

Post by N4GIX » Sun Dec 22, 2019 10:29 pm

Have you tried using the little joystick under the FMS in the 2d popup?

Ephedrin
Posts: 75
Joined: Wed Apr 27, 2016 12:53 am
Contact:
Re: Assigning controls or keys to the FMS cursor?

Post by Ephedrin » Sun Dec 22, 2019 11:37 pm

paypal wrote:
Sun Dec 22, 2019 10:19 pm
So ideally I would like to be able to assign joystick inputs using FSUIPC, so that I can control the FMS cursor (left/right, push to select) with my joystick. If it's not possible to do it with FSUIPC, can I at least do it with keyboard controls?
I've used the mouse macro function of FSUIPC. works well except the animated thumbstick remains in the direction of the last movement... but that doesn't disturb its function.

JonathanBleeker
Posts: 3446
Joined: Sat Mar 13, 2010 7:38 pm
Re: Assigning controls or keys to the FMS cursor?

Post by JonathanBleeker » Mon Dec 23, 2019 7:08 am

Working on adding this to the MVAMS

N4GIX
Posts: 1023
Joined: Mon Sep 06, 2010 3:47 pm
Re: Assigning controls or keys to the FMS cursor?

Post by N4GIX » Mon Dec 23, 2019 5:06 pm

Ephedrin wrote:
Sun Dec 22, 2019 11:37 pm
I've used the mouse macro function of FSUIPC. works well except the animated thumbstick remains in the direction of the last movement... but that doesn't disturb its function.
Ah, the joystick mouse routine is set up to send a value to a specific custom variable (either -1 or 1) when clicked, then send a value of 0 on button release to the same custom variable to allow the joystick to return to center position. For left movement of the joystick, this is the mouse script routine:

Code: Select all

      <Click Kind="LeftSingle+LeftRelease+LeftDrag">
        (M:Event) 'LeftSingle' scmp 0 == if{ -1 (>L:0x110EA,bool) 0x110EA (>L:EVENT,enum) 1 (>L:XMLSND2,bool) }
        (M:Event) 'LeftRelease' scmp 0 == (M:Event) 'LeftDrag' scmp 0 == or if{ 0 (>L:0x110EA,bool) }
      </Click>
      
The custom variable names are:

Code: Select all

-1 (>L:0x110EA,bool) //left
1 (>L:0x110EA,bool) //right
1 (>L:0x110EF,bool) //up
-1 (>L:0x110EF,bool) //down
Nota Bene: The entire XML script for the CCP controller is located here ..\panel\B350i\CCP_Popup.xml

Ephedrin
Posts: 75
Joined: Wed Apr 27, 2016 12:53 am
Contact:
Re: Assigning controls or keys to the FMS cursor?

Post by Ephedrin » Mon Dec 23, 2019 6:01 pm

Thanks Bill.

I hope to see a Linda module for the King Air soon anyway so I can stick with the macros for now easily =)


Locked

Return to “K.A.350 Support Forum”