AppConfigHeaders: Merge in latest trunk.
[pub/USBasp.git] / Demos / Host / LowLevel / KeyboardHost / ConfigDescriptor.h
index 14f691b..eb09f69 100644 (file)
@@ -1,13 +1,13 @@
 /*
              LUFA Library
 /*
              LUFA Library
-     Copyright (C) Dean Camera, 2010.
+     Copyright (C) Dean Camera, 2012.
 
   dean [at] fourwalledcubicle [dot] com
 
   dean [at] fourwalledcubicle [dot] com
-      www.fourwalledcubicle.com
+           www.lufa-lib.org
 */
 
 /*
 */
 
 /*
-  Copyright 2010  Dean Camera (dean [at] fourwalledcubicle [dot] com)
+  Copyright 2012  Dean Camera (dean [at] fourwalledcubicle [dot] com)
 
   Permission to use, copy, modify, distribute, and sell this
   software and its documentation for any purpose is hereby granted
 
   Permission to use, copy, modify, distribute, and sell this
   software and its documentation for any purpose is hereby granted
                #include "KeyboardHost.h"
 
        /* Macros: */
                #include "KeyboardHost.h"
 
        /* Macros: */
-               /** Interface Class value for the Human Interface Device class. */
-               #define KEYBOARD_CLASS                 0x03
-
-               /** Interface Protocol value for a Boot Protocol Keyboard compliant device. */
-               #define KEYBOARD_PROTOCOL              0x01
-
-               /** Pipe number for the keyboard data IN pipe. */
-               #define KEYBOARD_DATA_IN_PIPE          1
+               /** Pipe address for the keyboard data IN pipe. */
+               #define KEYBOARD_DATA_IN_PIPE          (PIPE_DIR_IN | 1)
 
        /* Enums: */
                /** Enum for the possible return codes of the \ref ProcessConfigurationDescriptor() function. */
 
        /* Enums: */
                /** Enum for the possible return codes of the \ref ProcessConfigurationDescriptor() function. */