diff --git a/MATLAB/+XPlaneConnect/XPlaneConnect.jar b/MATLAB/+XPlaneConnect/XPlaneConnect.jar index 495f222..755bb29 100644 Binary files a/MATLAB/+XPlaneConnect/XPlaneConnect.jar and b/MATLAB/+XPlaneConnect/XPlaneConnect.jar differ diff --git a/MATLAB/+XPlaneConnect/sendCTRL.m b/MATLAB/+XPlaneConnect/sendCTRL.m index b3d85b3..822f5a0 100644 --- a/MATLAB/+XPlaneConnect/sendCTRL.m +++ b/MATLAB/+XPlaneConnect/sendCTRL.m @@ -9,6 +9,7 @@ function sendCTRL( values, ac, socket ) % 4. Throttle [-1, 1] % 5. Gear (0=up, 1=down) % 6. Flaps [0, 1] +% 7. Speed Brakes [-0.5, 1.5] % ac (optional): The aircraft to set. 0 for the player aircraft. % socket (optional): The client to use when sending the command. % diff --git a/MATLAB/+XPlaneConnect/sendDREF.m b/MATLAB/+XPlaneConnect/sendDREF.m index 65e23aa..cbf2119 100644 --- a/MATLAB/+XPlaneConnect/sendDREF.m +++ b/MATLAB/+XPlaneConnect/sendDREF.m @@ -35,4 +35,4 @@ end value = single(value); %%Send command -socket.setDREF(dref, value); \ No newline at end of file +socket.sendDREF(dref, value); \ No newline at end of file