FSUIPC Lua API compatibility

Copilot used to be a Lua plugin launched within the FSUIPC Lua environment. For backwards compatibility, the following functions from the FSUIPC Lua library have been implemented:

Logic library

ipc.writeUB
ipc.writeSB
ipc.writeUW
ipc.writeSW
ipc.writeUD
ipc.writeSD
ipc.writeDD
ipc.writeFLT
ipc.writeDBL
ipc.writeSTR

ipc.writeStruct

ipc.readUB
ipc.readSB
ipc.readUW
ipc.readSW
ipc.readUD
ipc.readSD
ipc.readDD
ipc.readFLT
ipc.readDBL
ipc.readSTR

ipc.exit
ipc.sleep
ipc.control (only FS controls)
ipc.createLvar
ipc.readLvar
ipc.writeLvar
ipc.elapsedtime
ipc.log
ipc.mousemacro
ipc.get
ipc.set
ipc.display

Alternatives to some other functions

ipc.keypress: copilot.keypress
ipc.setMenu: TextMenu and Event.fromTextMenu
event.key: Bind
event.timer: copilot.addCallback
HID library: Joystick

generated by LDoc 1.4.6 Last updated 2021-11-11 17:10:49