1
0
Fork 0
forked from len0rd/rockbox

Use a Native keyboard GUI instead of rockbox's internal one on android

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28407 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2010-10-31 10:35:55 +00:00
parent 26f7ee13ce
commit eaff333bf5
11 changed files with 261 additions and 4 deletions

View file

@ -118,12 +118,11 @@ public class RockboxFramebuffer extends View
setFocusableInTouchMode(true);
setClickable(true);
requestFocus();
/* make updates again, the underlying function will
* send an event */
set_lcd_active(1);
}
public native void set_lcd_active(int active);
public native void touchHandler(boolean down, int x, int y);
public native boolean buttonHandler(int keycode, boolean state);
}