[Voyageurs] Send USB keypress data to the keyboard driver.
This commit is contained in:
parent
3c1e435e04
commit
02d4f8c80e
10 changed files with 79 additions and 20 deletions
|
|
@ -19,4 +19,9 @@ glcr::ErrorCode PortClient::WriteByte(uint8_t byte) {
|
|||
return static_cast<glcr::ErrorCode>(
|
||||
ZPortSend(port_cap_, 1, &byte, 0, nullptr));
|
||||
}
|
||||
|
||||
glcr::ErrorCode PortClient::Write(uint64_t data) {
|
||||
return static_cast<glcr::ErrorCode>(
|
||||
ZPortSend(port_cap_, 8, &data, 0, nullptr));
|
||||
}
|
||||
} // namespace mmth
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue