Previous Thread
Next Thread
Print Thread
Rate This Thread
Hop To
#3634317 - 08/28/12 11:27 PM Custom key command for backward cycle possible?  
Joined: Oct 2009
Posts: 1,599
Frederf Offline
Member
Frederf  Offline
Member

Joined: Oct 2009
Posts: 1,599
I'm trying to something a bit advanced with my controls. I want to assign different keys for cycling a command forward and backward. For example the line in the Ka-50/input/ka-50/keyboard/default.lua file reads

{combos = {{key = 'L', reformers = {'RShift'}}}, down = iCommandPlaneHeadLightOnOff, name = 'Light landing search On/Retraction/Off', category = 'Ins Landing Lights & Voice Warning Panel'},

Pressing RShfit-L cycles the landing light switch ON OFF RETRACT ON OFF RETRACT ON OFF RETRACT (and so on). In cockpit right-clicking and left-clicking are opposite directions (A-B-C vs. A-C-B).

What I want to do is make two separate key bindings for for iCommandPlaneHeadLightOnOff (cycle forward) and iCommandPlaneHeadLightOnOff (cycle backward). Then I can bind these two keys to my joystick buttons so I am not forced to go only on direction in the cycle.

Can it be done?

Inline advert (2nd and 3rd post)

#3634346 - 08/29/12 12:49 AM Re: Custom key command for backward cycle possible? [Re: Frederf]  
Joined: Aug 2012
Posts: 77
smil Offline
Junior Member
smil  Offline
Junior Member

Joined: Aug 2012
Posts: 77
I assume you are using keyboard only and not a switch? Mouse clicks can go each way when clicking the switch. If you are using a switch, get Helios, it will run the BS switch in either direction through lua bindings. Helios may be able to change the key bindings to mimic the proper action of the BS switch.

Last edited by smil; 08/29/12 12:58 AM.

Moderated by  Force10, RacerGT 

Quick Search
Recent Articles
Support SimHQ

If you shop on Amazon use this Amazon link to support SimHQ
.
Social


Recent Topics
Carnival Cruise Ship Fire....... Again
by F4UDash4. 03/26/24 05:58 PM
Baltimore Bridge Collapse
by F4UDash4. 03/26/24 05:51 PM
The Oldest WWII Veterans
by F4UDash4. 03/24/24 09:21 PM
They got fired after this.
by Wigean. 03/20/24 08:19 PM
Grown ups joke time
by NoFlyBoy. 03/18/24 10:34 PM
Anyone Heard from Nimits?
by F4UDash4. 03/18/24 10:01 PM
RIP Gemini/Apollo astronaut Tom Stafford
by semmern. 03/18/24 02:14 PM
10 years after 3/8/2014
by NoFlyBoy. 03/17/24 10:25 AM
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 7.6.0