JayPee Posted December 4, 2013 Posted December 4, 2013 Quick question, how can I have one key press execute two different commands simultaneously? JOY_BTN_POV1_DL when pressed should execute both iCommandPlaneRadarDown & iCommandPlaneRadarLeft at the same time and when released should execute iCommandPlaneRadarStop. I tried this but it doesn't recognise semicolon as a separator combining the two commands. I think it's obvious what I want to achieve. {combos = {{key = "JOY_BTN_POV1_DL"}, }, pressed = iCommandPlaneRadarDown; iCommandPlaneRadarLeft, up = iCommandPlaneRadarStop, name = "HOTAS Slew Down Left", category = "8-way slew"}, First winning answer gets milk+cookie. i7 4790K: 4.8GHz, 1.328V (manual) MSI GTX 970: 1,504MHz core, 1.250V, 8GHz memory
Flagrum Posted December 4, 2013 Posted December 4, 2013 (edited) Quick question, how can I have one key press execute two different commands simultaneously? JOY_BTN_POV1_DL when pressed should execute both iCommandPlaneRadarDown & iCommandPlaneRadarLeft at the same time and when released should execute iCommandPlaneRadarStop. I tried this but it doesn't recognise semicolon as a separator combining the two commands. I think it's obvious what I want to achieve. {combos = {{key = "JOY_BTN_POV1_DL"}, }, pressed = iCommandPlaneRadarDown; iCommandPlaneRadarLeft, up = iCommandPlaneRadarStop, name = "HOTAS Slew Down Left", category = "8-way slew"},First winning answer gets milk+cookie. Afaik impossible without 3rd party tools (i.e. some macro tool, joystick config program of your stick vendor, etc.). The functions you can use in the config file are only meant to distinguish between button-down, button-up or button-clicked ... of one specific button. And if you copy the line for one button to add additional functions, you will get a conflict within the Options->Controls page (marked red). edit: Maybe one could invent some sort of solution using the macroxxxx.lua (can't remember the exact file name) where the auto-startup cheat is scripted. PeterP uses that also to implement his "Ka50 unchain rudder from trim" mod. But that is atm a bit beyond my capabilities. :o) Edited December 4, 2013 by Flagrum
JayPee Posted December 4, 2013 Author Posted December 4, 2013 Well, if I could create a new command which combines the function of multiple other commands, that would be a step in the proper direction. Or a macro combining the two. i7 4790K: 4.8GHz, 1.328V (manual) MSI GTX 970: 1,504MHz core, 1.250V, 8GHz memory
Seil Posted December 4, 2013 Posted December 4, 2013 Free as in beer and independent of specific devices would be AutoHotkey http://www.autohotkey.com/ -Seil WotG Founder & A10C Lead
JayPee Posted December 4, 2013 Author Posted December 4, 2013 Yeah but it doesn't include joystick buttons and it's another third pt. app... i7 4790K: 4.8GHz, 1.328V (manual) MSI GTX 970: 1,504MHz core, 1.250V, 8GHz memory
Seil Posted December 4, 2013 Posted December 4, 2013 Yeah but it doesn't include joystick buttons and it's another third pt. app... Negative Ghost Rider! I used to use this with my old G940 on the two stage trigger. Should support DirectX access out of the box. -Seil WotG Founder & A10C Lead
Strut Posted December 5, 2013 Posted December 5, 2013 Try VAC ? Regards DL available skins here: https://www.digitalcombatsimulator.com/en/files/?CREATED_BY=Strut Pictures of my Skins here: https://imgur.com/a/bOQyQqW [sIGPIC][/sIGPIC] Win10 64bit, Intel® Core i7-5820K CPU OC @ 4.50GHz x6, X99A GAMING PRO CARBON, MSI RTX 2080 TI GAMING X TRIO 11Gb, 32GB DDR4 RAM, SSD 960 EVO250GB, SSD 850 EVO 500GB, JetSeat, MFG Crosswind Pedals, VPC Mongoose T-50, TMWH, DSD ButtonBox, Pimax 5k XR/BE
cichlidfan Posted December 5, 2013 Posted December 5, 2013 It's too easy to do with a 3rd party application for it to be worth the time and trouble to hack the game, IMHO. ASUS ROG Maximus VIII Hero, i7-6700K, Noctua NH-D14 Cooler, Crucial 32GB DDR4 2133, Samsung 950 Pro NVMe 256GB, Samsung EVO 250GB & 500GB SSD, 2TB Caviar Black, Zotac GTX 1080 AMP! Extreme 8GB, Corsair HX1000i, Phillips BDM4065UC 40" 4k monitor, VX2258 TouchScreen, TIR 5 w/ProClip, TM Warthog, VKB Gladiator Pro, Saitek X56, et. al., MFG Crosswind Pedals #1199, VolairSim Pit, Rift CV1 :thumbup:
JayPee Posted December 5, 2013 Author Posted December 5, 2013 OK Seil, will try it. But I still want to try to handle it in-game. I don't want to make a trashcan of my computer by installing an app for every possible inconvenience. i7 4790K: 4.8GHz, 1.328V (manual) MSI GTX 970: 1,504MHz core, 1.250V, 8GHz memory
JayPee Posted December 6, 2013 Author Posted December 6, 2013 Got Auto Hotkey to work. Too bad it's an external app and not something within DCS. i7 4790K: 4.8GHz, 1.328V (manual) MSI GTX 970: 1,504MHz core, 1.250V, 8GHz memory
Recommended Posts