xray20 Posted June 14, 2015 Posted June 14, 2015 I'd like to assign the F1 key to my HOTAS joystick paddle switch (BTN#4) so I can use it for the majority of communications. This seems to be set as a keyboard only command. I can't see a comms F1 setting in the control options menu and therefore cant map it to the joystick. Can this be done? Thanks
Slayer_42 Posted June 14, 2015 Posted June 14, 2015 You may need a HOTAS which allows you to program keyboard keys to the joystick buttons outside of dcs' settings. For example, im using the thrustmaster cougar and have my comms buttons assigned to the throttle's vhf hat. I was able to do this via foxy which is the program used to program buttons to the cougar. What stick are you using?
Hansolo Posted June 14, 2015 Posted June 14, 2015 You need to modify a default.lua file. Here is an example; https://www.dropbox.com/s/oxb0ihormyyv2p5/HMA%20radio%20function%20keys.rar?dl=0 I am using the numpads instead of the Function keys for my radio menus. Cheers Hans 132nd Virtual Wing homepage & 132nd Virtual Wing YouTube channel My DCS-BIOS sketches & Cockpit Album
xray20 Posted June 14, 2015 Author Posted June 14, 2015 What stick are you using? I'm using a Thrustmaster warthog. I'll try Hans's modified LUA and let youk now how I get on
xray20 Posted June 14, 2015 Author Posted June 14, 2015 (edited) Ok, following the guidance of Hans's modified \Config\Input\CommandMenu\keyboard\default.LUA file I replaced: {combos = {{key = 'F1'}}, name = 'Command menu item 1', down = ICommandMenuItem1}, with {combos = {{key = 'JOY_BTN4'}}, name = 'Command menu item 1', down = ICommandMenuItem1}, It has disabled the keyboard F1 as expected, but its not reading the joystick. Is this the correct file to modify for joystick inputs? I notice there are joystick_binding LUAS elsewhere in \CommandMenu but I don't understand the language well enough to start dropping lines in at random. BTW, with the Joystick, throttle and various other controllers I have numerous 'JOY_BTN4's. How does it know which one? Edited June 14, 2015 by xray20 additional comment
-Pv- Posted June 14, 2015 Posted June 14, 2015 I have not modified ANY file when mapping joystick buttons to keys. I use the built-in UI to see what key(s) are mapped by default to the feature I want to use, then use the software keymapper which comes with the stick to assign the desired button to the key. If there is no key in the UI assigned to the feature, then I try to find an unused combo. -Pv-
Hansolo Posted June 15, 2015 Posted June 15, 2015 Ah I see now the problem. The modified .lua from me is for the keyboard thus it cannot accept the joy button command. Let me check a little later. We may be able to apply your modified line into the default joystick .lua instead and get the desired result. Cheers Hans 132nd Virtual Wing homepage & 132nd Virtual Wing YouTube channel My DCS-BIOS sketches & Cockpit Album
Hansolo Posted June 15, 2015 Posted June 15, 2015 I can't get it to work as I cannot find the arguments in the clickabledata.lua. Sorry about that. Looks like the radio funcyions can only take keyboard input. I tried also to use my mod and AutoHotKey but have been unable to get it to work. Sorry. Cheers Hans 132nd Virtual Wing homepage & 132nd Virtual Wing YouTube channel My DCS-BIOS sketches & Cockpit Album
xray20 Posted June 15, 2015 Author Posted June 15, 2015 Thanks for trying Hans. I'm nervous of trying -Pv-'s suggestion of running the Thrustmaster UI software as I have so many [8] controllers on this now, I'm scared of breaking it. I think I'll just wire another button onto the keyboard emulator. Matt
WildBillKelsoe Posted June 19, 2015 Posted June 19, 2015 Not possible. I popped a thread before. AWAITING ED NEW DAMAGE MODEL IMPLEMENTATION FOR WW2 BIRDS Fat T is above, thin T is below. Long T is faster, Short T is slower. Open triangle is AWACS, closed triangle is your own sensors. Double dash is friendly, Single dash is enemy. Circle is friendly. Strobe is jammer. Strobe to dash is under 35 km. HDD is 7 times range key. Radar to 160 km, IRST to 10 km. Stay low, but never slow.
NeilWillis Posted June 19, 2015 Posted June 19, 2015 Have you considered using VAC to achieve the same thing? It is far more realistic to just speak, and there is a mod that enables you to just speak the airfield name to make that the one you call too. I find it a far better solution to pressing keys to speak.
Ragtop Posted June 19, 2015 Posted June 19, 2015 What's the mod Neil? Been looking desparately for something like that 476th vFG Alumni
Kimi_uy Posted June 20, 2015 Posted June 20, 2015 (edited) What's the mod Neil? Been looking desparately for something like that Here's the website, keep in mind it has like a 20 day trial then u have to pay for it, totally worth it!!! http://www.voiceattack.com/ And here is Froogle's tutorial: And here's a weird thing that happened to me while trying to work with the CDU!!!! Edited June 20, 2015 by Kimi_uy [sIGPIC]][/sIGPIC] Fuel Planning Tool | DCS: A-10C SADL MOD | Kimi's Arma 3 Mods | Twitch.tv
Ragtop Posted June 22, 2015 Posted June 22, 2015 I use VA and I've been through Froogles video but I can't figure out speaking the airfield name. The problem is that each airfield will appear sorted by distance, meaning you can't link one command to that airfield. Has anyone figured this out? 476th vFG Alumni
NeilWillis Posted June 22, 2015 Posted June 22, 2015 Take a look at this thread, it has most of what you'll need to get an efficient voice activated radio system... http://forums.eagle.ru/showthread.php?t=92591&highlight=ATC+mod
Ragtop Posted June 22, 2015 Posted June 22, 2015 Thanks, this looks very interesting. 476th vFG Alumni
Recommended Posts