no leds
parent
39d4cf708a
commit
b4ab1b0a7c
|
@ -850,9 +850,6 @@ static uint8_t keyboard_idle_config=125;
|
||||||
// count until idle timeout
|
// count until idle timeout
|
||||||
static uint8_t keyboard_idle_count=0;
|
static uint8_t keyboard_idle_count=0;
|
||||||
|
|
||||||
// 1=num lock, 2=caps lock, 4=scroll lock, 8=compose, 16=kana
|
|
||||||
volatile uint8_t keyboard_leds=0;
|
|
||||||
|
|
||||||
// which consumer key is currently pressed
|
// which consumer key is currently pressed
|
||||||
uint16_t consumer_key;
|
uint16_t consumer_key;
|
||||||
uint16_t last_consumer_key;
|
uint16_t last_consumer_key;
|
||||||
|
@ -1154,7 +1151,6 @@ ISR(USB_COM_vect) {
|
||||||
if (bmRequestType == 0x21) {
|
if (bmRequestType == 0x21) {
|
||||||
if (bRequest == HID_SET_REPORT) {
|
if (bRequest == HID_SET_REPORT) {
|
||||||
usb_wait_receive_out();
|
usb_wait_receive_out();
|
||||||
keyboard_leds = UEDATX;
|
|
||||||
usb_ack_out();
|
usb_ack_out();
|
||||||
usb_send_in();
|
usb_send_in();
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue