Illuminated rocker switch different wirings
Wiring ("pionout") for switches is NOT standardized. The correct wiring for each brand and model of switch is specified by the manufacturer. You CANNOT assume there is any sort of "standard" here.  There is not.