javax.usb.examples
Class MouseDriver.HidMouseRunnable
java.lang.Object
javax.usb.examples.MouseDriver.HidMouseRunnable
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- MouseDriver
public static class MouseDriver.HidMouseRunnable
- extends Object
- implements Runnable
Class to listen in a dedicated Thread for mouse movement events.
This really could be used for any HID device.
|
Method Summary |
void |
run()
|
void |
stop()
Stop/abort listening for data events. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
running
public boolean running
usbPipe
public UsbPipe usbPipe
MouseDriver.HidMouseRunnable
public MouseDriver.HidMouseRunnable(UsbPipe pipe)
run
public void run()
- Specified by:
run in interface Runnable
stop
public void stop()
- Stop/abort listening for data events.
Copyright © 2013 LSST. All Rights Reserved.