SHIP:Constants:HAPTIC ERR MASKS

From Serious Documentation
Jump to: navigation, search

The name HAPTIC_ERR_MASKS refers to a group of constants used to abstract and simplify discernment of the specific type of haptic error event. The constants in this group are:

These constants are a bitmask that can be "ANDed" with the hapticError portvar value, and can be referenced with their full names in the format "platform.TOUCH0.HAPTIC_ERR_MASKS.HAPTIC_ERR_TEMP_WARN", where "TOUCH0" is the name of the touch port on your SIM platform (see your SIM's GRM).