From bf1a37ba712b3c42861e7cfabb174724791b41b6 Mon Sep 17 00:00:00 2001 From: tmk Date: Mon, 17 Jan 2011 21:51:51 +0900 Subject: PS/2 to USB keyboard converter --- usb.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'usb.h') diff --git a/usb.h b/usb.h index 594f307db8..85e0e33dfb 100644 --- a/usb.h +++ b/usb.h @@ -6,6 +6,9 @@ #include +extern bool remote_wakeup; +extern bool suspend; + void usb_init(void); // initialize everything uint8_t usb_configured(void); // is the USB port configured void usb_remote_wakeup(void); @@ -85,8 +88,11 @@ void usb_remote_wakeup(void); #define ENDPOINT_HALT 0 #define TEST_MODE 2 - -extern bool remote_wakeup; -extern bool suspend; +// LEDS +#define USB_LED_NUM_LOCK 0 +#define USB_LED_CAPS_LOCK 1 +#define USB_LED_SCROLL_LOCK 2 +#define USB_LED_COMPOSE 3 +#define USB_LED_KANA 4 #endif -- cgit v1.2.3