/* PhidgetMotorController */

#import <Cocoa/Cocoa.h>
#include <Phidget21/phidget21.h>

@interface PhidgetMotorController : NSObject
{
    IBOutlet NSTextField *connectedField;
    IBOutlet id inputs;
    IBOutlet NSTextField *numInputsField;
    IBOutlet NSTextField *numMotorsField;
    IBOutlet NSTextField *serialField;
    IBOutlet NSTextField *speed0Field;
    IBOutlet NSTextField *speed1Field;
    IBOutlet NSTextField *current0Field;
    IBOutlet NSTextField *current1Field;
    IBOutlet NSTextField *versionField;
	IBOutlet id mainWindow;
}
- (IBAction)accel0:(id)sender;
- (IBAction)accel1:(id)sender;
- (IBAction)speed0:(id)sender;
- (IBAction)speed1:(id)sender;
- (void)phidgetAdded;
- (void)phidgetRemoved;
- (void)InputChange:(int)Index:(int)State;
- (void)MotorChange:(int)Index:(double)Value;
- (void)CurrentChange:(int)Index:(double)Value;
@end
