What is the way to start/stop Mouse driver for GNU-EFI ?
Posted: Mon Feb 15, 2021 6:44 pm
I need to start my mouse and keyboard drivers as I want to exit from boot services I think. I am not sure what is the way of doing it. I have no idea about drivers. First I wanted to look for GPU drivers and after diving in it I got that that is almost impossible to implement it.
I tried something like this. This can be completely wrong.
What should I do respectively to start and stop it ?
I tried something like this. This can be completely wrong.
Code: Select all
USB_DEVICE_PATH* MouseDevicePath;
EFI_GUID MOUSE_GUID = EFI_SIMPLE_POINTER_PROTOCOL_GUID;
void LocateMouse()
{
Status = gBS->LocateProtocol(&MOUSE_GUID, NULL, (void**)&MouseDevicePath);
CHKERR(Status, L"CAN NOT LOCATE");
}