Android Key Layout Map
来源:互联网 发布:爵迹 知乎 编辑:程序博客网 时间:2024/05/21 19:27
详细内容转贴: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...]
, whereSCANCODE
is a number,KEYCODE
is defined in your specific keylayout file (android.keylayout.xxx
), and potentialFLAGS
are 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: When this key is pressed while the device is asleep, the device will wake up and the key event gets sent to the app.
- WAKE_DROPPED: When this key is pressed while the device is asleep, the device will wake up and the key event does not get sent to the app.
In ICS, Generic.kl will be used if no specific keypad layout file, the *.kl file name should be the same with this input driver name, or Generic.kl will be the target.
- Android Key Layout Map
- Android Map API Key
- android map key
- android map key申请
- Android Map申请key
- Android Map申请key
- Android Map API key 申请
- android google map key申请
- 申请Android Map API Key .
- 申请Android Map API Key
- 如何android google map key
- Android No.1 --Android Google Map申请Google Map Key
- Key Layout Files from http://source.android.com
- android gpio-keys 按键驱动分析(一) key layout文件
- 申请Google Map Android API Key
- 如何申请Android Map API Key
- 申请android google map API key
- 申请 ANDROID GOOGLE MAP API KEY
- ubuntu下没有声音的解决方案
- 关于无法返回的问题
- 求数组的连续子数组之和最大
- ExtJS中get、getDom、getCmp、getBody、getDoc使用 javascript
- 用程序计算状态栏高度
- Android Key Layout Map
- PHP读写文件操作
- MecGrid 动态创建表格
- Ext 中,为Ext.form.HtmlEditor添加键盘事件
- 高级sql学习——相关子查询和非相关子查询!!!
- 水平/垂直数据划分
- Chapter 22: Using Item Renderers and Item Editors--About item renderers
- 出现bad interpreter:No such file or directory的原因
- 内存中的树实例同步持久化的实现