Game Control Plus  1.2.2
 All Classes Namespaces Functions Variables Pages
net.java.games.input.Component.POV Class Reference

Static Public Attributes

static final float OFF = 0.0f
 
static final float CENTER = OFF
 
static final float UP_LEFT = 0.125f
 
static final float UP = 0.25f
 
static final float UP_RIGHT = 0.375f
 
static final float RIGHT = 0.50f
 
static final float DOWN_RIGHT = 0.625f
 
static final float DOWN = 0.75f
 
static final float DOWN_LEFT = 0.875f
 
static final float LEFT = 1.0f
 

Detailed Description

POV enum for different positions.

Member Data Documentation

final float net.java.games.input.Component.POV.CENTER = OFF
static

Synonmous with OFF

final float net.java.games.input.Component.POV.DOWN = 0.75f
static

Standard value for down HAT position

final float net.java.games.input.Component.POV.DOWN_LEFT = 0.875f
static

Standard value for down-left HAT position

final float net.java.games.input.Component.POV.DOWN_RIGHT = 0.625f
static

Standard value for down-right HAT position

final float net.java.games.input.Component.POV.LEFT = 1.0f
static

Standard value for left HAT position

final float net.java.games.input.Component.POV.OFF = 0.0f
static

Standard value for center HAT position

final float net.java.games.input.Component.POV.RIGHT = 0.50f
static

Standard value for right HAT position

final float net.java.games.input.Component.POV.UP = 0.25f
static

Standard value for up HAT position

final float net.java.games.input.Component.POV.UP_LEFT = 0.125f
static

Standard value for up-left HAT position

final float net.java.games.input.Component.POV.UP_RIGHT = 0.375f
static

Standard value for up-right HAT position