From 6c5c9212d816674c67aa3708b73558b023478b94 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sun, 20 Sep 2009 12:46:26 +0000 Subject: Add KeyboardHost HID Host Class driver demo to the library. --- Demos/Host/ClassDriver/MouseHost/MouseHost.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'Demos/Host/ClassDriver/MouseHost/MouseHost.c') diff --git a/Demos/Host/ClassDriver/MouseHost/MouseHost.c b/Demos/Host/ClassDriver/MouseHost/MouseHost.c index 926776f23..9b84642bc 100644 --- a/Demos/Host/ClassDriver/MouseHost/MouseHost.c +++ b/Demos/Host/ClassDriver/MouseHost/MouseHost.c @@ -125,19 +125,16 @@ int main(void) MouseReport.Y, MouseReport.Button); - /* Alter status LEDs according to mouse X movement */ if (MouseReport.X > 0) LEDMask |= LEDS_LED1; else if (MouseReport.X < 0) LEDMask |= LEDS_LED2; - /* Alter status LEDs according to mouse Y movement */ if (MouseReport.Y > 0) LEDMask |= LEDS_LED3; else if (MouseReport.Y < 0) LEDMask |= LEDS_LED4; - /* Alter status LEDs according to mouse button position */ if (MouseReport.Button) LEDMask = LEDS_ALL_LEDS; -- cgit v1.2.3