You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/KerbalSimpitMessageTypes.h
+15-7Lines changed: 15 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -326,7 +326,9 @@ enum InboundPackets
326
326
If set and not 0, those command will supersede SAS command. The SAS will appear not the work when the jostick is in use.
327
327
If this is the case for you, make sure you are sending 0 command to KSP on all used axis.*/
328
328
ROTATION_MESSAGE=16,
329
-
/** Send vessel translation commands. */
329
+
/** Send vessel translation commands.
330
+
Works only for vessels in KSP1. Use keyboard emulation when on EVA.
331
+
Works for vessels and Kerbals on EVA in KSP2. */
330
332
TRANSLATION_MESSAGE=17,
331
333
/** Send wheel steering/throttle commands. */
332
334
WHEEL_MESSAGE=18,
@@ -450,17 +452,23 @@ enum ActionGroupSettings
450
452
These are the values returned by advancedActionStatusMessage::get_action_status in the ADVANCED_ACTIONSTATUS_MESSAGE. */
451
453
enumAdvancedActionGroupStates
452
454
{
453
-
/** Value if the action group is not available. */
455
+
/** Value if the action group is not available.
456
+
Use like this: if(myAdvancedActionStatusMessage.getActionStatus(ADVANCED_LIGHT_ACTION) == ADVANCED_AG_STATE_NOT_AVAILABLE) */
454
457
ADVANCED_AG_STATE_NOT_AVAILABLE=0,
455
-
/** Value if the action group is on. */
458
+
/** Value if the action group is on.
459
+
Use like this: if(myAdvancedActionStatusMessage.getActionStatus(ADVANCED_LIGHT_ACTION) == ADVANCED_AG_STATE_ON) */
456
460
ADVANCED_AG_STATE_ON=1,
457
-
/** Value if the action group is off. */
461
+
/** Value if the action group is off.
462
+
Use like this: if(myAdvancedActionStatusMessage.getActionStatus(ADVANCED_LIGHT_ACTION) == ADVANCED_AG_STATE_OFF) */
458
463
ADVANCED_AG_STATE_OFF=2,
459
-
/** Value if the action group is mixed, meaning some parts associated with it are on and others are off. */
464
+
/** Value if the action group is mixed, meaning some parts associated with it are on and others are off.
465
+
Use like this: if(myAdvancedActionStatusMessage.getActionStatus(ADVANCED_LIGHT_ACTION) == ADVANCED_AG_STATE_MIXED) */
460
466
ADVANCED_AG_STATE_MIXED=3,
461
-
/** Value if the action group is mixed, meaning some parts associated with it are on and others are off. */
467
+
/** This bit is on if there is science available, it mirrors the flashing blue light in the UI.
468
+
Use it like this: if((myAdvancedActionStatusMessage.getActionStatus(ADVANCED_SCIENCE_ACTION) & ADVANCED_AG_STATE_BITMASK_SCIENCE_AVAILABLE) != 0) */
462
469
ADVANCED_AG_STATE_BITMASK_SCIENCE_AVAILABLE=1,
463
-
/** Value if the action group is mixed, meaning some parts associated with it are on and others are off. */
470
+
/** This bit is on if a science experiment is running, the same as when the flask is blinking green.
471
+
Use it like this: if((myAdvancedActionStatusMessage.getActionStatus(ADVANCED_SCIENCE_ACTION) & ADVANCED_AG_STATE_BITMASK_EXPERIMENTS_IN_PROGRESS) != 0) */
0 commit comments