Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

adding click spots to a panel

Featured Replies

Hi.

Just wondering.

I have EZDOK and find it hard to remember the keystrokes to move around the virtual cockpit.

Is it possible to add clickspot areas to the panels, to move around the virtual cockpit?

Easy?

 Maybe ?????

Possible ?

Yes

 

It would require a registered FSUIPC to begin with  ( no other option) then....

 

Xml gauges with simple L:Vars to send a value to be trapped and read by a .LUA script incorporated by FSUIPC then sending the keyboard command as setup by EZDOK.

 

For instance - 

 

The EZDOK  FMC view = CRTL - SHFT - X

 

Then you would need a gauge that triggered by your click would set the L:Var...  1 (>L:EZD_FMC, bool) 

<Gauge Name="EZDOK FMC VIEW A-THOR-A-TAY" Version="1.0">
<Image Name="Blank.bmp"/>
   <Mouse>
      <Cursor Type="Hand"/> 
         <Click Repeat="No">1 (>L:EZD_FMC, bool)</Click>
   </Mouse>
</Gauge>

Then, once this gauge is installed in the panel where you want it FSUIPC will have to read it via a LUA program being run either - always or just on this aircraft, or, just when you want. ( FSUIPC4 for Advanced Users.pdf)

 

The Lua file itself - not tested whatsoever but, basic in its logic. ( Not in a code block for coloring )

__________________________________________________________

 

function Show_Me_Da_FMC("LVar", value)   -- The function called every time (L:EZD_FMC, bool) changes state.

   if value == 1 then   -- If 1 show me the FMC    

      ipc.keypress(88, 11)  -- Perform a CRTL - SHFT - X, and change the view thru EZDOK  again see --->FSUIPC4 for Advanced Users.pdf  

      ipc.writeLvar("EZD_FMC", 0) -- Set the (L:EZD_FMC, bool) back to zero " 0 "

   end -- end if

end -- end function

 

event.Lvar("EZD_FMC", 200, "Show_Me_Da_FMC")   -- This checks the (L:EZD_FMC, bool) state every 200 milliseconds, if the state changes, call the function above.

 

__________________________________________________________
 

 

It is really not that hard perse', a little planning, quite a bit of reading of the FSUIPC documents if not familiar, patience, and a bit of testing and you could be all set up.

20AUG21_Avsim_Sig.png?dl=1  FS RTWR   SHRS F-111   JoinFS   Little Navmap 
 

 

  • 3 weeks later...
  • Author

Thankyou so much for your reply.

Just need to get my head around all the info you have supplied me.

 

Cheers mate

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.