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

Functions

devcall usbKbdControl (device *devptr, int func, long arg1, long arg2)
 

Function Documentation

devcall usbKbdControl ( device *  devptr,
int  func,
long  arg1,
long  arg2 
)

Control parameters to a USB keyboard.

Parameters
devptrpointer to USB keyboard device
funcindex of function to run (defined in usbkbd.h)
arg1first argument to called function
arg2second argument to called function
Returns
SYSERR if control function not recognized; otherwise a control-function-dependent value.