Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hi Pete,

I use  LINDA 3.0.0 Beta Build 678.

handlers-hid.lua

function SHIFT_MODE_SET (m)
    if ipc.get('RUNAWAY') then buttonRepeatClear(jid) end
    SHIFT_MODE = m
    if m == 0 then
        sound.play("modereset")
    else
        sound.play("modechange")
    end
    _log("[hHID] SHIFT MODE = " .. m)
end

modereset.wav and modechange.wav are into C:\P3D4\Sound

FSUIPC5.INI:

[Sounds]
Path=C:\P3D4\sound\
Device1=Haut-parleurs (3- C-Media USB Headphone Set  )
Device2=Périphérique audio principal

No sound when I use the SHIFT_MODE_SET( 0,1,2 ).

With v3 I have the sound.

sound.play from LUA Library works with V4 ?

Best regards.

 

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.