From fb8d23c60c757d5d9c2270cb0123a53be2049a28 Mon Sep 17 00:00:00 2001 From: tmk Date: Mon, 21 Feb 2011 15:43:17 +0900 Subject: integrate V-USB support into ps2_usb --- ps2_usb/led.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 ps2_usb/led.c (limited to 'ps2_usb/led.c') diff --git a/ps2_usb/led.c b/ps2_usb/led.c new file mode 100644 index 0000000000..d69b1c6759 --- /dev/null +++ b/ps2_usb/led.c @@ -0,0 +1,16 @@ +#include "stdint.h" +#include "ps2.h" +#include "led.h" + + +void led_set(uint8_t usb_led) +{ + uint8_t ps2_led = 0; + if (usb_led & (1<