.KL 文件扩展名

Android Key Layout File

开发者 Google
受欢迎程度
3.0  |  6 
 

什么是 KL 文件?

A KL file is a key layout map that connects keyboard input on an Android device to actions in Android. It stores key definitions in UTF-8 text, which include the SCANCODE (the key number preceded by key), KEYCODE (the action the key is mapped to), and FLAGS (additional functionality associated with the key, like waking the device). KL files also include comments denoted by the pound character (#)

更多信息

在 Microsoft Visual Studio Code 1.62 中打开的 .kl 文件截图
在 Microsoft Visual Studio Code 1.62 中打开的 KL 文件

Android devices come with KL files pre-installed in the following directories:

  • /​system/​usr/​keylayout
  • /​data/​usr/​keylayout
  • These directories store several KL files, including the Generic.kl file, that Android references for specific input devices. For example, the device keyboard may use one KL file, while a connected joystick uses a separate KL file.

常见 .KL 文件名

Generic.kl - Contains a generic key layout that supports various standard external keyboards and joysticks. Google advises you not to modify Generic.kl files.

如何打开 KL 文件

KL files are not meant to be opened. Instead, the Google Android operating system references the file to correctly map input gathered from a device to actions in Android.

However, if you are looking to modify the key layout map, you can open KL files with a text editor. After modifying the KL file, you must place it back in the directory in which you found it for it to take effect.

使用File Viewer Plus打开 400 多种文件格式。免费下载

可打开或引用 KL 文件的程序

Windows
Mac
Linux
Android
操作系统自带
分类: 系统
更新时间: 2022-03-09

验证者 FileInfo.com

FileInfo.com 团队 独立研究了本页面列出的 Android Key Layout 文件格式和 Mac, Windows, Linux, and Android 应用。 我们的目标是达到 100% 的准确率,并且仅发布我们已验证过的文件类型信息。

如果您想为此页面提出新增或更新建议,请告诉我们