head_check Posted March 25, 2016 Report Posted March 25, 2016 (edited) Assigned the axis for both condition levers I think that it is possible to assign the datarefs to buttons with Python script "xjoymap" too. But somewhat is wrong. I have dataref for switching the Prop synchronization - LES/saab/prop/prop_sync_toggle I have example from .ini file of the xjoymap: Button to dataref examples ============================ toggle mode For assigments with more than one value, it will define an additional *_rev command with reverse direction You can disable the automatic looping from the last value to the first one adding loop = false [Afterburner toggle] new_command=afterburner_1dataref=sim/cockpit2/engine/actuators/afterburner_enabledvalues = 0,1 ============================== I write command [SAAB Prop_Synchronization] loop = false ;; or without this string, it's no difference in the result new_command=prop_synchdataref= LES/saab/prop/prop_sync_toggle_enabledvalues = 0,1 And i look for new command in (from example): at "Creates a new "virtual command" at sim/xjoymap/NAV_APP" OK sim/xjoymap does not exist, but exist the command directory xjoymap/main I look for the new command and can not find it, no in the directory xjoymap, no in another directories Where is the mistake? ===================== I'm so sorry! Mistake was in syntaxis It works! [SAAB Prop_Synchronization] loop = false ;; with this string - toggle, without - two commans in directory xjoymap/main for ON and OFF the Prop synchronization new_command=prop_synch dataref= LES/saab/prop/prop_sync_toggle enabledvalues = 0,1 Edited March 25, 2016 by head_check Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.