void AndroidControl::press(int key)
{
// printf("press 0x%04x\n",key);
- if( mwindow_gui->keyboard_listener(key) ) return;
+ if( mwindow_gui->key_listener(key) ) return;
mwindow_gui->remote_control->remote_key(key);
}
int MWindowGUI::keyboard_listener(BC_WindowBase *wp)
{
- return keyboard_listener(wp->get_keypress());
+ return key_listener(wp->get_keypress());
}
-int MWindowGUI::keyboard_listener(int key)
+int MWindowGUI::key_listener(int key)
{
int result = 1;
switch( key ) {
int resize_event(int w, int h); // handle a resize event
int keypress_event();
int keyboard_listener(BC_WindowBase *wp);
- int keyboard_listener(int key);
+ int key_listener(int key);
void use_android_remote(int on);
int close_event();
int quit();