![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
A Javascript client for Infinite Flight simulator API
Infinite Flight Connect is an built-in API that allows you to send command to Infinite Flight. You must enable it in Infinite Flight Settings > General > "Enable Infinite Flight Connect".
init(successCallback, errorCallback)
successCallback
is the function to be executed after the connection has been established with Infinite FlighterrorCallback
is the function to be executed in case of ErrorExample :
IFC.init(
function() {
console.log("IFC connected");
IFC.sendCommand({ "Command": "Commands.FlapsDown", "Parameters": []});
},
function() {
IFC.log("IFC connection error");
}
)
To send a command to Infinite Flight, you may use the shortcut function IFC.cmd()
or the full function for complex commands. You'll find a full list of commands on the API Docs repo
Examples :
IFC.cmd("FlapsDown")
will lower the flaps down. (Full Command equivalent is: IFC.sendCommand({ "Command": "Commands.FlapsDown", "Parameters": []});
"Command": "NetworkJoystick.SetPOVState", "Parameters": [ { "Name": "X", "Value": 0 }, { "Name": "Y", "Value": 0 } ] }
Fore Flight Link broadcasts various data about the player's plane and traffic planes around him. ForeFlight Link must be enabled from Infinite Flight Settings > General > Enable ForeFlight Link
You can use IFC to listen to ForeFlight Link messages :
initForeFlight(onForeFlightDataReceived)
(TODO: example to come ...)
Received Data is formatted according to the official documentation : https://www.foreflight.com/support/network-gps/
FAQs
A Javascript client for Infinite Flight simulator API
The npm package ifc receives a total of 1 weekly downloads. As such, ifc popularity was classified as not popular.
We found that ifc demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.