Class android.view.KeyEvent

Added Methods
boolean  isGamepadButton( int)  
int  keyCodeFromString( String)  
String  keyCodeToString( int)  
void  setSource( int)  
 

Changed Methods
int  getDeviceId() Method was inherited from android.view.InputEvent, but is now defined locally.  
int  getSource() Method was inherited from android.view.InputEvent, but is now defined locally.  
 

Added Fields
int  KEYCODE_BUTTON_1  
int  KEYCODE_BUTTON_10  
int  KEYCODE_BUTTON_11  
int  KEYCODE_BUTTON_12  
int  KEYCODE_BUTTON_13  
int  KEYCODE_BUTTON_14  
int  KEYCODE_BUTTON_15  
int  KEYCODE_BUTTON_16  
int  KEYCODE_BUTTON_2  
int  KEYCODE_BUTTON_3  
int  KEYCODE_BUTTON_4  
int  KEYCODE_BUTTON_5  
int  KEYCODE_BUTTON_6  
int  KEYCODE_BUTTON_7  
int  KEYCODE_BUTTON_8  
int  KEYCODE_BUTTON_9  
 
No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.