Package | Description |
---|---|
net.java.games.input |
Top level package for JInput.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractComponent
Skeleton implementation of a named axis.
|
class |
LinuxJoystickPOV |
Modifier and Type | Method and Description |
---|---|
Component |
Mouse.getBack()
Returns the back mouse button, null if the mouse hasn't
got one.
|
Component |
Mouse.getButton3()
Returns forth mouse button, null if the mouse hasn't
got one.
|
Component |
Mouse.getButton4()
Returns fifth mouse button, null if the mouse hasn't
got one.
|
Component |
Event.getComponent() |
Component |
Controller.getComponent(Component.Identifier id)
Returns a single axis based on its type, or null
if no axis with the specified type could be found.
|
Component |
AbstractController.getComponent(Component.Identifier id)
Returns a single component based on its identifier, or null
if no component with the specified type could be found.
|
Component[] |
Controller.getComponents()
Returns the components on this controller, in order of assignment priority.
|
Component[] |
AbstractController.getComponents()
Returns the components on this controller, in order of assignment priority.
|
Component |
Mouse.getExtra()
Returns the extra or 5th mouse button, null if the mouse has
fewer than 5 buttons.
|
Component |
Mouse.getForward()
Returns the forward mouse button, null if the mouse hasn't
got one.
|
Component |
Mouse.getLeft()
Returns the left mouse button.
|
Component |
Mouse.getMiddle()
Returns the middle, null if the mouse has fewer than three buttons.
|
Component |
Mouse.getPrimaryButton()
Returns the left or primary mouse button, never null.
|
Component |
Mouse.getRight()
Returns the right, null if the mouse is a single-button mouse.
|
Component |
Mouse.getSecondaryButton()
Returns the right or secondary mouse button, null if the mouse is
a single-button mouse.
|
Component |
Mouse.getSide()
Returns the side or 4th mouse button, null if the mouse has
fewer than 4 buttons.
|
Component |
Mouse.getTertiaryButton()
Returns the middle or tertiary mouse button, null if the mouse has
fewer than three buttons.
|
Component |
Mouse.getWheel()
Returns the mouse wheel, or null if no mouse wheel is present.
|
Component |
Mouse.getX()
Returns the x-axis for the mouse ball, never null.
|
Component |
Mouse.getY()
Returns the y-axis for the mouse ball, never null.
|
Modifier and Type | Method and Description |
---|---|
void |
Event.set(Component component,
float value,
long nanos) |
Constructor and Description |
---|
AbstractController(String name,
Component[] components,
Controller[] children,
Rumbler[] rumblers)
Protected constructor for a controller containing the specified
axes, child controllers, and rumblers
|
Keyboard(String name,
Component[] keys,
Controller[] children,
Rumbler[] rumblers)
Protected constructor.
|
Mouse(String name,
Component[] components,
Controller[] children,
Rumbler[] rumblers) |
Copyright © 2018. All rights reserved.