Ant0ine Posted June 16, 2020 Share Posted June 16, 2020 After setting up my new POS keyboard last night and trying to go for a fly tonight I struck this problem after a very frustrating night with customer support for the keyboard I found this thread and have been able to get it working so just stopping by to say thanks for your code Tom :thumbup: Does anyone know if this is a bug, or rather a feature? Like, for safety reason? Link to comment Share on other sites More sharing options...
Tom Kazansky Posted June 16, 2020 Author Share Posted June 16, 2020 After setting up my new POS keyboard last night and trying to go for a fly tonight I struck this problem after a very frustrating night with customer support for the keyboard I found this thread and have been able to get it working so just stopping by to say thanks for your code Tom You are very welcome. Link to comment Share on other sites More sharing options...
Tom Kazansky Posted June 16, 2020 Author Share Posted June 16, 2020 :thumbup: Does anyone know if this is a bug, or rather a feature? Like, for safety reason? I'm sure it's nothing of those. It seems it is just a timing problem within the code. E.g the DDI buttons of the Viper showed that issue and that was the reason for me to find a solution for it. And after the last stable update they work good enough, like those of the Hornet. But that was not mentioned in the patch notes. I assume ED is not even aware of this timing issue because it is still there e.g. for that little data control switch (stick) on the ICP (UFC) of the Viper. I hope they'll fix this for all inputs some day. Link to comment Share on other sites More sharing options...
Supmua Posted June 16, 2020 Share Posted June 16, 2020 This also happens with virtual input. In my case, I bind my landing gear to a lever switch (axis that activates vjoy virtual Dx buttons depending on up or down positions) and the landing gear will not move unless the press duration is set for 2-3 sec. Not sure if this is specific to joystick gremlin which I use. Interestingly, using keyboard mapping rather than virtual button works perfectly. PC: 5800X3D/4090, 11700K/3090, 9900K/2080Ti. Joystick bases: TMW, VPC WarBRD, MT50CM2, VKB GFII, FSSB R3L Joystick grips: TM (Warthog, F/A-18C), Realsimulator (F-16SGRH, F-18CGRH), VKB (Kosmosima LH, MCG, MCG Pro), VPC MongoosT50-CM2 Throttles: TMW, Winwing Super Taurus, Logitech Throttle Quadrant, Realsimulator Throttle (soon) VR: HTC Vive/Pro, Oculus Rift/Quest 2, Valve Index, Varjo Aero, https://forum.dcs.world/topic/300065-varjo-aero-general-guide-for-new-owners/ Link to comment Share on other sites More sharing options...
Tom Kazansky Posted June 16, 2020 Author Share Posted June 16, 2020 This also happens with virtual input. In my case, I bind my landing gear to a lever switch (axis that activates vjoy virtual Dx buttons depending on up or down positions) and the landing gear will not move unless the press duration is set for 2-3 sec. Not sure if this is specific to joystick gremlin which I use. Interestingly, using keyboard mapping rather than virtual button works perfectly. Thanks for sharing this. The more of us have this issue the better the chances that ED will look into it. (I'm not complaining bc it is not a game breaker, but it is odd.) In my case my driver-less 2nd keyboard is originally a "cash register" and has no timing options/settings. In the DCS control settings it some times lasts 2 to 10s of pressing and holding the keys (when there are key combinations with modifiers like shift, alt or ctrl) till all keys are recognized, but after that I just press normally (short) to see the bound function correctly and immediately. In the game most functions are executed correctly but some buttons (like the DDI's or MPCD) do not show the animation of being pressed and released for those working functions. But at least they work now. I thought about contacting the manufacturer of my "cash register" but then I found Auto Hot Key and that was the faster solution. Link to comment Share on other sites More sharing options...
5ephir0th Posted June 17, 2020 Share Posted June 17, 2020 Hi guys. Have a problem that looks like this. I have a separete wireless keypad that i use as some kind of UFC for my hornet, i had set the option button 4 from UFC to Tab key, all were working great but looks like with the last update everithing work like always except the Tab key. Like you, button works flawlessly in controls menu but no on game, with AHK i have tried this: newTiming:=85 tab:: send {tab down} sleep, newTiming send {tab up} return But didnt work, anyone can help me? thanks. NZXT H9 Flow Black | Intel Core i5 13600KF OCed P5.6 E4.4 | Gigabyte Z790 Aorus Elite AX | G.Skill Trident Z5 Neo DDR5-6000 32GB C30 OCed 6600 C32 | nVidia GeForce RTX 4090 Founders Edition | Western Digital SN770 2TB | Gigabyte GP-UD1000GM PG5 ATX 3.0 1000W | SteelSeries Apex 7 | Razer Viper Mini | SteelSeries Artics Nova 7 | LG OLED42C2 | Xiaomi P1 55" Virpil T-50 CM2 Base + Thrustmaster Warthog Stick | WinWing Orion 2 F16EX Viper Throttle | WinWing ICP | 3 x Thrustmaster MFD | Saitek Combat Rudder Pedals | Oculus Quest 2 DCS World | Persian Gulf | Syria | Flaming Cliff 3 | P-51D Mustang | Spitfire LF Mk. IX | Fw-109 A-8 | A-10C II Tank Killer | F/A-18C Hornet | F-14B Tomcat | F-16C Viper | F-15E Strike Eagle | M2000C | Ka-50 BlackShark III | Mi-24P Hind | AH-64D Apache | SuperCarrier Link to comment Share on other sites More sharing options...
shu77 Posted June 17, 2020 Share Posted June 17, 2020 FYI Tom in terms of the question you asked about autohotey sending the original key and the modified key heres a thread i wrote in 2011 that talks about how HIDMacro was doing the same and that ED is grabbing the input at too low a level to actually see it. I suspect its the same problem. Still your Autohotkey solution saved a very expensive POS keyboard from going to waste for me. Hornet, Super Carrier, Warthog & (II), Mustang, Spitfire, Albatross, Sabre, Combined Arms, FC3, Nevada, Gulf, Normandy, Syria AH-6J i9 10900K @ 5.0GHz, Gigabyte Z490 Vision G, Cooler Master ML120L, Gigabyte RTX3080 OC Gaming 10Gb, 64GB RAM, Reverb G2 @ 2480x2428, TM Warthog, Saitek pedals & throttle, DIY collective, TrackIR4, Cougar MFDs, vx3276-2k Combat Wombat's Airfield & Enroute Maps and Planning Tools Link to comment Share on other sites More sharing options...
Tom Kazansky Posted June 17, 2020 Author Share Posted June 17, 2020 (edited) Hi guys. Have a problem that looks like this. I have a separete wireless keypad that i use as some kind of UFC for my hornet, i had set the option button 4 from UFC to Tab key, all were working great but looks like with the last update everithing work like always except the Tab key. Like you, button works flawlessly in controls menu but no on game, with AHK i have tried this: But didnt work, anyone can help me? thanks. I'm a bit out of this bc it has been working great, but I see a small thing. Have you tried to add {Blind} like this: newTiming:=85 tab:: send {Blind}{tab down} sleep, newTiming send {Blind}{tab up} return And make sure you don't have the line SendMode Input in your code. Edited June 17, 2020 by Tom Kazansky Link to comment Share on other sites More sharing options...
5ephir0th Posted June 17, 2020 Share Posted June 17, 2020 I'm a bit out of this bc it has been working great, but I see a small thing. Have you tried to add {Blind} like this: newTiming:=85 tab:: send {Blind}{tab down} sleep, newTiming send {Blind}{tab up} return And make sure you don't have the line SendMode Input in your code. Thanks for your response. Already tried and didn´t work, the only lines of code in the script are the ones in the quote i posted, nothing more. Have to say that this is not an isolated bug on the wireless keyboard, regular keyboard (Logitech G19) didnt work either. NZXT H9 Flow Black | Intel Core i5 13600KF OCed P5.6 E4.4 | Gigabyte Z790 Aorus Elite AX | G.Skill Trident Z5 Neo DDR5-6000 32GB C30 OCed 6600 C32 | nVidia GeForce RTX 4090 Founders Edition | Western Digital SN770 2TB | Gigabyte GP-UD1000GM PG5 ATX 3.0 1000W | SteelSeries Apex 7 | Razer Viper Mini | SteelSeries Artics Nova 7 | LG OLED42C2 | Xiaomi P1 55" Virpil T-50 CM2 Base + Thrustmaster Warthog Stick | WinWing Orion 2 F16EX Viper Throttle | WinWing ICP | 3 x Thrustmaster MFD | Saitek Combat Rudder Pedals | Oculus Quest 2 DCS World | Persian Gulf | Syria | Flaming Cliff 3 | P-51D Mustang | Spitfire LF Mk. IX | Fw-109 A-8 | A-10C II Tank Killer | F/A-18C Hornet | F-14B Tomcat | F-16C Viper | F-15E Strike Eagle | M2000C | Ka-50 BlackShark III | Mi-24P Hind | AH-64D Apache | SuperCarrier Link to comment Share on other sites More sharing options...
Ant0ine Posted June 17, 2020 Share Posted June 17, 2020 (edited) Thanks for your response. Already tried and didn´t work, the only lines of code in the script are the ones in the quote i posted, nothing more. Have to say that this is not an isolated bug on the wireless keyboard, regular keyboard (Logitech G19) didnt work either. Try : newTiming := 85 $Tab:: send {tab down} sleep, newTiming send {tab up} KeyWait Tab ; This is to avoid autorepeat. return Edit : If it work, then I rather advise you to use this technique, which does the same thing, prevent autorepeat, but doesn't use keywait which is problematic when use press multiple key at the same time. Tab_pressed := 0 newTiming := 85 $Tab:: { If (Tab_pressed) Return Tab_pressed := 1 Send {tab down} Sleep newTiming Send {tab up} Return } $Tab Up:: { Tab_pressed := 0 Return } Edited June 17, 2020 by Ant0ine Link to comment Share on other sites More sharing options...
5ephir0th Posted June 17, 2020 Share Posted June 17, 2020 (edited) Try : newTiming := 85 $Tab:: send {tab down} sleep, newTiming send {tab up} KeyWait Tab ; This is to avoid autorepeat. return Edit : If it work, then I rather advise you to use this technique, which does the same thing, prevent autorepeat, but doesn't use keywait which is problematic when use press multiple key at the same time. Tab_pressed := 0 newTiming := 85 $Tab:: { If (Tab_pressed) Return Tab_pressed := 1 Send {tab down} Sleep newTiming Send {tab up} Return } $Tab Up:: { Tab_pressed := 0 Return } Thanks for the help, but didnt work :( If helps, sometimes with the Hornet or Tomcat in controls menu the UFC 4 button appear as red, but can fix it removing the bind and binding it again. Man, its frustrating, not a break deal but i dont know why it works before and not now, i bind bloq num and works, i bind tab and dont work... Edited June 17, 2020 by 5ephir0th NZXT H9 Flow Black | Intel Core i5 13600KF OCed P5.6 E4.4 | Gigabyte Z790 Aorus Elite AX | G.Skill Trident Z5 Neo DDR5-6000 32GB C30 OCed 6600 C32 | nVidia GeForce RTX 4090 Founders Edition | Western Digital SN770 2TB | Gigabyte GP-UD1000GM PG5 ATX 3.0 1000W | SteelSeries Apex 7 | Razer Viper Mini | SteelSeries Artics Nova 7 | LG OLED42C2 | Xiaomi P1 55" Virpil T-50 CM2 Base + Thrustmaster Warthog Stick | WinWing Orion 2 F16EX Viper Throttle | WinWing ICP | 3 x Thrustmaster MFD | Saitek Combat Rudder Pedals | Oculus Quest 2 DCS World | Persian Gulf | Syria | Flaming Cliff 3 | P-51D Mustang | Spitfire LF Mk. IX | Fw-109 A-8 | A-10C II Tank Killer | F/A-18C Hornet | F-14B Tomcat | F-16C Viper | F-15E Strike Eagle | M2000C | Ka-50 BlackShark III | Mi-24P Hind | AH-64D Apache | SuperCarrier Link to comment Share on other sites More sharing options...
5ephir0th Posted June 17, 2020 Share Posted June 17, 2020 Fixed, Tab was binded to multiplayer chat on UI layer, before it was working, after the patch no, unbinded from UI layer and it works flawlesly. Thanks. NZXT H9 Flow Black | Intel Core i5 13600KF OCed P5.6 E4.4 | Gigabyte Z790 Aorus Elite AX | G.Skill Trident Z5 Neo DDR5-6000 32GB C30 OCed 6600 C32 | nVidia GeForce RTX 4090 Founders Edition | Western Digital SN770 2TB | Gigabyte GP-UD1000GM PG5 ATX 3.0 1000W | SteelSeries Apex 7 | Razer Viper Mini | SteelSeries Artics Nova 7 | LG OLED42C2 | Xiaomi P1 55" Virpil T-50 CM2 Base + Thrustmaster Warthog Stick | WinWing Orion 2 F16EX Viper Throttle | WinWing ICP | 3 x Thrustmaster MFD | Saitek Combat Rudder Pedals | Oculus Quest 2 DCS World | Persian Gulf | Syria | Flaming Cliff 3 | P-51D Mustang | Spitfire LF Mk. IX | Fw-109 A-8 | A-10C II Tank Killer | F/A-18C Hornet | F-14B Tomcat | F-16C Viper | F-15E Strike Eagle | M2000C | Ka-50 BlackShark III | Mi-24P Hind | AH-64D Apache | SuperCarrier Link to comment Share on other sites More sharing options...
Recommended Posts