mirror of
https://github.com/dingusdev/dingusppc.git
synced 2024-12-23 06:29:38 +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) {
|
||||
if (event.flags & KEYBOARD_EVENT_DOWN) {
|
||||
}
|
||||
}
|
||||
else if (event.flags & KEYBOARD_EVENT_UP) {
|
||||
}
|
||||
}
|
||||
@ -45,6 +45,7 @@ void AdbKeyboard::reset() {
|
||||
}
|
||||
|
||||
bool AdbKeyboard::get_register_0() {
|
||||
return false;
|
||||
}
|
||||
|
||||
void AdbKeyboard::set_register_2() {
|
||||
@ -81,4 +82,4 @@ static const DeviceDescription AdbKeyboard_Descriptor = {
|
||||
AdbKeyboard::create, {}, {}
|
||||
};
|
||||
|
||||
REGISTER_DEVICE(AdbKeyboard, AdbKeyboard_Descriptor);
|
||||
REGISTER_DEVICE(AdbKeyboard, AdbKeyboard_Descriptor);
|
||||
|
Loading…
Reference in New Issue
Block a user