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
Frederf  Offline

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

Recent Topics
WW2 From the Frontlines
by wormfood. 12/10/23 05:20 AM
Ryan O'Neal (1941-2023)
by NoFlyBoy. 12/09/23 01:29 AM
December 7th.
by NoFlyBoy. 12/07/23 03:43 PM
Ok now this is hilarious
by PanzerMeyer. 12/06/23 06:40 PM
Day one, full stop
by DBond. 12/04/23 11:30 PM
How to defend yourself from cyberbullying?
by Greybeard. 12/04/23 07:45 AM
His Dark Materials season 3
by NH2112. 12/04/23 02:20 AM
"Napoleon" - My review
by PanzerMeyer. 12/03/23 03:25 AM
Hey hey
by Stormtrooper. 12/02/23 12:54 AM
Weapons thread
by Stormtrooper. 12/02/23 12:06 AM
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 7.6.0