Derived from enum SDL_JoystickPowerLevel in SDL_joystick.h.
| Modifier and Type | Field and Description |
|---|---|
| public static final ControllerPowerLevel | POWER_EMPTY
Power level 0-5% |
| public static final ControllerPowerLevel | POWER_FULL
Power level 71-100% |
| public static final ControllerPowerLevel | POWER_LOW
Power level 6-20% |
| public static final ControllerPowerLevel | |
| public static final ControllerPowerLevel | POWER_MEDIUM
Power level 21-70% |
| public static final ControllerPowerLevel | POWER_UNKNOWN
Power level unknown |
| public static final ControllerPowerLevel | POWER_WIRED
Controller is wired |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static ControllerPowerLevel | |
| public static ControllerPowerLevel | |
| public static ControllerPowerLevel[] |
| POWER_EMPTY | back to summary |
|---|---|
| public static final ControllerPowerLevel POWER_EMPTY Power level 0-5% | |
| POWER_FULL | back to summary |
|---|---|
| public static final ControllerPowerLevel POWER_FULL Power level 71-100% | |
| POWER_LOW | back to summary |
|---|---|
| public static final ControllerPowerLevel POWER_LOW Power level 6-20% | |
| POWER_MAX | back to summary |
|---|---|
| public static final ControllerPowerLevel POWER_MAX | |
| POWER_MEDIUM | back to summary |
|---|---|
| public static final ControllerPowerLevel POWER_MEDIUM Power level 21-70% | |
| POWER_UNKNOWN | back to summary |
|---|---|
| public static final ControllerPowerLevel POWER_UNKNOWN Power level unknown | |
| POWER_WIRED | back to summary |
|---|---|
| public static final ControllerPowerLevel POWER_WIRED Controller is wired | |
| ControllerPowerLevel | back to summary |
|---|---|
| private ControllerPowerLevel() | |
| valueOf | back to summary |
|---|---|
| public static ControllerPowerLevel valueOf(String name) | |
| valueOf | back to summary |
|---|---|
| public static ControllerPowerLevel valueOf(int n) | |
| values | back to summary |
|---|---|
| public static ControllerPowerLevel[] values() | |