press Posted October 21, 2013 Posted October 21, 2013 It would be nice to have a PZU shortcut key. The system has to be ON or OFF during take offs or landings, a critical stage of flight and it is awkward to look for the switches and click them. PZU - dust protection system.
MariuszDW Posted May 5, 2014 Posted May 5, 2014 Any change on the subject? I found these entries elements["PTR-RSPE-TMB-PZUENG-L"] = default_2_position_tumb(_("Dust Protection Left"), devices.ENGINE_INTERFACE, device_commands.Button_28, 517) elements["PTR-RSPE-TMB-PZUENG-R"] = default_2_position_tumb(_("Dust Protection Right"), devices.ENGINE_INTERFACE, device_commands.Button_29, 518 ) in clickabledata.lua (line 699) Is there a way to bind them?
MyG Posted May 5, 2014 Posted May 5, 2014 Any change on the subject? I found these entries in clickabledata.lua (line 699) Is there a way to bind them? {down = 3028, up = 3028, cockpit_device_id = 3, value_down = 1, value_up = 0, name = "Dust Protection Left", category = "ENGINE INTERFACE"}, {down = 3029, up = 3029, cockpit_device_id = 3, value_down = 1, value_up = 0, name = "Dust Protection Right", category = "ENGINE INTERFACE"},
MariuszDW Posted May 5, 2014 Posted May 5, 2014 Thank you! I pasted this in default.lua (keyboard), and now I can assign keys in game menu. The switches flipped back when I released the keys so I modified the lines (removed "up/value_up") to this {down = 3028, cockpit_device_id = 3, value_down = 1, name = "Dust Protection Left", category = "ENGINE INTERFACE"}, {down = 3029, cockpit_device_id = 3, value_down = 1, name = "Dust Protection Right", category = "ENGINE INTERFACE"}, but now I can't switch them off with keyboard (have to use the mouse).
MyG Posted May 9, 2014 Posted May 9, 2014 (edited) Thank you! I pasted this in default.lua (keyboard), and now I can assign keys in game menu. The switches flipped back when I released the keys so I modified the lines (removed "up/value_up") to this but now I can't switch them off with keyboard (have to use the mouse). {down = 3028, cockpit_device_id = 3, value_down = 0, name = "Dust Protection Left OFF", category = "ENGINE INTERFACE"}, {down = 3029, cockpit_device_id = 3, value_down = 0, name = "Dust Protection Right OFF", category = "ENGINE INTERFACE"}, Now you can assign other keys for switching the dust covers off (personally I have a switch box and I use the first variant) Edited May 9, 2014 by MyG
MariuszDW Posted May 10, 2014 Posted May 10, 2014 Yes, this works. A bit strange. I looked at other entries, like Radio/ICS switch {combos = {{key = 'Z', reformers = {'LAlt','LCtrl'}}}, down = device_commands.Button_18, value_down = 1, cockpit_device_id = devices.SPU_7, name = 'SPU-7, Radio/ICS', category = 'SPU-7, Intercom panel'} and this works perfectly both ways. Thanks again for your help!
Recommended Posts