#include <aalib.h> |
#include <stdlib.h> |
int main(int argc, char *argv[]) |
{ |
struct aa_driver driver = X11_d; |
struct aa_hardware_params defparams = aa_defparams; |
void* driverdata = malloc(256); |
aa_context* context = aa_init(&driver, &defparams, driverdata); |
aa_autoinitkbd(context, 0); //target call |
return 0; |
} |