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
Autographs
by F4UDash4. 05/18/24 06:34 PM
Boxing fans
by RossUK. 05/18/24 03:11 PM
Bud Anderson was 102
by F4UDash4. 05/18/24 01:14 PM
The guy in War Games passes at 92
by NoFlyBoy. 05/18/24 02:28 AM
V-22 (all variants) wings clipped.
by Blade_RJ. 05/17/24 11:33 PM
Unusual climate conditions during WWI.
by RedToo. 05/17/24 04:52 PM
WW2 allied railroad effort after D-Day
by oldgrognard. 05/16/24 12:06 AM
New Viper Demo team livery
by RossUK. 05/15/24 03:48 PM
Beate Uhse-Rotermund.
by RedToo. 05/14/24 03:47 PM
South Africa’s C-47 Dakotas Set For Retirement
by F4UDash4. 05/11/24 07:09 PM
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 7.6.0