Embedded Xinu Operating System
An ongoing research project and educational operating system.
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Groups Pages
Macros | Functions
usbKbdInterrupt.c File Reference
#include <usbkbd.h>
#include <usb_core_driver.h>
#include <string.h>

Macros

#define HID_BOOT_LEFT_CTRL   (1 << 0)
 
#define HID_BOOT_LEFT_SHIFT   (1 << 1)
 
#define HID_BOOT_LEFT_ALT   (1 << 2)
 
#define HID_BOOT_LEFT_GUI   (1 << 3)
 
#define HID_BOOT_RIGHT_CTRL   (1 << 4)
 
#define HID_BOOT_RIGHT_SHIFT   (1 << 5)
 
#define HID_BOOT_RIGHT_ALT   (1 << 6)
 
#define HID_BOOT_RIGHT_GUI   (1 << 7)
 

Functions

void usbKbdInterrupt (struct usb_xfer_request *req)
 

Function Documentation

void usbKbdInterrupt ( struct usb_xfer_request *  req)

Called when the USB transfer request from a USB keyboard's IN interrupt endpoint completes or fails.