コンテンツへスキップ

KeyEvent Display

Alexandros Schillings
  • 3 歳以上対象年齢
  • ツールカテゴリ
  • 2020/7/5更新日
  • 無料価格
Google Playで入手

aws.apps.keyeventdisplayのGoogle Play公式ページにリンクしています。最終確認:2026/11/24。

スクリーンショット

  • KeyEvent Displayのスクリーンショット 1
  • KeyEvent Displayのスクリーンショット 2
  • KeyEvent Displayのスクリーンショット 3
  • KeyEvent Displayのスクリーンショット 4

このアプリについて

Googleによる英語 (アメリカ合衆国)からの自動翻訳です。

/デバッグ物理デバイスのボタンのキーコードを確認するには、このアプリケーションを使用します。

かつて、私はいくつかの中国のタブレットで遊んでいて、それらが技術的に同じハードウェア(HSG X5Aバリアント)であるため、それらで異なるROMを試していました。

ハードボタンを機能させるのに問題があったので、キーイベントを検出して出力するためのアプリケーションを作成しました。以下を出力します。

KeyEvents:Androidが認識するKeyEvents(KeyUp、KeyDown、KeyLongPress、KeyMultiple)

LogCat:logcatの関連メッセージ。 array.xmlで宣言されたキーワードに基づいてフィルタリングされます

カーネル:カーネルログ内の関連メッセージ。 array.xmlで宣言されたキーワードに基づいてフィルタリングされます。カーネルログの解析にはルートが必要です。

上部の3つのチェックボックスは、表示される情報を制御します。

これは個人的なデバッグツールですが、他の人にも役立つことを願っています。

広告なし。

ノート
--------------
アプリケーションの実行中、機能する「ハード」キーは「ホーム」と電源のみです。他のすべてはキーコードを生成します。

SU要求はカーネルログを読み取ることなので、カーネルによってキーイベントがスローされていないかどうかを確認できます。

Androidでのkeylayoutファイルの場所は/ system / usr / keylayoutです。

カーネルログの解析にはルートが必要です

logcatとカーネルログの両方の監視では、arrays.xmlの2つの配列の単語を含む行のみが表示されます(つまり、現時点で変更するには、アプリを再コンパイルする必要があります)。

現在、フィルターは次のとおりです。

Logcat:
| -HwGPIOE-> GPDA
| -keycode
|-キー文字

カーネル:
| -HwGPIOE-> GPDA
| -keycode
|-キー文字

許可
--------------
READ_LOGS:Logcatログへのアクセスに使用されます。
WRITE_EXTERNAL_STORAGE:エクスポートされたデータをSDカードに書き込むために使用されます。

このアプリケーションはオープンソースです。コードはここにあります:https://github.com/alt236/KeyEvent-Display---Android
原文を表示
Once, I was playing with a number of Chinese tablets and trying different ROMs on them as they are technically the same hardware (HSG X5A variants).

I've had some problems getting the hard buttons to work though, so I wrote this application to detect key events and print them out. It will print out the following:

KeyEvents: The KeyEvents as Android understands them (KeyUp, KeyDown, KeyLongPress, KeyMultiple)

LogCat: Any relevant messages in logcat. Its filtered based on keywords declared in arrays.xml

Kernel: Any relevant messages in the kernel log. Its filtered based on keywords declared in arrays.xml. Kernel log parsing needs root.

The three checkboxes at the top control what information will be displayed.

This is a personal debug tool, but I hope it will be of some use to someone else.

No Ads.

Notes
--------------
While the application is running, the only "hard" keys which should work is "Home" and power. All others will produce their keycodes.

The SU request is to read the kernel log, so I can check if any keyevents are thrown by the kernel.

The location of keylayout files in Android is /system/usr/keylayout.

Kernel log parsing needs root

Both logcat and kernel log monitoring will only display lines containing words from two arrays in arrays.xml (i.e. you need to recompile the app to change them at the moment)

Currently the filters are:

Logcat:
|-HwGPIOE->GPDA
|-keycode
|-keycharacter

Kernel:
|-HwGPIOE->GPDA
|-keycode
|-keycharacter

Permissions
--------------
READ_LOGS: Used to access the Logcat log.
WRITE_EXTERNAL_STORAGE: Used to write the exported data to the SD card.

This application is open source. The code can be found here: https://github.com/alt236/KeyEvent-Display---Android

データ セーフティ

このアプリが収集・共有するデータについて、Alexandros SchillingsがGoogle Playで申告している内容です。

  • 第三者と共有されるデータはありません詳しくは、デベロッパーが共有を申告する方法についての説明をご覧ください
  • データは収集されません詳しくは、デベロッパーが収集を申告する方法についての説明をご覧ください

新機能

2020/7/5

* v1.0.0: Redesign, added Android TV support.
開発元の連絡先

情報

提供元
Alexandros Schillings
カテゴリ
ツール
更新日
2020/7/5
リリース
2010/12/23
対象年齢
3 歳以上
価格
無料
パッケージ名
aws.apps.keyeventdisplay