| // hardwarekeyboard.cpp - HardwareKeyboard object |
| // Shell file used for most devices. A custom hardwarekeyboard.cpp is needed for devices with a hardware keyboard. |
| #include "../minuitwrp/minui.h" |
| HardwareKeyboard::HardwareKeyboard(void) |
| HardwareKeyboard::~HardwareKeyboard() |
| int HardwareKeyboard::KeyDown(int key_code) |
| LOGERR("HardwareKeyboard::KeyDown %i\n", key_code); |
| PageManager::NotifyKey(key_code); |
| return 0; // 0 = no key repeat anything else turns on key repeat |
| int HardwareKeyboard::KeyUp(int key_code) |
| LOGERR("HardwareKeyboard::KeyUp %i\n", key_code); |
| int HardwareKeyboard::KeyRepeat(void) |
| LOGERR("HardwareKeyboard::KeyRepeat\n"); |