The L1, L1, L3, R1, R2 and R3 buttons are the Android buttons on RC Plus. The developers can use handleKeyDown and handleKeyUp to listen those 6 buttons through Android system interface. There KeyCode is from F1 to F6.
E.g.
@Override
public boolean onKeyDown(int keyCode, KeyEvent event) {
mActionBarPandel.handleKeyDown(keyCode, event);
return super.onKeyDown(keyCode, event);
}
@Override
public boolean onKeyUp(int keyCode, KeyEvent event) {
mActionBarPandel.handleKeyUp(keyCode, event);
return super.onKeyUp(keyCode, event);
}
Comments
0 comments
Please sign in to leave a comment.