// Local Includes
#include "usb_keyboard_serial.h"
+#include <print.h>
// ----- Variables -----
// Modifiers
UEDATX = USBKeys_Modifiers;
+ // LED Report spacer
+ USBKeys_LEDs = 0;
+
// Normal Keys
for ( i = 0; i < 6; i++)
{
cli();
// If not using Boot protocol, send NKRO
- UENUM = USBKeys_Protocol ? KEYBOARD_NKRO_ENDPOINT : KEYBOARD_ENDPOINT;
+ UENUM = KEYBOARD_ENDPOINT;
+ //UENUM = USBKeys_Protocol ? KEYBOARD_NKRO_ENDPOINT : KEYBOARD_ENDPOINT;
} while ( !( UEINTX & (1 << RWAL) ) );
// Send normal keyboard interrupt packet(s)
- switch ( USBKeys_Protocol )
- {
- }
+ //switch ( USBKeys_Protocol )
+ //{
+ //}
usb_keyboard_toHost();
USBKeys_Idle_Count = 0;
// From hasu's code, this section looks like it could fix the Mac SET_IDLE problem
// Send normal keyboard interrupt packet(s)
//usb_keyboard_toHost();
+ print("IDLE");
}
}
}
// XXX TODO Is this even used? If so, when? -Jacob
// Send normal keyboard interrupt packet(s)
- //usb_keyboard_toHost();
+ usb_keyboard_toHost();
+ //print("GET REPORT");
usb_send_in();
return;
usb_send_in();
return;
}
- USBKeys_Protocol = bRequest;
}
if ( bmRequestType == 0x21 )
{