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.

Assign FSUIPC joystick buttons with Linda

Featured Replies

Hi Guys...I would like to use a lua script for autobrake system in order to use some buttons already configured in FSUIPC.How to use sintax in a scripts for buttons ?This coming from NGX linda module## Autobrake ###############function NGX_AUTOBRAKE_inc () ipc.control(70092, 16384) NGX_AUTOBRAKE_show ()endfunction NGX_AUTOBRAKE_dec () ipc.control(70092, 8192) NGX_AUTOBRAKE_show ()endfunction NGX_AUTOBRAKE_show () if ipc.readLvar('ngx_switch_460_a') == 0 then DspShow ("ABRK", "RTO") elseif ipc.readLvar('ngx_switch_460_a') == 10 then DspShow ("ABRK", "OFF") elseif ipc.readLvar('ngx_switch_460_a') == 20 then DspShow ("ABRK", "1") elseif ipc.readLvar('ngx_switch_460_a') == 30 then DspShow ("ABRK", "2") elseif ipc.readLvar('ngx_switch_460_a') == 40 then DspShow ("ABRK", "3") elseif ipc.readLvar('ngx_switch_460_a') == 50 then DspShow ("ABRK", "MAX") endendshould I add something like that?event.button(65, 5, "OFF")event.button(65, 8, "RTO")event.button(65, 9, "1")event.button(66, 15, "2")event.button(65, 6, "3")event.button(65, 17, "MAX")Thanks in advance for your supportFrancesco

Edited by az1228

Francesco Gatta
Managing Director / Media

Royaldutchvirtual.com

  • Commercial Member

Francesco,NGX module in LINDA has only TWO functions to control autobrake - increase or decrease by one step. So you cannot set exact position with one "click".As for calling LINDA functions, you should do it like this:event.button(65, 17, "NGX_AUTOBRAKE_inc") -- < increase autobrakeevent.button(65, 6, "NGX_AUTOBRAKE_dec") -- < decrease autobrake

Artem Crum, EASA PPL
•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
LINDA Lua Integrated Non-complex Device Assigning
•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••

Hi guys can you use Linda to program throttles etc or is it more for panels MCP,EICAS ETC. Wayne

http://fs2crew.com/banners/Banner_FS2Crew_MJC_Supporter.png

 

 

Wayne HART

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.