[Mammoth/Voyageurs] Add shift modifiers for scancodes.
This commit is contained in:
parent
a9351b222d
commit
844f55c7d0
8 changed files with 65 additions and 107 deletions
|
|
@ -55,4 +55,12 @@ glcr::ErrorOr<char> PortServer::RecvChar() {
|
|||
return byte;
|
||||
}
|
||||
|
||||
glcr::ErrorOr<uint16_t> PortServer::RecvUint16() {
|
||||
uint64_t bytes = 2;
|
||||
uint64_t caps = 0;
|
||||
uint16_t data;
|
||||
RET_ERR(ZPortRecv(port_cap_, &bytes, &data, &caps, nullptr));
|
||||
return data;
|
||||
}
|
||||
|
||||
} // namespace mmth
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue