Top Inners Constructors Methods
org.lwjgl.util.jinput

pack-priv final Class LWJGLKeyboard

extends Keyboard
Class Inheritance
Imports
net.java.games.input.AbstractComponent, .Keyboard, .Component, .Controller, .Rumbler, .Event, java.util.List, .ArrayList, java.io.IOException, java.lang.reflect.Field, .Modifier

Author
elias

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
private static Component[]
protected synchronized boolean
public synchronized void
Inherited from net.java.games.input.Keyboard:
getTypeisKeyDown

Constructor Detail

LWJGLKeyboardback to summary
pack-priv LWJGLKeyboard()

Method Detail

createComponentsback to summary
private static Component[] createComponents()
getNextDeviceEventback to summary
protected synchronized boolean getNextDeviceEvent(Event event) throws IOException

Implements abstract net.java.games.input.AbstractController.getNextDeviceEvent.

pollDeviceback to summary
public synchronized void pollDevice() throws IOException

Overrides net.java.games.input.AbstractController.pollDevice.

org.lwjgl.util.jinput back to summary

private final Class LWJGLKeyboard.Key

extends AbstractComponent
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final int
private float

Constructor Summary

AccessConstructor and Description
pack-priv
Key(Component.Identifier.Key key_id, int lwjgl_key)

Method Summary

Modifier and TypeMethod and Description
public boolean
isAnalog()

Overrides net.java.games.input.AbstractComponent.isAnalog.

Implements net.java.games.input.Component.isAnalog.

Returns whether or not the axis is analog, or false if it is digital.
public boolean
isRelative()

Implements net.java.games.input.Component.isRelative.

Returns true if data returned from poll is relative to the last call, or false if data is absolute.
protected float
public void
Inherited from net.java.games.input.AbstractComponent:
getDeadZonegetIdentifiergetNamegetPollDatatoString

Field Detail

lwjgl_keyback to summary
private final int lwjgl_key
valueback to summary
private float value

Hides net.java.games.input.AbstractComponent.value.

Constructor Detail

Keyback to summary
pack-priv Key(Component.Identifier.Key key_id, int lwjgl_key)

Method Detail

isAnalogback to summary
public boolean isAnalog()

Overrides net.java.games.input.AbstractComponent.isAnalog.

Implements net.java.games.input.Component.isAnalog.

Doc from net.java.games.input.AbstractComponent.isAnalog.

Returns whether or not the axis is analog, or false if it is digital.

Returns:boolean

false by default, can be overridden

isRelativeback to summary
public boolean isRelative()

Implements net.java.games.input.Component.isRelative.

Doc from net.java.games.input.Component.isRelative.

Returns true if data returned from poll is relative to the last call, or false if data is absolute.

pollback to summary
protected float poll()

Implements abstract net.java.games.input.AbstractComponent.poll.

updateback to summary
public void update()