projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
AppConfigHeaders: Merge in latest trunk.
[pub/USBasp.git]
/
Projects
/
Magstripe
/
Descriptors.h
diff --git
a/Projects/Magstripe/Descriptors.h
b/Projects/Magstripe/Descriptors.h
index
9a71ada
..
f90816a
100644
(file)
--- a/
Projects/Magstripe/Descriptors.h
+++ b/
Projects/Magstripe/Descriptors.h
@@
-1,6
+1,6
@@
/*
LUFA Library
/*
LUFA Library
- Copyright (C) Dean Camera, 201
1
.
+ Copyright (C) Dean Camera, 201
2
.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
@@
-8,7
+8,7
@@
/*
Copyright 2010 Denver Gingerich (denver [at] ossguy [dot] com)
/*
Copyright 2010 Denver Gingerich (denver [at] ossguy [dot] com)
- Copyright 201
1
Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 201
2
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
@@
-50,7
+50,7
@@
typedef struct
{
USB_Descriptor_Configuration_Header_t Config; /**< Configuration descriptor header structure */
typedef struct
{
USB_Descriptor_Configuration_Header_t Config; /**< Configuration descriptor header structure */
-
+
// Keyboard HID Interface
USB_Descriptor_Interface_t HID_Interface; /**< Keyboard interface descriptor */
USB_HID_Descriptor_HID_t HID_KeyboardHID; /**< Keyboard HID descriptor */
// Keyboard HID Interface
USB_Descriptor_Interface_t HID_Interface; /**< Keyboard interface descriptor */
USB_HID_Descriptor_HID_t HID_KeyboardHID; /**< Keyboard HID descriptor */
@@
-58,8
+58,8
@@
} USB_Descriptor_Configuration_t;
/* Macros: */
} USB_Descriptor_Configuration_t;
/* Macros: */
- /** Endpoint
number
of the keyboard key press reporting endpoint. */
- #define KEYBOARD_EP
NUM 1
+ /** Endpoint
address
of the keyboard key press reporting endpoint. */
+ #define KEYBOARD_EP
ADDR (ENDPOINT_DIR_IN | 1)
/** Size of the keyboard report endpoints, in bytes. */
#define KEYBOARD_EPSIZE 8
/** Size of the keyboard report endpoints, in bytes. */
#define KEYBOARD_EPSIZE 8