mtjoeng Posted June 6, 2022 Report Share Posted June 6, 2022 Testing TripleUse.lua load In the FSUIPC7.ini: [LuaFiles] 1=ipcReady 2=LINDA .. 10=TripleUse 11=Asobo737 .. ipcReady.lua ipc.runlua('linda') ipc.runlua('TripleUse') tried 2 buttons from 4=Logitech G940 Throttle and 6=DSD Flight Series Button Controller THUS line 21 / 22 in TripleUse.lua joy = 4 btn = 6 or the other one, these values the only changes in TripleUse.lua and per the FSUIPC button recognition: joy = 6 btn = 17 the default actions per TripleUse.lua tried in MSFS default B787 from default cockpit view: if timebutton(false) then -- First press / release counts: see if there's another if timebutton(true) then -- got another press in time, look for release if timebutton(false) then -- this was a double press, send VIEW RIGHT ipc.control(65676) end else -- This was a single press, send VIEW LEFT ipc.control(65680) ignorepress = false end else -- This was a longer press, send VIEW FORWARD ipc.control(65674) end does nothing what am I missing? ? Link to comment Share on other sites More sharing options...
John Dowson Posted June 9, 2022 Report Share Posted June 9, 2022 Try activating logging for Lua Plugins and Events, and see if you can figure out what is happening. As this script also use Linda, I'm not sure I can help that much. Try logging to see if anything stands out, but it may be worth posting in the User Contributions thread for this script to see if the author can help you. John Link to comment Share on other sites More sharing options...
mtjoeng Posted June 14, 2022 Author Report Share Posted June 14, 2022 The 'universal' TripleUse at Github showed a [auto] entry in the FSUIPC7.ini, u need that and the TripleUseAssignments.lua will work This is not in the download sample files! [Auto] 1=TripleUse now TripleUseAssignments.lua btnFunc = { { 6, 17, "_FLAPS_INCR", "_FLAPS_DOWN", "_FLAPS_UP"} } does that, single, double tap, long tap Link to comment Share on other sites More sharing options...
John Dowson Posted June 14, 2022 Report Share Posted June 14, 2022 (edited) 19 minutes ago, mtjoeng said: This is not in the download sample files! [Auto] 1=TripleUse If the lua file is called TripleUseAssignments.lua, then the Auto section should be: [Auto] 1=Lua TripleUseAssignments But the lua in the original post was TripleUse.lua, so if using that it would be [Auto] 1=Lua TripleUse i.e. Lua followed by the lua filename without the extension John Edited June 14, 2022 by John Dowson Further info added Link to comment Share on other sites More sharing options...
mtjoeng Posted June 14, 2022 Author Report Share Posted June 14, 2022 ok, now you have me really confused 🙂 its magic then, I'll check EDIT: not working anymore .. pff Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now