Top Description Fields Constructors Methods
com.studiohartman.jamepad

public final Enum ControllerPowerLevel

extends Enum<ControllerPowerLevel>
Class Inheritance

This is an enumerated type for power level of controllers.

Derived from enum SDL_JoystickPowerLevel in SDL_joystick.h.

Author
Benjamin Schulte

Field Summary

Modifier and TypeField 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

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static ControllerPowerLevel
public static ControllerPowerLevel
valueOf(int n)

public static ControllerPowerLevel[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

POWER_EMPTYback to summary
public static final ControllerPowerLevel POWER_EMPTY

Power level 0-5%

POWER_FULLback to summary
public static final ControllerPowerLevel POWER_FULL

Power level 71-100%

POWER_LOWback to summary
public static final ControllerPowerLevel POWER_LOW

Power level 6-20%

POWER_MAXback to summary
public static final ControllerPowerLevel POWER_MAX
POWER_MEDIUMback to summary
public static final ControllerPowerLevel POWER_MEDIUM

Power level 21-70%

POWER_UNKNOWNback to summary
public static final ControllerPowerLevel POWER_UNKNOWN

Power level unknown

POWER_WIREDback to summary
public static final ControllerPowerLevel POWER_WIRED

Controller is wired

Constructor Detail

ControllerPowerLevelback to summary
private ControllerPowerLevel()

Method Detail

valueOfback to summary
public static ControllerPowerLevel valueOf(String name)
valueOfback to summary
public static ControllerPowerLevel valueOf(int n)
valuesback to summary
public static ControllerPowerLevel[] values()