user2684 / xcontrol

This multi-platform X-Plane plugin provides enhanced controls for the flight simulator and support Saitek X52 and X52 Pro joysticks. The project has been moved to http://x-control.sourceforge.net
10 stars 2 forks source link

Illegal to register a command starting with sim/ #22

Closed user2684 closed 10 years ago

user2684 commented 10 years ago

From: PilotBalu

The Log.txt file contains the following: [xcontrol/64/win.xpl]: It is illegal to register a command starting with sim/ [xcontrol/64/win.xpl]: It is illegal to register a command starting with sim/ [xcontrol/64/win.xpl]: It is illegal to register a command starting with sim/ [xcontrol/64/win.xpl]: It is illegal to register a command starting with sim/ Loaded: F:\X-Plane 10/Resources/plugins/xcontrol/64/win.xpl (copai.equipment.control).

user2684 commented 10 years ago

It should be a warning not preventing the plugin to run probably related to a mapping fro the leds no more allowed in newer X-Plane version. Further investigation is needed.

user2684 commented 10 years ago

This is due to the four XPLMRegisterCommandHandler used in in.cpp to register the xcontrol_cycle_button_x commands

user2684 commented 10 years ago

This warning does not interfere with the plugin at this time. Ref: http://forums.x-plane.org/index.php?showtopic=67920&page=2 "That is a warning from the plugin SDK to let the developers know that they are trying to use a command prefix that is reserved for X-Plane. It will not affect how the plugin runs."