Android Key Layout Map
详细内容转贴:http://www.kandroid.org/android_pdk/keymaps_keyboard_input.html
Key layout maps are installed in /system/usr/keylayout and /data/usr/keylayout.
Key layout maps are stored on the device as UTF-8 text files and have the following characteristics:
- Comments: The pound symbol (#) denotes a comment and everything after the pound symbol on a line is ignored.
- Whitespace: All empty lines are ignored.
- Key definitions: Key definitions follow the syntax
key SCANCODE KEYCODE [FLAGS...], whereSCANCODEis a number,KEYCODEis defined in your specific keylayout file (android.keylayout.xxx), and potentialFLAGSare defined as follows:- SHIFT: While pressed, the shift key modifier is set
- ALT: While pressed, the alt key modifier is set
- CAPS: While pressed, the caps lock key modifier is set
- WAKE: Whe
本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!
