From e67c988824f5ec0c965beb412f8ee5953dfd3c8c Mon Sep 17 00:00:00 2001 From: tmk Date: Sat, 17 Sep 2011 22:39:50 +0900 Subject: Added Bulegiga iWRAP support into HHKB.(Bluetooth) --- pjrc/host.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'pjrc/host.c') diff --git a/pjrc/host.c b/pjrc/host.c index 35d59de80..fcf71d579 100644 --- a/pjrc/host.c +++ b/pjrc/host.c @@ -22,7 +22,7 @@ along with this program. If not, see . #if defined(MOUSEKEY_ENABLE) || defined(PS2_MOUSE_ENABLE) #include "usb_mouse.h" #endif -#ifdef USB_EXTRA_ENABLE +#ifdef EXTRAKEY_ENABLE #include "usb_extra.h" #endif #include "debug.h" @@ -30,7 +30,7 @@ along with this program. If not, see . #include "util.h" -#ifdef USB_NKRO_ENABLE +#ifdef NKRO_ENABLE bool keyboard_nkro = false; #endif @@ -51,7 +51,7 @@ uint8_t host_keyboard_leds(void) /* keyboard report operations */ void host_add_key(uint8_t key) { -#ifdef USB_NKRO_ENABLE +#ifdef NKRO_ENABLE if (keyboard_nkro) { add_key_bit(key); return; @@ -109,7 +109,7 @@ uint8_t host_has_anykey(void) uint8_t host_get_first_key(void) { -#ifdef USB_NKRO_ENABLE +#ifdef NKRO_ENABLE if (keyboard_nkro) { uint8_t i = 0; for (; i < REPORT_KEYS && !keyboard_report->keys[i]; i++) @@ -133,7 +133,7 @@ void host_mouse_send(report_mouse_t *report) } #endif -#ifdef USB_EXTRA_ENABLE +#ifdef EXTRAKEY_ENABLE void host_system_send(uint16_t data) { usb_extra_system_send(data); -- cgit v1.2.3