mirror of
https://github.com/dingusdev/dingusppc.git
synced 2025-01-11 05:29:43 +00:00
adbkeyboard: fix compiler warning.
This commit is contained in:
parent
b23bb04dac
commit
cd9ccb66ed
@ -32,7 +32,7 @@ AdbKeyboard::AdbKeyboard(std::string name) : AdbDevice(name) {
|
|||||||
|
|
||||||
void AdbKeyboard::event_handler(const KeyboardEvent& event) {
|
void AdbKeyboard::event_handler(const KeyboardEvent& event) {
|
||||||
if (event.flags & KEYBOARD_EVENT_DOWN) {
|
if (event.flags & KEYBOARD_EVENT_DOWN) {
|
||||||
}
|
}
|
||||||
else if (event.flags & KEYBOARD_EVENT_UP) {
|
else if (event.flags & KEYBOARD_EVENT_UP) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -45,6 +45,7 @@ void AdbKeyboard::reset() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool AdbKeyboard::get_register_0() {
|
bool AdbKeyboard::get_register_0() {
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void AdbKeyboard::set_register_2() {
|
void AdbKeyboard::set_register_2() {
|
||||||
@ -81,4 +82,4 @@ static const DeviceDescription AdbKeyboard_Descriptor = {
|
|||||||
AdbKeyboard::create, {}, {}
|
AdbKeyboard::create, {}, {}
|
||||||
};
|
};
|
||||||
|
|
||||||
REGISTER_DEVICE(AdbKeyboard, AdbKeyboard_Descriptor);
|
REGISTER_DEVICE(AdbKeyboard, AdbKeyboard_Descriptor);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user