1
0
Fork 0

Merge pull request #5 from IBNobody/make_nkro_report_32_bytes

Change NKRO size fron 16 bytes to 32 bytes.
This commit is contained in:
IBNobody 2016-09-06 15:00:51 -05:00 committed by GitHub
commit 91e0f62417

View file

@ -1,4 +1,4 @@
/* /*
* Copyright 2012,2013 Jun Wako <wakojun@gmail.com> * Copyright 2012,2013 Jun Wako <wakojun@gmail.com>
* This file is based on: * This file is based on:
* LUFA-120219/Demos/Device/Lowlevel/KeyboardMouse * LUFA-120219/Demos/Device/Lowlevel/KeyboardMouse
@ -129,13 +129,13 @@ typedef struct
# define MOUSE_INTERFACE (KEYBOARD_INTERFACE + 1) # define MOUSE_INTERFACE (KEYBOARD_INTERFACE + 1)
#else #else
# define MOUSE_INTERFACE KEYBOARD_INTERFACE # define MOUSE_INTERFACE KEYBOARD_INTERFACE
#endif #endif
#ifdef EXTRAKEY_ENABLE #ifdef EXTRAKEY_ENABLE
# define EXTRAKEY_INTERFACE (MOUSE_INTERFACE + 1) # define EXTRAKEY_INTERFACE (MOUSE_INTERFACE + 1)
#else #else
# define EXTRAKEY_INTERFACE MOUSE_INTERFACE # define EXTRAKEY_INTERFACE MOUSE_INTERFACE
#endif #endif
#ifdef CONSOLE_ENABLE #ifdef CONSOLE_ENABLE
# define CONSOLE_INTERFACE (EXTRAKEY_INTERFACE + 1) # define CONSOLE_INTERFACE (EXTRAKEY_INTERFACE + 1)
@ -171,7 +171,7 @@ typedef struct
#define KEYBOARD_IN_EPNUM 1 #define KEYBOARD_IN_EPNUM 1
#ifdef MOUSE_ENABLE #ifdef MOUSE_ENABLE
# define MOUSE_IN_EPNUM (KEYBOARD_IN_EPNUM + 1) # define MOUSE_IN_EPNUM (KEYBOARD_IN_EPNUM + 1)
#else #else
# define MOUSE_IN_EPNUM KEYBOARD_IN_EPNUM # define MOUSE_IN_EPNUM KEYBOARD_IN_EPNUM
#endif #endif
@ -179,7 +179,7 @@ typedef struct
#ifdef EXTRAKEY_ENABLE #ifdef EXTRAKEY_ENABLE
# define EXTRAKEY_IN_EPNUM (MOUSE_IN_EPNUM + 1) # define EXTRAKEY_IN_EPNUM (MOUSE_IN_EPNUM + 1)
#else #else
# define EXTRAKEY_IN_EPNUM MOUSE_IN_EPNUM # define EXTRAKEY_IN_EPNUM MOUSE_IN_EPNUM
#endif #endif
#ifdef CONSOLE_ENABLE #ifdef CONSOLE_ENABLE
@ -226,7 +226,7 @@ typedef struct
#define MOUSE_EPSIZE 8 #define MOUSE_EPSIZE 8
#define EXTRAKEY_EPSIZE 8 #define EXTRAKEY_EPSIZE 8
#define CONSOLE_EPSIZE 32 #define CONSOLE_EPSIZE 32
#define NKRO_EPSIZE 16 #define NKRO_EPSIZE 32
#define MIDI_STREAM_EPSIZE 64 #define MIDI_STREAM_EPSIZE 64
#define CDC_NOTIFICATION_EPSIZE 8 #define CDC_NOTIFICATION_EPSIZE 8
#define CDC_EPSIZE 16 #define CDC_EPSIZE 16