

Use this application to check/debug the keycodes of physical device buttons.
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
How to pass the entire discharge test level of Huoba? "The Whole Live" Douyin game is a brain-solving puzzle challenge that is popular on the Internet. It takes you through strange scenes, unlock levels with creativity, and enjoy the magical fun
How to play the lineup of the Genting Tactics S13 Black Rose Snake? In the world of "Tactics", players will play a strategy master, building a powerful lineup to compete with other players by purchasing, upgrading and arranging heroes. Every bat
Did you get the Secret Pet in PETS GO?
The latest new event of Ark Tomorrow is a brand new gameplay mode. Players can defend Rhode Island through the official operators. This event also has new skins for refraction. Let's take a look at the introduction to the method of obtaining refractio
How can I pass the secret archive teasing Apiao? Joining the puzzle-solving army of "The Secret Files" is not only a one-person adventure, but also a social stage for solving cases with thousands of players. Next, I will reveal the secret archiv
The theme of the third level of the Stupid God Adventure Time Travel Adventure is Shanghai Beach. Players need to pull out cockroaches. How to pass this level specifically? The editor will introduce it in detail to you. If you are interested, let’s take a
On our website, you can easily download the latest version of KeyEvent Display! No registration and SMS required!