Visit Captain Sim web site  
  Welcome, Guest. Please Login or Register

  News:

  HomeHelpSearchLoginRegister  
 
Pages: 1
Send Topic Print
WX radar keyboard shortcut? (Read 1472 times)
twisted8
Newcomer

Offline



Posts: 2

WX radar keyboard shortcut?
Nov 09th, 2010, 8:10pm
 
Is there a way to assign keyboard shortcuts to turn on the weather radar? Love the radar but I hate having to click to turn it on everytime! I even tried fsuipc mouse macros and strangely it doesn't work either.
Thanks!
Back to top
 
 
View Profile   IP Logged
GG_Flyer
Newcomer

Offline



Posts: 6

Re: WX radar keyboard shortcut?
Reply #1 - Dec 1st, 2010, 9:45pm
 
If you've dabbled with LUA via FSUIPC you can control the (standalone, at least) CaptainSim WX radar by this route.

For example I have a script file named wx_rdr_on.lua with the following line:

ipc.writeLvar("L:Wxr_ModeSwitch1",3)

Script file wx_rdr_off.lua has this line:

ipc.writeLvar("L:Wxr_ModeSwitch1",0)

I've used FSUIPC to assign keystrokes to run these short scripts, and I have a voice-control add-on that lets me tell my FO to turn the CaptainSim WX radar on and off.

The other CaptainSim WX radar controls are also accessible via LUA as well, although I've not implemented key mapping yet:

L:Wxr_RangeInc=0
L:Wxr_RangeDec=0
L:Wxr_TiltKnob=0


etc.

I don't think I'm that good with using FSUIPC so if I can do it, I'd think most anyone could.  Smiley

Hope this helps,
Back to top
 
 
View Profile   IP Logged
twisted8
Newcomer

Offline



Posts: 2

Re: WX radar keyboard shortcut?
Reply #2 - Dec 11th, 2010, 12:51pm
 
Thank you! Great info. I'll give it a try!
Back to top
 
 
View Profile   IP Logged
Pages: 1
Send Topic Print