javax.usb.examples
Class MouseDriver.HidMouseRunnable

java.lang.Object
  extended by 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.


Field Summary
 boolean running
           
 UsbPipe usbPipe
           
 
Constructor Summary
MouseDriver.HidMouseRunnable(UsbPipe pipe)
           
 
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
 

Field Detail

running

public boolean running

usbPipe

public UsbPipe usbPipe
Constructor Detail

MouseDriver.HidMouseRunnable

public MouseDriver.HidMouseRunnable(UsbPipe pipe)
Method Detail

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.