A B C D E F G H I L M N O P R S T U V W X Y Z

A

A - Static variable in class wiiremotej.event.WRButtonEvent
Constant representing the A button of the Wii Remote.
A - Static variable in class wiiremotej.event.WRClassicControllerExtensionEvent
Constant representing the A button of the Classic Controller.
AbsoluteAnalogStickMouse - Class in wiiremotej
A class for implementing a mouse using an analog stick with absolute positioning.
AbsoluteAnalogStickMouse(double, double, int) - Constructor for class wiiremotej.AbsoluteAnalogStickMouse
Creates a new AbsoluteAnalogStickMouse with the given settings.
AccelerationConstants - Class in wiiremotej
Contains acceleration constants for use in WRAccelerationEvents.
AccelerationConstants(double, double, double, double, double, double) - Constructor for class wiiremotej.AccelerationConstants
Creates a new AccelerationConstants with the given acceleration constants.
accelerationInputReceived(WRAccelerationEvent) - Method in class wiiremotej.event.WiiRemoteAdapter
 
accelerationInputReceived(WRAccelerationEvent) - Method in interface wiiremotej.event.WiiRemoteListener
Fires whenever data is received from the accelerometer.
AccelerometerMouse - Class in wiiremotej
An interface for implementing mouse functionality using the Wii Remote through the accelerometer.
AccelerometerMouse(double, double, int) - Constructor for class wiiremotej.AccelerometerMouse
Constructs a new AccelerometerMouse.
addBalanceBoardListener(BalanceBoardListener) - Method in class wiiremotej.BalanceBoard
Adds the specified BalanceBoardListener to this BalanceBoard.
addWiiRemoteListener(WiiRemoteListener) - Method in class wiiremotej.WiiRemote
Adds the specified WiiRemoteListener to this WiiRemote.
ALL - Static variable in class wiiremotej.WiiRemoteJ
Indicates all devices.
AnalogStickData - Class in wiiremotej
Represents a simple XY analog stick.
AnalogStickData(double, double) - Constructor for class wiiremotej.AnalogStickData
Creates a new AnalogStickData with the given X and Y values.
AnalogStickMouse - Class in wiiremotej
A class for implementing a mouse using an analog stick.
AnalogStickMouse(double, double, int) - Constructor for class wiiremotej.AnalogStickMouse
Creates a new AnalogStickMouse with the given settings.
analogXCenter() - Method in class wiiremotej.GuitarCalibrationData
Returns analogXCenter.
analogXCenter() - Method in class wiiremotej.NunchukCalibrationData
Returns analogXCenter.
analogXMaximum() - Method in class wiiremotej.GuitarCalibrationData
Returns analogXMaximum.
analogXMaximum() - Method in class wiiremotej.NunchukCalibrationData
Returns analogXMaximum.
analogXMinimum() - Method in class wiiremotej.GuitarCalibrationData
Returns analogXMinimum.
analogXMinimum() - Method in class wiiremotej.NunchukCalibrationData
Returns analogXMinimum.
analogYCenter() - Method in class wiiremotej.GuitarCalibrationData
Returns analogYCenter.
analogYCenter() - Method in class wiiremotej.NunchukCalibrationData
Returns analogYCenter.
analogYMaximum() - Method in class wiiremotej.GuitarCalibrationData
Returns analogYMaximum.
analogYMaximum() - Method in class wiiremotej.NunchukCalibrationData
Returns analogYMaximum.
analogYMinimum() - Method in class wiiremotej.GuitarCalibrationData
Returns analogYMinimum.
analogYMinimum() - Method in class wiiremotej.NunchukCalibrationData
Returns analogYMinimum.

B

B - Static variable in class wiiremotej.event.WRButtonEvent
Constant representing the B button of the Wii Remote.
B - Static variable in class wiiremotej.event.WRClassicControllerExtensionEvent
Constant representing the B button of the Classic Controller.
BALANCE_BOARD - Static variable in class wiiremotej.WiiRemoteJ
Indicates a Balance Board device.
BalanceBoard - Class in wiiremotej
A class representing a Nintendo (R) Wii Balance Board (TM).
BalanceBoard(MassConstants) - Constructor for class wiiremotej.BalanceBoard
Constructs a blank Balance BOard that is not connected to an actual Board using the passed in parameters.
BalanceBoardAdapter - Class in wiiremotej.event
Implementation of BalanceBoardListener to conveniently implement just the methods you want.
BalanceBoardAdapter() - Constructor for class wiiremotej.event.BalanceBoardAdapter
 
BalanceBoardListener - Interface in wiiremotej.event
Listener interface for the balance baord.
BASIC - Static variable in class wiiremotej.event.WRIREvent
Basic mode: the IR sensor reports only position data.
BBButtonEvent - Class in wiiremotej.event
Button event for Nintendo (R) Balance Board (TM).
BBButtonEvent(BalanceBoard, byte[], BBButtonEvent) - Constructor for class wiiremotej.event.BBButtonEvent
Creates a new BBButtonEvent from the given input data array.
BBButtonEvent(BalanceBoard, boolean, BBButtonEvent) - Constructor for class wiiremotej.event.BBButtonEvent
Creates a new BBButtonEvent from the given the given buttonPressed value.
BBCombinedEvent - Class in wiiremotej.event
Combined event for Nintendo (R) Balance Board (TM).
BBCombinedEvent(BalanceBoard, BBButtonEvent, BBMassEvent) - Constructor for class wiiremotej.event.BBCombinedEvent
Creates a new BBCombinedEvent from the given events.
BBDataEvent - Class in wiiremotej.event
Read data event for Nintendo (R) Balance Board (TM).
BBDataEvent(BalanceBoard, byte[]) - Constructor for class wiiremotej.event.BBDataEvent
Creates a new BBDataEvent from the given input data array.
BBDataEvent(BalanceBoard, byte[], int, int) - Constructor for class wiiremotej.event.BBDataEvent
Creates a new BBDataEvent from the given input data array.
BBEvent - Class in wiiremotej.event
Event for Nintendo (R) Balance Board (TM).
BBEvent(BalanceBoard) - Constructor for class wiiremotej.event.BBEvent
Creates a new BBEvent with the BalanceBoard source.
BBMassEvent - Class in wiiremotej.event
Mass event for Nintendo (R) Balance Board (TM).
BBMassEvent(BalanceBoard, byte[]) - Constructor for class wiiremotej.event.BBMassEvent
Creates a new BBMassEvent from the given input data array.
BBMassEvent(BalanceBoard, double, double, double, double) - Constructor for class wiiremotej.event.BBMassEvent
Creates a new BBMassEvent from the given mass values.
BBStatusEvent - Class in wiiremotej.event
Status reported event for Nintendo (R) Balance Board (TM).
BBStatusEvent(BalanceBoard, byte[]) - Constructor for class wiiremotej.event.BBStatusEvent
Creates a new BBStatusEvent from the given input data array.
BBStatusEvent(BalanceBoard, boolean, double) - Constructor for class wiiremotej.event.BBStatusEvent
Creates a new BBStatusEvent from the given parameters.
BLUE - Static variable in class wiiremotej.event.WRGuitarExtensionEvent
Constant representing the blue button on the Guitar (equivalent to Classic Controller Y).
BOTTOM - Static variable in class wiiremotej.MassConstants
Constant indicating the bottom row on the balance board.
bufferSound(AudioInputStream) - Static method in class wiiremotej.WiiRemote
Creates a prebuffered sound from the given AudioInputStream by reading audio data and packing it into ready-to-go sound reports.
buttonInputReceived(BBButtonEvent) - Method in class wiiremotej.event.BalanceBoardAdapter
 
buttonInputReceived(BBButtonEvent) - Method in interface wiiremotej.event.BalanceBoardListener
Fires whenever data is received from the button.
buttonInputReceived(WRButtonEvent) - Method in class wiiremotej.event.WiiRemoteAdapter
 
buttonInputReceived(WRButtonEvent) - Method in interface wiiremotej.event.WiiRemoteListener
Fires whenever data is received from the buttons.
ButtonKeyMap - Class in wiiremotej
Maps a button/button mask on the Wii remote to a one or more keys.
ButtonKeyMap(int, int) - Constructor for class wiiremotej.ButtonKeyMap
Creates a new ButtonMap for the Wii remote with the given key.
ButtonKeyMap(int, int, int) - Constructor for class wiiremotej.ButtonKeyMap
Creates a new ButtonMap for the Wii remote with the given key.
ButtonKeyMap(int, int, int, int) - Constructor for class wiiremotej.ButtonKeyMap
Creates a new ButtonMap for the Wii remote with the given key.
ButtonKeyMap(int, int[]) - Constructor for class wiiremotej.ButtonKeyMap
Creates a new ButtonMap for the Wii remote with the given list of keys.
ButtonKeyMap(int, int, int[]) - Constructor for class wiiremotej.ButtonKeyMap
Creates a new ButtonMap for the Wii remote with the given list of keys.
ButtonKeyMap(int, int, int, int[]) - Constructor for class wiiremotej.ButtonKeyMap
Creates a new ButtonMap for the Wii remote with the given list of keys.
ButtonMap - Class in wiiremotej
Maps a button on the remote or an extension to one or more actions.
ButtonMap(int, int[], int, int, int) - Constructor for class wiiremotej.ButtonMap
Creates a new ButtonMap for the Wii remote with the given keys, mouse button, scroll wheel amount, and scroll wheel interval.
ButtonMap(int, int, int[], int, int, int) - Constructor for class wiiremotej.ButtonMap
Creates a new ButtonMap for the given extension with the given keys, mouse button, scroll wheel amount, and scroll wheel interval.
ButtonMap(int, int, int, int[], int, int, int) - Constructor for class wiiremotej.ButtonMap
Creates a new ButtonMap for the Wii remote and the given extension with the given keys, mouse button, scroll wheel amount, and scroll wheel interval.
ButtonMouseMap - Class in wiiremotej
Maps a button on the Wii remote to a mouse press.
ButtonMouseMap(int, int) - Constructor for class wiiremotej.ButtonMouseMap
Creates a new ButtonMap for the Wii remote with the given mouse button(s).
ButtonMouseMap(int, int, int) - Constructor for class wiiremotej.ButtonMouseMap
Creates a new ButtonMap for the Wii remote with the given key.
ButtonMouseMap(int, int, int, int) - Constructor for class wiiremotej.ButtonMouseMap
Creates a new ButtonMap for the Wii remote with the given key.
ButtonMouseWheelMap - Class in wiiremotej
Maps a button on the Wii remote to the mouse scroll-wheel.
ButtonMouseWheelMap(int, int, int) - Constructor for class wiiremotej.ButtonMouseWheelMap
Creates a new ButtonMap for the Wii remote with the given scroll amount and scroll interval.
ButtonMouseWheelMap(int, int, int, int) - Constructor for class wiiremotej.ButtonMouseWheelMap
Creates a new ButtonMap for the given extension with the given list of keys.
ButtonMouseWheelMap(int, int, int, int, int) - Constructor for class wiiremotej.ButtonMouseWheelMap
Creates a new ButtonMap for the Wii remote and the given extension with the given list of keys.
BYTES_DO_NOT_EXIST_ERROR - Static variable in class wiiremotej.event.BBDataEvent
An error code for readData.
BYTES_DO_NOT_EXIST_ERROR - Static variable in class wiiremotej.event.WRDataEvent
An error code for readData.
bytesToInt(byte[]) - Static method in class wiiremotej.WiiRemoteJ
Converts a byte array (big endian) to an int.
bytesToInt(byte[], boolean) - Static method in class wiiremotej.WiiRemoteJ
Converts a byte array (big endian) to an int.

C

C - Static variable in class wiiremotej.event.WRNunchukExtensionEvent
Constant representing the C button of the Nunchuk.
CLASSIC_CONTROLLER - Static variable in class wiiremotej.ButtonMap
Indicates the classic controller extension.
CLASSIC_CONTROLLER_LEFT - Static variable in class wiiremotej.AnalogStickMouse
Classic controller left analog stick.
CLASSIC_CONTROLLER_RIGHT - Static variable in class wiiremotej.AnalogStickMouse
Classic controller right analog stick.
ClassicControllerCalibrationData - Class in wiiremotej
Contains calibration data for use in WRClassicControllerExtensionEvents.
ClassicControllerExtension - Class in wiiremotej
A class representing a Nintendo (R) Wii Remote (TM) Classic controller extension.
ClassicControllerExtension(int) - Constructor for class wiiremotej.ClassicControllerExtension
Creates a new ClassicControllerExtension with the given payload.
combinedInputReceived(BBCombinedEvent) - Method in class wiiremotej.event.BalanceBoardAdapter
 
combinedInputReceived(BBCombinedEvent) - Method in interface wiiremotej.event.BalanceBoardListener
Fires whenever input is received on the regular input reports (0x30...0x3f).
combinedInputReceived(WRCombinedEvent) - Method in class wiiremotej.event.WiiRemoteAdapter
 
combinedInputReceived(WRCombinedEvent) - Method in interface wiiremotej.event.WiiRemoteListener
Fires whenever input is received on the regular input reports (0x30...0x3f).
connectToBalanceBoard(String) - Static method in class wiiremotej.WiiRemoteJ
Connects to the BalanceBoard with the specified bluetooth address.
connectToRemote(String) - Static method in class wiiremotej.WiiRemoteJ
Connects to the Wii Remote with the specified bluetooth address.
createBlankEvent() - Static method in class wiiremotej.event.WRClassicControllerExtensionEvent
Returns a WRClassicControllerExtensionEvent with all the values cleared.
createBlankEvent() - Static method in class wiiremotej.event.WRGuitarExtensionEvent
Returns a WRClassicControllerExtensionEvent with all the values cleared.
createBlankEvent() - Static method in class wiiremotej.event.WRNunchukExtensionEvent
Returns a WRNunchukExtensionEvent with all the values cleared.
createWiiRemoteExtension(short) - Method in class wiiremotej.WiiRemoteExtensionFactory
Creates and returns a new WiiRemoteExtension based on the given extension code.
createWRExtensionEvent(WiiRemote, byte[], int) - Method in class wiiremotej.ClassicControllerExtension
Creates and returns a new WRClassicControllerExtensionEvent from the given input.
createWRExtensionEvent(WiiRemote, byte[], int) - Method in class wiiremotej.GuitarExtension
Creates and returns a new WRGuitarExtensionEvent from the given input.
createWRExtensionEvent(WiiRemote, byte[], int) - Method in class wiiremotej.NunchukExtension
Creates and returns a new WRNunchukExtensionEvent from the given input.
createWRExtensionEvent(WiiRemote, byte[], int) - Method in class wiiremotej.WiiRemoteExtension
Creates and returns a new WRExtensionEvent from the given input.

D

decryptExtensionInput(byte[], int, int) - Method in class wiiremotej.ClassicControllerExtension
Applies any necessary transformation to the specified byte array to decrypt extension input.
decryptExtensionInput(byte[], int, int) - Method in class wiiremotej.GuitarExtension
Applies any necessary transformation to the specified byte array to decrypt extension input.
decryptExtensionInput(byte[], int, int) - Method in class wiiremotej.NunchukExtension
Applies any necessary transformation to the specified byte array to decrypt extension input.
decryptExtensionInput(byte[], int, int) - Method in class wiiremotej.WiiRemoteExtension
Applies any necessary transformation to the specified byte array to decrypt extension input.
disconnect() - Method in class wiiremotej.BalanceBoard
Disconnects from the Balance Board.
disconnect() - Method in interface wiiremotej.WiiDevice
Disconnects from the given Wii Device.
disconnect() - Method in class wiiremotej.WiiRemote
Disconnects from the Wii Remote.
disconnected() - Method in class wiiremotej.event.BalanceBoardAdapter
 
disconnected() - Method in interface wiiremotej.event.BalanceBoardListener
Fires when the BalanceBoard disconnects.
disconnected() - Method in class wiiremotej.event.WiiRemoteAdapter
 
disconnected() - Method in interface wiiremotej.event.WiiRemoteListener
Fires when the WiiRemote disconnects.
DOWN - Static variable in class wiiremotej.event.WRButtonEvent
Constant representing the down button of the Wii Remote.
DPAD_DOWN - Static variable in class wiiremotej.event.WRClassicControllerExtensionEvent
Constant representing the D-Pad down button of the Classic Controller.
DPAD_LEFT - Static variable in class wiiremotej.event.WRClassicControllerExtensionEvent
Constant representing the D-Pad left button of the Classic Controller.
DPAD_RIGHT - Static variable in class wiiremotej.event.WRClassicControllerExtensionEvent
Constant representing the D-Pad right button of the Classic Controller.
DPAD_UP - Static variable in class wiiremotej.event.WRClassicControllerExtensionEvent
Constant representing the D-Pad up button of the Classic Controller.

E

enableContinuous() - Method in class wiiremotej.WiiRemote
Enables a continuous data stream.
equals(Object) - Method in class wiiremotej.AnalogStickData
Returns true if the given object is the same as this AnalogStick; otherwise false.
equals(Object) - Method in class wiiremotej.BalanceBoard
Compares BalanceBoards based on their bluetooth addresses.
equals(Object) - Method in class wiiremotej.ButtonMap
Returns true if this ButtonMap is equivalent to the given ButtonMap; otherwise false.
equals(Object) - Method in class wiiremotej.IRLight
Returns true if this IRLight is equivalent to the given IRLight; otherwise false.
equals(Object) - Method in class wiiremotej.WiiRemote
Compares WiiRemotes based on their bluetooth addresses.
EXTENDED - Static variable in class wiiremotej.event.WRIREvent
Extended mode: the IR sensor reports position and size data.
extensionConnected(WiiRemoteExtension) - Method in class wiiremotej.event.WiiRemoteAdapter
 
extensionConnected(WiiRemoteExtension) - Method in interface wiiremotej.event.WiiRemoteListener
Fires when an extension is connected and properly setup.
extensionDisconnected(WiiRemoteExtension) - Method in class wiiremotej.event.WiiRemoteAdapter
 
extensionDisconnected(WiiRemoteExtension) - Method in interface wiiremotej.event.WiiRemoteListener
Fires when an extension disconnects.
extensionInputReceived(WRExtensionEvent) - Method in class wiiremotej.event.WiiRemoteAdapter
 
extensionInputReceived(WRExtensionEvent) - Method in interface wiiremotej.event.WiiRemoteListener
Fires whenever there's input from the extension port.
extensionPartiallyInserted() - Method in class wiiremotej.event.WiiRemoteAdapter
 
extensionPartiallyInserted() - Method in interface wiiremotej.event.WiiRemoteListener
Fires when an extension is partially inserted.
extensionUnknown() - Method in class wiiremotej.event.WiiRemoteAdapter
 
extensionUnknown() - Method in interface wiiremotej.event.WiiRemoteListener
Fires when an extension of an unknown type connects.

F

findBalanceBoard() - Static method in class wiiremotej.WiiRemoteJ
Searches for a BalanceBoard and pairs with it via Bluetooth.
findDevice(int) - Static method in class wiiremotej.WiiRemoteJ
Searches for a WiiDevice and pairs with it via Bluetooth.
findDevices(WiiDeviceDiscoveryListener, int) - Static method in class wiiremotej.WiiRemoteJ
Searches for WiiDevices indefinitely, until stopFind() is called.
findDevices(WiiDeviceDiscoveryListener, int, int) - Static method in class wiiremotej.WiiRemoteJ
Searches for WiiDevices until the given number of devices are found or until until stopFind() is called.
findFinished(int) - Method in interface wiiremotej.event.WiiDeviceDiscoveryListener
Fires whenever a nonblocking find method finishes.
findRemote() - Static method in class wiiremotej.WiiRemoteJ
Searches for a WiiRemote and pairs with it via Bluetooth.
findRemotes(WiiDeviceDiscoveryListener) - Static method in class wiiremotej.WiiRemoteJ
Searches for WiiRemotes indefinitely, until stopFind() is called.
findRemotes(WiiDeviceDiscoveryListener, int) - Static method in class wiiremotej.WiiRemoteJ
Searches for WiiRemotes until the given number are found or until stopFind() is called.
FULL - Static variable in class wiiremotej.event.WRIREvent
Full mode: the IR sensor reports position, size, bounding box, and intensity.

G

getAcceleration() - Method in class wiiremotej.event.WRNunchukExtensionEvent
Returns the acceleration part of this Nunchuk event.
getAccelerationConstants() - Method in class wiiremotej.WiiRemote
Returns the acceleration constants located on the WiiRemote.
getAccelerationEvent() - Method in class wiiremotej.event.WRCombinedEvent
Returns the acceleration event of this combined event.
getAnalogStick() - Method in class wiiremotej.AnalogStickMouse
Returns this AnalogStickMouse's analog stick.
getAnalogStickData() - Method in class wiiremotej.event.WRGuitarExtensionEvent
Returns AnalogStickData representing the current state of the analog stick on the guitar.
getAnalogStickData() - Method in class wiiremotej.event.WRNunchukExtensionEvent
Returns AnalogStickData representing the current state of the analog stick on the Nunchuk.
getAngle() - Method in class wiiremotej.AnalogStickData
Returns the angle of the analog stick, measured in radians from the positive X-axis towards the positive Y-axis.
getBatteryLevel() - Method in class wiiremotej.event.BBStatusEvent
Returns the battery level of the balance board.
getBatteryLevel() - Method in class wiiremotej.event.WRStatusEvent
Returns the battery level of the remote.
getBluetoothAddress() - Method in class wiiremotej.BalanceBoard
Returns the bluetooth address of the Balance Board.
getBluetoothAddress() - Method in interface wiiremotej.WiiDevice
Returns the bluetooth address of the Wii device.
getBluetoothAddress() - Method in class wiiremotej.WiiRemote
Returns the bluetooth address of the WiiRemote.
getButtonEvent() - Method in class wiiremotej.event.BBCombinedEvent
Returns the button event of this combined event.
getButtonEvent() - Method in class wiiremotej.event.WRCombinedEvent
Returns the button event of this combined event.
getButtonMaps() - Method in class wiiremotej.WiiRemote
Returns the Vector containing all the button mappings (button(s) -> action(s)).
getCalibrationData() - Method in class wiiremotej.ClassicControllerExtension
Returns the calibration information for the Classic Controller.
getCalibrationData() - Method in class wiiremotej.GuitarExtension
Returns the calibration information for the Guitar.
getCalibrationData() - Method in class wiiremotej.NunchukExtension
Returns the calibration information for the Nunchuk.
getCode() - Method in class wiiremotej.ClassicControllerExtension
Returns the extension code for this extension, used by WRExtensionFactories in determining what kind of extension this is.
getCode() - Method in class wiiremotej.GuitarExtension
Returns the extension code for this extension, used by WRExtensionFactories in determining what kind of extension this is.
getCode() - Method in class wiiremotej.NunchukExtension
Returns the extension code for this extension, used by WRExtensionFactories in determining what kind of extension this is.
getCode() - Method in class wiiremotej.WiiRemoteExtension
Returns the extension code for this extension, used by WRExtensionFactories in determining what kind of extension this is.
getData() - Method in class wiiremotej.event.BBDataEvent
Returns the data read from the flash memory/control register in the last read event.
getData() - Method in class wiiremotej.event.WRDataEvent
Returns the data read from the flash memory/control register in the last read event.
getDataOffset() - Method in class wiiremotej.event.BBDataEvent
Returns the lower 2 bytes of the data offset of this read event.
getDataOffset() - Method in class wiiremotej.event.WRDataEvent
Returns the lower 2 bytes of the data offset of this read event.
getDefault() - Static method in class wiiremotej.AbsoluteAnalogStickMouse
Returns a basic absolute analog stick mouse with the following settings.
getDefault() - Static method in class wiiremotej.IRAccelerometerMouse
Returns a basic IR + accelerometer mouse.
getDefault() - Static method in class wiiremotej.IRMouse
Returns a basic IR mouse with the following basic settings.
getDefault() - Static method in class wiiremotej.MotionAccelerometerMouse
Returns a basic motion mouse with the following settings.
getDefault() - Static method in class wiiremotej.RelativeAnalogStickMouse
Returns a basic relative analog stick mouse with the following settings.
getDefault() - Static method in class wiiremotej.TiltAccelerometerMouse
Returns a basic tilt mouse with the following settings.
getDefault() - Static method in class wiiremotej.WiiRemoteExtensionFactory
Returns the default WiiRemoteExtensionFactory.
getDefault() - Static method in class wiiremotej.WiiRemoteMouse
Returns a mouse with default settings.
getDevice() - Method in class wiiremotej.AccelerometerMouse
Returns the device to use for acceleration input.
getErrorCode() - Method in class wiiremotej.event.BBDataEvent
Returns the error code of this read event.
getErrorCode() - Method in class wiiremotej.event.WRDataEvent
Returns the error code of this read event.
getExtension() - Method in class wiiremotej.ButtonMap
Returns the extension on which the extension buttons must be depressed to trigger this ButtonMap.
getExtension() - Method in class wiiremotej.WiiRemote
Returns the currently connected extension or null if no extension is connected.
getExtensionButtons() - Method in class wiiremotej.ButtonMap
Returns the extension buttons that must be depressed to trigger this ButtonMap.
getExtensionEvent() - Method in class wiiremotej.event.WRCombinedEvent
Returns the extension event of this combined event.
getExtensionFactory() - Method in class wiiremotej.WiiRemote
Returns the extension factory responsible for recognizing connected extensions and creating WiiRemoteExtension objects.
getInputReport() - Method in class wiiremotej.BalanceBoard
Returns the input report the balance board is currently using to receive data.
getInputReport() - Method in class wiiremotej.WiiRemote
Returns the input report the remote is currently using to receive data.
getIntensity() - Method in class wiiremotej.IRLight
Returns the intensity of the light dot from 0 to 1 (percent).
getIREvent() - Method in class wiiremotej.event.WRCombinedEvent
Returns the IR event of this combined event.
getIRLights() - Method in class wiiremotej.event.WRIREvent
Returns the array of IR lights seen by the IR sensor.
getIRMode() - Method in class wiiremotej.WiiRemote
Returns the current IRMode.
getKeys() - Method in class wiiremotej.ButtonMap
Returns the keyboard keys pressed when this ButtonMap is triggered or null if this map does not use keys.
getLEDLights() - Method in class wiiremotej.WiiRemote
Returns the status of the LED lights.
getLEDStatus() - Method in class wiiremotej.event.WRStatusEvent
Returns the status of the LED lights.
getLEDStatus(int) - Method in class wiiremotej.event.WRStatusEvent
Returns the status of the specified light.
getLeftAnalogStickData() - Method in class wiiremotej.event.WRClassicControllerExtensionEvent
Returns AnalogStickData representing the current state of the left analog stick on the classic controller.
getLeftTrigger() - Method in class wiiremotej.event.WRClassicControllerExtensionEvent
Returns the amount the left trigger button is depressed.
getMass(int, int) - Method in class wiiremotej.event.BBMassEvent
Returns the mass on the given sensor in kilograms.
getMassConstants() - Method in class wiiremotej.BalanceBoard
Returns the mass constants located on the Balance Board.
getMassEvent() - Method in class wiiremotej.event.BBCombinedEvent
Returns the mass event of this combined event.
getMode() - Method in class wiiremotej.event.WRIREvent
Returns the mode of the IR sensor.
getMouse() - Method in class wiiremotej.WiiRemote
Returns the current mouse.
getMouseButton() - Method in class wiiremotej.ButtonMap
Returns the mouse button clicked when this ButtonMap is triggered or -1 if this map does not use a mouse button.
getNumber() - Method in class wiiremotej.event.WiiDeviceDiscoveredEvent
Returns the number of the discovered device.
getPayload() - Method in class wiiremotej.WiiRemoteExtension
Returns the number of maximum number of bytes that should be received on input from this extension.
getPitch() - Method in class wiiremotej.event.WRAccelerationEvent
Returns the pitch of the remote, in radians from -PI to PI.
getPitchThreshold() - Method in class wiiremotej.TiltAccelerometerMouse
Returns the pitch threshold of this "mouse" in radians.
getReport(int) - Method in class wiiremotej.PrebufferedSound
Returns the specified prepackaged sound data report.
getRightAnalogStickData() - Method in class wiiremotej.event.WRClassicControllerExtensionEvent
Returns AnalogStickData representing the current state of the right analog stick on the classic controller.
getRightTrigger() - Method in class wiiremotej.event.WRClassicControllerExtensionEvent
Returns the amount the right trigger button is depressed.
getRoll() - Method in class wiiremotej.event.WRAccelerationEvent
Returns the roll of the remote, in radians from 0 to 2PI.
getRollSensitivity() - Method in class wiiremotej.IRAccelerometerMouse
Returns the pitch sensitivity of this "mouse." Pitch sensitivity is precision to which pitch will be rounded to when determining remote orientation.
getRollThreshold() - Method in class wiiremotej.TiltAccelerometerMouse
Returns the roll threshold of this "mouse" in radians.
getSampleRate() - Method in class wiiremotej.PrebufferedSound
Returns the sample rate of the sound data should be played at.
getSampleSize() - Method in class wiiremotej.PrebufferedSound
Returns the size of a sample in bits.
getScrollAmount() - Method in class wiiremotej.ButtonMap
Returns the scroll amount or 0 if this map does not use the scroll wheel.
getScrollInterval() - Method in class wiiremotej.ButtonMap
Returns the scroll interval.
getSensitivity1() - Method in class wiiremotej.IRSensitivitySettings
Returns a copy of the first sensitivity array.
getSensitivity2() - Method in class wiiremotej.IRSensitivitySettings
Returns a copy of the second sensitivity array.
getSize() - Method in class wiiremotej.IRLight
Returns the size of the light dot from 0 to 1 (percent).
getSource() - Method in class wiiremotej.event.BBEvent
The BalanceBoard on which the Event initially occurred.
getSource() - Method in class wiiremotej.event.WREvent
The WiiRemote on which the Event initially occurred.
getSpeakerVolume() - Method in class wiiremotej.WiiRemote
Returns the current volume of the playing speaker as a percent from 0 to 1.
getTotalMass() - Method in class wiiremotej.event.BBMassEvent
Returns the total mass on the board in kilograms.
getUseMouse() - Method in class wiiremotej.WiiRemote
Gets the value of useMouse.
getWhammyBar() - Method in class wiiremotej.event.WRGuitarExtensionEvent
Returns the amount the whammy bar is pushed.
getWiiDevice() - Method in class wiiremotej.event.WiiDeviceDiscoveredEvent
Returns the discovered WiiDevice of this event.
getWiiRemoteButtons() - Method in class wiiremotej.ButtonMap
Returns the Wii remote buttons that must be depressed to trigger this ButtonMap.
getX() - Method in class wiiremotej.AnalogStickData
Returns the X position of the analog stick, should be between -1 and 1.
getX() - Method in class wiiremotej.IRLight
Returns the X coordinate of the light dot from 0 to 1 (percent).
getXAcceleration() - Method in class wiiremotej.event.WRAccelerationEvent
Returns the X-Acceleration of the remote, in terms of G's.
getXMax() - Method in class wiiremotej.IRLight
Returns the maximum X coordinate of the light dot's bounding box from 0 to 1 (percent).
getXMin() - Method in class wiiremotej.IRLight
Returns the minimum X coordinate of the light dot's bounding box from 0 to 1 (percent).
getXMotionThreshold() - Method in class wiiremotej.MotionAccelerometerMouse
Returns the X motion threshold of this "mouse" in Gs.
getXSensitivity() - Method in class wiiremotej.WiiRemoteMouse
Returns the X sensitivity of this "mouse."
getY() - Method in class wiiremotej.AnalogStickData
Returns the Y position of the analog stick, should be between -1 and 1.
getY() - Method in class wiiremotej.IRLight
Returns the Y coordinate of the light dot from 0 to 1 (percent).
getYAcceleration() - Method in class wiiremotej.event.WRAccelerationEvent
Returns the Y-Acceleration of the remote, in terms of G's.
getYMax() - Method in class wiiremotej.IRLight
Returns the maximum Y coordinate of the light dot's bounding box from 0 to 1 (percent).
getYMin() - Method in class wiiremotej.IRLight
Returns the minimum Y coordinate of the light dot's bounding box from 0 to 1 (percent).
getYSensitivity() - Method in class wiiremotej.WiiRemoteMouse
Returns the Y sensitivity of this "mouse."
getZAcceleration() - Method in class wiiremotej.event.WRAccelerationEvent
Returns the Z-Acceleration of the remote, in terms of G's.
getZMotionThreshold() - Method in class wiiremotej.MotionAccelerometerMouse
Returns the Z motion threshold of this "mouse" in Gs.
GREEN - Static variable in class wiiremotej.event.WRGuitarExtensionEvent
Constant representing the green button on the Guitar (equivalent to Classic Controller A).
GUITAR - Static variable in class wiiremotej.ButtonMap
Indicates the Wii guitar extension.
GuitarCalibrationData - Class in wiiremotej
Contains calibration data for use in WRGuitarExtensionEvents.
GuitarExtension - Class in wiiremotej
A class representing a Nintendo (R) Wii Remote (TM) Guitar extension.
GuitarExtension(int) - Constructor for class wiiremotej.GuitarExtension
Creates a new GuitarExtension with the given payload.

H

HOME - Static variable in class wiiremotej.event.WRButtonEvent
Constant representing the home button of the Wii Remote.
HOME - Static variable in class wiiremotej.event.WRClassicControllerExtensionEvent
Constant representing the home button of the Classic Controller.

I

I_ACCELEROMETER - Static variable in class wiiremotej.WiiRemote
Input channel for button information (2 byte payload) and accelerometer information (3 byte payload).
I_ACCELEROMETER_EXTENSION - Static variable in class wiiremotej.WiiRemote
Input channel for button information (2 byte payload), accelerometer information (3 byte payload), and extension information (16 byte payload).
I_ACCELEROMETER_IR - Static variable in class wiiremotej.WiiRemote
Input channel for button information (2 byte payload), accelerometer information (3 byte payload), and extended IR information (12 byte payload).
I_ACCELEROMETER_IR_EXTENSION - Static variable in class wiiremotej.WiiRemote
Input channel for button information (2 byte payload), accelerometer information (3 byte payload), basic IR information (10 byte payload), and extension information (6 byte payload).
I_BUTTONS - Static variable in class wiiremotej.WiiRemote
Input channel for button information (2 byte payload) only.
I_EXTENSION - Static variable in class wiiremotej.BalanceBoard
Input channel for button information (2 byte payload) and extension information (8 byte payload).
I_EXTENSION - Static variable in class wiiremotej.WiiRemote
Input channel for button information (2 byte payload) and extension information (8 byte payload).
I_EXTENSION2 - Static variable in class wiiremotej.BalanceBoard
Input channel for button information (2 byte payload) and extension information (19 byte payload).
I_EXTENSION2 - Static variable in class wiiremotej.WiiRemote
Input channel for button information (2 byte payload) and extension information (19 byte payload).
I_EXTENSION3 - Static variable in class wiiremotej.WiiRemote
Input channel for extension information (21 byte payload).
I_INTERLEAVED_ACCELEROMETER_IR1 - Static variable in class wiiremotej.WiiRemote
Interleaved input channel for button information (2 byte payload), accelerometer information (1 byte payload), and full IR information (18 byte payload).
I_INTERLEAVED_ACCELEROMETER_IR2 - Static variable in class wiiremotej.WiiRemote
Interleaved input channel for button information (2 byte payload), accelerometer information (1 byte payload), and full IR information (18 byte payload).
I_IR_EXTENSION - Static variable in class wiiremotej.WiiRemote
Input channel for button information (2 byte payload), basic IR information (10 byte payload), and extension information (9 byte payload).
intToBytes(int) - Static method in class wiiremotej.WiiRemoteJ
Converts an int to a byte array (big endian).
intToBytes(int, boolean) - Static method in class wiiremotej.WiiRemoteJ
Converts an int to a byte array.
IRAccelerometerMouse - Class in wiiremotej
An interface for implementing mouse functionality using the Wii Remote through the IR sensor and accelerometer.
IRAccelerometerMouse(double, double, double, double, double) - Constructor for class wiiremotej.IRAccelerometerMouse
Constructs a new IRAccelerometerMouse.
IRInputReceived(WRIREvent) - Method in class wiiremotej.event.WiiRemoteAdapter
 
IRInputReceived(WRIREvent) - Method in interface wiiremotej.event.WiiRemoteListener
Fires whenever data is received from IR sensor.
IRLight - Class in wiiremotej
A light dot seen by the IR Sensor.
IRLight(int, int) - Constructor for class wiiremotej.IRLight
Creates a new IRLight (basic mode) with the given position.
IRLight(int, int, int) - Constructor for class wiiremotej.IRLight
Creates a new IRLight (extended mode) with the given position and size.
IRLight(int, int, int, int, int, int, int, int) - Constructor for class wiiremotej.IRLight
Creates a new IRLight (full mode) with the given position, size, bounds, and intensity.
IRMouse - Class in wiiremotej
An interface for implementing mouse functionality using the Wii Remote through the IR sensor.
IRMouse(double, double, double, double) - Constructor for class wiiremotej.IRMouse
Constructs a new IRMouse.
IRSensitivitySettings - Class in wiiremotej
Contains sensitivity settings for the Wii Remote's IR sensor.
IRSensitivitySettings(byte[], byte[]) - Constructor for class wiiremotej.IRSensitivitySettings
Creates a new IRSensitivitySettings with the given IR sensitivity settings arrays.
isAccelerometerEnabled() - Method in class wiiremotej.WiiRemote
Returns true if the accelerometer is enabled; otherwise false.
isAnyPressed(int) - Method in class wiiremotej.event.WRButtonEvent
Returns true if any of the given buttons are pressed; otherwise false.
isAnyPressed(int) - Method in class wiiremotej.event.WRClassicControllerExtensionEvent
Returns true if any of the given buttons are pressed; otherwise false.
isAnyPressed(int) - Method in class wiiremotej.event.WRGuitarExtensionEvent
Returns true if any of the given buttons are pressed; otherwise false.
isAnyPressed(int) - Method in class wiiremotej.event.WRNunchukExtensionEvent
Returns true if any of the given buttons are pressed; otherwise false.
isConnected() - Method in class wiiremotej.BalanceBoard
Returns true if connected to the Balance Board; otherwise false.
isConnected() - Method in interface wiiremotej.WiiDevice
Returns true if connected to the device; otherwise false.
isConnected() - Method in class wiiremotej.WiiRemote
Returns true if connected to the Wii Remote; otherwise false.
isContinuousEnabled() - Method in class wiiremotej.event.WRStatusEvent
Returns the status of continuous reporting.
isContinuousEnabled() - Method in class wiiremotej.WiiRemote
Returns true if continuous data streaming is enabled; otherwise false.
isExtensionConnected() - Method in class wiiremotej.event.WRStatusEvent
Returns the status of the extension port.
isExtensionConnected() - Method in class wiiremotej.WiiRemote
Returns true if an extension is connected and set up for input; otherwise false.
isExtensionEnabled() - Method in class wiiremotej.WiiRemote
Returns true if the extension is enabled (events will fire); otherwise false.
isExtensionRegistered(short) - Method in class wiiremotej.WiiRemoteExtensionFactory
Returns true if the given extension code has already been registered or is WiiRemoteExtension.NOTHING_INSERTED or WiiRemoteExtension.PARTIALLY_INSERTED; otherwise false.
isFindInProgress() - Static method in class wiiremotej.WiiRemoteJ
Returns true if a find operation is in progress; otherwise false.
isIRSensorEnabled() - Method in class wiiremotej.WiiRemote
Returns true if the IR sensor is enabled; otherwise false.
isLEDIlluminated() - Method in class wiiremotej.BalanceBoard
Returns true if the LED is illuminated; otherwise false.
isLEDIlluminated() - Method in class wiiremotej.event.BBStatusEvent
Returns the status of the LED.
isLEDIlluminated(int) - Method in class wiiremotej.WiiRemote
Returns true if the specified LED is illuminated; otherwise false.
isModulatedVibrating() - Method in class wiiremotej.WiiRemote
Returns true if the remote is modulated vibrating; otherwise false.
isOnlyPressed(int) - Method in class wiiremotej.event.WRButtonEvent
Returns true if all of the given buttons are pressed and no others are; otherwise false.
isOnlyPressed(int) - Method in class wiiremotej.event.WRClassicControllerExtensionEvent
Returns true if all of the given buttons are pressed and no others are; otherwise false.
isOnlyPressed(int) - Method in class wiiremotej.event.WRGuitarExtensionEvent
Returns true if all of the given buttons are pressed and no others are; otherwise false.
isOnlyPressed(int) - Method in class wiiremotej.event.WRNunchukExtensionEvent
Returns true if all of the given buttons are pressed and no others are; otherwise false.
isPayloadValid(int) - Method in class wiiremotej.ClassicControllerExtension
Checks if the given payload is valid for this extension.
isPayloadValid(int) - Method in class wiiremotej.GuitarExtension
Checks if the given payload is valid for this extension.
isPayloadValid(int) - Method in class wiiremotej.NunchukExtension
Checks if the given payload is valid for this extension.
isPayloadValid(int) - Method in class wiiremotej.WiiRemoteExtension
Checks if the given payload is valid for this extension.
isPlayingSound() - Method in class wiiremotej.WiiRemote
Returns true if the speaker is currently playing sound; otherwise false.
isPressed() - Method in class wiiremotej.event.BBButtonEvent
Returns true if the balance board's button is pressed; otherwise false.
isPressed(int) - Method in class wiiremotej.event.WRButtonEvent
Returns true if all of the given buttons are pressed; otherwise false.
isPressed(int) - Method in class wiiremotej.event.WRClassicControllerExtensionEvent
Returns true if all of the given buttons are pressed; otherwise false.
isPressed(int) - Method in class wiiremotej.event.WRGuitarExtensionEvent
Returns true if all of the given buttons are pressed; otherwise false.
isPressed(int) - Method in class wiiremotej.event.WRNunchukExtensionEvent
Returns true if all of the given buttons are pressed; otherwise false.
isReadingData() - Method in class wiiremotej.BalanceBoard
Returns true if reading data; otherwise false.
isReadingData() - Method in class wiiremotej.WiiRemote
Returns true if reading data; otherwise false.
isSpeakerEnabled() - Method in class wiiremotej.event.WRStatusEvent
Returns the status of the speaker.
isSpeakerEnabled() - Method in class wiiremotej.WiiRemote
Returns true if the speaker is enabled (sound can be played); otherwise false.
isSpeakerMuted() - Method in class wiiremotej.WiiRemote
Returns true if the speaker is muted; otherwise false.
isStill() - Method in class wiiremotej.event.WRAccelerationEvent
Returns true if the remote is not being moved; otherwise false.
isVibrating() - Method in class wiiremotej.WiiRemote
Returns true if the remote is vibrating; otherwise false.
isYawAllowed() - Method in class wiiremotej.PositionInfo
Returns true if the user can yaw the remote and false if the user can move it horizontally.

L

LEFT - Static variable in class wiiremotej.event.WRButtonEvent
Constant representing the left button of the Wii Remote.
LEFT - Static variable in class wiiremotej.MassConstants
Constant indicating the left column on the balance board.
LEFT_TRIGGER - Static variable in class wiiremotej.event.WRClassicControllerExtensionEvent
Constant representing the left trigger button of the Classic Controller.
LEFT_Z - Static variable in class wiiremotej.event.WRClassicControllerExtensionEvent
Constant representing the left Z button of the Classic Controller.
leftAnalogXCenter() - Method in class wiiremotej.ClassicControllerCalibrationData
Returns leftAnalogXCenter.
leftAnalogXMaximum() - Method in class wiiremotej.ClassicControllerCalibrationData
Returns leftAnalogXMaximum.
leftAnalogXMinimum() - Method in class wiiremotej.ClassicControllerCalibrationData
Returns leftAnalogXMinimum.
leftAnalogYCenter() - Method in class wiiremotej.ClassicControllerCalibrationData
Returns leftAnalogYCenter.
leftAnalogYMaximum() - Method in class wiiremotej.ClassicControllerCalibrationData
Returns leftAnalogYMaximum.
leftAnalogYMinimum() - Method in class wiiremotej.ClassicControllerCalibrationData
Returns leftAnalogYMinimum.
leftTriggerZero() - Method in class wiiremotej.ClassicControllerCalibrationData
Returns leftTriggerZero.

M

MassConstants - Class in wiiremotej
Contains mass constants for use in BBBalanceEvents.
MassConstants(double[]) - Constructor for class wiiremotej.MassConstants
Creates new MassConstants with the given mass constants.
massInputReceived(BBMassEvent) - Method in class wiiremotej.event.BalanceBoardAdapter
 
massInputReceived(BBMassEvent) - Method in interface wiiremotej.event.BalanceBoardListener
Fires whenever data is received from the mass sensors.
MINUS - Static variable in class wiiremotej.event.WRButtonEvent
Constant representing the minus button of the Wii Remote.
MINUS - Static variable in class wiiremotej.event.WRClassicControllerExtensionEvent
Constant representing the minus button of the Classic Controller.
MINUS - Static variable in class wiiremotej.event.WRGuitarExtensionEvent
Constant representing the minus button of the Guitar.
modulatedVibrateFor(long, long) - Method in class wiiremotej.WiiRemote
Vibrates for the specified time, turning on and off at the specified interval.
MotionAccelerometerMouse - Class in wiiremotej
A class for implementing a mouse using the accelerometer.
MotionAccelerometerMouse(double, double, int, double, double) - Constructor for class wiiremotej.MotionAccelerometerMouse
Creates a new MotionAccelerometerMouse with the given settings.
moveMouse(double, double, boolean) - Method in class wiiremotej.WiiRemoteMouse
Moves the mouse to the given coordinates.
muteSpeaker() - Method in class wiiremotej.WiiRemote
Mutes the speaker.

N

NO_ERROR - Static variable in class wiiremotej.event.BBDataEvent
An error code for readData.
NO_ERROR - Static variable in class wiiremotej.event.WRDataEvent
An error code for readData.
numReports() - Method in class wiiremotej.PrebufferedSound
Returns the number of prepackaged sound data reports.
NUNCHUK - Static variable in class wiiremotej.AnalogStickMouse
Nunchuk analog stick.
NUNCHUK - Static variable in class wiiremotej.ButtonMap
Indicates the nunchuk extension.
NUNCHUK_EXTENSION - Static variable in class wiiremotej.AccelerometerMouse
Value for device parameter representing the Nunchuck extension's accelerometer.
NunchukCalibrationData - Class in wiiremotej
Contains calibration data for use in WRNunchukExtensionEvents.
NunchukExtension - Class in wiiremotej
A class representing a Nintendo (R) Wii Remote (TM) Nunchuk extension.
NunchukExtension(int) - Constructor for class wiiremotej.NunchukExtension
Creates a new NunchukExtension with the given payload.

O

ONE - Static variable in class wiiremotej.event.WRButtonEvent
Constant representing the one button of the Wii Remote.
ORANGE - Static variable in class wiiremotej.event.WRGuitarExtensionEvent
Constant representing the orange button on the Guitar (equivalent to Classic Controller left Z).

P

pitch() - Method in class wiiremotej.PositionInfo
Returns pitch.
playPrebufferedSound(PrebufferedSound, byte) - Method in class wiiremotej.WiiRemote
Plays the given PrebufferedSound in the given format over the speaker.
playSound(AudioInputStream, byte) - Method in class wiiremotej.WiiRemote
Plays the given AudioInputStream in the given format over the speaker.
PLUS - Static variable in class wiiremotej.event.WRButtonEvent
Constant representing the plus button of the Wii Remote.
PLUS - Static variable in class wiiremotej.event.WRClassicControllerExtensionEvent
Constant representing the plus button of the Classic Controller.
PLUS - Static variable in class wiiremotej.event.WRGuitarExtensionEvent
Constant representing the plus button of the Guitar.
PositionInfo - Class in wiiremotej
Contains information about the WiiRemote's current position, including Y and Z position, pitch, and roll.
PrebufferedSound - Class in wiiremotej
Takes the given array of sound data and packages it into ready-made reports that can be sent immediately via sendCommand.
PrebufferedSound(byte[][], int, int) - Constructor for class wiiremotej.PrebufferedSound
Creates a new prebuffered sound with the given data array.
processMouseEvent(AnalogStickData) - Method in class wiiremotej.AbsoluteAnalogStickMouse
Processes analog stick data from an event and moves the mouse if necessary.
processMouseEvent(WRAccelerationEvent) - Method in class wiiremotej.AccelerometerMouse
Processes the given WRAccelerationEvent and moves the mouse if necessary based on user settings and input.
processMouseEvent(AnalogStickData) - Method in class wiiremotej.AnalogStickMouse
Processes analog stick data from an event and moves the mouse if necessary.
processMouseEvent(WRIREvent, WRAccelerationEvent) - Method in class wiiremotej.IRAccelerometerMouse
Processes the given WRIREvent and moves the mouse if necessary based on user settings and input.
processMouseEvent(WRIREvent) - Method in class wiiremotej.IRMouse
Processes the given WRIREvent and moves the mouse if necessary based on user settings and input.
processMouseEvent(WRAccelerationEvent) - Method in class wiiremotej.MotionAccelerometerMouse
Processes an acceleration event and moves the mouse if necessary, according to sensitivity and motion threshold values.
processMouseEvent(AnalogStickData) - Method in class wiiremotej.RelativeAnalogStickMouse
Processes analog stick data from an event and moves the mouse if necessary.
processMouseEvent(WRAccelerationEvent) - Method in class wiiremotej.TiltAccelerometerMouse
Processes an acceleration event and moves the mouse if necessary, according to sensitivity and threshold values.

R

readData(byte[], int) - Method in class wiiremotej.BalanceBoard
Reads data from the Balance Board at the specified address.
readData(byte[], byte[], int, int) - Method in class wiiremotej.BalanceBoard
Reads data from the Balance Board at the specified address.
readData(byte[], int) - Method in class wiiremotej.WiiRemote
Reads data from the WiiRemote at the specified address.
readData(byte[], byte[], int, int) - Method in class wiiremotej.WiiRemote
Reads data from the WiiRemote at the specified address.
RED - Static variable in class wiiremotej.event.WRGuitarExtensionEvent
Constant representing the red button on the Guitar (equivalent to Classic Controller B).
registerWiiRemoteExtension(WiiRemoteExtension) - Method in class wiiremotej.WiiRemoteExtensionFactory
Registers the given extension with this WRExtensionFactory.
RelativeAnalogStickMouse - Class in wiiremotej
A class for implementing a mouse using an analog stick with relative positioning.
RelativeAnalogStickMouse(double, double, double, double, int) - Constructor for class wiiremotej.RelativeAnalogStickMouse
Creates a new RelativeAnalogStickMouse with the given settings.
removeBalanceBoardListener(BalanceBoardListener) - Method in class wiiremotej.BalanceBoard
Removes the specified BalanceBoardListener from this BalanceBoard.
removeExtension(short) - Method in class wiiremotej.WiiRemoteExtensionFactory
Removes the extension specified by the given code from this factory's list of registered extensions.
removeWiiRemoteListener(WiiRemoteListener) - Method in class wiiremotej.WiiRemote
Removes the specified WiiRemoteListener from this WiiRemote.
reportsProcessed - Variable in class wiiremotej.WiiRemote
 
requestStatus() - Method in class wiiremotej.BalanceBoard
Requests status of the Balance Board, including battery level, LED status, etc.
requestStatus() - Method in class wiiremotej.WiiRemote
Requests status of the WiiRemote, including battery level, LED status, etc.
RIGHT - Static variable in class wiiremotej.event.WRButtonEvent
Constant representing the right button of the Wii Remote.
RIGHT - Static variable in class wiiremotej.MassConstants
Constant indicating the right column on the balance board.
RIGHT_TRIGGER - Static variable in class wiiremotej.event.WRClassicControllerExtensionEvent
Constant representing the right trigger button of the Classic Controller.
RIGHT_Z - Static variable in class wiiremotej.event.WRClassicControllerExtensionEvent
Constant representing the right Z button of the Classic Controller.
rightAnalogXCenter() - Method in class wiiremotej.ClassicControllerCalibrationData
Returns rightAnalogXCenter.
rightAnalogXMaximum() - Method in class wiiremotej.ClassicControllerCalibrationData
Returns rightAnalogXMaximum.
rightAnalogXMinimum() - Method in class wiiremotej.ClassicControllerCalibrationData
Returns rightAnalogXMinimum.
rightAnalogYCenter() - Method in class wiiremotej.ClassicControllerCalibrationData
Returns rightAnalogYCenter.
rightAnalogYMaximum() - Method in class wiiremotej.ClassicControllerCalibrationData
Returns rightAnalogYMaximum.
rightAnalogYMinimum() - Method in class wiiremotej.ClassicControllerCalibrationData
Returns rightAnalogYMinimum.
rightTriggerZero() - Method in class wiiremotej.ClassicControllerCalibrationData
Returns rightTriggerZero.
roll() - Method in class wiiremotej.PositionInfo
Returns roll.

S

setAccelerometerEnabled(boolean) - Method in class wiiremotej.WiiRemote
Enables or disables the accelerometer.
setAnalogStick(int) - Method in class wiiremotej.AnalogStickMouse
Sets the analog stick used by this AnalogStickMouse.
setConsoleLoggingAll() - Static method in class wiiremotej.WiiRemoteJ
Outputs all messages to the console by default.
setConsoleLoggingErrors() - Static method in class wiiremotej.WiiRemoteJ
Limits the types of messages output to the console by default to error (warning and severe) messages only.
setConsoleLoggingOff() - Static method in class wiiremotej.WiiRemoteJ
Outputs no messages to the console by default.
setDevice(int) - Method in class wiiremotej.AccelerometerMouse
Sets the device to the specified device.
setExtensionEnabled(boolean) - Method in class wiiremotej.WiiRemote
Enables or disables the extension port.
setExtensionPayload(int) - Method in class wiiremotej.WiiRemote
Changes the extension payload to the specified value, if possible.
setIRSensorEnabled(boolean, int) - Method in class wiiremotej.WiiRemote
Enables or disables the IR sensor.
setIRSensorEnabled(boolean, int, IRSensitivitySettings) - Method in class wiiremotej.WiiRemote
Enables or disables the IR sensor.
setIRSensorEnabled(boolean, int, byte[], byte[]) - Method in class wiiremotej.WiiRemote
Deprecated. As of release 1.5, replaced by WiiRemote.setIRSensorEnabled(boolean enabled, int mode, IRSensitivitySettings sensitivitySettings). This method may be made private in future releases!
setLEDIlluminated(boolean) - Method in class wiiremotej.BalanceBoard
Sets the LED light to illuminated, where true is on and false is off.
setLEDIlluminated(int, boolean) - Method in class wiiremotej.WiiRemote
Sets the specified LED light to illuminated, where true is on and false is off.
setLEDLights(boolean[]) - Method in class wiiremotej.WiiRemote
Sets all of the lights to the values specified in the status array, where true is on and false is off.
setMouse(WiiRemoteMouse) - Method in class wiiremotej.WiiRemote
Turns the WiiRemote into a mouse.
setPitchThreshold(double) - Method in class wiiremotej.TiltAccelerometerMouse
Sets the pitch threshold of this "mouse" to the given value in radians.
setRollSensitivity(double) - Method in class wiiremotej.IRAccelerometerMouse
Sets the pitch sensitivity of this "mouse" to the given value.
setRollThreshold(double) - Method in class wiiremotej.TiltAccelerometerMouse
Sets the roll threshold of this "mouse" to the given value in radians.
setSpeakerEnabled(boolean) - Method in class wiiremotej.WiiRemote
Enables or disables the speaker.
setSpeakerVolume(double) - Method in class wiiremotej.WiiRemote
Sets the speaker volume to the given volume (percent).
setUseMouse(boolean) - Method in class wiiremotej.WiiRemote
Sets the value of useMouse to the given value.
setXMotionThreshold(double) - Method in class wiiremotej.MotionAccelerometerMouse
Sets the X motion threshold of this "mouse" to the given value in Gs.
setXSensitivity(double) - Method in class wiiremotej.WiiRemoteMouse
Sets the X sensitivity of this "mouse" to the given value.
setYSensitivity(double) - Method in class wiiremotej.WiiRemoteMouse
Sets the Y sensitivity of this "mouse" to the given value.
setZMotionThreshold(double) - Method in class wiiremotej.MotionAccelerometerMouse
Sets the Z motion threshold of this "mouse" to the given value in Gs.
SEVENTEEN - Static variable in class wiiremotej.MassConstants
Constant indicating the value for seventeen kilograms.
SF_ADPCM4U - Static variable in class wiiremotej.WiiRemote
Speaker output format: unsigned 4-bit ADPCM (Yamaha variant).
SF_PCM8S - Static variable in class wiiremotej.WiiRemote
Speaker output format: signed 8-bit PCM.
startModulatedVibrating(long) - Method in class wiiremotej.WiiRemote
Starts modulated vibrating, turning on and off at the specified interval.
startVibrating() - Method in class wiiremotej.WiiRemote
Starts vibration.
statusReported(BBStatusEvent) - Method in class wiiremotej.event.BalanceBoardAdapter
 
statusReported(BBStatusEvent) - Method in interface wiiremotej.event.BalanceBoardListener
Fires whenever status data is received.
statusReported(WRStatusEvent) - Method in class wiiremotej.event.WiiRemoteAdapter
 
statusReported(WRStatusEvent) - Method in interface wiiremotej.event.WiiRemoteListener
Fires whenever status data is received.
stopFind() - Static method in class wiiremotej.WiiRemoteJ
Cancels a search for multiple devices initiated by findDevices(...).
stopModulatedVibrating() - Method in class wiiremotej.WiiRemote
Stops modulated vibration.
stopSound() - Method in class wiiremotej.WiiRemote
Cuts off the current sound.
stopVibrating() - Method in class wiiremotej.WiiRemote
Stops vibration.
STRUM_DOWN - Static variable in class wiiremotej.event.WRGuitarExtensionEvent
Constant representing strumming down on the Guitar (equivalent to Classic Controller D-pad down).
STRUM_UP - Static variable in class wiiremotej.event.WRGuitarExtensionEvent
Constant representing strumming up on the Guitar (equivalent to Classic Controller D-pad up).

T

THIRTY_FOUR - Static variable in class wiiremotej.MassConstants
Constant indicating the value for thirty-four kilograms.
TiltAccelerometerMouse - Class in wiiremotej
A class for implementing a mouse using the accelerometer.
TiltAccelerometerMouse(double, double, int, double, double) - Constructor for class wiiremotej.TiltAccelerometerMouse
Creates a new TiltAccelerometerMouse with the given settings.
TOP - Static variable in class wiiremotej.MassConstants
Constant indicating the top row on the balance board.
triggerMax() - Method in class wiiremotej.ClassicControllerCalibrationData
Returns triggerMax.
TWO - Static variable in class wiiremotej.event.WRButtonEvent
Constant representing the two button of the Wii Remote.

U

unmuteSpeaker() - Method in class wiiremotej.WiiRemote
Unmutes the speaker.
UP - Static variable in class wiiremotej.event.WRButtonEvent
Constant representing the up button of the Wii Remote.

V

value(int, int, int) - Method in class wiiremotej.MassConstants
Returns the constant value specified by the given row, column, and mass.
vibrateFor(long) - Method in class wiiremotej.WiiRemote
Vibrates for the specified time.

W

waitForDataReadCompletion() - Method in class wiiremotej.BalanceBoard
Waits for the current readData operation to complete before returning.
waitForDataReadCompletion() - Method in class wiiremotej.WiiRemote
Waits for the current readData operation to complete before returning.
wasOnlyPressed(int) - Method in class wiiremotej.event.WRButtonEvent
Returns true if all of the given buttons were pressed and no others are; otherwise false.
wasOnlyPressed(int) - Method in class wiiremotej.event.WRClassicControllerExtensionEvent
Returns true if all of the given buttons were pressed and no others are; otherwise false.
wasOnlyPressed(int) - Method in class wiiremotej.event.WRGuitarExtensionEvent
Returns true if all of the given buttons were pressed and no others are; otherwise false.
wasOnlyPressed(int) - Method in class wiiremotej.event.WRNunchukExtensionEvent
Returns true if all of the given buttons were pressed and no others are; otherwise false.
wasPressed() - Method in class wiiremotej.event.BBButtonEvent
Returns true if the balance board's button was pressed; otherwise false.
wasPressed(int) - Method in class wiiremotej.event.WRButtonEvent
Returns true if all of the given buttons were pressed; otherwise false.
wasPressed(int) - Method in class wiiremotej.event.WRClassicControllerExtensionEvent
Returns true if all of the given buttons were pressed; otherwise false.
wasPressed(int) - Method in class wiiremotej.event.WRGuitarExtensionEvent
Returns true if all of the given buttons were pressed; otherwise false.
wasPressed(int) - Method in class wiiremotej.event.WRNunchukExtensionEvent
Returns true if all of the given buttons were pressed; otherwise false.
wasReleased() - Method in class wiiremotej.event.BBButtonEvent
Returns true if the balance board's button was released; otherwise false.
wasReleased(int) - Method in class wiiremotej.event.WRButtonEvent
Returns true if one of the given buttons was released; otherwise false.
wasReleased(int) - Method in class wiiremotej.event.WRClassicControllerExtensionEvent
Returns true if one of the given buttons was released; otherwise false.
wasReleased(int) - Method in class wiiremotej.event.WRGuitarExtensionEvent
Returns true if one of the given buttons was released; otherwise false.
wasReleased(int) - Method in class wiiremotej.event.WRNunchukExtensionEvent
Returns true if one of the given buttons was released; otherwise false.
whammyBarMax() - Method in class wiiremotej.GuitarCalibrationData
Returns whammyBarMax.
whammyBarZero() - Method in class wiiremotej.GuitarCalibrationData
Returns whammyBarZero.
WII_LEVEL_1 - Static variable in class wiiremotej.IRSensitivitySettings
The first (lowest) sensitivity setting used by the Wii.
WII_LEVEL_2 - Static variable in class wiiremotej.IRSensitivitySettings
The second sensitivity setting used by the Wii.
WII_LEVEL_3 - Static variable in class wiiremotej.IRSensitivitySettings
The third sensitivity setting used by the Wii.
WII_LEVEL_4 - Static variable in class wiiremotej.IRSensitivitySettings
The fourth sensitivity setting used by the Wii.
WII_LEVEL_5 - Static variable in class wiiremotej.IRSensitivitySettings
The fifth (highest) sensitivity setting used by the Wii.
WII_REMOTE - Static variable in class wiiremotej.AccelerometerMouse
Value for device parameter representing the Wii Remote's accelerometer.
WII_REMOTE - Static variable in class wiiremotej.WiiRemoteJ
Indicates a Wii Remote device.
WiiDevice - Interface in wiiremotej
Interface describing a device that can connect to the Wii via Bluetooth.
wiiDeviceDiscovered(WiiDeviceDiscoveredEvent) - Method in interface wiiremotej.event.WiiDeviceDiscoveryListener
Fires whenever a WiiDevice is discovered through a nonblocking method.
WiiDeviceDiscoveredEvent - Class in wiiremotej.event
An event for when a Wii Device is discovered through a nonblocking method.
WiiDeviceDiscoveredEvent(WiiDevice, int) - Constructor for class wiiremotej.event.WiiDeviceDiscoveredEvent
Creates a new WiiDeviceDiscoveredEvent from the given device and number.
WiiDeviceDiscoveryListener - Interface in wiiremotej.event
Listener interface for device discovery.
WiiRemote - Class in wiiremotej
A class representing a Nintendo (R) Wii Remote (TM).
WiiRemote(AccelerationConstants) - Constructor for class wiiremotej.WiiRemote
Constructs a blank WiiRemote that is not connected to an actual Wii Remote using the passed in parameters.
WiiRemoteAdapter - Class in wiiremotej.event
Implementation of WiiRemoteListener to conveniently implement just the methods you want.
WiiRemoteAdapter() - Constructor for class wiiremotej.event.WiiRemoteAdapter
 
WiiRemoteExtension - Class in wiiremotej
A class representing a Nintendo (R) Wii Remote (TM) extension, such as the Nunchuk.
WiiRemoteExtension(int) - Constructor for class wiiremotej.WiiRemoteExtension
Creates a new WRExtension with the given payload.
WiiRemoteExtensionFactory - Class in wiiremotej
A class representing a Nintendo (R) Wii Remote (TM) extension factory.
wiiremotej - package wiiremotej
 
WiiRemoteJ - Class in wiiremotej
Library for connecting to and interacting with a Nintendo (R) Wii Remote (TM) and Balance Board (TM) via Bluetooth (R).
WiiRemoteJ() - Constructor for class wiiremotej.WiiRemoteJ
 
wiiremotej.event - package wiiremotej.event
 
WiiRemoteListener - Interface in wiiremotej.event
Listener interface for the remote.
WiiRemoteMouse - Class in wiiremotej
An class for implementing mouse functionality using the Wii Remote.
WiiRemoteMouse(double, double) - Constructor for class wiiremotej.WiiRemoteMouse
Constructs a new WiiRemoteMouse with the given sensitivity settings.
WRAccelerationEvent - Class in wiiremotej.event
Acceleration event for Nintendo (R) Wii Remote (TM).
WRAccelerationEvent(WiiRemote, byte[]) - Constructor for class wiiremotej.event.WRAccelerationEvent
Creates a new WRAccelerationEvent from the given input data array.
WRAccelerationEvent(WiiRemote, byte[], byte[]) - Constructor for class wiiremotej.event.WRAccelerationEvent
Creates a new WRAccelerationEvent from the given interleaved input.
WRAccelerationEvent(WiiRemote, double, double, double) - Constructor for class wiiremotej.event.WRAccelerationEvent
Creates a new WRAccelerationEvent from the given acceleration values.
WRButtonEvent - Class in wiiremotej.event
Button event for Nintendo (R) Wii Remote (TM).
WRButtonEvent(WiiRemote, byte[], WRButtonEvent) - Constructor for class wiiremotej.event.WRButtonEvent
Creates a new WRButtonEvent from the given input data array.
WRButtonEvent(WiiRemote, int, WRButtonEvent) - Constructor for class wiiremotej.event.WRButtonEvent
Creates a new WRButtonEvent from the given the given buttonsPressed mask.
WRClassicControllerExtensionEvent - Class in wiiremotej.event
Classic controller extension event for Nintendo (R) Wii Remote (TM).
WRClassicControllerExtensionEvent(WiiRemote, byte[], int, WRClassicControllerExtensionEvent) - Constructor for class wiiremotej.event.WRClassicControllerExtensionEvent
Creates a new WRClassicControllerExtensionEvent from an array of input data from the Wii Remote.
WRClassicControllerExtensionEvent(WiiRemote, AnalogStickData, AnalogStickData, int, double, double, WRClassicControllerExtensionEvent) - Constructor for class wiiremotej.event.WRClassicControllerExtensionEvent
Creates a new WRClassicControllerExtensionEvent from the given settings.
WRCombinedEvent - Class in wiiremotej.event
Combined event for Nintendo (R) Wii Remote (TM).
WRCombinedEvent(WiiRemote, WRButtonEvent, WRAccelerationEvent, WRIREvent, WRExtensionEvent) - Constructor for class wiiremotej.event.WRCombinedEvent
Creates a new WRCombinedEvent from the given events.
WRDataEvent - Class in wiiremotej.event
Read data event for Nintendo (R) Wii Remote (TM).
WRDataEvent(WiiRemote, byte[]) - Constructor for class wiiremotej.event.WRDataEvent
Creates a new WRDataEvent from the given input data array.
WRDataEvent(WiiRemote, byte[], int, int) - Constructor for class wiiremotej.event.WRDataEvent
Creates a new WRDataEvent from the given input data array.
WREvent - Class in wiiremotej.event
Event for Nintendo (R) Wii Remote (TM).
WREvent(WiiRemote) - Constructor for class wiiremotej.event.WREvent
Creates a new WREvent with the WiiRemote source.
WRExtensionEvent - Class in wiiremotej.event
Extension event for Nintendo (R) Wii Remote (TM).
WRExtensionEvent(WiiRemote) - Constructor for class wiiremotej.event.WRExtensionEvent
Constructs a WRExtensionEvent.
WRGuitarExtensionEvent - Class in wiiremotej.event
Classic controller extension event for Nintendo (R) Wii Remote (TM).
WRGuitarExtensionEvent(WiiRemote, byte[], int, WRGuitarExtensionEvent) - Constructor for class wiiremotej.event.WRGuitarExtensionEvent
Creates a new WRGuitarExtensionEvent from an array of input data from the Wii Remote.
WRGuitarExtensionEvent(WiiRemote, AnalogStickData, AnalogStickData, int, double, WRGuitarExtensionEvent) - Constructor for class wiiremotej.event.WRGuitarExtensionEvent
Creates a new WRClassicControllerExtensionEvent from the given settings.
WRIREvent - Class in wiiremotej.event
IR Event for Nintendo (R) Wii Remote (TM).
WRIREvent(WiiRemote, int, byte[], int) - Constructor for class wiiremotej.event.WRIREvent
Creates a new WRIREvent with the WiiRemote source, data, and mode.
WRIREvent(WiiRemote, int, byte[], byte[]) - Constructor for class wiiremotej.event.WRIREvent
Creates a new WRIREvent with the WiiRemote source, interleaved data, and mode.
WRIREvent(WiiRemote, int, IRLight[]) - Constructor for class wiiremotej.event.WRIREvent
Creates a new WRIREvent with the WiiRemote source, IRLights, and mode.
WRITE_ONLY_REGISTER_ERROR - Static variable in class wiiremotej.event.BBDataEvent
An error code for readData.
WRITE_ONLY_REGISTER_ERROR - Static variable in class wiiremotej.event.WRDataEvent
An error code for readData.
writeData(byte[], byte[]) - Method in class wiiremotej.BalanceBoard
Writes data to the Balance Board at the specified address.
writeData(byte[], byte[]) - Method in class wiiremotej.WiiRemote
Writes data to the WiiRemote at the specified address.
WRNunchukExtensionEvent - Class in wiiremotej.event
Nunchuk extension event for Nintendo (R) Wii Remote (TM).
WRNunchukExtensionEvent(WiiRemote, byte[], int, WRNunchukExtensionEvent) - Constructor for class wiiremotej.event.WRNunchukExtensionEvent
Creates a new WRNunchukExtensionEvent from an array of input data.
WRNunchukExtensionEvent(WiiRemote, WRAccelerationEvent, int, AnalogStickData, WRNunchukExtensionEvent) - Constructor for class wiiremotej.event.WRNunchukExtensionEvent
Creates a new WRNunchukExtensionEvent from the given parameters.
WRStatusEvent - Class in wiiremotej.event
Status reported event for Nintendo (R) Wii Remote (TM).
WRStatusEvent(WiiRemote, byte[]) - Constructor for class wiiremotej.event.WRStatusEvent
Creates a new WRStatusEvent from the given input data array.
WRStatusEvent(WiiRemote, boolean, boolean, boolean, boolean[], double) - Constructor for class wiiremotej.event.WRStatusEvent
Creates a new WRStatusEvent from the given parameters.

X

X - Static variable in class wiiremotej.event.WRClassicControllerExtensionEvent
Constant representing the X button of the Classic Controller.
xOne() - Method in class wiiremotej.AccelerationConstants
Returns xOne.
xOne() - Method in class wiiremotej.NunchukCalibrationData
Returns xOne.
xPos() - Method in class wiiremotej.PositionInfo
Returns xPos.
xSensitivity - Variable in class wiiremotej.WiiRemoteMouse
The sensitivity of the X-axis.
xZero() - Method in class wiiremotej.AccelerationConstants
Returns xZero.
xZero() - Method in class wiiremotej.NunchukCalibrationData
Returns xZero.

Y

Y - Static variable in class wiiremotej.event.WRClassicControllerExtensionEvent
Constant representing the Y button of the Classic Controller.
yaw() - Method in class wiiremotej.PositionInfo
Returns yaw.
YELLOW - Static variable in class wiiremotej.event.WRGuitarExtensionEvent
Constant representing the yellow button on the Guitar (equivalent to Classic Controller X).
yOne() - Method in class wiiremotej.AccelerationConstants
Returns yOne.
yOne() - Method in class wiiremotej.NunchukCalibrationData
Returns yOne.
yPos() - Method in class wiiremotej.PositionInfo
Returns yPos.
ySensitivity - Variable in class wiiremotej.WiiRemoteMouse
The sensitivity of the Y-axis.
yZero() - Method in class wiiremotej.AccelerationConstants
Returns yZero.
yZero() - Method in class wiiremotej.NunchukCalibrationData
Returns yZero.

Z

Z - Static variable in class wiiremotej.event.WRNunchukExtensionEvent
Constant representing the Z button of the Nunchuk.
ZERO - Static variable in class wiiremotej.MassConstants
Constant indicating the value for zero kilograms.
zOne() - Method in class wiiremotej.AccelerationConstants
Returns zOne.
zOne() - Method in class wiiremotej.NunchukCalibrationData
Returns zOne.
zPos() - Method in class wiiremotej.PositionInfo
Returns zPos.
zZero() - Method in class wiiremotej.AccelerationConstants
Returns zZero.
zZero() - Method in class wiiremotej.NunchukCalibrationData
Returns zZero.

A B C D E F G H I L M N O P R S T U V W X Y Z